From 4befe61f91cce8f97e9d4e2854420e93f6c1d73f Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Sun, 11 Jul 2021 09:35:21 +0200 Subject: [PATCH 01/21] Do not match short rules with stopwords laced in No license should be detected in "License a Private" with a rule "license Private" as there is a stopword inside and this is a short rule. Signed-off-by: Philippe Ombredanne --- src/licensedcode/match.py | 6 +++--- .../data/datadriven/lic4/no-license-with-stop-words.txt | 1 + .../data/datadriven/lic4/no-license-with-stop-words.txt.yml | 3 +++ 3 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 tests/licensedcode/data/datadriven/lic4/no-license-with-stop-words.txt create mode 100644 tests/licensedcode/data/datadriven/lic4/no-license-with-stop-words.txt.yml diff --git a/src/licensedcode/match.py b/src/licensedcode/match.py index 254743d30a1..db6e8cb346d 100644 --- a/src/licensedcode/match.py +++ b/src/licensedcode/match.py @@ -355,8 +355,8 @@ def qmagnitude(self): def qcontains_stopwords(self): """ - Return True if this match query contains stopwords between its start and end - in the query. Stopwords are never match by construction. + Return True if this match query contains stopwords between its start and + end in the query. Stopwords are never matched by construction. """ # The query side of the match may not be contiguous and may contain # unmatched stopword tokens. @@ -1159,7 +1159,7 @@ def filter_if_only_known_words_rule(matches): discarded = [] for match in matches: - if not match.rule.only_known_words: + if not (match.rule.only_known_words or match.rule.is_small): kept.append(match) continue diff --git a/tests/licensedcode/data/datadriven/lic4/no-license-with-stop-words.txt b/tests/licensedcode/data/datadriven/lic4/no-license-with-stop-words.txt new file mode 100644 index 00000000000..4058b2de554 --- /dev/null +++ b/tests/licensedcode/data/datadriven/lic4/no-license-with-stop-words.txt @@ -0,0 +1 @@ +some License a Private diff --git a/tests/licensedcode/data/datadriven/lic4/no-license-with-stop-words.txt.yml b/tests/licensedcode/data/datadriven/lic4/no-license-with-stop-words.txt.yml new file mode 100644 index 00000000000..1a7cb6bb77f --- /dev/null +++ b/tests/licensedcode/data/datadriven/lic4/no-license-with-stop-words.txt.yml @@ -0,0 +1,3 @@ +notes: nothing should be detected here + as "License a Private" should NOT match "license Private" + as there is a stopword inside and this is a short rule. From 30a897bf4661fd28903c721cb783ce8474d7817e Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Sun, 11 Jul 2021 09:38:54 +0200 Subject: [PATCH 02/21] Use bsd-new is rather bsd-simplified This notice is vague and matches references to bsd-new or bsd-simplified when seen in the wild. Therefore we lower the relevance and reference bsd-new which covers also bsd-simplified. Signed-off-by: Philippe Ombredanne --- src/licensedcode/data/rules/bsd-new_or_gpl-2.0_30.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_30.yml b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_30.yml index 846de08e0ef..d22a316a302 100644 --- a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_30.yml +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_30.yml @@ -5,3 +5,5 @@ notes: this is also rarely seen with the bsd-simplified license, hence the lower referenced_filenames: - LICENSE - COPYING +notes: this is used sometimes with a bsd-new and sometimes with a + bsd-simplified and is both long enough and vaguely defined From 79b8f46f4dbd5bbe6b32ac9c174aa7fd1c6b230d Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Sun, 11 Jul 2021 09:39:47 +0200 Subject: [PATCH 03/21] Boost rule relevance This is unambiguously a CC0 license reference Signed-off-by: Philippe Ombredanne --- src/licensedcode/data/rules/cc0-1.0_33.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/licensedcode/data/rules/cc0-1.0_33.yml b/src/licensedcode/data/rules/cc0-1.0_33.yml index 0bc53fc2901..981cfd8733d 100644 --- a/src/licensedcode/data/rules/cc0-1.0_33.yml +++ b/src/licensedcode/data/rules/cc0-1.0_33.yml @@ -1,3 +1,3 @@ license_expression: cc0-1.0 is_license_reference: yes -relevance: 90 +relevance: 100 From b731b1da3b0de41a39401c60ff8497fc91973797 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Sun, 11 Jul 2021 09:40:05 +0200 Subject: [PATCH 04/21] Format docstring Signed-off-by: Philippe Ombredanne --- src/textcode/strings2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/textcode/strings2.py b/src/textcode/strings2.py index 79eb4f65e98..e7df9a737a2 100644 --- a/src/textcode/strings2.py +++ b/src/textcode/strings2.py @@ -72,7 +72,8 @@ def extract_unicode_strings(buf, n=3): def extract_strings(buf, n=3): """ - Yield unicode strings (ASCII and UTF-16-LE encoded ASCII) from a buf string of binary data. + Yield unicode strings (ASCII and UTF-16-LE encoded ASCII) from a buf string + of binary data. :param buf: A bytestring. :type buf: str From a54667792f1467961b4940dff7d08822ca4d72fa Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Sun, 11 Jul 2021 13:11:41 +0200 Subject: [PATCH 05/21] Add updated Google proprietary licenses Signed-off-by: Philippe Ombredanne --- .../google-analytics-tos-2019.LICENSE | 119 +++++ .../licenses/google-analytics-tos-2019.yml | 18 + .../google-maps-tos-2018-02-07.LICENSE | 334 +++++++++++++ .../licenses/google-maps-tos-2018-02-07.yml | 10 + .../google-maps-tos-2018-05-01.LICENSE | 339 ++++++++++++++ .../licenses/google-maps-tos-2018-05-01.yml | 10 + .../google-maps-tos-2018-06-07.LICENSE | 335 +++++++++++++ .../licenses/google-maps-tos-2018-06-07.yml | 10 + .../google-maps-tos-2018-07-09.LICENSE | 360 ++++++++++++++ .../licenses/google-maps-tos-2018-07-09.yml | 10 + .../google-maps-tos-2018-07-19.LICENSE | 358 ++++++++++++++ .../licenses/google-maps-tos-2018-07-19.yml | 10 + .../google-maps-tos-2018-10-01.LICENSE | 358 ++++++++++++++ .../licenses/google-maps-tos-2018-10-01.yml | 10 + .../google-maps-tos-2018-10-31.LICENSE | 358 ++++++++++++++ .../licenses/google-maps-tos-2018-10-31.yml | 10 + .../google-maps-tos-2019-05-02.LICENSE | 356 ++++++++++++++ .../licenses/google-maps-tos-2019-05-02.yml | 10 + .../google-maps-tos-2019-11-21.LICENSE | 369 +++++++++++++++ .../licenses/google-maps-tos-2019-11-21.yml | 10 + .../google-maps-tos-2020-04-02.LICENSE | 438 +++++++++++++++++ .../licenses/google-maps-tos-2020-04-02.yml | 10 + .../google-maps-tos-2020-04-27.LICENSE | 440 ++++++++++++++++++ .../licenses/google-maps-tos-2020-04-27.yml | 10 + .../google-maps-tos-2020-05-06.LICENSE | 418 +++++++++++++++++ .../licenses/google-maps-tos-2020-05-06.yml | 10 + .../data/licenses/google-tos-2014.LICENSE | 94 ++++ .../data/licenses/google-tos-2014.yml | 7 + .../data/licenses/google-tos-2017.LICENSE | 94 ++++ .../data/licenses/google-tos-2017.yml | 7 + .../data/licenses/google-tos-2019.LICENSE | 97 ++++ .../data/licenses/google-tos-2019.yml | 7 + .../data/licenses/google-tos-2020.LICENSE | 260 +++++++++++ .../data/licenses/google-tos-2020.yml | 7 + 34 files changed, 5293 insertions(+) create mode 100644 src/licensedcode/data/licenses/google-analytics-tos-2019.LICENSE create mode 100644 src/licensedcode/data/licenses/google-analytics-tos-2019.yml create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2018-02-07.LICENSE create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2018-02-07.yml create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2018-05-01.LICENSE create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2018-05-01.yml create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2018-06-07.LICENSE create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2018-06-07.yml create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2018-07-09.LICENSE create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2018-07-09.yml create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2018-07-19.LICENSE create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2018-07-19.yml create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2018-10-01.LICENSE create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2018-10-01.yml create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2018-10-31.LICENSE create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2018-10-31.yml create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2019-05-02.LICENSE create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2019-05-02.yml create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2019-11-21.LICENSE create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2019-11-21.yml create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2020-04-02.LICENSE create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2020-04-02.yml create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2020-04-27.LICENSE create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2020-04-27.yml create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2020-05-06.LICENSE create mode 100644 src/licensedcode/data/licenses/google-maps-tos-2020-05-06.yml create mode 100644 src/licensedcode/data/licenses/google-tos-2014.LICENSE create mode 100644 src/licensedcode/data/licenses/google-tos-2014.yml create mode 100644 src/licensedcode/data/licenses/google-tos-2017.LICENSE create mode 100644 src/licensedcode/data/licenses/google-tos-2017.yml create mode 100644 src/licensedcode/data/licenses/google-tos-2019.LICENSE create mode 100644 src/licensedcode/data/licenses/google-tos-2019.yml create mode 100644 src/licensedcode/data/licenses/google-tos-2020.LICENSE create mode 100644 src/licensedcode/data/licenses/google-tos-2020.yml diff --git a/src/licensedcode/data/licenses/google-analytics-tos-2019.LICENSE b/src/licensedcode/data/licenses/google-analytics-tos-2019.LICENSE new file mode 100644 index 00000000000..ec16fe96f03 --- /dev/null +++ b/src/licensedcode/data/licenses/google-analytics-tos-2019.LICENSE @@ -0,0 +1,119 @@ + +Google Analytics Terms of Service + +These Google Analytics Terms of Service (this "Agreement") are entered into by Google LLC ("Google") and the entity executing this Agreement ("You"). This Agreement governs Your use of the standard Google Analytics (the "Service"). BY CLICKING THE "I ACCEPT" BUTTON, COMPLETING THE REGISTRATION PROCESS, OR USING THE SERVICE, YOU ACKNOWLEDGE THAT YOU HAVE REVIEWED AND ACCEPT THIS AGREEMENT AND ARE AUTHORIZED TO ACT ON BEHALF OF, AND BIND TO THIS AGREEMENT, THE OWNER OF THIS ACCOUNT. In consideration of the foregoing, the parties agree as follows: + +1. Definitions. + +"Account" refers to the account for the Service. All Profiles (as applicable) linked to a single Property will have their Hits aggregated before determining the charge for the Service for that Property. + +"Confidential Information" includes any proprietary data and any other information disclosed by one party to the other in writing and marked "confidential" or disclosed orally and, within five business days, reduced to writing and marked "confidential". However, Confidential Information will not include any information that is or becomes known to the general public, which is already in the receiving party's possession prior to disclosure by a party or which is independently developed by the receiving party without the use of Confidential Information. + +"Customer Data" or "Google Analytics Data" means the data you collect, process or store using the Service concerning the characteristics and activities of Users. + +"Documentation" means any accompanying documentation made available to You by Google for use with the Processing Software, including any documentation available online. + +"GAMC" means the Google Analytics Measurement Code, which is installed on a Property for the purpose of collecting Customer Data, together with any fixes, updates and upgrades provided to You. + +"Hit" means a collection of interactions that results in data being sent to the Service and processed. Examples of Hits may include page view hits and ecommerce hits. A Hit can be a call to the Service by various libraries, but does not have to be so (e.g., a Hit can be delivered to the Service by other Google Analytics-supported protocols and mechanisms made available by the Service to You). + +"Platform Home" means the user interface through which You can access certain Google Marketing Platform-level functionality. + +"Processing Software" means the Google Analytics server-side software and any upgrades, which analyzes the Customer Data and generates the Reports. + +"Profile" means the collection of settings that together determine the information to be included in, or excluded from, a particular Report. For example, a Profile could be established to view a small portion of a web site as a unique Report. + +"Property" means any web page, application, other property or resource under Your control that sends data to Google Analytics. + +"Privacy Policy" means the privacy policy on a Property. + +"Report" means the resulting analysis shown at www.google.com/analytics/, some of which may include analysis for a Profile. + +"Servers" means the servers controlled by Google (or its wholly-owned subsidiaries) on which the Processing Software and Customer Data are stored. + +“SDKs” mean certain software development kits, which may be used or incorporated into a Property app for the purpose of collecting Customer Data, together with any fixes, updates, and upgrades provided to You. + +"Software" means the Processing Software, GAMC and/or SDKs. + +"Third Party" means any third party (i) to which You provide access to Your Account or (ii) for which You use the Service to collect information on the third party's behalf. + +"Users" means users and/or visitors to Your Properties. + +The words "include" and "including" mean "including but not limited to." + +2. Fees and Service. + +Subject to Section 15, the Service is provided without charge to You for up to 10 million Hits per month per Account. Google may change its fees and payment policies for the Service from time to time including the addition of costs for geographic data, the importing of cost data from search engines, or other fees charged to Google or its wholly-owned subsidiaries by third party vendors for the inclusion of data in the Service reports. The changes to the fees or payment policies are effective upon Your acceptance of those changes which will be posted at www.google.com/analytics/. Unless otherwise stated, all fees are quoted in U.S. Dollars. Any outstanding balance becomes immediately due and payable upon termination of this Agreement and any collection expenses (including attorneys' fees) incurred by Google will be included in the amount owed, and may be charged to the credit card or other billing mechanism associated with Your AdWords account. + +3. Member Account, Password, and Security. + +To register for the Service, You must complete the registration process by providing Google with current, complete and accurate information as prompted by the registration form, including Your e-mail address (username) and password. You will protect Your passwords and take full responsibility for Your own, and third party, use of Your accounts. You are solely responsible for any and all activities that occur under Your Account. You will notify Google immediately upon learning of any unauthorized use of Your Account or any other breach of security. Google's (or its wholly-owned subsidiaries) support staff may, from time to time, log in to the Service under Your customer password in order to maintain or improve service, including to provide You assistance with technical or billing issues. + +4. Nonexclusive License. + +Subject to the terms and conditions of this Agreement, (a) Google grants You a limited, revocable, non-exclusive, non-sublicensable license to install, copy and use the GAMC and/or SDKs solely as necessary for You to use the Service on Your Properties or Third Party's Properties; and (b) You may remotely access, view and download Your Reports stored at www.google.com/analytics/. You will not (and You will not allow any third party to) (i) copy, modify, adapt, translate or otherwise create derivative works of the Software or the Documentation; (ii) reverse engineer, decompile, disassemble or otherwise attempt to discover the source code of the Software, except as expressly permitted by the law in effect in the jurisdiction in which You are located; (iii) rent, lease, sell, assign or otherwise transfer rights in or to the Software, the Documentation or the Service; (iv) remove any proprietary notices or labels on the Software or placed by the Service; (v) use, post, transmit or introduce any device, software or routine which interferes or attempts to interfere with the operation of the Service or the Software; or (vi) use data labeled as belonging to a third party in the Service for purposes other than generating, viewing, and downloading Reports. You will comply with all applicable laws and regulations in Your use of and access to the Documentation, Software, Service and Reports. + +5. Confidentiality and Beta Features. + +Neither party will use or disclose the other party's Confidential Information without the other's prior written consent except for the purpose of performing its obligations under this Agreement or if required by law, regulation or court order; in which case, the party being compelled to disclose Confidential Information will give the other party as much notice as is reasonably practicable prior to disclosing the Confidential Information. Certain Service features are identified as "Alpha," "Beta," "Experiment," (either within the Service or elsewhere by Google) or as otherwise unsupported or confidential (collectively, "Beta Features"). You may not disclose any information from Beta Features or the terms or existence of any non-public Beta Features. Google will have no liability arising out of or related to any Beta Features. + +6. Information Rights and Publicity. + +Google and its wholly owned subsidiaries may retain and use, subject to the terms of its privacy policy (located at https://www.google.com/policies/privacy/), information collected in Your use of the Service. Google will not share Your Customer Data or any Third Party's Customer Data with any third parties unless Google (i) has Your consent for any Customer Data or any Third Party's consent for the Third Party's Customer Data; (ii) concludes that it is required by law or has a good faith belief that access, preservation or disclosure of Customer Data is reasonably necessary to protect the rights, property or safety of Google, its users or the public; or (iii) provides Customer Data in certain limited circumstances to third parties to carry out tasks on Google's behalf (e.g., billing or data storage) with strict restrictions that prevent the data from being used or shared except as directed by Google. When this is done, it is subject to agreements that oblige those parties to process Customer Data only on Google's instructions and in compliance with this Agreement and appropriate confidentiality and security measures. + +7. Privacy. + +You will not and will not assist or permit any third party to, pass information to Google that Google could use or recognize as personally identifiable information. You will have and abide by an appropriate Privacy Policy and will comply with all applicable laws, policies, and regulations relating to the collection of information from Users. You must post a Privacy Policy and that Privacy Policy must provide notice of Your use of cookies, identifiers for mobile devices (e.g., Android Advertising Identifier or Advertising Identifier for iOS) or similar technology used to collect data. You must disclose the use of Google Analytics, and how it collects and processes data. This can be done by displaying a prominent link to the site "How Google uses data when you use our partners' sites or apps", (located at www.google.com/policies/privacy/partners/, or any other URL Google may provide from time to time). You will use commercially reasonable efforts to ensure that a User is provided with clear and comprehensive information about, and consents to, the storing and accessing of cookies or other information on the User’s device where such activity occurs in connection with the Service and where providing such information and obtaining such consent is required by law. + +You must not circumvent any privacy features (e.g., an opt-out) that are part of the Service. You will comply with all applicable Google Analytics policies located at www.google.com/analytics/policies/ (or such other URL as Google may provide) as modified from time to time (the "Google Analytics Policies"). + +You may participate in an integrated version of Google Analytics and certain Google advertising services ("Google Analytics Advertising Features"). If You use Google Analytics Advertising Features, You will adhere to the Google Analytics Advertising Features policy (available at support.google.com/analytics/bin/answer.py?hl=en&topic=2611283&answer=2700409). Your access to and use of any Google advertising service is subject to the applicable terms between You and Google regarding that service. + +If You use the Platform Home, Your use of the Platform Home is subject to the Platform Home Additional Terms (or as subsequently re-named) available at https://support.google.com/marketingplatform/answer/9047313 (or such other URL as Google may provide) as modified from time to time (the "Platform Home Terms"). + +8. Indemnification. + +To the extent permitted by applicable law, You will indemnify, hold harmless and defend Google and its wholly-owned subsidiaries, at Your expense, from any and all third-party claims, actions, proceedings, and suits brought against Google or any of its officers, directors, employees, agents or affiliates, and all related liabilities, damages, settlements, penalties, fines, costs or expenses (including, reasonable attorneys' fees and other litigation expenses) incurred by Google or any of its officers, directors, employees, agents or affiliates, arising out of or relating to (i) Your breach of any term or condition of this Agreement, (ii) Your use of the Service, (iii) Your violations of applicable laws, rules or regulations in connection with the Service, (iv) any representations and warranties made by You concerning any aspect of the Service, the Software or Reports to any Third Party; (v) any claims made by or on behalf of any Third Party pertaining directly or indirectly to Your use of the Service, the Software or Reports; (vi) violations of Your obligations of privacy to any Third Party; and (vii) any claims with respect to acts or omissions of any Third Party in connection with the Service, the Software or Reports. Google will provide You with written notice of any claim, suit or action from which You must indemnify Google. You will cooperate as fully as reasonably required in the defense of any claim. Google reserves the right, at its own expense, to assume the exclusive defense and control of any matter subject to indemnification by You. + +9. Third Parties. + +If You use the Service on behalf of the Third Party or a Third Party otherwise uses the Service through Your Account, whether or not You are authorized by Google to do so, then You represent and warrant that (a) You are authorized to act on behalf of, and bind to this Agreement, the Third Party to all obligations that You have under this Agreement, (b) Google may share with the Third Party any Customer Data that is specific to the Third Party's Properties, and (c) You will not disclose Third Party's Customer Data to any other party without the Third Party's consent. + +10. DISCLAIMER OF WARRANTIES. + +TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, EXCEPT AS EXPRESSLY PROVIDED FOR IN THIS AGREEMENT, GOOGLE MAKES NO OTHER WARRANTY OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE AND NONINFRINGEMENT. + +11. LIMITATION OF LIABILITY. + +TO THE EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE WILL NOT BE LIABLE FOR YOUR LOST REVENUES OR INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, EVEN IF GOOGLE OR ITS SUBSIDIARIES AND AFFILIATES HAVE BEEN ADVISED OF, KNEW OR SHOULD HAVE KNOWN THAT SUCH DAMAGES WERE POSSIBLE AND EVEN IF DIRECT DAMAGES DO NOT SATISFY A REMEDY. GOOGLE'S (AND ITS WHOLLY OWNED SUBSIDIARIES’) TOTAL CUMULATIVE LIABILITY TO YOU OR ANY OTHER PARTY FOR ANY LOSS OR DAMAGES RESULTING FROM CLAIMS, DEMANDS, OR ACTIONS ARISING OUT OF OR RELATING TO THIS AGREEMENT WILL NOT EXCEED $500 (USD). + +12. Proprietary Rights Notice. + +The Service, which includes the Software and all Intellectual Property Rights therein are, and will remain, the property of Google (and its wholly owned subsidiaries). All rights in and to the Software not expressly granted to You in this Agreement are reserved and retained by Google and its licensors without restriction, including, Google's (and its wholly owned subsidiaries’) right to sole ownership of the Software and Documentation. Without limiting the generality of the foregoing, You agree not to (and not to allow any third party to): (a) sublicense, distribute, or use the Service or Software outside of the scope of the license granted in this Agreement; (b) copy, modify, adapt, translate, prepare derivative works from, reverse engineer, disassemble, or decompile the Software or otherwise attempt to discover any source code or trade secrets related to the Service; (c) rent, lease, sell, assign or otherwise transfer rights in or to the Software, Documentation or the Service; (d) use, post, transmit or introduce any device, software or routine which interferes or attempts to interfere with the operation of the Service or the Software; (e) use the trademarks, trade names, service marks, logos, domain names and other distinctive brand features or any copyright or other proprietary rights associated with the Service for any purpose without the express written consent of Google; (f) register, attempt to register, or assist anyone else to register any trademark, trade name, serve marks, logos, domain names and other distinctive brand features, copyright or other proprietary rights associated with Google (or its wholly owned subsidiaries) other than in the name of Google (or its wholly owned subsidiaries, as the case may be); (g) remove, obscure, or alter any notice of copyright, trademark, or other proprietary right appearing in or on any item included with the Service or Software; or (h) seek, in a proceeding filed during the term of this Agreement or for one year after such term, an injunction of any portion of the Service based on patent infringement. + +13. U.S. Government Rights. + +If the use of the Service is being acquired by or on behalf of the U.S. Government or by a U.S. Government prime contractor or subcontractor (at any tier), in accordance with 48 C.F.R. 227.7202-4 (for Department of Defense (DOD) acquisitions) and 48 C.F.R. 2.101 and 12.212 (for non-DOD acquisitions), the Government's rights in the Software, including its rights to use, modify, reproduce, release, perform, display or disclose the Software or Documentation, will be subject in all respects to the commercial license rights and restrictions provided in this Agreement. + +14. Term and Termination. + +Either party may terminate this Agreement at any time with notice. Upon any termination of this Agreement, Google will stop providing, and You will stop accessing the Service. Additionally, if Your Account and/or Properties are terminated, You will (i) delete all copies of the GAMC from all Properties and/or (ii) suspend any and all use of the SDKs within 3 business days of such termination. In the event of any termination (a) You will not be entitled to any refunds of any usage fees or any other fees, and (b) any outstanding balance for Service rendered through the date of termination will be immediately due and payable in full and (c) all of Your historical Report data will no longer be available to You. + +15. Modifications to Terms of Service and Other Policies. + +Google may modify these terms or any additional terms that apply to the Service to, for example, reflect changes to the law or changes to the Service. You should look at the terms regularly. Google will post notice of modifications to these terms at https://www.google.com/analytics/terms/, the Google Analytics Policies at www.google.com/analytics/policies/, or other policies referenced in these terms at the applicable URL for such policies. Changes will not apply retroactively and will become effective no sooner than 14 days after they are posted. If You do not agree to the modified terms for the Service, You should discontinue Your use Google Analytics. No amendment to or modification of this Agreement will be binding unless (i) in writing and signed by a duly authorized representative of Google, (ii) You accept updated terms online, or (iii) You continue to use the Service after Google has posted updates to the Agreement or to any policy governing the Service. + +16. Miscellaneous, Applicable Law and Venue. + +Google will be excused from performance in this Agreement to the extent that performance is prevented, delayed or obstructed by causes beyond its reasonable control. This Agreement (including any amendment agreed upon by the parties in writing) represents the complete agreement between You and Google concerning its subject matter, and supersedes all prior agreements and representations between the parties. If any provision of this Agreement is held to be unenforceable for any reason, such provision will be reformed to the extent necessary to make it enforceable to the maximum extent permissible so as to effect the intent of the parties, and the remainder of this Agreement will continue in full force and effect. This Agreement will be governed by and construed under the laws of the state of California without reference to its conflict of law principles. In the event of any conflicts between foreign law, rules, and regulations, and California law, rules, and regulations, California law, rules and regulations will prevail and govern. Each party agrees to submit to the exclusive and personal jurisdiction of the courts located in Santa Clara County, California. The United Nations Convention on Contracts for the International Sale of Goods and the Uniform Computer Information Transactions Act do not apply to this Agreement. The Software is controlled by U.S. Export Regulations, and it may be not be exported to or used by embargoed countries or individuals. Any notices to Google must be sent to: Google LLC, 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA, with a copy to Legal Department, via first class or air mail or overnight courier, and are deemed given upon receipt. A waiver of any default is not a waiver of any subsequent default. You may not assign or otherwise transfer any of Your rights in this Agreement without Google's prior written consent, and any such attempt is void. The relationship between Google and You is not one of a legal partnership relationship, but is one of independent contractors. This Agreement will be binding upon and inure to the benefit of the respective successors and assigns of the parties hereto. The following sections of this Agreement will survive any termination thereof: 1, 4, 5, 6 (except the last two sentences), 7, 8, 9, 10, 11, 12, 14, 16, and 17. + +17. Google Analytics for Firebase. + +If You link a Property to Firebase (“Firebase Linkage”) as part of using the Service, the following terms, in addition to Sections 1-16 above, will also apply to You, and will also govern Your use of the Service, including with respect to Your use of Firebase Linkage. Other than as modified below, all other terms will stay the same and continue to apply. In the event of a conflict between this Section 17 and Sections 1-16 above, the terms in Section 17 will govern and control solely with respect to Your use of the Firebase Linkage. + + A. The following definition in Section 1 is modified as follows: + a. "Hit" means a collection of interactions that results in data being sent to the Service and processed. Examples of Hits may include page view hits and ecommerce hits. A Hit can be a call to the Service by various libraries, but does not have to be so (e.g., a Hit can be delivered to the Service by other Google Analytics-supported protocols and mechanisms made available by the Service to You). For the sake of clarity, a Hit does not include certain events whose collection reflects interactions with certain Properties capable of supporting multiple data streams, and which may include screen views and custom events (the collection of events, an “Enhanced Packet”). + B. The following sentence is added to the end of Section 7 as follows: + a. If You link a Property to a Firebase project (“Firebase Linkage”) (i) certain data from Your Property, including Customer Data, may be made accessible within or to any other entity or personnel according to permissions set in Firebase and (ii) that Property may have certain Service settings modified by authorized personnel of Firebase (notwithstanding the settings You may have designated for that Property within the Service). + +Last Updated June 17, 2019 diff --git a/src/licensedcode/data/licenses/google-analytics-tos-2019.yml b/src/licensedcode/data/licenses/google-analytics-tos-2019.yml new file mode 100644 index 00000000000..c0a59537c55 --- /dev/null +++ b/src/licensedcode/data/licenses/google-analytics-tos-2019.yml @@ -0,0 +1,18 @@ +key: google-analytics-tos-2019 +short_name: Google Analytics Terms of Service 2019 +name: Google Analytics Terms of Service 2019 +category: Proprietary Free +owner: Google +homepage_url: https://marketingplatform.google.com/about/analytics/terms/us/ +spdx_license_key: LicenseRef-scancode-google-analytics-tos-2019 +other_urls: + - http://www.google.com/analytics + - http://www.google.com/privacy.html + - https://support.google.com/analytics/#topic=3544906 +ignorable_urls: + - http://www.google.com/analytics + - http://www.google.com/analytics/ + - http://www.google.com/analytics/policies + - http://www.google.com/policies/privacy/partners + - https://360suite.google.com/terms + - https://www.google.com/policies/privacy diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-02-07.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2018-02-07.LICENSE new file mode 100644 index 00000000000..232999ed099 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-02-07.LICENSE @@ -0,0 +1,334 @@ +Google Maps APIs Terms of Service + +Thank you for your interest in the Google Maps APIs. The Google Maps APIs are a collection of services that allow you to include maps, geocoding, places, and other content from Google in your web pages or applications. + +Last Updated: February 7, 2018 + +This page contains the Google Maps Platform Terms of Service. If you have questions about these terms, please consult the FAQ’s Terms of Service section. These terms do not apply if you have entered into a separate written agreement with Google (such as a Google Maps Platform Premium Plan or Google Maps APIs for Work agreement) related to the Google Maps APIs. +1. Your relationship with Google. + +1.1 Use of the Service is Subject to these Terms. Your use of any of the Google Maps APIs (referred to in this document as the "Maps API(s)" or the "Service") is subject to the terms of a legal agreement between you and Google (the "Terms"). "Google" means either (a) Google Ireland Limited, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if your billing address is in any country within Europe, the Middle East, or Africa ("EMEA"); (b) Google Asia Pacific Pte. Ltd., with offices at 70 Pasir Panjang Road, #03-71, Mapletree Business City, Singapore 117371, if your billing address is in any country within the Asia Pacific region excluding Australia ("APAC"); (c) Google Australia Pty Ltd. with offices at Level 5, 48 Pirrama Road, Pyrmont 2009, NSW, Australia, if your billing address is in Australia; or (d) Google Inc., with offices at 1600 Amphitheatre Parkway, Mountain View, California 94043, USA, if your billing address is in any country in the world other than those in EMEA, APAC or Australia. + +1.2 The Terms include Google's Legal Notices and Privacy Policy. + + Unless otherwise agreed in writing with Google, the Terms will include the following: + the terms and conditions in this document (the "Maps APIs Terms"); + the Legal Notices; and + the Privacy Policy. + Before you use the Maps API(s), you should read each of the documents comprising the Terms, and print or save a local copy for your records. + +1.3 Use of Other Google Services and Additional Terms. If you use the Maps API(s) in conjunction with any other Google products, including any other Google API(s), (collectively, the Service and all other Google products and services are referred to as the "Google Services"), your agreement with Google will also include the terms applicable to those Google Services. All of these are referred to as the "Additional Terms." If Additional Terms apply, they will be accessible to you either within or through your use of the applicable Google Services. If there is any contradiction between the Additional Terms and the Maps APIs Terms, then the Maps APIs Terms will take precedence only as they relate to the Maps API(s), and not to any other Google Services. + +1.4 Precedence of Maps APIs Terms. If there is any contradiction between the Maps APIs Terms and other Maps API(s)-related documents (including the Maps APIs Documentation), then the Maps APIs Terms will take precedence. + +1.5 Changes to the Terms. Google reserves the right to make changes to the Terms from time to time. When these changes are made, Google will make a new copy of the Terms available at http://developers.google.com/maps/terms (or such other URL as Google may provide). You understand and agree that if you use the Service after the date on which the Terms have changed, Google will treat your use as acceptance of the updated Terms. If a modification is unacceptable to you, you may terminate this agreement by ceasing use of the Maps API(s). +2. Accepting the Terms. + +2.1 Clicking to Accept or Using the Maps API(s). In order to use the Maps API(s), you must agree to the Terms by: + + clicking to accept the Terms, where this option is made available to you by Google in the Service’s user interface; or + using the Maps API(s). You understand and agree that Google will treat your use of the Maps API(s) as acceptance of the Terms from that point onwards. + +2.2 U.S. Law Restrictions. You may not use the Maps API(s) and may not accept the Terms if you are a person barred from using the Service under United States law. + +2.3 Authority to Accept the Terms. You represent that you have full power, capacity, and authority to accept these Terms. If you are accepting on behalf of your employer or another entity, you represent that you have full legal authority to bind your employer or such entity to these Terms. If you don't have the legal authority to bind, please ensure that an authorized person from your entity consents to and accepts these Terms. +3. Privacy and Personal Information. + +3.1 Google’s Privacy Policy. For information about Google's data protection practices, please read Google's Privacy Policy. This policy explains how Google treats your personal information and protects your privacy when you use the Service. + +3.2 Use of Your Data under Google’s Privacy Policy. You agree to the use of your data in accordance with Google's Privacy Policy. + +3.3 Your Privacy Policy. You must post and abide by an appropriate privacy policy in your Maps API Implementation in accordance with Section 9.3 (End User Terms and Privacy Policy). + +3.4 Applicable Privacy Laws. You will comply with all applicable laws relating to the collection of information from visitors to your Maps API Implementation. + +3.5 European Data Protection Terms. You and Google agree to the Google Maps Controller-Controller Data Protection Terms. + +3.6 No Personally Identifiable Information or Personal Data. You must not provide to Google: (a) any personally identifiable information or device identifiers; or (b) any European person’s Personal Data (where “European” means “European Economic Area or Switzerland” and “Personal Data” has the meaning provided in the General Data Protection Regulation (EU) 2016/679 of the European Parliament and of the Council of April 27, 2016). Users of your Maps API Implementation may provide information directly to Google through your Maps API Implementation, as needed. +4. Provision of the Service by Google. + +4.1 Google’s Subsidiaries and Affiliates. Google has subsidiaries and affiliated legal entities around the world ("Subsidiaries and Affiliates"). Sometimes, these companies will be providing the Service to you on behalf of Google itself. You understand and agree that Subsidiaries and Affiliates will be entitled to provide the Service to you. + +4.2 Limits on Your Use of the Service. You understand and agree that Google may limit the number of transactions you may send or receive through the Service; such fixed upper limits may be set by Google at any time, at Google’s discretion. For further information, see Section 10.4(b) below. + +4.3 Advertising. + + In places results. Google reserves the right to include advertising in the places results provided to you through the Maps API(s). By using the Maps API(s) to obtain places results, you agree to display such advertising in the form provided to you by Google. + In maps images. Google also reserves the right to include advertising in the maps images provided to you through the Maps API(s), subject to the following provisions. In this Section, "Ads Notice" means a notice from Google that it will include advertising in a particular Maps API. The Ads Notice may be provided on relevant Google websites, including the Google Geo Developers Blog (or such other URL as Google may provide) and the applicable Google Maps API Groups. + New Maps API(s) and major version upgrades of existing Maps API(s) launched with an Ads Notice. A "major version" of a Maps API is denoted by a new "whole number" in the version name (for example, a "major version" change occurs if API v4.5 is replaced by v5.0). By using the maps images in these new or major version upgrades of the Maps API(s), you agree to display the advertising included in those maps images in the form provided to you by Google. + Maps API(s) and major version upgrades of existing Maps API(s) launched without an Ads Notice. For any Maps API that Google has launched (or launches in the future) without an Ads Notice, Google will not include advertising in that API’s maps images unless Google provides you with an Ads Notice at least 90 days beforehand (the "Ads Notice Period"). + Maps API Implementations that incorporated the Maps API(s) before April 8, 2011. If your Maps API Implementation incorporated a major version of a Maps API before April 8, 2011, you have a limited right to opt out of advertising in the maps images provided through that major version of that Maps API by providing written notice to Google during the Ads Notice Period; your notice must state that you refuse to accept advertising in the maps images and must be provided to Google in accordance with Google's notice requirements (as specified in Google's Ads Notice). + Opting out of ads. You may at any time opt out of advertising in the places results and the maps images by either: + contacting the Google Maps sales team to obtain a Google enterprise license; or + terminating your use of the Service. + Indexing and caching for ads serving. By using an API that serves ads, you give Google the right to access, index, and cache the web pages or applications that contain your Maps API Implementation. + +4.4 Changes to the Service; Deprecation Policy. The following is the Service’s "Deprecation Policy": + + Google will announce if it intends to remove major features from, or discontinue, an API or the Service. + Google will use commercially reasonable efforts to continue to operate those Google Maps API versions and features identified at http://developers.google.com/maps/maps-api-list without these changes until one year after the announcement, unless Google determines in its reasonable good faith judgment that: + it is required by law or third-party relationship (including changes in law or relationships) to make those changes earlier; or + doing so could create a security risk or substantial economic or material technical burden. + +5. Your Google Account. + +5.1 Signing Up for a Google Account. In order to access the Service, you must have and maintain a Google Account in good standing. You must ensure that any information you give to Google in connection with your Google Account or the Service will always be accurate, correct, and up to date. + +5.2 Your Passwords and Account Security. You will be solely responsible to Google for your use of the Service. You must notify Google immediately if you become aware of any unauthorized use of your password; your Google Account; or any unique identifier that Google requires you to use, such as an API Key or client ID (a "Developer Identifier"). +6. Google’s Proprietary Rights. + +You understand and agree that Google and its licensors and their suppliers (as applicable) own all legal right, title, and interest in and to the Service and Content, including any intellectual property rights in the Service and Content (whether those rights are registered or not, and wherever in the world those rights may exist). +7. Permitted Uses. + +You will use the Service only for purposes that: + + are permitted by the Terms (including the Licenses in Section 8); + are permitted by any applicable law or third-party contract in the relevant jurisdictions; and + comply with all applicable policies or guidelines made available by Google, including in the Maps APIs Documentation and the Permission Guidelines for Google Maps and Google Earth. + +8. Licenses from Google to You. + +8.1 Definitions. + + "Brand Features" means trade names, trademarks, logos, domain names, and other distinctive brand features. + "Content" means any content provided through the Service (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + "Maps API Implementation" means a software application, website, or other implementation that uses the Maps API(s) to obtain and display Content in conjunction with Your Content. + "Your Content" means any content that you provide in your Maps API Implementation, including data, images, video, or software. Your Content does not include the Content as defined in Subsection (b). + +8.2 Service License. Subject to these Terms (including Section 9 (License Requirements) and Section 10 (License Restrictions)), during the term of this agreement, Google gives you a non-exclusive, worldwide, personal, non-transferable, non-assignable, non-sublicensable, royalty-free license to use the Service as provided by Google, in the manner permitted by the Terms. + +8.3 Content License. Subject to these Terms (including Sections 8.3(a) and (b), Section 9 (License Requirements), and Section 10 (License Restrictions)), during the term of this agreement, Google gives you a non-exclusive, worldwide, personal, non-transferable,non-assignable, non-sublicensable, royalty-free license to use the Content in your Maps API Implementation, as the Content is provided in the Service, and in the manner permitted by the Terms. + + Content (including map data, traffic, directions, and places) is provided for planning purposes only. You may find that weather conditions, construction projects, closures,or other events may cause road conditions or directions to differ from the results depicted in the Content. You should exercise judgment in your use of the Content. + Certain Content is provided under license from third parties, and is subject to copyright and other intellectual property rights owned by or licensed to such third parties. You may be held liable for any unauthorized use of this content. Your use of third-party Content (including certain business listings Content) is subject to additional restrictions located in the Legal Notices page. + +8.4 Brand Features License. + + Grant. Subject to these Terms (including Section 8.4(b), Section 9 (License Requirements), and Section 10 (License Restrictions)), during the term of this agreement, Google gives you a non-exclusive, worldwide, personal, non-transferable, non-assignable, non-sublicensable, royalty-free license to display Google’s Brand Features solely for the purposes of (i) promoting or advertising your authorized use of the Service in accordance with this Section and (ii) fulfilling your obligations under the Terms. + Restrictions. In using Google Brand Features, you will not: + display a Google Brand Feature in any manner that implies a relationship or affiliation with, sponsorship, or endorsement by Google (other than your use of the Service), or that can be reasonably interpreted to suggest editorial content has been authored by, or represents the views or opinions of, Google or its personnel; + display a Google Brand Feature in your Maps API Implementation, site, or other propert(ies) if any of them contain or display adult content or promote illegal activities, gambling, or the sale of tobacco or alcohol to persons under 21 years of age; + have the Google logo as the largest logo in your Maps API Implementation, site, or other propert(ies) (except as displayed in the map image itself); + display a Google Brand Feature as the most prominent element in your Maps API Implementation, on any page of your site, or on any of your other propert(ies); + display a Google Brand Feature in a manner that is misleading, defamatory, infringing, libelous, disparaging, obscene, or otherwise objectionable to Google; + use Google Brand Features to disparage Google or the Google Services; + display a Google Brand Feature in your Maps API Implementation, site, or other propert(ies) that violate any law or regulation; or + remove, distort, or alter any element of a Google Brand Feature (including squeezing, stretching, inverting, or discoloring). + No further license grant; no challenges. Except as stated in this Section, nothing in the Terms grants or will be deemed to grant you any right, title, or interest in Google’s Brand Features. Your use of Google’s Brand Features (including any goodwill associated with them) will inure to Google’s benefit. During and after the Term, and to the maximum extent permitted by applicable law, you will not challenge or assist others to challenge Google’s Brand Features (or their registration by Google), and you will not attempt to register any Brand Features (including domain names) that are confusingly similar to Google’s in any way (including in sound, appearance, or spelling). + +8.5 Proprietary Rights Notices. You will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices, Terms of Use links, or Brand Features) displayed or provided through the Service. Where such notices are not displayed or provided within the Service, you must display such notices according to the Maps APIs Documentation. + +8.6 U.S. Government Restricted Rights. If the Service or Content is being used or accessed by or on behalf of the United States government, such use is subject to additional terms located in our Legal Notices page’s "Government End Users" section. + +8.7 Determination of Compliance. Google reserves the sole right and discretion to determine whether your use of the Service, Content, and Brand Features complies with these Terms. +9. License Requirements. + +Google’s licenses above are subject to your compliance with the following requirements: + +9.1 Free, Public Accessibility to Your Maps API Implementation. + +9.1.1 General Rules. + + Free access (no fees). Subject to Section 9.1.2 (Exceptions), your Maps API Implementation must be accessible to the general public without charge and must not require a fee-based subscription or other fee-based restricted access. This rule applies to Your Content and any other content in your Maps API Implementation, whether Your Content or the other content exists now or is added later. + Public access (no firewall). Your Maps API Implementation must not operate (i) only behind a firewall; or (ii) only on an internal network (except during the development and testing phase); or (iii) in a closed community (for example, through invitation-only access). + +9.1.2 Exceptions. + + Enterprise agreement with Google. The rules in Section 9.1.1 (Free access, Public access) do not apply if you have entered into a separate written agreement with Google (such as a Google Maps agreement) or obtained Google's written permission. + Mobile applications. + The rule in Section 9.1.1(a) (Free access) does not apply if your Maps API Implementation is used in a mobile application that is sold for a fee through an online store and is downloadable to a mobile device that can access the online store. + The rule in Section 9.1.1(b) (Public access) does not apply if your Maps API Implementation is an Android application that uses the Google Maps Android API. (However, the rule in Section 9.1.1(b) (Public access) will continue to apply if your Maps API Implementation is an Android application that uses any other Maps APIs, unless the Maps API Implementation qualifies for the exception in Section 9.1.2(a) (Enterprise agreement with Google).) + +9.1.3 Examples. + + You can require users to log in to your Maps API Implementation if you do not require users to pay a fee. + You can charge a fee for your Maps API Implementation if it is an Android application downloadable to mobile devices from the Google Play Store. + If you are a consultant who creates or hosts Maps API Implementations for third-party customers, you may charge those customers a fee for your consulting or hosting services (but not for the Maps API Implementations themselves, except as permitted under Section 9.1.2 (Exceptions)). + +9.2 Reporting. You must implement those reporting mechanisms that Google requires (as updated from time to time in these Terms and in the Maps APIs Documentation). + +9.3 End User Terms and Privacy Policy. If you develop a Maps API Implementation for use by other users, you must: + + display to the users of your Maps API Implementation the link to Google’s Terms of Service as presented through the Service or described in the Maps APIs Documentation; + explicitly state in your Maps API Implementation’s terms of use that, by using your Maps API Implementation, your users are agreeing to be bound by the Google Maps/Google Earth Additional Terms of Service; and + protect the privacy and legal rights of those users. + Your privacy policy. You must make publicly available, and must abide by, an appropriate privacy policy in your Maps API Implementation. In particular, if your Maps API Implementation enables you or any party to gain access to information about users of the Maps API(s), including personally identifiable information (such as user names) or non-personally identifiable usage information (such as location), your privacy policy must describe your use and retention of this information. + Geolocation privacy + Your Maps API Implementation must notify the user in advance of the type(s) of data that you intend to collect from the user or the user’s device. Your Maps API Implementation must not obtain or cache any user’s location in any manner except with the user's prior consent. Your Maps API Implementation must let the user revoke the user's consent at any time. + If your Maps API Implementation provides Google with geolocation data, that geolocation data must not enable Google to identify an individual user. For example, if your Maps API Implementation sends Google Your Content, and Your Content includes geolocation data, Your Content must not also include unique device identifiers associated with individual users. + If you intend to obtain the user’s location and use it with any other data provider's data, you must disclose this fact to the user. + Google’s Privacy Policy. Your privacy policy must notify users that you are using the Maps API(s) and incorporate by reference Google’s Privacy Policy by including a link to Google’s then-current Privacy Policy (at http://www.google.com/policies/privacy or such other URL as Google may provide). + Cookies. As noted in the Documentation, certain Maps API(s) store and access cookies and other information on end users’ devices. If you use any of these cookie-enabled Maps API(s) in your Maps API Implementation, then for end users in the European Union, you must comply with the EU User Consent Policy. + +9.4 Attribution. + + Content provided to you through the Service may contain the Brand Features of Google, its strategic partners, or other third-party rights holders of content that Google indexes. When Google provides those Brand Features or other attribution through the Service, you must display such attribution as provided (or as described in the Maps APIs Documentation) and must not delete or alter the attribution. + You must conspicuously display the "powered by Google" attribution (and any other attribution(s) required by Google in the Maps APIs Documentation) on or adjacent to the relevant Service search box and Google search results. If you use the standard Google search control, or the standard Google search control form, this attribution will be included automatically, and you must not modify or obscure this automatically-generated attribution. + You understand and agree that Google has the sole right and discretion to determine whether your attribution(s) are in compliance with the above requirements. + +9.5 Preventing Unauthorized Use. You will use all reasonable efforts to prevent unauthorized use of the Service and to terminate any such unauthorized use. + +9.6 Responsibility for Breaches. You are solely responsible for (and Google has no responsibility to you or any third party for) any breach of your obligations under the Terms and for the consequences of any such breach (including any loss or damage that Google may suffer). +10. License Restrictions. + +Except as expressly permitted under the Terms, or unless you have received prior written authorization from Google (or, as applicable, from the particular Content provider), Google’s licenses above are conditioned on your adherence to all of the restrictions below. In this Section 10, the phrase "you will not" means "when using the Service, you will not, and will not permit a third party to." + +10.1 Administrative Restrictions. + + No access to APIs or Content except through the Service. You will not access the Maps API(s) or the Content except through the Service. For example, you must not access map tiles or imagery through interfaces or channels (including undocumented Google interfaces) other than the Maps API(s). + No access to Service without applicable Developer Identifier(s). For certain versions or features of the Maps API(s), Google may require you to use a Developer Identifier to access and administer the Service. If a Developer Identifier is required under the Maps APIs Documentation, you will not access the Service without the Developer Identifier. + No hiding identity. You will not hide from Google the identity of your Maps API Implementation. You must follow the identification conventions in the Maps APIs Documentation. + +10.2 General Google API Restrictions. The following restrictions apply generally to all Google Services, including the Google application programming interfaces at https://developers.google.com/products/ (or such other URL as Google may provide) (the “Google API(s)”). You will not: + + Sublicense a Google API for use by a third party. Consequently, you will not create an API client that functions substantially the same as the Google APIs and offer it for use by third parties. + Perform an action with the intent of introducing to Google Services any viruses, worms, defects, Trojan horses, malware, or any items of a destructive nature. + Defame, abuse, harass, stalk, or threaten others. + Interfere with or disrupt the Google APIs or the servers or networks providing the Google APIs. + Promote or facilitate unlawful online gambling or disruptive commercial messages or advertisements. + Reverse engineer or attempt to extract the source code from any Google API or any related software, except to the extent that this restriction is expressly prohibited by applicable law. + Use the Google APIs for any activities where the use or failure of the Google APIs could lead to death, personal injury, or environmental damage (such as the operation of nuclear facilities, air traffic control, or life support systems). + Use the Google APIs to process or store any data that is subject to the International Traffic in Arms Regulations maintained by the U.S. Department of State. + Remove, obscure, or alter any Google terms of service, or any links to or notices of those terms. + +10.3 Quality Standards Restrictions. + + No violation of Google’s Software Principles. You will not violate Google’s Software Principles at http://www.google.com/intl/en/about/company/software-principles.html (or such other URLs that Google may designate). + No modification of search results. You will not modify, reorder, augment, or manipulate search results in any way unless you explicitly notify the end user of your actions. + +10.4 Restrictions on Unfair Exploitation of the Service and Content. + + No use except under these Terms. You will not use the Service or Content except as expressly permitted under these Terms. For example: + No fees. You will not charge any third party a fee to use your Maps API Implementation, the Service, or the Content, unless you have purchased an applicable Google Maps Platform Premium Plan or Google Maps APIs for Work license that expressly permits this use. + No printing 5,000+ copies for direct marketing. You will not print more than 5,000 copies of sales collateral materials containing a screenshot of the Content for purposes of commercial sales lead generation. + No use as a core part of printed matter. You will not incorporate the Content as a core part of printed matter (such as a printed map or guide book) that is redistributed for a fee. + No use beyond transaction limits and usage policies. If your Maps API Implementation generates a high volume of transactions, Google reserves the right to set transaction limits, as described in the Maps APIs Documentation here. Google also reserves the right to set other usage policies in the Documentation from time to time. If you want to engage in use outside these transaction limits or usage policies, you can purchase more usage capacity through the Maps API Standard pricing plan, or you can contact the Google Maps sales team for licensing options to address your needs. Google may decline your request, or condition acceptance on your agreement to additional terms and/or charges for that use. + Restrictions on your Maps API Implementations. + No creation of a substitute service. You will not use the Service to create a Maps API Implementation that is a substitute for, or substantially similar service to, Google Maps (at https://www.google.com/maps (or such other URL as Google may provide)) ("Google Maps") or the Service. + No creation or augmentation of data sets based on Google’s Content or Services. You will not use Google’s Content or Services to create or augment your own mapping-related dataset (or that of a third party), including a mapping or navigation dataset, business listings database, mailing list, or telemarketing list. + No navigation. You will not use the Service or Content for or in connection with (a) real-time navigation or route guidance; or (b) automatic or autonomous vehicle control. + No asset-tracking unless you have purchased the applicable enterprise license. Unless you have purchased an applicable Premium Plan or Maps APIs for Work license that expressly permits you to do so, you will not use the Service or Content for commercial asset-tracking or in Maps API Implementations whose primary purpose is to assess vehicle insurance risks. + Commercial asset-tracking includes dispatch, fleet management, and Maps API Implementations that track your (or your end users’) assets (for example, private or commercial transportation applications, including taxi and vehicle-for-hire applications). + Non-commercial asset-tracking implementations include applications used for a non-commercial purpose (for example, a free, publicly accessible Maps API Implementation that displays real-time public transit or other transportation status information or that allows end users to share real-time location with others). + No use of Content in a listings service. You will not use business listings-related Content in any Customer Implementation that has the primary purpose of making available business, residential address, or telephone directory listings. + No use of Content for an Ads product. You will not use business listings-related Content to create or augment an advertising product. + No use of Content without a Google map. Unless the Maps APIs Documentation expressly permits you to do so, you will not use the Content in a Maps API Implementation without a corresponding Google map. For example, you may display Street View imagery without a corresponding Google map because the Maps APIs Documentation expressly permits this use. + No use of Content with a non-Google map. You must not use the Content in a Maps API Implementation that contains a non-Google map. + +10.5 Intellectual Property Restrictions. + + No distribution or sale except as permitted under the Terms. You will not distribute, sell, or otherwise make any part of the Service available to third parties except as permitted by these Terms. + No derivative works. You will not modify or create a derivative work based on any Content unless expressly permitted to do so under these Terms. For example, the following are prohibited: (i) creating server-side modification of map tiles; (ii) stitching multiple static map images together to display a map that is larger than permitted in the Maps APIs Documentation; or (iii) tracing or copying the copyrightable elements of Google’s maps or building outlines and creating a new work, such as a new mapping or navigation dataset. + No use of Content outside the Service. You will not use any Content outside of the Service except as expressly permitted to do so in Subsection (d). For example, you will not export or save the Content to a third party’s platform or service. + No caching or storage. You will not pre-fetch, cache, index, or store any Content to be used outside the Service, except that you may store limited amounts of Content solely for the purpose of improving the performance of your Maps API Implementation due to network latency (and not for the purpose of preventing Google from accurately tracking usage), and only if such storage: + is temporary (and in no event more than 30 calendar days); + is secure; + does not manipulate or aggregate any part of the Content or Service; and + does not modify attribution in any way. + No mass downloading. You will not use the Service in a manner that gives you or a third party access to mass downloads or bulk feeds of any Content. For example, you are not permitted to offer a batch geocoding service that uses Content contained in the Maps API(s). + No incorporating Google software into other software. You will not incorporate any software provided as part of the Service into other software. + No removing, obscuring, or altering terms of service, links, or proprietary rights notices. You will not: + remove, obscure, or alter any Google terms of service or any links to or notices of those terms, or any copyright, trademark, or other proprietary rights notices; or + falsify or delete any author attributions, legal notices, or other labels of the origin or source of material. + +10.6 Restrictions on Trying to Shut Down the Service. We want to make sure that the Services remain online and available for all users. To help ensure this, during the agreement term, you will not try to shut down the Services that you have been using by seeking an injunction or exclusion order. +11. Licenses from You to Google. + +11.1 Content License. Google claims no ownership over Your Content, and you retain copyright and any other rights you already hold in Your Content. By submitting or displaying Your Content through the Service, you give Google a perpetual, irrevocable, non-exclusive, worldwide, sublicensable, royalty-free license to use Your Content solely for the following purposes: + + enabling Google to provide you with the Service; + if you opt to do so through your Maps API Implementation’s features, allowing end users to use Your Content in Google Services; and + if you opt to submit Your Content through the Google Places API(s), allowing Google to use that content in Google Services. + +11.2 Marketing License. During the term of this agreement, you give Google a non-exclusive, worldwide, sublicensable, royalty-free license to use Your Brand Features and Your Content to publicize or advertise that you are using the Service (for example, by using your marks in presentations, marketing materials, customer lists, financial reports, and website listings (including links to your website), or by creating marketing or advertising materials that show screenshots of the Service in which Your Content is featured). + +11.3 Authority to Grant Licenses. You represent and warrant that you have all the rights, power, and authority necessary to grant the above licenses. +12. Maps API Standard Pricing Plan and Payment Terms. + +This Section 12 applies if you purchase usage capacity (beyond the Service’s transaction limits) through the Maps API Standard pricing plan: + +12.1 Free Quota. Certain parts of the Service are provided to you without charge up to the transaction limits described in the Maps APIs Documentation here. + +12.2 Online Billing. Google will issue an electronic bill to you for all charges accrued above the transaction limits based on your use of the Service during the previous month. You will pay all fees specified in the invoice, including the invoice’s specified currency and payment terms. Google’s measurement of your use of the Service is final. + +12.3 Taxes. In association with your purchase of Maps API usage, you are responsible for all applicable government-imposed taxes, except for taxes based on Google’s net income, net worth, employment, and assets (including personal and real property) ("Taxes"), and you will pay Google for the Service without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to you, unless you provide Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. + +12.4 Invoice Disputes & Refunds. To the fullest extent permitted by law, you waive all claims relating to fees unless claimed within sixty days after charged (this does not affect any of your rights with your credit card issuer). Refunds (if any) are at Google’s discretion and will only be in the form of credit for the Service. Nothing in these Terms obligates Google to extend credit to any party. + +12.5 Delinquent Payments. Late payments may bear interest at the rate of 1.5% per month (or the highest rate permitted by law, if less). Google reserves the right to suspend your access to the Service for any late payments. +13. Terminating this Agreement. + +13.1 The Terms will continue to apply until terminated by either you or Google as described below. + +13.2 You may terminate your legal agreement with Google by removing the Maps API(s) code from your Maps API Implementation and discontinuing your use of the Service at any time. You do not need to specifically inform Google when you stop using the Service. + +13.3 Google reserves the right to terminate these Terms or discontinue the Service, or any portion or feature of the Service, for any reason and at any time without liability or other obligation to you, except as described under Section 4.4 (Changes to the Service; Deprecation Policy). + +13.4 Nothing in this Section 13 will affect Google’s rights under Section 4 (Provision of Service by Google). + +13.5 When this legal agreement comes to an end, those Terms that by their nature are intended to continue indefinitely will continue to apply, including Sections 3.5 (European Data Protection Terms); 6 (Google’s Proprietary Rights); 11.1 (Content License); 13.4 and 13.5 (Terminating this Agreement); 14 (Exclusion of Warranties); 15 (Limitations of Liability); 16 (Indemnities); and 19 (General Legal Terms). +14. EXCLUSION OF WARRANTIES. + +14.1 NOTHING IN THESE TERMS, INCLUDING SECTIONS 14 AND 15, WILL EXCLUDE OR LIMIT GOOGLE’S WARRANTY OR LIABILITY FOR LOSSES THAT MAY NOT BE LAWFULLY EXCLUDED OR LIMITED BY APPLICABLE LAW. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF CERTAIN WARRANTIES OR CONDITIONS OR THE LIMITATION OR EXCLUSION OF LIABILITY FOR CERTAIN TYPES OF LOSS OR DAMAGES. ACCORDINGLY, ONLY THE LIMITATIONS THAT ARE LAWFUL IN YOUR JURISDICTION WILL APPLY TO YOU, AND GOOGLE’S LIABILITY WILL BE LIMITED TO THE MAXIMUM EXTENT PERMITTED BY LAW. + +14.2 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SERVICE AND THE CONTENT IS AT YOUR SOLE RISK AND THAT THE SERVICE AND THE CONTENT ARE PROVIDED "AS IS" AND "AS AVAILABLE." IN PARTICULAR, GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS AND THEIR SUPPLIERS, DO NOT REPRESENT OR WARRANT TO YOU THAT: + + THE SERVICE WILL MEET YOUR REQUIREMENTS; + THE SERVICE WILL BE UNINTERRUPTED, TIMELY, SECURE, OR ERROR-FREE; + THE SERVICE WILL BE ACCURATE OR RELIABLE; AND + DEFECTS IN THE OPERATION OR FUNCTIONALITY OF ANY SOFTWARE PROVIDED TO YOU AS PART OF THE SERVICE WILL BE CORRECTED. + +14.3 ANY CONTENT OBTAINED THROUGH THE GOOGLE SERVICES IS AT YOUR OWN DISCRETION AND RISK AND YOU WILL BE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE, LOSS OF DATA, OR ANY OTHER DAMAGE OR INJURY THAT RESULTS FROM DOWNLOADING OR USING ANY SUCH CONTENT. + +14.4 NO ADVICE OR INFORMATION, WHETHER ORAL OR WRITTEN, OBTAINED BY YOU FROM GOOGLE, OR THROUGH OR FROM THE SERVICE OR CONTENT, WILL CREATE ANY WARRANTY NOT EXPRESSLY STATED IN THE TERMS. + +14.5 GOOGLE, ITS LICENSORS, AND THEIR SUPPLIERS FURTHER EXPRESSLY DISCLAIM ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. +15. LIMITATIONS OF LIABILITY. + +15.1 SUBJECT TO SECTION 14.1, YOU EXPRESSLY UNDERSTAND AND AGREE THAT, TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE, ITS SUBSIDIARIES, AND AFFILIATES, AND GOOGLE'S LICENSORS AND THEIR SUPPLIERS, WILL NOT BE LIABLE TO YOU FOR: + + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES THAT MAY BE INCURRED BY YOU, HOWEVER CAUSED AND UNDER ANY THEORY OF LIABILITY (INCLUDING CONTRACT, TORT, COMMON LAW, OR STATUTORY DAMAGES); ANY LOSS OF REVENUES OR PROFIT (WHETHER INCURRED DIRECTLY OR INDIRECTLY); ANY LOSS OF GOODWILL OR BUSINESS REPUTATION; ANY LOSS OF DATA; ANY COST TO PROCURE SUBSTITUTE GOODS OR SERVICES; OR ANY INTANGIBLE LOSS; OR + ANY LOSS OR DAMAGE AS A RESULT OF: + ANY RELIANCE PLACED BY YOU ON THE COMPLETENESS, ACCURACY, OR EXISTENCE OF ANY ADVERTISING, OR AS A RESULT OF ANY RELATIONSHIP OR TRANSACTION BETWEEN YOU AND ANY ADVERTISER OR SPONSOR WHOSE ADVERTISING APPEARS ON GOOGLE SERVICES; + ANY CHANGES THAT GOOGLE MAY MAKE TO THE SERVICE, OR ANY PERMANENT OR TEMPORARY DISCONTINUATION OF THE SERVICE (OR ANY FEATURES WITHIN THE SERVICE); + THE DELETION OR CORRUPTION OF, OR FAILURE TO STORE, ANY CONTENT AND OTHER DATA MAINTAINED OR TRANSMITTED BY OR THROUGH YOUR USE OF THE SERVICE; + YOUR FAILURE TO PROVIDE GOOGLE WITH ACCURATE ACCOUNT INFORMATION; OR + YOUR FAILURE TO KEEP YOUR PASSWORD OR ACCOUNT DETAILS SECURE AND CONFIDENTIAL. + +15.2 THE LIMITATIONS ON GOOGLE’S LIABILITY IN SECTION 15.1 ABOVE WILL APPLY WHETHER OR NOT GOOGLE, ITS SUBSIDIARIES, AFFILIATES, LICENSORS OR THEIR SUPPLIERS HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES OR DAMAGES. +16. Indemnities. + +16.1 You will defend and indemnify Google and its affiliates, directors, officers, employees, strategic partners, licensors, and their suppliers (the "Indemnified Parties") against all liabilities, damages, losses, costs, fees (including legal fees), and expenses relating to any allegation or third-party legal proceeding to the extent arising from: + + your use of the Service or the Content in breach of the Terms or applicable policies; + your Maps API Implementation, including any claim that your Maps API Implementation infringes a third party’s rights or violates applicable law; or + Your Content. + +16.2 You will cooperate as fully as reasonably required in the defense of any allegation or third-party legal proceeding. Google reserves the right, at its own expense, to assume the exclusive control and defense of any indemnified matter under this Section 16. +17. Copyright Policies; Content Removal; Termination of Repeat Offenders’ Accounts. + +It is Google’s policy to respond to notices of alleged copyright infringement that comply with applicable international intellectual property law (including, in the United States, the Digital Millennium Copyright Act) and to terminate the accounts of repeat offenders. Details of Google’s policy can be found here. +18. Other Content. + +18.1 The Service may include hyperlinks to other websites or content or resources. Google has no control over any websites or resources that are provided by companies or persons other than Google. You understand and agree that Google is not responsible for the availability of any such external sites or resources, and does not endorse any advertising, products, or other materials on, or available from, such websites or resources. + +18.2 You understand and agree that Google is not liable for any loss or damage that you may incur as a result of the availability of those external sites or resources, or as a result of any reliance by you on the completeness, accuracy, or existence of any advertising, products, or other materials on, or available from, such websites or resources. +19. General Legal Terms. + +19.1 Notices. Google may provide you with notices, including those regarding changes to the Terms, by email, regular mail, or postings on the Service. + +19.2 Assignment. Google may assign any part of this agreement without written consent. + +19.3 No Waiver. Google will not be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under these Terms. A waiver will be effective only if Google expressly states in a writing signed by an authorized representative that Google is waiving a specified Term. + +19.4 Third-Party Beneficiaries. Google’s affiliates and the Indemnified Parties are third-party beneficiaries to the Terms and are entitled to directly enforce, and rely on, any Terms that confer a right or benefit to them. There are no other third-party beneficiaries to the Terms. + +19.5 Entire Agreement. These Terms set out all terms agreed between the parties and supersede all other agreements between the parties relating to its subject matter. + +19.6 Severability. If any term (or part of a term) of these Terms is invalid, illegal or unenforceable, the rest of the Terms will remain in effect. + +19.7 Equitable Relief. You understand and agree that damages for improper use of the Maps API(s) may be irreparable; therefore, Google is entitled to seek equitable relief, including injunctions in any jurisdiction, in addition to all other remedies it may have. + +19.8 Conflicting Languages. If these Terms are translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. + +19.9 Governing Law. ALL CLAIMS ARISING OUT OF OR RELATING TO THESE TERMS OR ANY RELATED GOOGLE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING CALIFORNIA'S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-02-07.yml b/src/licensedcode/data/licenses/google-maps-tos-2018-02-07.yml new file mode 100644 index 00000000000..ce3dbe42319 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-02-07.yml @@ -0,0 +1,10 @@ +key: google-maps-tos-2018-02-07 +short_name: Google Maps Platform ToS 2018-02-07 +name: Google Maps Platform Terms of Service 2018-02-07 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2018-02-07 +text_urls: + - https://developers.google.com/maps/terms-20180207 +minimum_coverage: 90 diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-05-01.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2018-05-01.LICENSE new file mode 100644 index 00000000000..efc96ca15cf --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-05-01.LICENSE @@ -0,0 +1,339 @@ +Google Maps Platform Terms of Service + +Last modified: May 1, 2018 + +This Google Maps Platform License Agreement takes effect on June 11, 2018. + +If you are currently using the Google Maps Standard Plan, this Google Maps Platform License Agreement will govern your use of the Google Maps Platform as of June 11, 2018. The current Google Maps Platform Terms of Service, which govern your use of the Google Maps Platform until June 11, 2018, is available at https://developers.google.com/maps/terms. + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google and the entity or person agreeing to these terms ("Customer"). "Google" means either (i) Google Commerce Limited (“GCL”), a company incorporated under the laws of Ireland, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer has a billing address in the EU and has chosen “non-business” as the tax status/setting for its Google account, (ii) Google Ireland Limited, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer's billing address is in any country within Europe, the Middle East, or Africa ("EMEA"), (iii) Google Asia Pacific Pte. Ltd., with offices at 70 Pasir Panjang Road, #03-71, Mapletree Business City II Singapore 117371, if Customer's billing address is in any country within the Asia Pacific region ("APAC") except as provided below for Customers with the billing address in Japan or Australia, (iv) Google Cloud Japan G.K., with offices at Roppongi Hills Mori Tower, 10-1, Roppongi 6-chome, Minato-ku Tokyo, if Customer’s billing address is in Japan, (v) Google Australia Pty Ltd., with offices at Level 5, 48 Pirrama Road, Pyrmont, NSW 2009 Australia, if Customer’s billing address is in Australia, or (vi) Google LLC, with offices at 1600 Amphitheatre Parkway, Mountain View, California 94043, if Customer's billing address is in any country in the world other than those in EMEA and APAC. + +This Agreement is effective as of the date Customer clicks to accept the Agreement (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (i) you have full legal authority to bind Customer to this Agreement; (ii) you have read and understand this Agreement; and (iii) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer's access to and use of the Services. + +For an offline variant of this Agreement, you may contact Google for more information. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the applicable SLA, and Customer may use the Google Maps Core Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account to use the Services. Customer is responsible for the information it provides in connection with the Account, its passwords, and use of its Account. + +1.4 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.5 Modifications. + +1.5.1 To the Services. Google may make changes to the Services, subject to Section 9 (Deprecation Policy), which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.5.2. To the Agreement. Google may make changes to this Agreement, including pricing (and any linked documents). Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except if the changes apply to new functionality in which case they will be effective immediately. Google will provide at least 90 days advance notice for materially adverse changes to any SLAs by: (a) sending an email to Customer’s primary point of contact; (b) posting a notice in the Admin Console; or (c) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on (a) Customer’s use of the Services during the previous Fee Accrual Period; (b) any Committed Purchases selected; and (c) any Package Purchases selected. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google's measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by the Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receives payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If the parties determine that certain billing inaccuracies are attributable to Google, Google will not issue a corrected invoice, but will instead issue a credit memo specifying the incorrect amount in the affected invoice. If the disputed invoice has not yet been paid, Google will apply the credit memo amount to the disputed invoice and Customer will be responsible for paying the resulting net balance due on that invoice. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Refunds (if any) are at the discretion of Google and will only be in the form of credit for the Services. Nothing in this Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. Late payments may bear interest at the rate of 1.5% per month (or the highest rate permitted by law, if less) from the payment due date until paid in full. Customer will be responsible for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting such delinquent amounts. If Customer is late on payment for the Services, Google may suspend the Services or terminate the Agreement for breach under Section 11.2 (Termination for Breach). + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to this Agreement's terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s), which may be: (a) fee-based or non-fee-based; (b) public/external or private/internal; (c) business-to-business or business-to-consumer; or (d) asset tracking. + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1. In this Section 3.2, the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.2 General Restrictions. Unless Google specifically agrees in writing, Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, or otherwise make the Services available as a commercial offering to a third party; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) on behalf of or for the benefit of any entity or person who is legally prohibited from using the Services; or (v) to transmit, store, or process Protected Health Information (as defined in and subject to HIPAA). + +3.2.3 Requirements for Using the Services. + +(a) End User Terms and Privacy Policy. Customer’s End User terms of service will state that End Users’ use of Google Maps is subject to the then-current Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html and Google Privacy Policy at https://www.google.com/policies/privacy/. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.4 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not extract, export, or scrape Google Maps Content for use outside the Services. For example, Customer will not:(i) pre-fetch, cache, index, or store Google Maps Content for more than 30 days; (ii) bulk download geocodes; or (iii) copy business names, addresses, or user reviews. + +(b) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content, including tracing, digitizing, or creating other datasets based on Google Maps Content. + +(c) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(d) No Use With Non-Google Maps. Customer will not use the Google Maps Core Services in a Customer Application that contains a non-Google map. For example, Customer will not (i) display Places listings on a non-Google map, or (ii) display Street View imagery and non-Google maps in the same Customer Application. + +(e) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees; prevent Google from accurately calculating Customer’s Service usage levels; abuse any free Service quotas; or offer access to the Services under a “time-sharing” or “service bureau” model. + +(f) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(g) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(h) No Modifying Search Results Integrity. Customer will not modify any of the Service’s search results. + +(i) No Use for High Risk Activities. Customer will not use the Google Maps Core Services for High Risk Activities. + +3.2.5 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +4.2 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement, including the applicable Services’ AUP and URL Terms; and (b) use commercially reasonable efforts to prevent, promptly notify Google of, and terminate any unauthorized use of or access to its Account(s) or the Services. + +4.3 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.4 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally or not without their input. Google responds to notices of alleged copyright infringement and terminates accounts of repeat infringers according to applicable copyright laws including in particular the process set out in the U.S. Digital Millennium Copyright Act. If Customer thinks somebody is violating Customer’s or Customer End Users’ copyrights and wants to notify Google, Customer can find information about submitting notices, and Google's policy about responding to notices at https://www.google.com/dmca.html. + +4.5 Data Use, Protection, and Privacy. + +4.5.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google must receive and collect data from End Users and Customer, including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.5.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.5.3 General Privacy Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. If Customer has End Users in the European Economic Area, Customer will comply with the EU End User Consent Policy at https://www.google.com/about/company/user-consent-policy.html. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide device identifiers and Personal Data directly to Google, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. However, Customer acknowledges and agrees that Customer will not provide these categories of data to Google. + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (y) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (z) the combination and use of End User's location with any other data provider's data; and (ii) will not obtain or cache any End User's location except with the End User's express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Violations. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Violations or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Violations) and 5.2.2 (Emergency Security Issues). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Violations. If Google becomes aware that Customer’s or any End User’s use of the Services violates the AUP, Google will give Customer notice of such violation by requesting that Customer correct the violation. If Customer fails to correct such violation within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Security Issues. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use immediately to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend distributing or selling the Customer Application on 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in this Agreement, this Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Services and Software. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide the Technical Support Services to Customer in accordance with the Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + +9.1 Google will notify Customer at least 12 months before making material discontinuance(s) or backwards incompatible change(s) to the Services, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a (i) security risk or (ii) substantial economic or technical burden. + +9.2 Section 9.1 applies to the Services listed at https://cloud.google.com/maps-platform/terms/maps-deprecation/. If Google deprecates any Services that are not listed at the above URL, Google will use commercially reasonable efforts to minimize the adverse impacts of such deprecations. +10. Confidential Information. + +10.1 Obligations. The recipient will not disclose the Confidential Information, except to Affiliates, employees, agents or professional advisors who need to know it and who have agreed in writing (or in the case of professional advisors are otherwise bound) to keep it confidential. Subject to Section 10.2 (Required Disclosure), the recipient will ensure that those people and entities use the received Confidential Information only to exercise rights and fulfill obligations under this Agreement, while using reasonable care to keep it confidential. + +10.2 Required Disclosure. The recipient may disclose the other party’s Confidential Information to the extent required by applicable Legal Process; provided that the recipient uses commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. Notwithstanding the foregoing, subsections (a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; and/or (iii) lead to death or serious physical harm to an individual. As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The “Term” of this Agreement will begin on the Effective Date and continue until the Agreement is terminated under this Section. + +11.2 Termination for Breach. Either party may terminate this Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; or (b) the other party ceases its business operations or becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. In addition, Google may terminate any, all, or any portion of the Services or Projects, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google reserves the right to terminate provision of Service(s) to a Project on 30 days advance notice if, for more than 180 days, such Project (a) has not made any requests to the Services from any Customer Applications; or (b) such Project has not incurred any Fees for such Service(s). + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate this Agreement for its convenience at any time on prior written notice and upon termination, must cease use of the applicable Services. Google may terminate this Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement is terminated, then: (a) the rights granted by one party to the other will immediately cease; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.5 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 20 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. Where applicable, Customer may use Google Maps Content in accordance with the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy, which will be considered “Google’s prior written consent” for the permitted uses. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT THE CUSTOMER APPLICATION IS SAFE AND SUITABLE FOR USE WITH GOOGLE MAPS. +15. Indemnification. + +15.1 By Customer. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the Agreement. + +15.2 By Google. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an allegation that Customer Indemnified Parties' use in accordance with the Agreement of Google Indemnified Materials infringes the third party's Intellectual Property Rights. + +15.3 Exclusions. This Section 15 will not apply to the extent the underlying allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the indemnifying party’s technology or Brand Features with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Conditions. Sections 15.1 and 15.2 will apply only to the extent: + +(a) The indemnified party has promptly notified the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperates reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 or 15.2 (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party tenders sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under this Agreement for any third party's Intellectual Property Rights Allegations and Third-Party Legal Proceedings covered by this Section 15 (Indemnification). +16. Limitation of Liability. + +16.1 Limitation on Indirect Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, WILL NOT BE LIABLE UNDER THIS AGREEMENT FOR LOST REVENUES OR PROFITS (WHETHER DIRECT OR INDIRECT), INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, EVEN IF THE PARTY OR LICENSOR, AS APPLICABLE, KNEW OR SHOULD HAVE KNOWN THAT SUCH DAMAGES WERE POSSIBLE AND EVEN IF DIRECT DAMAGES DO NOT SATISFY A REMEDY. + +16.2 Limitation on Amount of Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, MAY NOT BE HELD LIABLE UNDER THIS AGREEMENT FOR MORE THAN THE AMOUNT PAID BY CUSTOMER TO GOOGLE UNDER THIS AGREEMENT DURING THE TWELVE MONTHS BEFORE THE EVENT GIVING RISE TO LIABILITY. + +16.3 Exceptions to Limitations. These limitations of liability do not apply to breaches of confidentiality obligations, violations of a party’s Intellectual Property Rights by the other party, or Customer's payment obligations. +17. Advertising. + + Customer may configure the Service in its sole discretion to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed to the other party’s legal department and primary point of contact. The email address for notices being sent to Google’s Legal Department is legal-notices@google.com. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Neither party may assign any part of this Agreement without the written consent of the other, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of this Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt to assign is void. + +19.3 Change of Control. If a party experiences a change of Control (for example, through a stock purchase or sale, merger, or other form of corporate transaction): (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate this Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. This Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under this Agreement. + +19.8 Severability. If any term (or part of a term) of this Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. This Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in this Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +19.11.1 For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +19.11.2 For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +19.11.3 For All Other Entities. If Customer is any entity not listed in Section 19.11.1 or 19.11.2 then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.5.2 (Modifications; To the Agreement), any amendment must be in writing, signed by both parties, and expressly state that it is amending this Agreement. + +19.13 Entire Agreement. This Agreement sets out all terms agreed between the parties and supersedes all other agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in this Agreement. The terms located at any URL referenced in this Agreement and the Documentation are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in this Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up this Agreement, the documents will control in the following order: the Agreement, and the terms at any URL. + +19.15 Conflicting Translations. If this Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services at: https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means the trade names, tradmarks, service marks, logos, domain names, and other distinctive brand features of each party, respectively, as secured by such party. + +"Committed Purchase(s)" has the meaning provided in the Service Specific Terms. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than fifty percent of the voting rights or equity interests of a party. + +"Customer Application" means any web domain or application (including features) listed in the Admin Console. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the Google documentation (as may be updated) in the form generally made available by Google for use with the Services at https://developers.google.com/maps/. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in violation of the AUP, which could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area or Switzerland. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the threshold (as may be updated), as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided to Google by Customer. + +"Fees" means the applicable fees for each Service and any applicable Taxes. The Fees for each Service are available at https://cloud.google.com/maps-platform/pricing/sheet/ (or other such URL provided by Google). + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation; (g) precision targeting. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means current and future worldwide rights under patent, copyright, trade secret, trademark, and moral rights laws, and other similar rights. + +"Legal Process" means a data disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Package Purchase" has the meaning set out in the Service Specific Terms. + +"Personal Data" has the meaning provided in the General Data Protection Regulation (EU) 2016/679 of the European Parliament and of the Council of April 27, 2016. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content. + +"Service Specific Terms" means the terms specific to one or more Services set forth here: https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits or other such proprietary computer software provided by Google in connection with the Services, which may be downloaded by Customer, and any updates Google may make to such Software. + +"Taxes" means any duties, customs fees, or taxes (other than Google’s income tax) associated with the purchase of the Services, including any related penalties or interest. + +“Technical Support Services” or "TSS" means the technical support service provided by Google to Customer under the Technical Support Services Guidelines. + +“Technical Support Services Guidelines” or "TSS Guidelines" means the then-current technical support service guidelines at https://cloud.google.com/maps-platform/terms/tssg/. + +"Term" has the meaning stated in Section 1.6 of this Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html; and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the AUP; + +(b) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; + +(c) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html; + +(d) the Service Specific Terms; + +(e) the SLA; and + +(f) the Technical Support Services Guidelines. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-05-01.yml b/src/licensedcode/data/licenses/google-maps-tos-2018-05-01.yml new file mode 100644 index 00000000000..ddccd05e6ef --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-05-01.yml @@ -0,0 +1,10 @@ +key: google-maps-tos-2018-05-01 +short_name: Google Maps Platform ToS 2018-05-01 +name: Google Maps Platform Terms of Service 2018-05-01 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2018-05-01 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20180501 +minimum_coverage: 90 diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-06-07.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2018-06-07.LICENSE new file mode 100644 index 00000000000..f27fd78ef47 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-06-07.LICENSE @@ -0,0 +1,335 @@ +Google Maps Platform Terms of Service + +Last modified: June 7, 2018 + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google and the entity or person agreeing to these terms ("Customer"). "Google" means either (i) Google Commerce Limited (“GCL”), a company incorporated under the laws of Ireland, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer has a billing address in the EU and has chosen “non-business” as the tax status/setting for its Google account, (ii) Google Ireland Limited, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer's billing address is in any country within Europe, the Middle East, or Africa ("EMEA"), (iii) Google Asia Pacific Pte. Ltd., with offices at 70 Pasir Panjang Road, #03-71, Mapletree Business City II Singapore 117371, if Customer's billing address is in any country within the Asia Pacific region ("APAC") except as provided below for Customers with the billing address in Japan or Australia, (iv) Google Cloud Japan G.K., with offices at Roppongi Hills Mori Tower, 10-1, Roppongi 6-chome, Minato-ku Tokyo, if Customer’s billing address is in Japan, (v) Google Australia Pty Ltd., with offices at Level 5, 48 Pirrama Road, Pyrmont, NSW 2009 Australia, if Customer’s billing address is in Australia, or (vi) Google LLC, with offices at 1600 Amphitheatre Parkway, Mountain View, California 94043, if Customer's billing address is in any country in the world other than those in EMEA and APAC. + +This Agreement is effective as of the date Customer clicks to accept the Agreement (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (i) you have full legal authority to bind Customer to this Agreement; (ii) you have read and understand this Agreement; and (iii) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer's access to and use of the Services. + +For an offline variant of this Agreement, you may contact Google for more information. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the applicable SLA, and Customer may use the Google Maps Core Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account to use the Services. Customer is responsible for the information it provides in connection with the Account, its passwords, and use of its Account. + +1.4 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.5 Modifications. + +1.5.1 To the Services. Google may make changes to the Services, subject to Section 9 (Deprecation Policy), which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.5.2. To the Agreement. Google may make changes to this Agreement, including pricing (and any linked documents). Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except if the changes apply to new functionality in which case they will be effective immediately. Google will provide at least 90 days advance notice for materially adverse changes to any SLAs by: (a) sending an email to Customer’s primary point of contact; (b) posting a notice in the Admin Console; or (c) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on (a) Customer’s use of the Services during the previous Fee Accrual Period; (b) any Committed Purchases selected; and (c) any Package Purchases selected. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google's measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by the Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receives payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If the parties determine that certain billing inaccuracies are attributable to Google, Google will not issue a corrected invoice, but will instead issue a credit memo specifying the incorrect amount in the affected invoice. If the disputed invoice has not yet been paid, Google will apply the credit memo amount to the disputed invoice and Customer will be responsible for paying the resulting net balance due on that invoice. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Refunds (if any) are at the discretion of Google and will only be in the form of credit for the Services. Nothing in this Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. Late payments may bear interest at the rate of 1.5% per month (or the highest rate permitted by law, if less) from the payment due date until paid in full. Customer will be responsible for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting such delinquent amounts. If Customer is late on payment for the Services, Google may suspend the Services or terminate the Agreement for breach under Section 11.2 (Termination for Breach). + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to this Agreement's terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s), which may be: (a) fee-based or non-fee-based; (b) public/external or private/internal; (c) business-to-business or business-to-consumer; or (d) asset tracking. + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1. In this Section 3.2, the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.2 General Restrictions. Unless Google specifically agrees in writing, Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, or otherwise make the Services available as a commercial offering to a third party; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) on behalf of or for the benefit of any entity or person who is legally prohibited from using the Services; or (v) to transmit, store, or process Protected Health Information (as defined in and subject to HIPAA). + +3.2.3 Requirements for Using the Services. + +(a) End User Terms and Privacy Policy. Customer’s End User terms of service will state that End Users’ use of Google Maps is subject to the then-current Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html and Google Privacy Policy at https://www.google.com/policies/privacy/. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.4 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not extract, export, or scrape Google Maps Content for use outside the Services. For example, Customer will not:(i) pre-fetch, cache, index, or store Google Maps Content for more than 30 days; (ii) bulk download geocodes; or (iii) copy business names, addresses, or user reviews. + +(b) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content, including tracing, digitizing, or creating other datasets based on Google Maps Content. + +(c) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(d) No Use With Non-Google Maps. Customer will not use the Google Maps Core Services in a Customer Application that contains a non-Google map. For example, Customer will not (i) display Places listings on a non-Google map, or (ii) display Street View imagery and non-Google maps in the same Customer Application. + +(e) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees; prevent Google from accurately calculating Customer’s Service usage levels; abuse any free Service quotas; or offer access to the Services under a “time-sharing” or “service bureau” model. + +(f) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(g) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(h) No Modifying Search Results Integrity. Customer will not modify any of the Service’s search results. + +(i) No Use for High Risk Activities. Customer will not use the Google Maps Core Services for High Risk Activities. + +3.2.5 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +4.2 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement, including the applicable Services’ AUP and URL Terms; and (b) use commercially reasonable efforts to prevent, promptly notify Google of, and terminate any unauthorized use of or access to its Account(s) or the Services. + +4.3 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.4 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally or not without their input. Google responds to notices of alleged copyright infringement and terminates accounts of repeat infringers according to applicable copyright laws including in particular the process set out in the U.S. Digital Millennium Copyright Act. If Customer thinks somebody is violating Customer’s or Customer End Users’ copyrights and wants to notify Google, Customer can find information about submitting notices, and Google's policy about responding to notices at https://www.google.com/dmca.html. + +4.5 Data Use, Protection, and Privacy. + +4.5.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google must receive and collect data from End Users and Customer, including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.5.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.5.3 General Privacy Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. If Customer has End Users in the European Economic Area, Customer will comply with the EU End User Consent Policy at https://www.google.com/about/company/user-consent-policy.html. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide device identifiers and Personal Data directly to Google, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. However, Customer acknowledges and agrees that Customer will not provide these categories of data to Google. + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (y) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (z) the combination and use of End User's location with any other data provider's data; and (ii) will not obtain or cache any End User's location except with the End User's express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Violations. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Violations or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Violations) and 5.2.2 (Emergency Security Issues). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Violations. If Google becomes aware that Customer’s or any End User’s use of the Services violates the AUP, Google will give Customer notice of such violation by requesting that Customer correct the violation. If Customer fails to correct such violation within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Security Issues. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use immediately to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend distributing or selling the Customer Application on 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in this Agreement, this Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Services and Software. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide the Technical Support Services to Customer in accordance with the Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + +9.1 Google will notify Customer at least 12 months before making material discontinuance(s) or backwards incompatible change(s) to the Services, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a (i) security risk or (ii) substantial economic or technical burden. + +9.2 Section 9.1 applies to the Services listed at https://cloud.google.com/maps-platform/terms/maps-deprecation/. If Google deprecates any Services that are not listed at the above URL, Google will use commercially reasonable efforts to minimize the adverse impacts of such deprecations. +10. Confidential Information. + +10.1 Obligations. The recipient will not disclose the Confidential Information, except to Affiliates, employees, agents or professional advisors who need to know it and who have agreed in writing (or in the case of professional advisors are otherwise bound) to keep it confidential. Subject to Section 10.2 (Required Disclosure), the recipient will ensure that those people and entities use the received Confidential Information only to exercise rights and fulfill obligations under this Agreement, while using reasonable care to keep it confidential. + +10.2 Required Disclosure. The recipient may disclose the other party’s Confidential Information to the extent required by applicable Legal Process; provided that the recipient uses commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. Notwithstanding the foregoing, subsections (a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; and/or (iii) lead to death or serious physical harm to an individual. As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The “Term” of this Agreement will begin on the Effective Date and continue until the Agreement is terminated under this Section. + +11.2 Termination for Breach. Either party may terminate this Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; or (b) the other party ceases its business operations or becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. In addition, Google may terminate any, all, or any portion of the Services or Projects, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google reserves the right to terminate provision of Service(s) to a Project on 30 days advance notice if, for more than 180 days, such Project (a) has not made any requests to the Services from any Customer Applications; or (b) such Project has not incurred any Fees for such Service(s). + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate this Agreement for its convenience at any time on prior written notice and upon termination, must cease use of the applicable Services. Google may terminate this Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement is terminated, then: (a) the rights granted by one party to the other will immediately cease; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.5 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 20 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. Where applicable, Customer may use Google Maps Content in accordance with the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy, which will be considered “Google’s prior written consent” for the permitted uses. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT THE CUSTOMER APPLICATION IS SAFE AND SUITABLE FOR USE WITH GOOGLE MAPS. +15. Indemnification. + +15.1 By Customer. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the Agreement. + +15.2 By Google. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an allegation that Customer Indemnified Parties' use in accordance with the Agreement of Google Indemnified Materials infringes the third party's Intellectual Property Rights. + +15.3 Exclusions. This Section 15 will not apply to the extent the underlying allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the indemnifying party’s technology or Brand Features with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Conditions. Sections 15.1 and 15.2 will apply only to the extent: + +(a) The indemnified party has promptly notified the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperates reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 or 15.2 (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party tenders sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under this Agreement for any third party's Intellectual Property Rights Allegations and Third-Party Legal Proceedings covered by this Section 15 (Indemnification). +16. Limitation of Liability. + +16.1 Limitation on Indirect Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, WILL NOT BE LIABLE UNDER THIS AGREEMENT FOR LOST REVENUES OR PROFITS (WHETHER DIRECT OR INDIRECT), INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, EVEN IF THE PARTY OR LICENSOR, AS APPLICABLE, KNEW OR SHOULD HAVE KNOWN THAT SUCH DAMAGES WERE POSSIBLE AND EVEN IF DIRECT DAMAGES DO NOT SATISFY A REMEDY. + +16.2 Limitation on Amount of Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, MAY NOT BE HELD LIABLE UNDER THIS AGREEMENT FOR MORE THAN THE AMOUNT PAID BY CUSTOMER TO GOOGLE UNDER THIS AGREEMENT DURING THE TWELVE MONTHS BEFORE THE EVENT GIVING RISE TO LIABILITY. + +16.3 Exceptions to Limitations. These limitations of liability do not apply to breaches of confidentiality obligations, violations of a party’s Intellectual Property Rights by the other party, or Customer's payment obligations. +17. Advertising. + + Customer may configure the Service in its sole discretion to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed to the other party’s legal department and primary point of contact. The email address for notices being sent to Google’s Legal Department is legal-notices@google.com. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Neither party may assign any part of this Agreement without the written consent of the other, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of this Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt to assign is void. + +19.3 Change of Control. If a party experiences a change of Control (for example, through a stock purchase or sale, merger, or other form of corporate transaction): (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate this Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. This Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under this Agreement. + +19.8 Severability. If any term (or part of a term) of this Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. This Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in this Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +19.11.1 For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +19.11.2 For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +19.11.3 For All Other Entities. If Customer is any entity not listed in Section 19.11.1 or 19.11.2 then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.5.2 (Modifications; To the Agreement), any amendment must be in writing, signed by both parties, and expressly state that it is amending this Agreement. + +19.13 Entire Agreement. This Agreement sets out all terms agreed between the parties and supersedes all other agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in this Agreement. The terms located at any URL referenced in this Agreement and the Documentation are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in this Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up this Agreement, the documents will control in the following order: the Agreement, and the terms at any URL. + +19.15 Conflicting Translations. If this Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services at: https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means the trade names, tradmarks, service marks, logos, domain names, and other distinctive brand features of each party, respectively, as secured by such party. + +"Committed Purchase(s)" has the meaning provided in the Service Specific Terms. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than fifty percent of the voting rights or equity interests of a party. + +"Customer Application" means any web domain or application (including features) listed in the Admin Console. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the Google documentation (as may be updated) in the form generally made available by Google for use with the Services at https://developers.google.com/maps/. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in violation of the AUP, which could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area or Switzerland. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the threshold (as may be updated), as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided to Google by Customer. + +"Fees" means the applicable fees for each Service and any applicable Taxes. The Fees for each Service are available at https://cloud.google.com/maps-platform/pricing/sheet/ (or other such URL provided by Google). + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation; (g) precision targeting. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means current and future worldwide rights under patent, copyright, trade secret, trademark, and moral rights laws, and other similar rights. + +"Legal Process" means a data disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Package Purchase" has the meaning set out in the Service Specific Terms. + +"Personal Data" has the meaning provided in the General Data Protection Regulation (EU) 2016/679 of the European Parliament and of the Council of April 27, 2016. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content. + +"Service Specific Terms" means the terms specific to one or more Services set forth here: https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits or other such proprietary computer software provided by Google in connection with the Services, which may be downloaded by Customer, and any updates Google may make to such Software. + +"Taxes" means any duties, customs fees, or taxes (other than Google’s income tax) associated with the purchase of the Services, including any related penalties or interest. + +“Technical Support Services” or "TSS" means the technical support service provided by Google to Customer under the Technical Support Services Guidelines. + +“Technical Support Services Guidelines” or "TSS Guidelines" means the then-current technical support service guidelines at https://cloud.google.com/maps-platform/terms/tssg/. + +"Term" has the meaning stated in Section 1.6 of this Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html; and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the AUP; + +(b) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; + +(c) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html; + +(d) the Service Specific Terms; + +(e) the SLA; and + +(f) the Technical Support Services Guidelines. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-06-07.yml b/src/licensedcode/data/licenses/google-maps-tos-2018-06-07.yml new file mode 100644 index 00000000000..63c27060f2d --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-06-07.yml @@ -0,0 +1,10 @@ +key: google-maps-tos-2018-06-07 +short_name: Google Maps Platform ToS 2018-06-07 +name: Google Maps Platform Terms of Service 2018-06-07 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2018-06-07 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20180607 +minimum_coverage: 90 diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-07-09.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2018-07-09.LICENSE new file mode 100644 index 00000000000..6479c1a8a05 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-07-09.LICENSE @@ -0,0 +1,360 @@ +Google Maps Platform Terms of Service + +Last modified: July 9, 2018 + +This Google Maps Platform License Agreement takes effect on July 16, 2018. + +If you are currently using the Google Maps Standard Plan, this Google Maps Platform License Agreement will govern your use of the Google Maps Platform as of July 16, 2018. The current Google Maps Platform Terms of Service, which govern your use of the Google Maps Platform until July 16, 2018, is available at https://developers.google.com/maps/terms. + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google and the entity or person agreeing to these terms ("Customer"). "Google" means either (i) Google Commerce Limited (“GCL”), a company incorporated under the laws of Ireland, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer has a billing address in the EU and has chosen “non-business” as the tax status/setting for its Google account, (ii) Google Ireland Limited, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer's billing address is in any country within Europe, the Middle East, or Africa ("EMEA"), (iii) Google Asia Pacific Pte. Ltd., with offices at 70 Pasir Panjang Road, #03-71, Mapletree Business City II Singapore 117371, if Customer's billing address is in any country within the Asia Pacific region ("APAC") except as provided below for Customers with the billing address in Japan or Australia, (iv) Google Cloud Japan G.K., with offices at Roppongi Hills Mori Tower, 10-1, Roppongi 6-chome, Minato-ku Tokyo, if Customer’s billing address is in Japan, (v) Google Australia Pty Ltd., with offices at Level 5, 48 Pirrama Road, Pyrmont, NSW 2009 Australia, if Customer’s billing address is in Australia, or (vi) Google LLC, with offices at 1600 Amphitheatre Parkway, Mountain View, California 94043, if Customer's billing address is in any country in the world other than those in EMEA and APAC. + +This Agreement is effective as of the date Customer clicks to accept the Agreement, or enters into a Reseller Agreement if purchasing through a Reseller (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (i) you have full legal authority to bind Customer to this Agreement; (ii) you have read and understand this Agreement; and (iii) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer's access to and use of the Services. + +For an offline variant of this Agreement, you may contact Google for more information. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the applicable SLA, and Customer may use the Google Maps Core Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account to access the Admin Console through which Customer may administer its use of the Services. Customer is responsible for: (a) the information it provides in connection with the Account; (b) maintaining the confidentiality and security of the Account and associated passwords; and (c) any use of its Account. + +1.4 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +1.5 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.6 Modifications. + +1.6.1 To the Services. Google may make changes to the Services, subject to Section 9 (Deprecation Policy), which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.6.2. To the Agreement. Google may make changes to this Agreement, including pricing (and any linked documents). Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except if the changes apply to new functionality in which case they will be effective immediately. Google will provide at least 90 days advance notice for materially adverse changes to any SLAs by: (a) sending an email to Customer’s primary point of contact; (b) posting a notice in the Admin Console; or (c) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on (a) Customer’s use of the Services during the previous Fee Accrual Period; (b) any Committed Purchases selected; and (c) any Package Purchases selected. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google's measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by the Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receives payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If the parties determine that certain billing inaccuracies are attributable to Google, Google will not issue a corrected invoice, but will instead issue a credit memo specifying the incorrect amount in the affected invoice. If the disputed invoice has not yet been paid, Google will apply the credit memo amount to the disputed invoice and Customer will be responsible for paying the resulting net balance due on that invoice. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Refunds (if any) are at the discretion of Google and will only be in the form of credit for the Services. Nothing in this Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. Late payments may bear interest at the rate of 1.5% per month (or the highest rate permitted by law, if less) from the payment due date until paid in full. Customer will be responsible for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting such delinquent amounts. If Customer is late on payment for the Services, Google may suspend the Services or terminate the Agreement for breach under Section 11.2 (Termination for Breach). + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to this Agreement's terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s), which may be: (a) fee-based or non-fee-based; (b) public/external or private/internal; (c) business-to-business or business-to-consumer; or (d) asset tracking. + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1. In this Section 3.2, the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.2 General Restrictions. Unless Google specifically agrees in writing, Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, or otherwise make the Services available as a commercial offering to a third party; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) on behalf of or for the benefit of any entity or person who is legally prohibited from using the Services; or (v) to transmit, store, or process Protected Health Information (as defined in and subject to HIPAA). + +3.2.3 Requirements for Using the Services. + +(a) End User Terms and Privacy Policy. Customer’s End User terms of service will state that End Users’ use of Google Maps is subject to the then-current Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html and Google Privacy Policy at https://www.google.com/policies/privacy/. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Maps Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.4 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not extract, export, or scrape Google Maps Content for use outside the Services. For example, Customer will not:(i) pre-fetch, cache, index, or store Google Maps Content for more than 30 days; (ii) bulk download geocodes; or (iii) copy business names, addresses, or user reviews. + +(b) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content, including tracing, digitizing, or creating other datasets based on Google Maps Content. + +(c) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(d) No Use With Non-Google Maps. Customer will not use the Google Maps Core Services in a Customer Application that contains a non-Google map. For example, Customer will not (i) display Places listings on a non-Google map, or (ii) display Street View imagery and non-Google maps in the same Customer Application. + +(e) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees; prevent Google from accurately calculating Customer’s Service usage levels; abuse any free Service quotas; or offer access to the Services under a “time-sharing” or “service bureau” model. + +(f) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(g) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(h) No Modifying Search Results Integrity. Customer will not modify any of the Service’s search results. + +(i) No Use for High Risk Activities. Customer will not use the Google Maps Core Services for High Risk Activities. + +3.2.5 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +4.2 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement, including the applicable Services’ AUP and URL Terms; and (b) use commercially reasonable efforts to prevent, promptly notify Google of, and terminate any unauthorized use of or access to its Account(s) or the Services. + +4.3 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.4 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally or not without their input. Google responds to notices of alleged copyright infringement and terminates accounts of repeat infringers according to applicable copyright laws including in particular the process set out in the U.S. Digital Millennium Copyright Act. If Customer thinks somebody is violating Customer’s or Customer End Users’ copyrights and wants to notify Google, Customer can find information about submitting notices, and Google's policy about responding to notices at https://www.google.com/dmca.html. + +4.5 Data Use, Protection, and Privacy. + +4.5.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google must receive and collect data from End Users and Customer, including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.5.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.5.3 General Privacy Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. If Customer has End Users in the European Economic Area, Customer will comply with the EU End User Consent Policy at https://www.google.com/about/company/user-consent-policy.html. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide device identifiers and Personal Data directly to Google, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. However, Customer acknowledges and agrees that Customer will not provide these categories of data to Google. + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (y) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (z) the combination and use of End User's location with any other data provider's data; and (ii) will not obtain or cache any End User's location except with the End User's express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Violations. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Violations or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Violations) and 5.2.2 (Emergency Security Issues). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Violations. If Google becomes aware that Customer’s or any End User’s use of the Services violates the AUP, Google will give Customer notice of such violation by requesting that Customer correct the violation. If Customer fails to correct such violation within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Security Issues. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use immediately to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend distributing or selling the Customer Application on 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in this Agreement, this Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Services and Software. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide Maps Technical Support Services to Customer in accordance with the Maps Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + +9.1 Google will notify Customer at least 12 months before making material discontinuance(s) or backwards incompatible change(s) to the Services, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a (i) security risk or (ii) substantial economic or technical burden. + +9.2 Section 9.1 applies to the Services listed at https://cloud.google.com/maps-platform/terms/maps-deprecation/. If Google deprecates any Services that are not listed at the above URL, Google will use commercially reasonable efforts to minimize the adverse impacts of such deprecations. +10. Confidential Information. + +10.1 Obligations. The recipient will not disclose the Confidential Information, except to Affiliates, employees, agents or professional advisors who need to know it and who have agreed in writing (or in the case of professional advisors are otherwise bound) to keep it confidential. Subject to Section 10.2 (Required Disclosure), the recipient will ensure that those people and entities use the received Confidential Information only to exercise rights and fulfill obligations under this Agreement, while using reasonable care to keep it confidential. + +10.2 Required Disclosure. The recipient may disclose the other party’s Confidential Information to the extent required by applicable Legal Process; provided that the recipient uses commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. Notwithstanding the foregoing, subsections (a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; and/or (iii) lead to death or serious physical harm to an individual. As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The “Term” of this Agreement will begin on the Effective Date and continue until the Agreement is terminated under this Section. + +11.2 Termination for Breach. Either party may terminate this Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; or (b) the other party ceases its business operations or becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. In addition, Google may terminate any, all, or any portion of the Services or Projects, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google reserves the right to terminate provision of Service(s) to a Project on 30 days advance notice if, for more than 180 days, such Project (a) has not made any requests to the Services from any Customer Applications; or (b) such Project has not incurred any Fees for such Service(s). + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate this Agreement for its convenience at any time on prior written notice and upon termination, must cease use of the applicable Services. Google may terminate this Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement is terminated, then: (a) the rights granted by one party to the other will immediately cease; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.5 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 20 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. Where applicable, Customer may use Google Maps Content in accordance with the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy, which will be considered “Google’s prior written consent” for the permitted uses. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT THE CUSTOMER APPLICATION IS SAFE FOR END USERS AND OTHER THIRD PARTIES. +15. Indemnification. + +15.1 By Customer. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the Agreement. + +15.2 By Google. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an allegation that Customer Indemnified Parties' use in accordance with the Agreement of Google Indemnified Materials infringes the third party's Intellectual Property Rights. + +15.3 Exclusions. This Section 15 will not apply to the extent the underlying allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the indemnifying party’s technology or Brand Features with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Conditions. Sections 15.1 and 15.2 will apply only to the extent: + +(a) The indemnified party has promptly notified the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperates reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 or 15.2 (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party tenders sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under this Agreement for any third party's Intellectual Property Rights Allegations and Third-Party Legal Proceedings covered by this Section 15 (Indemnification). +16. Limitation of Liability. + +16.1 Limitation on Indirect Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, WILL NOT BE LIABLE UNDER THIS AGREEMENT FOR LOST REVENUES OR PROFITS (WHETHER DIRECT OR INDIRECT), INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, EVEN IF THE PARTY OR LICENSOR, AS APPLICABLE, KNEW OR SHOULD HAVE KNOWN THAT SUCH DAMAGES WERE POSSIBLE AND EVEN IF DIRECT DAMAGES DO NOT SATISFY A REMEDY. + +16.2 Limitation on Amount of Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, MAY NOT BE HELD LIABLE UNDER THIS AGREEMENT FOR MORE THAN THE AMOUNT PAID BY CUSTOMER TO GOOGLE UNDER THIS AGREEMENT DURING THE TWELVE MONTHS BEFORE THE EVENT GIVING RISE TO LIABILITY. + +16.3 Exceptions to Limitations. These limitations of liability do not apply to breaches of confidentiality obligations, violations of a party’s Intellectual Property Rights by the other party, or Customer's payment obligations. +17. Advertising. + +In its sole discretion, Customer may configure the Service to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed to the other party’s legal department and primary point of contact. The email address for notices being sent to Google’s Legal Department is legal-notices@google.com. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Neither party may assign any part of this Agreement without the written consent of the other, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of this Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt to assign is void. + +19.3 Change of Control. If a party experiences a change of Control (for example, through a stock purchase or sale, merger, or other form of corporate transaction): (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate this Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. This Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under this Agreement. + +19.8 Severability. If any term (or part of a term) of this Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. This Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in this Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +19.11.1 For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +19.11.2 For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +19.11.3 For All Other Entities. If Customer is any entity not listed in Section 19.11.1 or 19.11.2 then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.5.2 (Modifications; To the Agreement), any amendment must be in writing, signed by both parties, and expressly state that it is amending this Agreement. + +19.13 Entire Agreement. This Agreement sets out all terms agreed between the parties and supersedes all other agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in this Agreement. The terms located at any URL referenced in this Agreement and the Documentation are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in this Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up this Agreement, the documents will control in the following order: the Agreement, and the terms at any URL. + +19.15 Conflicting Translations. If this Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Reseller Orders. + +This Section applies if Customer orders the Services from a Reseller under a Reseller Agreement (including the Reseller Order Form). + +20.1 Orders. If Customer orders Services from Reseller, then: (a) fees for the Services will be set between Customer and Reseller, and any payments will be made directly to Reseller under the Reseller Agreement; (b) Section 2 of this Agreement (Payment Terms) will not apply to the Services; (c) any SLA obligation to Customer is subject to the terms of the Reseller Agreement; and (d) Google will have no obligation to provide any SLA credits to a Customer who orders Services from the Reseller. + +20.2 Conflicting Terms. If Customer orders Google Maps Core Services from a Reseller and if any documents conflict, then the documents will control in the following order: the Agreement, the terms at any URL (including the URL Terms), Reseller Order Form. For example, if there is a conflict between the Maps Service Specific Terms and the Reseller Order Form, the Maps Service Specific Terms will control. + +20.3 Reseller as Administrator. At Customer's discretion, Reseller may access Customer's Projects, Accounts, or the Services on behalf of Customer. As between Google and Customer, Customer is solely responsible for: (a) any access by Reseller to Customer’s Account(s), Project(s), or the Services; and (b) defining in the Reseller Agreement any rights or obligations as between Reseller and Customer with respect to the Accounts, Projects, or Services. + +20.4 Reseller Verification of Customer Application(s). Before providing the Services, Reseller may also verify that Customer owns or controls the Customer Applications. If Reseller determines that Customer does not own or control the Customer Applications, then Google will have no obligation to provide the Services to Customer. +21. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and/or tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services at: https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means the trade names, tradmarks, service marks, logos, domain names, and other distinctive brand features of each party, respectively, as secured by such party. + +"Committed Purchase(s)" has the meaning provided in the Maps Service Specific Terms. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than 50% of the voting rights or equity interests of a party. + +"Customer Application" means any web domain or application (including all source code and features) owned or controlled by Customer, or that Customer is authorized to use. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the Google documentation (as may be updated) in the form generally made available by Google for use with the Services at https://developers.google.com/maps/documentation. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in violation of the AUP, which could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area or Switzerland. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the threshold (as may be updated), as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided by Customer to Google. + +"Fees" means the product of the amount of Services used or ordered by Customer multiplied by the Prices, plus any applicable Taxes. + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means current and future worldwide rights under patent, copyright, trade secret, trademark, and moral rights laws, and other similar rights. + +"Legal Process" means a data disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Maps Service Specific Terms" means the then-current terms specific to one or more Services at https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"Maps Technical Support Services" means the technical support service provided by Google to Customer under the then-current Maps Technical Support Services Guidelines. + +"Maps Technical Support Services Guidelines" means the then-current technical support service guidelines at https://cloud.google.com/maps-platform/terms/tssg/. + +"Package Purchase" has the meaning set out in the Maps Service Specific Terms. + +"Personal Data" has the meaning provided in the General Data Protection Regulation (EU) 2016/679 of the European Parliament and of the Council of April 27, 2016. + +"Price" means the then-current applicable price(s) stated at https://cloud.google.com/maps-platform/pricing/sheet/. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Reseller" means, if applicable, the authorized reseller that sells or supplies the Services to Customer. + +"Reseller Agreement" means, if applicable, a separate, independent agreement between Customer and Reseller regarding the Services. + +"Reseller Order Form" means an order form entered into by Reseller and Customer, subject to the Reseller Agreement. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content and the Software. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits, or other computer software provided by Google for use as part of the Services, including updates. + +"Taxes" means any duties, customs fees, or taxes (other than Google’s income tax) associated with the purchase of the Services, including any related penalties or interest. + +"Term" has the meaning stated in Section 1.6 of this Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html; and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the Maps Service Specific Terms; + +(b) the SLA; + +(c) the AUP; + +(d) the Maps Technical Support Services Guidelines; + +(e) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and + +(f) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-07-09.yml b/src/licensedcode/data/licenses/google-maps-tos-2018-07-09.yml new file mode 100644 index 00000000000..a1e4ae173cf --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-07-09.yml @@ -0,0 +1,10 @@ +key: google-maps-tos-2018-07-09 +short_name: Google Maps Platform ToS 2018-07-09 +name: Google Maps Platform Terms of Service 2018-07-09 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2018-07-09 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20180709 +minimum_coverage: 90 diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-07-19.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2018-07-19.LICENSE new file mode 100644 index 00000000000..5430ba23ab6 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-07-19.LICENSE @@ -0,0 +1,358 @@ +Google Maps Platform Terms of Service + +Last modified: July 19, 2018 + +If you have entered into an offline variant of this Agreement, the terms below do not apply, and your offline agreement governs your use of the Google Maps Core Services. + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google and the entity or person agreeing to these terms ("Customer"). "Google" means either (i) Google Commerce Limited (“GCL”), a company incorporated under the laws of Ireland, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer has a billing address in the EU and has chosen “non-business” as the tax status/setting for its Google account, (ii) Google Ireland Limited, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer's billing address is in any country within Europe, the Middle East, or Africa ("EMEA"), (iii) Google Asia Pacific Pte. Ltd., with offices at 70 Pasir Panjang Road, #03-71, Mapletree Business City II Singapore 117371, if Customer's billing address is in any country within the Asia Pacific region ("APAC") except as provided below for Customers with the billing address in Japan or Australia, (iv) Google Cloud Japan G.K., with offices at Roppongi Hills Mori Tower, 10-1, Roppongi 6-chome, Minato-ku Tokyo, if Customer’s billing address is in Japan, (v) Google Australia Pty Ltd., with offices at Level 5, 48 Pirrama Road, Pyrmont, NSW 2009 Australia, if Customer’s billing address is in Australia, or (vi) Google LLC, with offices at 1600 Amphitheatre Parkway, Mountain View, California 94043, if Customer's billing address is in any country in the world other than those in EMEA and APAC. + +This Agreement is effective as of the date Customer clicks to accept the Agreement, or enters into a Reseller Agreement if purchasing through a Reseller (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (i) you have full legal authority to bind Customer to this Agreement; (ii) you have read and understand this Agreement; and (iii) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer's access to and use of the Services. + +For an offline variant of this Agreement, you may contact Google for more information. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the applicable SLA, and Customer may use the Google Maps Core Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account to access the Admin Console through which Customer may administer its use of the Services. Customer is responsible for: (a) the information it provides in connection with the Account; (b) maintaining the confidentiality and security of the Account and associated passwords; and (c) any use of its Account. + +1.4 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +1.5 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.6 Modifications. + +1.6.1 To the Services. Google may make changes to the Services, subject to Section 9 (Deprecation Policy), which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.6.2. To the Agreement. Google may make changes to this Agreement, including pricing (and any linked documents). Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except if the changes apply to new functionality in which case they will be effective immediately. Google will provide at least 90 days advance notice for materially adverse changes to any SLAs by: (a) sending an email to Customer’s primary point of contact; (b) posting a notice in the Admin Console; or (c) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on (a) Customer’s use of the Services during the previous Fee Accrual Period; (b) any Committed Purchases selected; and (c) any Package Purchases selected. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google's measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by the Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receives payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If the parties determine that certain billing inaccuracies are attributable to Google, Google will not issue a corrected invoice, but will instead issue a credit memo specifying the incorrect amount in the affected invoice. If the disputed invoice has not yet been paid, Google will apply the credit memo amount to the disputed invoice and Customer will be responsible for paying the resulting net balance due on that invoice. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Refunds (if any) are at the discretion of Google and will only be in the form of credit for the Services. Nothing in this Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. Late payments may bear interest at the rate of 1.5% per month (or the highest rate permitted by law, if less) from the payment due date until paid in full. Customer will be responsible for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting such delinquent amounts. If Customer is late on payment for the Services, Google may suspend the Services or terminate the Agreement for breach under Section 11.2 (Termination for Breach). + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to this Agreement's terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s), which may be: (a) fee-based or non-fee-based; (b) public/external or private/internal; (c) business-to-business or business-to-consumer; or (d) asset tracking. + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1. In this Section 3.2, the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.2 General Restrictions. Unless Google specifically agrees in writing, Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, or otherwise make the Services available as a commercial offering to a third party; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) on behalf of or for the benefit of any entity or person who is legally prohibited from using the Services; or (v) to transmit, store, or process Protected Health Information (as defined in and subject to HIPAA). + +3.2.3 Requirements for Using the Services. + +(a) End User Terms and Privacy Policy. Customer’s End User terms of service will state that End Users’ use of Google Maps is subject to the then-current Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html and Google Privacy Policy at https://www.google.com/policies/privacy/. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Maps Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.4 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not extract, export, scrape, or cache Google Maps Content for use outside the Services. For example, Customer will not:(i) pre-fetch, index, store, reshare, or rehost Google Maps Content outside the services; (ii) bulk download geocodes; (iii) copy business names, addresses, or user reviews; or (iv) use Google Maps Content with text-to-speech services. Caching is permitted for certain Services as described in the Maps Service Specific Terms. + +(b) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content, including tracing, digitizing, or creating other datasets based on Google Maps Content. + +(c) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(d) No Use With Non-Google Maps. Customer will not use the Google Maps Core Services in a Customer Application that contains a non-Google map. For example, Customer will not (i) display Places listings on a non-Google map, or (ii) display Street View imagery and non-Google maps in the same Customer Application. + +(e) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees; prevent Google from accurately calculating Customer’s Service usage levels; abuse any free Service quotas; or offer access to the Services under a “time-sharing” or “service bureau” model. + +(f) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(g) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(h) No Modifying Search Results Integrity. Customer will not modify any of the Service’s search results. + +(i) No Use for High Risk Activities. Customer will not use the Google Maps Core Services for High Risk Activities. + +3.2.5 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +4.2 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement, including the applicable Services’ AUP and URL Terms; and (b) use commercially reasonable efforts to prevent, promptly notify Google of, and terminate any unauthorized use of or access to its Account(s) or the Services. + +4.3 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.4 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally or not without their input. Google responds to notices of alleged copyright infringement and terminates accounts of repeat infringers according to applicable copyright laws including in particular the process set out in the U.S. Digital Millennium Copyright Act. If Customer thinks somebody is violating Customer’s or Customer End Users’ copyrights and wants to notify Google, Customer can find information about submitting notices, and Google's policy about responding to notices at https://www.google.com/dmca.html. + +4.5 Data Use, Protection, and Privacy. + +4.5.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google must receive and collect data from End Users and Customer, including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.5.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.5.3 General Privacy Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. If Customer has End Users in the European Economic Area, Customer will comply with the EU End User Consent Policy at https://www.google.com/about/company/user-consent-policy.html. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide device identifiers and Personal Data directly to Google, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. However, Customer acknowledges and agrees that Customer will not provide these categories of data to Google. + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (y) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (z) the combination and use of End User's location with any other data provider's data; and (ii) will not obtain or cache any End User's location except with the End User's express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Violations. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Violations or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Violations) and 5.2.2 (Emergency Security Issues). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Violations. If Google becomes aware that Customer’s or any End User’s use of the Services violates the AUP, Google will give Customer notice of such violation by requesting that Customer correct the violation. If Customer fails to correct such violation within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Security Issues. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use immediately to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend distributing or selling the Customer Application on 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in this Agreement, this Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Services and Software. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide Maps Technical Support Services to Customer in accordance with the Maps Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + +9.1 Google will notify Customer at least 12 months before making material discontinuance(s) or backwards incompatible change(s) to the Services, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a (i) security risk or (ii) substantial economic or technical burden. + +9.2 Section 9.1 applies to the Services listed at https://cloud.google.com/maps-platform/terms/maps-deprecation/. If Google deprecates any Services that are not listed at the above URL, Google will use commercially reasonable efforts to minimize the adverse impacts of such deprecations. +10. Confidential Information. + +10.1 Obligations. The recipient will not disclose the Confidential Information, except to Affiliates, employees, agents or professional advisors who need to know it and who have agreed in writing (or in the case of professional advisors are otherwise bound) to keep it confidential. Subject to Section 10.2 (Required Disclosure), the recipient will ensure that those people and entities use the received Confidential Information only to exercise rights and fulfill obligations under this Agreement, while using reasonable care to keep it confidential. + +10.2 Required Disclosure. The recipient may disclose the other party’s Confidential Information to the extent required by applicable Legal Process; provided that the recipient uses commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. Notwithstanding the foregoing, subsections (a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; and/or (iii) lead to death or serious physical harm to an individual. As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The “Term” of this Agreement will begin on the Effective Date and continue until the Agreement is terminated under this Section. + +11.2 Termination for Breach. Either party may terminate this Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; or (b) the other party ceases its business operations or becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. In addition, Google may terminate any, all, or any portion of the Services or Projects, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google reserves the right to terminate provision of Service(s) to a Project on 30 days advance notice if, for more than 180 days, such Project (a) has not made any requests to the Services from any Customer Applications; or (b) such Project has not incurred any Fees for such Service(s). + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate this Agreement for its convenience at any time on prior written notice and upon termination, must cease use of the applicable Services. Google may terminate this Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement is terminated, then: (a) the rights granted by one party to the other will immediately cease; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.5 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 20 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. Where applicable, Customer may use Google Maps Content in accordance with the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy, which will be considered “Google’s prior written consent” for the permitted uses. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT THE CUSTOMER APPLICATION IS SAFE FOR END USERS AND OTHER THIRD PARTIES. +15. Indemnification. + +15.1 By Customer. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the Agreement. + +15.2 By Google. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an allegation that Customer Indemnified Parties' use in accordance with the Agreement of Google Indemnified Materials infringes the third party's Intellectual Property Rights. + +15.3 Exclusions. This Section 15 will not apply to the extent the underlying allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the indemnifying party’s technology or Brand Features with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Conditions. Sections 15.1 and 15.2 will apply only to the extent: + +(a) The indemnified party has promptly notified the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperates reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 or 15.2 (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party tenders sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under this Agreement for any third party's Intellectual Property Rights Allegations and Third-Party Legal Proceedings covered by this Section 15 (Indemnification). +16. Limitation of Liability. + +16.1 Limitation on Indirect Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, WILL NOT BE LIABLE UNDER THIS AGREEMENT FOR LOST REVENUES OR PROFITS (WHETHER DIRECT OR INDIRECT), INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, EVEN IF THE PARTY OR LICENSOR, AS APPLICABLE, KNEW OR SHOULD HAVE KNOWN THAT SUCH DAMAGES WERE POSSIBLE AND EVEN IF DIRECT DAMAGES DO NOT SATISFY A REMEDY. + +16.2 Limitation on Amount of Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, MAY NOT BE HELD LIABLE UNDER THIS AGREEMENT FOR MORE THAN THE AMOUNT PAID BY CUSTOMER TO GOOGLE UNDER THIS AGREEMENT DURING THE TWELVE MONTHS BEFORE THE EVENT GIVING RISE TO LIABILITY. + +16.3 Exceptions to Limitations. These limitations of liability do not apply to breaches of confidentiality obligations, violations of a party’s Intellectual Property Rights by the other party, or Customer's payment obligations. +17. Advertising. + +In its sole discretion, Customer may configure the Service to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed to the other party’s legal department and primary point of contact. The email address for notices being sent to Google’s Legal Department is legal-notices@google.com. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Neither party may assign any part of this Agreement without the written consent of the other, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of this Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt to assign is void. + +19.3 Change of Control. If a party experiences a change of Control (for example, through a stock purchase or sale, merger, or other form of corporate transaction): (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate this Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. This Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under this Agreement. + +19.8 Severability. If any term (or part of a term) of this Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. This Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in this Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +19.11.1 For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +19.11.2 For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +19.11.3 For All Other Entities. If Customer is any entity not listed in Section 19.11.1 or 19.11.2 then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.5.2 (Modifications; To the Agreement), any amendment must be in writing, signed by both parties, and expressly state that it is amending this Agreement. + +19.13 Entire Agreement. This Agreement sets out all terms agreed between the parties and supersedes all other agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in this Agreement. The terms located at any URL referenced in this Agreement and the Documentation are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in this Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up this Agreement, the documents will control in the following order: the Agreement, and the terms at any URL. + +19.15 Conflicting Translations. If this Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Reseller Orders. + +This Section applies if Customer orders the Services from a Reseller under a Reseller Agreement (including the Reseller Order Form). + +20.1 Orders. If Customer orders Services from Reseller, then: (a) fees for the Services will be set between Customer and Reseller, and any payments will be made directly to Reseller under the Reseller Agreement; (b) Section 2 of this Agreement (Payment Terms) will not apply to the Services; (c) Customer will receive any applicable SLA credits from Reseller, if owed to Customer in accordance with the SLA; and (d) Google will have no obligation to provide any SLA credits to a Customer who orders Services from the Reseller. + +20.2 Conflicting Terms. If Customer orders Google Maps Core Services from a Reseller and if any documents conflict, then the documents will control in the following order: the Agreement, the terms at any URL (including the URL Terms), Reseller Order Form. For example, if there is a conflict between the Maps Service Specific Terms and the Reseller Order Form, the Maps Service Specific Terms will control. + +20.3 Reseller as Administrator. At Customer's discretion, Reseller may access Customer's Projects, Accounts, or the Services on behalf of Customer. As between Google and Customer, Customer is solely responsible for: (a) any access by Reseller to Customer’s Account(s), Project(s), or the Services; and (b) defining in the Reseller Agreement any rights or obligations as between Reseller and Customer with respect to the Accounts, Projects, or Services. + +20.4 Reseller Verification of Customer Application(s). Before providing the Services, Reseller may also verify that Customer owns or controls the Customer Applications. If Reseller determines that Customer does not own or control the Customer Applications, then Google will have no obligation to provide the Services to Customer. +21. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and/or tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services at: https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means the trade names, tradmarks, service marks, logos, domain names, and other distinctive brand features of each party, respectively, as secured by such party. + +"Committed Purchase(s)" has the meaning provided in the Maps Service Specific Terms. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than 50% of the voting rights or equity interests of a party. + +"Customer Application" means any web domain or application (including all source code and features) owned or controlled by Customer, or that Customer is authorized to use. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the Google documentation (as may be updated) in the form generally made available by Google for use with the Services at https://developers.google.com/maps/documentation. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in violation of the AUP, which could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area or Switzerland. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the threshold (as may be updated), as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided by Customer to Google. + +"Fees" means the product of the amount of Services used or ordered by Customer multiplied by the Prices, plus any applicable Taxes. + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means current and future worldwide rights under patent, copyright, trade secret, trademark, and moral rights laws, and other similar rights. + +"Legal Process" means a data disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Maps Service Specific Terms" means the then-current terms specific to one or more Services at https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"Maps Technical Support Services" means the technical support service provided by Google to Customer under the then-current Maps Technical Support Services Guidelines. + +"Maps Technical Support Services Guidelines" means the then-current technical support service guidelines at https://cloud.google.com/maps-platform/terms/tssg/. + +"Package Purchase" has the meaning set out in the Maps Service Specific Terms. + +"Personal Data" has the meaning provided in the General Data Protection Regulation (EU) 2016/679 of the European Parliament and of the Council of April 27, 2016. + +"Price" means the then-current applicable price(s) stated at https://cloud.google.com/maps-platform/pricing/sheet/. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Reseller" means, if applicable, the authorized reseller that sells or supplies the Services to Customer. + +"Reseller Agreement" means, if applicable, a separate, independent agreement between Customer and Reseller regarding the Services. + +"Reseller Order Form" means an order form entered into by Reseller and Customer, subject to the Reseller Agreement. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content and the Software. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits, or other computer software provided by Google for use as part of the Services, including updates. + +"Taxes" means any duties, customs fees, or taxes (other than Google’s income tax) associated with the purchase of the Services, including any related penalties or interest. + +"Term" has the meaning stated in Section 1.6 of this Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html; and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the Maps Service Specific Terms; + +(b) the SLA; + +(c) the AUP; + +(d) the Maps Technical Support Services Guidelines; + +(e) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and + +(f) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-07-19.yml b/src/licensedcode/data/licenses/google-maps-tos-2018-07-19.yml new file mode 100644 index 00000000000..aba960b5f76 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-07-19.yml @@ -0,0 +1,10 @@ +key: google-maps-tos-2018-07-19 +short_name: Google Maps Platform ToS 2018-07-19 +name: Google Maps Platform Terms of Service 2018-07-19 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2018-07-19 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20180719 +minimum_coverage: 90 diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-10-01.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2018-10-01.LICENSE new file mode 100644 index 00000000000..09f1ef92259 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-10-01.LICENSE @@ -0,0 +1,358 @@ +Google Maps Platform Terms of Service + +Last modified: October 1, 2018 + +If you have entered into an offline variant of this Agreement, the terms below do not apply, and your offline agreement governs your use of the Google Maps Core Services. + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google and the entity or person agreeing to these terms ("Customer"). "Google" means either (i) Google Commerce Limited (“GCL”), a company incorporated under the laws of Ireland, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer has a billing address in the EU and has chosen “non-business” as the tax status/setting for its Google account, (ii) Google Ireland Limited, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer's billing address is in any country within Europe, the Middle East, or Africa ("EMEA"), (iii) Google Asia Pacific Pte. Ltd., with offices at 70 Pasir Panjang Road, #03-71, Mapletree Business City II Singapore 117371, if Customer's billing address is in any country within the Asia Pacific region ("APAC") except as provided below for Customers with the billing address in Japan, New Zealand, or Australia, (iv) Google Cloud Japan G.K., with offices at Roppongi Hills Mori Tower, 10-1, Roppongi 6-chome, Minato-ku Tokyo, if Customer’s billing address is in Japan, (v) Google Australia Pty Ltd., with offices at Level 5, 48 Pirrama Road, Pyrmont, NSW 2009 Australia, if Customer’s billing address is in Australia, or (vi) Google LLC, with offices at 1600 Amphitheatre Parkway, Mountain View, California 94043, if Customer's billing address is in any country in the world other than those in EMEA and APAC. For Customers with a billing address in New Zealand, as of November 1, 2018, this Agreement is made and entered into by and between Customer and Google New Zealand Limited, with offices at PWC Tower, Level 27, 188 Quay Street, Auckland, New Zealand 1010, as an authorized reseller in New Zealand of the Services and “Google” means Google Asia Pacific Pte. Ltd. and/or its affiliates (including Google New Zealand Limited) as the context requires. + +This Agreement is effective as of the date Customer clicks to accept the Agreement, or enters into a Reseller Agreement if purchasing through a Reseller (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (i) you have full legal authority to bind Customer to this Agreement; (ii) you have read and understand this Agreement; and (iii) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer's access to and use of the Services. + +For an offline variant of this Agreement, you may contact Google for more information. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the applicable SLA, and Customer may use the Google Maps Core Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account to access the Admin Console through which Customer may administer its use of the Services. Customer is responsible for: (a) the information it provides in connection with the Account; (b) maintaining the confidentiality and security of the Account and associated passwords; and (c) any use of its Account. + +1.4 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +1.5 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.6 Modifications. + +1.6.1 To the Services. Google may make changes to the Services, subject to Section 9 (Deprecation Policy), which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.6.2. To the Agreement. Google may make changes to this Agreement, including pricing (and any linked documents). Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except if the changes apply to new functionality in which case they will be effective immediately. Google will provide at least 90 days advance notice for materially adverse changes to any SLAs by: (a) sending an email to Customer’s primary point of contact; (b) posting a notice in the Admin Console; or (c) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on (a) Customer’s use of the Services during the previous Fee Accrual Period; (b) any Committed Purchases selected; and (c) any Package Purchases selected. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google's measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by the Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receives payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If the parties determine that certain billing inaccuracies are attributable to Google, Google will not issue a corrected invoice, but will instead issue a credit memo specifying the incorrect amount in the affected invoice. If the disputed invoice has not yet been paid, Google will apply the credit memo amount to the disputed invoice and Customer will be responsible for paying the resulting net balance due on that invoice. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Refunds (if any) are at the discretion of Google and will only be in the form of credit for the Services. Nothing in this Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. Late payments may bear interest at the rate of 1.5% per month (or the highest rate permitted by law, if less) from the payment due date until paid in full. Customer will be responsible for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting such delinquent amounts. If Customer is late on payment for the Services, Google may suspend the Services or terminate the Agreement for breach under Section 11.2 (Termination for Breach). + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to this Agreement's terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s), which may be: (a) fee-based or non-fee-based; (b) public/external or private/internal; (c) business-to-business or business-to-consumer; or (d) asset tracking. + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1. In this Section 3.2, the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.2 General Restrictions. Unless Google specifically agrees in writing, Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, or otherwise make the Services available as a commercial offering to a third party; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) on behalf of or for the benefit of any entity or person who is legally prohibited from using the Services; or (v) to transmit, store, or process Protected Health Information (as defined in and subject to HIPAA). + +3.2.3 Requirements for Using the Services. + +(a) End User Terms and Privacy Policy. Customer’s End User terms of service will state that End Users’ use of Google Maps is subject to the then-current Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html and Google Privacy Policy at https://www.google.com/policies/privacy/. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Maps Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.4 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not extract, export, scrape, or cache Google Maps Content for use outside the Services. For example, Customer will not:(i) pre-fetch, index, store, reshare, or rehost Google Maps Content outside the services; (ii) bulk download geocodes; (iii) copy business names, addresses, or user reviews; or (iv) use Google Maps Content with text-to-speech services. Caching is permitted for certain Services as described in the Maps Service Specific Terms. + +(b) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content, including tracing, digitizing, or creating other datasets based on Google Maps Content. + +(c) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(d) No Use With Non-Google Maps. Customer will not use the Google Maps Core Services in a Customer Application that contains a non-Google map. For example, Customer will not (i) display Places listings on a non-Google map, or (ii) display Street View imagery and non-Google maps in the same Customer Application. + +(e) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees; prevent Google from accurately calculating Customer’s Service usage levels; abuse any free Service quotas; or offer access to the Services under a “time-sharing” or “service bureau” model. + +(f) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(g) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(h) No Modifying Search Results Integrity. Customer will not modify any of the Service’s search results. + +(i) No Use for High Risk Activities. Customer will not use the Google Maps Core Services for High Risk Activities. + +3.2.5 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +4.2 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement, including the applicable Services’ AUP and URL Terms; and (b) use commercially reasonable efforts to prevent, promptly notify Google of, and terminate any unauthorized use of or access to its Account(s) or the Services. + +4.3 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.4 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally or not without their input. Google responds to notices of alleged copyright infringement and terminates accounts of repeat infringers according to applicable copyright laws including in particular the process set out in the U.S. Digital Millennium Copyright Act. If Customer thinks somebody is violating Customer’s or Customer End Users’ copyrights and wants to notify Google, Customer can find information about submitting notices, and Google's policy about responding to notices at https://www.google.com/dmca.html. + +4.5 Data Use, Protection, and Privacy. + +4.5.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google must receive and collect data from End Users and Customer, including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.5.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.5.3 General Privacy Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. If Customer has End Users in the European Economic Area, Customer will comply with the EU End User Consent Policy at https://www.google.com/about/company/user-consent-policy.html. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide device identifiers and Personal Data directly to Google, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. However, Customer acknowledges and agrees that Customer will not provide these categories of data to Google. + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (y) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (z) the combination and use of End User's location with any other data provider's data; and (ii) will not obtain or cache any End User's location except with the End User's express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Violations. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Violations or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Violations) and 5.2.2 (Emergency Security Issues). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Violations. If Google becomes aware that Customer’s or any End User’s use of the Services violates the AUP, Google will give Customer notice of such violation by requesting that Customer correct the violation. If Customer fails to correct such violation within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Security Issues. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use immediately to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend distributing or selling the Customer Application on 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in this Agreement, this Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Services and Software. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide Maps Technical Support Services to Customer in accordance with the Maps Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + +9.1 Google will notify Customer at least 12 months before making material discontinuance(s) or backwards incompatible change(s) to the Services, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a (i) security risk or (ii) substantial economic or technical burden. + +9.2 Section 9.1 applies to the Services listed at https://cloud.google.com/maps-platform/terms/maps-deprecation/. If Google deprecates any Services that are not listed at the above URL, Google will use commercially reasonable efforts to minimize the adverse impacts of such deprecations. +10. Confidential Information. + +10.1 Obligations. The recipient will not disclose the Confidential Information, except to Affiliates, employees, agents or professional advisors who need to know it and who have agreed in writing (or in the case of professional advisors are otherwise bound) to keep it confidential. Subject to Section 10.2 (Required Disclosure), the recipient will ensure that those people and entities use the received Confidential Information only to exercise rights and fulfill obligations under this Agreement, while using reasonable care to keep it confidential. + +10.2 Required Disclosure. The recipient may disclose the other party’s Confidential Information to the extent required by applicable Legal Process; provided that the recipient uses commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. Notwithstanding the foregoing, subsections (a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; and/or (iii) lead to death or serious physical harm to an individual. As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The “Term” of this Agreement will begin on the Effective Date and continue until the Agreement is terminated under this Section. + +11.2 Termination for Breach. Either party may terminate this Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; or (b) the other party ceases its business operations or becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. In addition, Google may terminate any, all, or any portion of the Services or Projects, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google reserves the right to terminate provision of Service(s) to a Project on 30 days advance notice if, for more than 180 days, such Project (a) has not made any requests to the Services from any Customer Applications; or (b) such Project has not incurred any Fees for such Service(s). + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate this Agreement for its convenience at any time on prior written notice and upon termination, must cease use of the applicable Services. Google may terminate this Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement is terminated, then: (a) the rights granted by one party to the other will immediately cease; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.5 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 20 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. Where applicable, Customer may use Google Maps Content in accordance with the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy, which will be considered “Google’s prior written consent” for the permitted uses. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT THE CUSTOMER APPLICATION IS SAFE FOR END USERS AND OTHER THIRD PARTIES. +15. Indemnification. + +15.1 By Customer. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the Agreement. + +15.2 By Google. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an allegation that Customer Indemnified Parties' use in accordance with the Agreement of Google Indemnified Materials infringes the third party's Intellectual Property Rights. + +15.3 Exclusions. This Section 15 will not apply to the extent the underlying allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the indemnifying party’s technology or Brand Features with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Conditions. Sections 15.1 and 15.2 will apply only to the extent: + +(a) The indemnified party has promptly notified the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperates reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 or 15.2 (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party tenders sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under this Agreement for any third party's Intellectual Property Rights Allegations and Third-Party Legal Proceedings covered by this Section 15 (Indemnification). +16. Limitation of Liability. + +16.1 Limitation on Indirect Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, WILL NOT BE LIABLE UNDER THIS AGREEMENT FOR LOST REVENUES OR PROFITS (WHETHER DIRECT OR INDIRECT), INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, EVEN IF THE PARTY OR LICENSOR, AS APPLICABLE, KNEW OR SHOULD HAVE KNOWN THAT SUCH DAMAGES WERE POSSIBLE AND EVEN IF DIRECT DAMAGES DO NOT SATISFY A REMEDY. + +16.2 Limitation on Amount of Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, MAY NOT BE HELD LIABLE UNDER THIS AGREEMENT FOR MORE THAN THE AMOUNT PAID BY CUSTOMER TO GOOGLE UNDER THIS AGREEMENT DURING THE TWELVE MONTHS BEFORE THE EVENT GIVING RISE TO LIABILITY. + +16.3 Exceptions to Limitations. These limitations of liability do not apply to breaches of confidentiality obligations, violations of a party’s Intellectual Property Rights by the other party, or Customer's payment obligations. +17. Advertising. + +In its sole discretion, Customer may configure the Service to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed to the other party’s legal department and primary point of contact. The email address for notices being sent to Google’s Legal Department is legal-notices@google.com. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Neither party may assign any part of this Agreement without the written consent of the other, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of this Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt to assign is void. + +19.3 Change of Control. If a party experiences a change of Control (for example, through a stock purchase or sale, merger, or other form of corporate transaction): (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate this Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. This Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under this Agreement. + +19.8 Severability. If any term (or part of a term) of this Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. This Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in this Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +19.11.1 For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +19.11.2 For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +19.11.3 For All Other Entities. If Customer is any entity not listed in Section 19.11.1 or 19.11.2 then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.5.2 (Modifications; To the Agreement), any amendment must be in writing, signed by both parties, and expressly state that it is amending this Agreement. + +19.13 Entire Agreement. This Agreement sets out all terms agreed between the parties and supersedes all other agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in this Agreement. The terms located at any URL referenced in this Agreement and the Documentation are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in this Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up this Agreement, the documents will control in the following order: the Agreement, and the terms at any URL. + +19.15 Conflicting Translations. If this Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Reseller Orders. + +This Section applies if Customer orders the Services from a Reseller under a Reseller Agreement (including the Reseller Order Form). + +20.1 Orders. If Customer orders Services from Reseller, then: (a) fees for the Services will be set between Customer and Reseller, and any payments will be made directly to Reseller under the Reseller Agreement; (b) Section 2 of this Agreement (Payment Terms) will not apply to the Services; (c) Customer will receive any applicable SLA credits from Reseller, if owed to Customer in accordance with the SLA; and (d) Google will have no obligation to provide any SLA credits to a Customer who orders Services from the Reseller. + +20.2 Conflicting Terms. If Customer orders Google Maps Core Services from a Reseller and if any documents conflict, then the documents will control in the following order: the Agreement, the terms at any URL (including the URL Terms), Reseller Order Form. For example, if there is a conflict between the Maps Service Specific Terms and the Reseller Order Form, the Maps Service Specific Terms will control. + +20.3 Reseller as Administrator. At Customer's discretion, Reseller may access Customer's Projects, Accounts, or the Services on behalf of Customer. As between Google and Customer, Customer is solely responsible for: (a) any access by Reseller to Customer’s Account(s), Project(s), or the Services; and (b) defining in the Reseller Agreement any rights or obligations as between Reseller and Customer with respect to the Accounts, Projects, or Services. + +20.4 Reseller Verification of Customer Application(s). Before providing the Services, Reseller may also verify that Customer owns or controls the Customer Applications. If Reseller determines that Customer does not own or control the Customer Applications, then Google will have no obligation to provide the Services to Customer. +21. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and/or tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services at: https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means the trade names, tradmarks, service marks, logos, domain names, and other distinctive brand features of each party, respectively, as secured by such party. + +"Committed Purchase(s)" has the meaning provided in the Maps Service Specific Terms. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than 50% of the voting rights or equity interests of a party. + +"Customer Application" means any web domain or application (including all source code and features) owned or controlled by Customer, or that Customer is authorized to use. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the Google documentation (as may be updated) in the form generally made available by Google for use with the Services at https://developers.google.com/maps/documentation. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in violation of the AUP, which could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area or Switzerland. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the threshold (as may be updated), as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided by Customer to Google. + +"Fees" means the product of the amount of Services used or ordered by Customer multiplied by the Prices, plus any applicable Taxes. + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means current and future worldwide rights under patent, copyright, trade secret, trademark, and moral rights laws, and other similar rights. + +"Legal Process" means a data disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Maps Service Specific Terms" means the then-current terms specific to one or more Services at https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"Maps Technical Support Services" means the technical support service provided by Google to Customer under the then-current Maps Technical Support Services Guidelines. + +"Maps Technical Support Services Guidelines" means the then-current technical support service guidelines at https://cloud.google.com/maps-platform/terms/tssg/. + +"Package Purchase" has the meaning set out in the Maps Service Specific Terms. + +"Personal Data" has the meaning provided in the General Data Protection Regulation (EU) 2016/679 of the European Parliament and of the Council of April 27, 2016. + +"Price" means the then-current applicable price(s) stated at https://cloud.google.com/maps-platform/pricing/sheet/. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Reseller" means, if applicable, the authorized reseller that sells or supplies the Services to Customer. + +"Reseller Agreement" means, if applicable, a separate, independent agreement between Customer and Reseller regarding the Services. + +"Reseller Order Form" means an order form entered into by Reseller and Customer, subject to the Reseller Agreement. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content and the Software. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits, or other computer software provided by Google for use as part of the Services, including updates. + +"Taxes" means any duties, customs fees, or taxes (other than Google’s income tax) associated with the purchase of the Services, including any related penalties or interest. + +"Term" has the meaning stated in Section 1.6 of this Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html; and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the Maps Service Specific Terms; + +(b) the SLA; + +(c) the AUP; + +(d) the Maps Technical Support Services Guidelines; + +(e) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and + +(f) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-10-01.yml b/src/licensedcode/data/licenses/google-maps-tos-2018-10-01.yml new file mode 100644 index 00000000000..af7cec5e7ce --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-10-01.yml @@ -0,0 +1,10 @@ +key: google-maps-tos-2018-10-01 +short_name: Google Maps Platform ToS 2018-10-01 +name: Google Maps Platform Terms of Service 2018-10-01 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2018-10-01 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20181001 +minimum_coverage: 90 diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-10-31.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2018-10-31.LICENSE new file mode 100644 index 00000000000..310e6d04300 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-10-31.LICENSE @@ -0,0 +1,358 @@ +Google Maps Platform Terms of Service + +Last modified: October 31, 2018 + +If you have entered into an offline variant of this Agreement, the terms below do not apply, and your offline agreement governs your use of the Google Maps Core Services. + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google and the entity or person agreeing to these terms ("Customer"). "Google" means either (i) Google Commerce Limited (“GCL”), a company incorporated under the laws of Ireland, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer has a billing address in the EU and has chosen “non-business” as the tax status/setting for its Google account, (ii) Google Ireland Limited, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer’s billing address is in any country within Europe, the Middle East, or Africa ("EMEA"), (iii) Google Asia Pacific Pte. Ltd., with offices at 70 Pasir Panjang Road, #03-71, Mapletree Business City II Singapore 117371, if Customer’s billing address is in any country within the Asia Pacific region ("APAC") except as provided below for Customers with the billing address in Japan, New Zealand, or Australia, (iv) Google Cloud Japan G.K., with offices at Roppongi Hills Mori Tower, 10-1, Roppongi 6-chome, Minato-ku Tokyo, if Customer’s billing address is in Japan, (v) Google Australia Pty Ltd., with offices at Level 5, 48 Pirrama Road, Pyrmont, NSW 2009 Australia, if Customer’s billing address is in Australia, or (vi) Google LLC, with offices at 1600 Amphitheatre Parkway, Mountain View, California 94043, if Customer’s billing address is in any country in the world other than those in EMEA and APAC. For Customers with a billing address in New Zealand, this Agreement is made and entered into by and between Customer and Google New Zealand Limited, with offices at PWC Tower, Level 27, 188 Quay Street, Auckland, New Zealand 1010, as an authorized reseller in New Zealand of the Services and “Google” means Google Asia Pacific Pte. Ltd. and/or its affiliates (including Google New Zealand Limited) as the context requires. + +This Agreement is effective as of the date Customer clicks to accept the Agreement, or enters into a Reseller Agreement if purchasing through a Reseller (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (i) you have full legal authority to bind Customer to this Agreement; (ii) you have read and understand this Agreement; and (iii) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer’s access to and use of the Services. + +For an offline variant of this Agreement, you may contact Google for more information. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the applicable SLA, and Customer may use the Google Maps Core Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account to access the Admin Console through which Customer may administer its use of the Services. Customer is responsible for: (a) the information it provides in connection with the Account; (b) maintaining the confidentiality and security of the Account and associated passwords; and (c) any use of its Account. + +1.4 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +1.5 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.6 Modifications. + +1.6.1 To the Services. Google may make changes to the Services, subject to Section 9 (Deprecation Policy), which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.6.2. To the Agreement. Google may make changes to this Agreement, including pricing (and any linked documents). Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except if the changes apply to new functionality in which case they will be effective immediately. Google will provide at least 90 days advance notice for materially adverse changes to any SLAs by: (a) sending an email to Customer’s primary point of contact; (b) posting a notice in the Admin Console; or (c) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on (a) Customer’s use of the Services during the previous Fee Accrual Period; (b) any Committed Purchases selected; and (c) any Package Purchases selected. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google’s measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by the Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receives payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If the parties determine that certain billing inaccuracies are attributable to Google, Google will not issue a corrected invoice, but will instead issue a credit memo specifying the incorrect amount in the affected invoice. If the disputed invoice has not yet been paid, Google will apply the credit memo amount to the disputed invoice and Customer will be responsible for paying the resulting net balance due on that invoice. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Refunds (if any) are at the discretion of Google and will only be in the form of credit for the Services. Nothing in this Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. Late payments may bear interest at the rate of 1.5% per month (or the highest rate permitted by law, if less) from the payment due date until paid in full. Customer will be responsible for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting such delinquent amounts. If Customer is late on payment for the Services, Google may suspend the Services or terminate the Agreement for breach under Section 11.2 (Termination for Breach). + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to this Agreement’s terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s), which may be: (a) fee-based or non-fee-based; (b) public/external or private/internal; (c) business-to-business or business-to-consumer; or (d) asset tracking. + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1. In this Section 3.2, the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.2 General Restrictions. Unless Google specifically agrees in writing, Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, or otherwise make the Services available as a commercial offering to a third party; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) on behalf of or for the benefit of any entity or person who is legally prohibited from using the Services; or (v) to transmit, store, or process Protected Health Information (as defined in and subject to HIPAA). + +3.2.3 Requirements for Using the Services. + +(a) End User Terms and Privacy Policy. Customer’s End User terms of service will state that End Users’ use of Google Maps is subject to the then-current Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html and Google Privacy Policy at https://www.google.com/policies/privacy/. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Maps Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.4 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not extract, export, scrape, or cache Google Maps Content for use outside the Services. For example, Customer will not:(i) pre-fetch, index, store, reshare, or rehost Google Maps Content outside the services; (ii) bulk download geocodes; (iii) copy business names, addresses, or user reviews; or (iv) use Google Maps Content with text-to-speech services. Caching is permitted for certain Services as described in the Maps Service Specific Terms. + +(b) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content, including tracing, digitizing, or creating other datasets based on Google Maps Content. + +(c) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(d) No Use With Non-Google Maps. Customer will not use the Google Maps Core Services in a Customer Application that contains a non-Google map. For example, Customer will not (i) display Places listings on a non-Google map, or (ii) display Street View imagery and non-Google maps in the same Customer Application. + +(e) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees; prevent Google from accurately calculating Customer’s Service usage levels; abuse any free Service quotas; or offer access to the Services under a “time-sharing” or “service bureau” model. + +(f) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(g) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(h) No Modifying Search Results Integrity. Customer will not modify any of the Service’s search results. + +(i) No Use for High Risk Activities. Customer will not use the Google Maps Core Services for High Risk Activities. + +3.2.5 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +4.2 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement, including the applicable Services’ AUP and URL Terms; and (b) use commercially reasonable efforts to prevent, promptly notify Google of, and terminate any unauthorized use of or access to its Account(s) or the Services. + +4.3 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.4 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally or not without their input. Google responds to notices of alleged copyright infringement and terminates accounts of repeat infringers according to applicable copyright laws including in particular the process set out in the U.S. Digital Millennium Copyright Act. If Customer thinks somebody is violating Customer’s or Customer End Users’ copyrights and wants to notify Google, Customer can find information about submitting notices, and Google’s policy about responding to notices at https://www.google.com/dmca.html. + +4.5 Data Use, Protection, and Privacy. + +4.5.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google must receive and collect data from End Users and Customer, including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.5.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.5.3 General Privacy Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. If Customer has End Users in the European Economic Area, Customer will comply with the EU End User Consent Policy at https://www.google.com/about/company/user-consent-policy.html. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide device identifiers and Personal Data directly to Google, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. However, Customer acknowledges and agrees that Customer will not provide these categories of data to Google. + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (y) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (z) the combination and use of End User’s location with any other data provider’s data; and (ii) will not obtain or cache any End User’s location except with the End User’s express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Violations. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Violations or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Violations) and 5.2.2 (Emergency Security Issues). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Violations. If Google becomes aware that Customer’s or any End User’s use of the Services violates the AUP, Google will give Customer notice of such violation by requesting that Customer correct the violation. If Customer fails to correct such violation within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Security Issues. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use immediately to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend distributing or selling the Customer Application on 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in this Agreement, this Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Services and Software. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide Maps Technical Support Services to Customer in accordance with the Maps Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + +9.1 Google will notify Customer at least 12 months before making material discontinuance(s) or backwards incompatible change(s) to the Services, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a (i) security risk or (ii) substantial economic or technical burden. + +9.2 Section 9.1 applies to the Services listed at https://cloud.google.com/maps-platform/terms/maps-deprecation/. If Google deprecates any Services that are not listed at the above URL, Google will use commercially reasonable efforts to minimize the adverse impacts of such deprecations. +10. Confidential Information. + +10.1 Obligations. The recipient will not disclose the Confidential Information, except to Affiliates, employees, agents or professional advisors who need to know it and who have agreed in writing (or in the case of professional advisors are otherwise bound) to keep it confidential. Subject to Section 10.2 (Required Disclosure), the recipient will ensure that those people and entities use the received Confidential Information only to exercise rights and fulfill obligations under this Agreement, while using reasonable care to keep it confidential. + +10.2 Required Disclosure. The recipient may disclose the other party’s Confidential Information to the extent required by applicable Legal Process; provided that the recipient uses commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. Notwithstanding the foregoing, subsections (a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; and/or (iii) lead to death or serious physical harm to an individual. As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The “Term” of this Agreement will begin on the Effective Date and continue until the Agreement is terminated under this Section. + +11.2 Termination for Breach. Either party may terminate this Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; or (b) the other party ceases its business operations or becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. In addition, Google may terminate any, all, or any portion of the Services or Projects, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google reserves the right to terminate provision of Service(s) to a Project on 30 days advance notice if, for more than 180 days, such Project (a) has not made any requests to the Services from any Customer Applications; or (b) such Project has not incurred any Fees for such Service(s). + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate this Agreement for its convenience at any time on prior written notice and upon termination, must cease use of the applicable Services. Google may terminate this Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement is terminated, then: (a) the rights granted by one party to the other will immediately cease; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.5 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 20 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. Where applicable, Customer may use Google Maps Content in accordance with the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy, which will be considered “Google’s prior written consent” for the permitted uses. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT THE CUSTOMER APPLICATION IS SAFE FOR END USERS AND OTHER THIRD PARTIES. +15. Indemnification. + +15.1 By Customer. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the Agreement. + +15.2 By Google. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an allegation that Customer Indemnified Parties’ use in accordance with the Agreement of Google Indemnified Materials infringes the third party’s Intellectual Property Rights. + +15.3 Exclusions. This Section 15 will not apply to the extent the underlying allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the indemnifying party’s technology or Brand Features with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Conditions. Sections 15.1 and 15.2 will apply only to the extent: + +(a) The indemnified party has promptly notified the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperates reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 or 15.2 (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party tenders sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under this Agreement for any third party’s Intellectual Property Rights Allegations and Third-Party Legal Proceedings covered by this Section 15 (Indemnification). +16. Limitation of Liability. + +16.1 Limitation on Indirect Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, WILL NOT BE LIABLE UNDER THIS AGREEMENT FOR LOST REVENUES OR PROFITS (WHETHER DIRECT OR INDIRECT), INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, EVEN IF THE PARTY OR LICENSOR, AS APPLICABLE, KNEW OR SHOULD HAVE KNOWN THAT SUCH DAMAGES WERE POSSIBLE AND EVEN IF DIRECT DAMAGES DO NOT SATISFY A REMEDY. + +16.2 Limitation on Amount of Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, MAY NOT BE HELD LIABLE UNDER THIS AGREEMENT FOR MORE THAN THE AMOUNT PAID BY CUSTOMER TO GOOGLE UNDER THIS AGREEMENT DURING THE TWELVE MONTHS BEFORE THE EVENT GIVING RISE TO LIABILITY. + +16.3 Exceptions to Limitations. These limitations of liability do not apply to breaches of confidentiality obligations, violations of a party’s Intellectual Property Rights by the other party, or Customer’s payment obligations. +17. Advertising. + +In its sole discretion, Customer may configure the Service to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed to the other party’s legal department and primary point of contact. The email address for notices being sent to Google’s Legal Department is legal-notices@google.com. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Neither party may assign any part of this Agreement without the written consent of the other, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of this Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt to assign is void. + +19.3 Change of Control. If a party experiences a change of Control (for example, through a stock purchase or sale, merger, or other form of corporate transaction): (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate this Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. This Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under this Agreement. + +19.8 Severability. If any term (or part of a term) of this Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. This Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in this Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +19.11.1 For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +19.11.2 For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +19.11.3 For All Other Entities. If Customer is any entity not listed in Section 19.11.1 or 19.11.2 then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.5.2 (Modifications; To the Agreement), any amendment must be in writing, signed by both parties, and expressly state that it is amending this Agreement. + +19.13 Entire Agreement. This Agreement sets out all terms agreed between the parties and supersedes all other agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in this Agreement. The terms located at any URL referenced in this Agreement and the Documentation are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in this Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up this Agreement, the documents will control in the following order: the Agreement, and the terms at any URL. + +19.15 Conflicting Translations. If this Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Reseller Orders. + +This Section applies if Customer orders the Services from a Reseller under a Reseller Agreement (including the Reseller Order Form). + +20.1 Orders. If Customer orders Services from Reseller, then: (a) fees for the Services will be set between Customer and Reseller, and any payments will be made directly to Reseller under the Reseller Agreement; (b) Section 2 of this Agreement (Payment Terms) will not apply to the Services; (c) Customer will receive any applicable SLA credits from Reseller, if owed to Customer in accordance with the SLA; and (d) Google will have no obligation to provide any SLA credits to a Customer who orders Services from the Reseller. + +20.2 Conflicting Terms. If Customer orders Google Maps Core Services from a Reseller and if any documents conflict, then the documents will control in the following order: the Agreement, the terms at any URL (including the URL Terms), Reseller Order Form. For example, if there is a conflict between the Maps Service Specific Terms and the Reseller Order Form, the Maps Service Specific Terms will control. + +20.3 Reseller as Administrator. At Customer’s discretion, Reseller may access Customer’s Projects, Accounts, or the Services on behalf of Customer. As between Google and Customer, Customer is solely responsible for: (a) any access by Reseller to Customer’s Account(s), Project(s), or the Services; and (b) defining in the Reseller Agreement any rights or obligations as between Reseller and Customer with respect to the Accounts, Projects, or Services. + +20.4 Reseller Verification of Customer Application(s). Before providing the Services, Reseller may also verify that Customer owns or controls the Customer Applications. If Reseller determines that Customer does not own or control the Customer Applications, then Google will have no obligation to provide the Services to Customer. +21. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and/or tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services at: https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means the trade names, tradmarks, service marks, logos, domain names, and other distinctive brand features of each party, respectively, as secured by such party. + +"Committed Purchase(s)" has the meaning provided in the Maps Service Specific Terms. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than 50% of the voting rights or equity interests of a party. + +"Customer Application" means any web domain or application (including all source code and features) owned or controlled by Customer, or that Customer is authorized to use. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the Google documentation (as may be updated) in the form generally made available by Google for use with the Services at https://developers.google.com/maps/documentation. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in violation of the AUP, which could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area or Switzerland. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the threshold (as may be updated), as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided by Customer to Google. + +"Fees" means the product of the amount of Services used or ordered by Customer multiplied by the Prices, plus any applicable Taxes. + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means current and future worldwide rights under patent, copyright, trade secret, trademark, and moral rights laws, and other similar rights. + +"Legal Process" means a data disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Maps Service Specific Terms" means the then-current terms specific to one or more Services at https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"Maps Technical Support Services" means the technical support service provided by Google to Customer under the then-current Maps Technical Support Services Guidelines. + +"Maps Technical Support Services Guidelines" means the then-current technical support service guidelines at https://cloud.google.com/maps-platform/terms/tssg/. + +"Package Purchase" has the meaning set out in the Maps Service Specific Terms. + +"Personal Data" has the meaning provided in the General Data Protection Regulation (EU) 2016/679 of the European Parliament and of the Council of April 27, 2016. + +"Price" means the then-current applicable price(s) stated at https://cloud.google.com/maps-platform/pricing/sheet/. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Reseller" means, if applicable, the authorized reseller that sells or supplies the Services to Customer. + +"Reseller Agreement" means, if applicable, a separate, independent agreement between Customer and Reseller regarding the Services. + +"Reseller Order Form" means an order form entered into by Reseller and Customer, subject to the Reseller Agreement. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content and the Software. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits, or other computer software provided by Google for use as part of the Services, including updates. + +"Taxes" means any duties, customs fees, or taxes (other than Google’s income tax) associated with the purchase of the Services, including any related penalties or interest. + +"Term" has the meaning stated in Section 1.6 of this Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html; and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the Maps Service Specific Terms; + +(b) the SLA; + +(c) the AUP; + +(d) the Maps Technical Support Services Guidelines; + +(e) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and + +(f) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-10-31.yml b/src/licensedcode/data/licenses/google-maps-tos-2018-10-31.yml new file mode 100644 index 00000000000..99a3a69a204 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-10-31.yml @@ -0,0 +1,10 @@ +key: google-maps-tos-2018-10-31 +short_name: Google Maps Platform ToS 2018-10-31 +name: Google Maps Platform Terms of Service 2018-10-31 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2018-10-31 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20181031 +minimum_coverage: 90 diff --git a/src/licensedcode/data/licenses/google-maps-tos-2019-05-02.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2019-05-02.LICENSE new file mode 100644 index 00000000000..01353288828 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2019-05-02.LICENSE @@ -0,0 +1,356 @@ +Google Maps Platform Terms of Service + +Last modified: May 02, 2019 + +If you have entered into an offline variant of this Agreement, the terms below do not apply, and your offline agreement governs your use of the Google Maps Core Services. + +If your billing account is in Brazil, please review these Terms of Service, which apply to your use of Google Cloud Platform. + +Se a sua conta para faturamento é no Brasil, por gentileza veja o Termos de Serviço, que será o Termo aplicável à sua utilização da Google Maps Platform. + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google and the entity or person agreeing to these terms ("Customer"). "Google" means either (i) Google Commerce Limited (“GCL”), a company incorporated under the laws of Ireland, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer has a billing address in the EU and has chosen “non-business” as the tax status/setting for its Google account, (ii) Google Ireland Limited, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer's billing address is in any country within Europe, the Middle East, or Africa ("EMEA"), (iii) Google Asia Pacific Pte. Ltd., with offices at 70 Pasir Panjang Road, #03-71, Mapletree Business City II Singapore 117371, if Customer's billing address is in any country within the Asia Pacific region ("APAC") except as provided below for Customers with the billing address in Japan, New Zealand, or Australia, (iv) Google Cloud Japan G.K., with offices at Roppongi Hills Mori Tower, 10-1, Roppongi 6-chome, Minato-ku Tokyo, if Customer’s billing address is in Japan, (v) Google Australia Pty Ltd., with offices at Level 5, 48 Pirrama Road, Pyrmont, NSW 2009 Australia, if Customer’s billing address is in Australia, (vi) Google Cloud Canada Corporation, with offices at 111 Richmond Street West, Toronto, ON M5H 2G4, Canada, if Customer’s billing address is in Canada, or (vii) Google LLC, with offices at 1600 Amphitheatre Parkway, Mountain View, California 94043, if Customer's billing address is in any country in the world other than those in EMEA and APAC. For Customers with a billing address in New Zealand, this Agreement is made and entered into by and between Customer and Google New Zealand Limited, with offices at PWC Tower, Level 27, 188 Quay Street, Auckland, New Zealand 1010, as an authorized reseller in New Zealand of the Services and “Google” means Google Asia Pacific Pte. Ltd. and/or its affiliates (including Google New Zealand Limited) as the context requires. + +This Agreement is effective as of the date Customer clicks to accept the Agreement, or enters into a Reseller Agreement if purchasing through a Reseller (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (i) you have full legal authority to bind Customer to this Agreement; (ii) you have read and understand this Agreement; and (iii) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer's access to and use of the Services. + +For an offline variant of this Agreement, you may contact Google for more information. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the applicable SLA, and Customer may use the Google Maps Core Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account. Customer is responsible for: (a) the information it provides in connection with the Account; (b) maintaining the confidentiality and security of the Account and associated passwords; and (c) any use of its Account. + +1.4 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +1.5 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.6 Modifications. + +1.6.1 To the Services. Google may make changes to the Services, subject to Section 9 (Deprecation Policy), which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.6.2. To the Agreement. Google may make changes to this Agreement, including pricing (and any linked documents). Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except if the changes apply to new functionality in which case they will be effective immediately. Google will provide at least 90 days advance notice for materially adverse changes to any SLAs by: (a) sending an email to Customer’s primary point of contact; (b) posting a notice in the Admin Console; or (c) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on (a) Customer’s use of the Services during the previous Fee Accrual Period; (b) any Committed Purchases selected; and (c) any Package Purchases selected. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google's measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by the Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receives payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If the parties determine that certain billing inaccuracies are attributable to Google, Google will not issue a corrected invoice, but will instead issue a credit memo specifying the incorrect amount in the affected invoice. If the disputed invoice has not yet been paid, Google will apply the credit memo amount to the disputed invoice and Customer will be responsible for paying the resulting net balance due on that invoice. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Refunds (if any) are at the discretion of Google and will only be in the form of credit for the Services. Nothing in this Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. Late payments may bear interest at the rate of 1.5% per month (or the highest rate permitted by law, if less) from the payment due date until paid in full. Customer will be responsible for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting such delinquent amounts. If Customer is late on payment for the Services, Google may suspend the Services or terminate the Agreement for breach under Section 11.2 (Termination for Breach). + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to this Agreement's terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s), which may be: (a) fee-based or non-fee-based; (b) public/external or private/internal; (c) business-to-business or business-to-consumer; or (d) asset tracking. + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1. In this Section 3.2, the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.2 General Restrictions. Unless Google specifically agrees in writing, Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, or otherwise make the Services available as a commercial offering to a third party; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) on behalf of or for the benefit of any entity or person who is legally prohibited from using the Services; or (v) to transmit, store, or process Protected Health Information (as defined in and subject to HIPAA). + +3.2.3 Requirements for Using the Services. + +(a) Terms of Service and Privacy Policy. The Customer Application’s terms of service will (A) notify users that the Customer Application includes Google Maps features and content; and (B) state that use of Google Maps features and content is subject to the then-current versions of the: (1) Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html; and (2) Google Privacy Policy at https://www.google.com/policies/privacy/. If the Customer Application allows users to include the Google Maps Core Services in Downstream Products, then Customer will contractually require that all Downstream Products’ terms of service satisfy the same notice and flow-down requirements that apply to the Customer Application under Section 3.2.3(a)(Terms of Service and Privacy Policy). If users of the Customer Application (and Downstream Products, if any) fail to comply with applicable terms of the Google Maps/Google Earth Additional Terms of Service, then Customer will take appropriate enforcement action, including suspending or terminating those users’ use of Google Maps features and content in the Customer Application or Downstream Products. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Maps Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.4 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not extract, export, or otherwise scrape Google Maps Content for use outside the Services. For example, Customer will not: (i) pre-fetch, index, store, reshare, or rehost Google Maps Content outside the services; (ii) bulk download Google Maps tiles, Street View images, geocodes, directions, distance matrix results, roads information, places information, elevation values, and time zone details; (iii) copy and save business names, addresses, or user reviews; or (iv) use Google Maps Content with text-to-speech services. + +(b) No Caching. Customer will not cache Google Maps Content except as expressly permitted under the Maps Service Specific Terms. + +(c) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content. For example, Customer will not: (i) trace or digitize roadways, building outlines, utility posts, or electrical lines from the Maps JavaScript API Satellite base map type; (ii) create 3D building models from 45° Imagery from Maps JavaScript API; (iii) build terrain models based on elevation values from the Elevation API; (iv) use latitude/longitude values from the Places API as an input for point-in-polygon analysis; (v) construct an index of tree locations within a city from Street View imagery; or (vi) convert text-based driving times into synthesized speech results. + +(d) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(e) No Use With Non-Google Maps. Customer will not use the Google Maps Core Services in a Customer Application that contains a non-Google map. For example, Customer will not (i) display Places listings on a non-Google map, or (ii) display Street View imagery and non-Google maps in the same Customer Application. + +(f) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees, prevent Google from accurately calculating Customer’s Service usage levels, abuse any free Service quotas, or offer access to the Services under a “time-sharing” or “service bureau” model. + +(g) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(h) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(i) No Modifying Search Results Integrity. Customer will not modify any of the Service’s search results. + +3.2.5 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement; and (b) use commercially reasonable efforts to prevent, promptly notify Google of, and terminate any unauthorized use of or access to its Account(s) or the Services. + +4.2 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.3 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally or not without their input. Google responds to notices of alleged copyright infringement and terminates accounts of repeat infringers according to applicable copyright laws including in particular the process set out in the U.S. Digital Millennium Copyright Act. If Customer thinks somebody is violating Customer’s or Customer End Users’ copyrights and wants to notify Google, Customer can find information about submitting notices, and Google's policy about responding to notices at https://www.google.com/dmca.html. + +4.4 Data Use, Protection, and Privacy. + +4.4.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google must receive and collect data from End Users and Customer, including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.4.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.4.3 End User Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. If Customer has End Users in the European Economic Area, Customer will comply with the EU End User Consent Policy at https://www.google.com/about/company/user-consent-policy.html. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide personally identifiable information and Personal Data directly to Google, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. However, Customer acknowledges and agrees that Customer will not provide these categories of data to Google. + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (1) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (2) the combination and use of End User's location with any other data provider's data; and (ii) will not obtain or cache any End User's location except with the End User's express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Violations. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Violations or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Violations) and 5.2.2 (Emergency Security Issues). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Violations. If Google becomes aware that Customer’s or any End User’s use of the Services violates the AUP, Google will give Customer notice of such violation by requesting that Customer correct the violation. If Customer fails to correct such violation within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Security Issues. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use immediately to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend distributing or selling the Customer Application with 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in this Agreement, this Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Services and Software. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide Maps Technical Support Services to Customer in accordance with the Maps Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + +9.1 Google will notify Customer at least 12 months before making material discontinuance(s) or backwards incompatible change(s) to the Services, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a (i) security risk or (ii) substantial economic or technical burden. + +9.2 Section 9.1 applies to the Services listed at https://cloud.google.com/maps-platform/terms/maps-deprecation/. If Google deprecates any Services that are not listed at the above URL, Google will use commercially reasonable efforts to minimize the adverse impacts of such deprecations. +10. Confidential Information. + +10.1 Obligations. Subject to Section 10.2 (Required Disclosure), the recipient will use the other party’s Confidential Information only to exercise its rights and fulfill its obligations under the Agreement. The recipient will use reasonable care to protect against disclosure of the other party’s Confidential Information to parties other than the recipient’s employees, Affiliates, agents, or professional advisors (“Delegates”) who need to know it and who have a legal obligation to keep it confidential. The recipient will ensure that its Delegates are also subject to the same non-disclosure and use obligations. + +10.2 Required Disclosure. The recipient may disclose the other party’s Confidential Information to the extent required by applicable Legal Process; provided that the recipient uses commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. Notwithstanding the foregoing, subsections (a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; and/or (iii) lead to death or serious physical harm to an individual. As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The “Term” of this Agreement will begin on the Effective Date and continue until the Agreement is terminated under this Section. + +11.2 Termination for Breach. Either party may terminate this Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; or (b) the other party ceases its business operations or becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. In addition, Google may terminate any, all, or any portion of the Services or Projects, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google reserves the right to terminate provision of Service(s) to a Project on 30 days advance notice if, for more than 180 days, such Project (a) has not made any requests to the Services from any Customer Applications; or (b) such Project has not incurred any Fees for such Service(s). + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate this Agreement for its convenience at any time on prior written notice and upon termination, must cease use of the applicable Services. Google may terminate this Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement is terminated, then: (a) the rights granted by one party to the other will immediately cease; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.4 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 20 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT THE CUSTOMER APPLICATION IS SAFE FOR END USERS AND OTHER THIRD PARTIES. +15. Indemnification. + +15.1 By Customer. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the AUP or in violation of the Agreement. + +15.2 By Google. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an allegation that Customer Indemnified Parties' use of Google Indemnified Materials infringes the third party's Intellectual Property Rights. + +15.3 Exclusions. This Section 15 will not apply to the extent the underlying allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the indemnifying party’s technology or Brand Features with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Conditions. Sections 15.1 and 15.2 will apply only to the extent: + +(a) The indemnified party has promptly notified the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperates reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 or 15.2 (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party tenders sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under this Agreement for any third party's Intellectual Property Rights Allegations and Third-Party Legal Proceedings covered by this Section 15 (Indemnification). +16. Limitation of Liability. + +16.1 Limitation on Indirect Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, WILL NOT BE LIABLE UNDER THIS AGREEMENT FOR LOST REVENUES OR PROFITS (WHETHER DIRECT OR INDIRECT), SAVINGS, GOODWILL, INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, EVEN IF THE PARTY OR LICENSOR, AS APPLICABLE, KNEW OR SHOULD HAVE KNOWN THAT SUCH DAMAGES WERE POSSIBLE AND EVEN IF DIRECT DAMAGES DO NOT SATISFY A REMEDY. + +16.2 Limitation on Amount of Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, MAY NOT BE HELD LIABLE UNDER THIS AGREEMENT FOR MORE THAN THE AMOUNT PAID BY CUSTOMER TO GOOGLE UNDER THIS AGREEMENT DURING THE TWELVE MONTHS BEFORE THE EVENT GIVING RISE TO LIABILITY. + +16.3 Exceptions to Limitations. These limitations of liability do not apply to breaches of confidentiality obligations, violations of a party’s Intellectual Property Rights by the other party, or Customer's payment obligations. +17. Advertising. + +In its sole discretion, Customer may configure the Service to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed to the other party’s legal department and primary point of contact. The email address for notices being sent to Google’s Legal Department is legal-notices@google.com. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Neither party may assign any part of this Agreement without the written consent of the other, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of this Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt to assign is void. + +19.3 Change of Control. If a party experiences a change of Control (for example, through a stock purchase or sale, merger, or other form of corporate transaction): (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate this Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. This Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under this Agreement. + +19.8 Severability. If any term (or part of a term) of this Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. This Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in this Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +19.11.1 For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +19.11.2 For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +19.11.3 For All Other Entities. If Customer is any entity not listed in Section 19.11.1 or 19.11.2 then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.5.2 (Modifications; To the Agreement), any amendment must be in writing, signed by both parties, and expressly state that it is amending this Agreement. + +19.13 Entire Agreement. This Agreement sets out all terms agreed between the parties and supersedes all other agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in this Agreement. The terms located at any URL referenced in this Agreement and the Documentation are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in this Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up this Agreement, the documents will control in the following order: the Agreement, and the terms at any URL. + +19.15 Conflicting Translations. If this Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Reseller Orders. + +This Section applies if Customer orders the Services from a Reseller under a Reseller Agreement (including the Reseller Order Form). + +20.1 Orders. If Customer orders Services from Reseller, then: (a) fees for the Services will be set between Customer and Reseller, and any payments will be made directly to Reseller under the Reseller Agreement; (b) Section 2 of this Agreement (Payment Terms) will not apply to the Services; (c) Customer will receive any applicable SLA credits from Reseller, if owed to Customer in accordance with the SLA; and (d) Google will have no obligation to provide any SLA credits to a Customer who orders Services from the Reseller. + +20.2 Conflicting Terms. If Customer orders Google Maps Core Services from a Reseller and if any documents conflict, then the documents will control in the following order: the Agreement, the terms at any URL (including the URL Terms), Reseller Order Form. For example, if there is a conflict between the Maps Service Specific Terms and the Reseller Order Form, the Maps Service Specific Terms will control. + +20.3 Reseller as Administrator. At Customer's discretion, Reseller may access Customer's Projects, Accounts, or the Services on behalf of Customer. As between Google and Customer, Customer is solely responsible for: (a) any access by Reseller to Customer’s Account(s), Project(s), or the Services; and (b) defining in the Reseller Agreement any rights or obligations as between Reseller and Customer with respect to the Accounts, Projects, or Services. + +20.4 Reseller Verification of Customer Application(s). Before providing the Services, Reseller may also verify that Customer owns or controls the Customer Applications. If Reseller determines that Customer does not own or control the Customer Applications, then Google will have no obligation to provide the Services to Customer. +21. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and/or tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services at: https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means the trade names, trademarks, service marks, logos, domain names, and other distinctive brand features of each party, respectively, as secured by such party. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than 50% of the voting rights or equity interests of a party. + +"Customer Application" means any web domain or application (including all source code and features) owned or controlled by Customer, or that Customer is authorized to use. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the Google documentation (as may be updated) in the form generally made available by Google for use with the Services at https://developers.google.com/maps/documentation. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in violation of the AUP, which could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area or Switzerland. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the threshold (as may be updated), as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided by Customer to Google. + +"Fees" means the product of the amount of Services used or ordered by Customer multiplied by the Prices, plus any applicable Taxes. + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means current and future worldwide rights under patent, copyright, trade secret, trademark, and moral rights laws, and other similar rights. + +"Legal Process" means a data disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Maps Service Specific Terms" means the then-current terms specific to one or more Services at https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"Maps Technical Support Services" means the technical support service provided by Google to Customer under the then-current Maps Technical Support Services Guidelines. + +"Maps Technical Support Services Guidelines" means the then-current technical support service guidelines at https://cloud.google.com/maps-platform/terms/tssg/. + +"Personal Data" has the meaning provided in the General Data Protection Regulation (EU) 2016/679 of the European Parliament and of the Council of April 27, 2016. + +"Price" means the then-current applicable price(s) stated at https://cloud.google.com/maps-platform/pricing/sheet/. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Reseller" means, if applicable, the authorized reseller that sells or supplies the Services to Customer. + +"Reseller Agreement" means, if applicable, a separate, independent agreement between Customer and Reseller regarding the Services. + +"Reseller Order Form" means an order form entered into by Reseller and Customer, subject to the Reseller Agreement. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content and the Software. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits, or other computer software provided by Google for use as part of the Services, including updates. + +"Taxes" means any duties, customs fees, or taxes (other than Google’s income tax) associated with the purchase of the Services, including any related penalties or interest. + +"Term" has the meaning stated in Section 1.6 of this Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html; and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the Maps Service Specific Terms; + +(b) the SLA; + +(c) the AUP; + +(d) the Maps Technical Support Services Guidelines; + +(e) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and + +(f) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2019-05-02.yml b/src/licensedcode/data/licenses/google-maps-tos-2019-05-02.yml new file mode 100644 index 00000000000..96ea4253809 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2019-05-02.yml @@ -0,0 +1,10 @@ +key: google-maps-tos-2019-05-02 +short_name: Google Maps Platform ToS 2019-05-02 +name: Google Maps Platform Terms of Service 2019-05-02 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2019-05-02 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20190502 +minimum_coverage: 90 diff --git a/src/licensedcode/data/licenses/google-maps-tos-2019-11-21.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2019-11-21.LICENSE new file mode 100644 index 00000000000..63b4f98ad72 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2019-11-21.LICENSE @@ -0,0 +1,369 @@ +Google Maps Platform Terms of Service + +Last modified: November 21, 2019 +This is not the current version of this document and is provided for archival purposes.View the current version + +If you have entered into an offline variant of this Agreement, the terms below do not apply, and your offline agreement governs your use of the Google Maps Core Services. + +If your billing account is in Brazil, please review these Terms of Service, which apply to your use of Google Cloud Platform. + +Se a sua conta para faturamento é no Brasil, por gentileza veja o Termos de Serviço, que será o Termo aplicável à sua utilização da Google Maps Platform. + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google and the entity or person agreeing to these terms ("Customer"). "Google" means either (i) Google Commerce Limited (“GCL”), a company incorporated under the laws of Ireland, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer has a billing address in the EU and has chosen “non-business” as the tax status/setting for its Google account, (ii) Google Ireland Limited, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer's billing address is in any country within Europe, the Middle East, or Africa ("EMEA"), (iii) Google Asia Pacific Pte. Ltd., with offices at 70 Pasir Panjang Road, #03-71, Mapletree Business City II Singapore 117371, if Customer's billing address is in any country within the Asia Pacific region ("APAC") except as provided below for Customers with a billing address in Japan, South Korea, New Zealand, or Australia, (iv) Google Cloud Canada Corporation, with offices at 111 Richmond Street West, Toronto, ON M5H 2G4, Canada, if Customer’s billing address is in Canada, or (v) Google LLC, with offices at 1600 Amphitheatre Parkway, Mountain View, California 94043, if Customer's billing address is in any country in the world other than those in Canada, EMEA and APAC. + +For Customers with a billing address in Japan, South Korea, Australia, or New Zealand, "Google" means Google Asia Pacific Pte. Ltd and/or its affiliates as the context requires, provided further that: this Agreement is made and entered into by and between Customer and the following entity as an authorized reseller of the Services: + + for customers in Australia: Google Australia Pty Ltd., with offices at Level 5, 48 Pirrama Road, Pyrmont, NSW 2009 Australia; + + for customers in Japan: Google Cloud Japan G.K., with offices at Roppongi Hills Mori Tower, 10-1, Roppongi 6-chome, Minato-ku Tokyo; + + for customers in South Korea: Google Cloud Korea LLC, with offices at Gangnam Finance Center 20fl., 152 Teheran-ro, Gangnam-gu, Seoul, South Korea; and + + for customers in New Zealand: Google New Zealand Limited, with offices at PWC Tower, Level 27, 188 Quay Street, Auckland, New Zealand 1010. + +This Agreement is effective as of the date Customer clicks to accept the Agreement, or enters into a Reseller Agreement if purchasing through a Reseller (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (i) you have full legal authority to bind Customer to this Agreement; (ii) you have read and understand this Agreement; and (iii) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer's access to and use of the Services. + +For an offline variant of this Agreement, you may contact Google for more information. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the applicable SLA, and Customer may use the Google Maps Core Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account. Customer is responsible for: (a) the information it provides in connection with the Account; (b) maintaining the confidentiality and security of the Account and associated passwords; and (c) any use of its Account. + +1.4 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +1.5 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.6 Modifications. + +1.6.1 To the Services. Google may make changes to the Services, subject to Section 9 (Deprecation Policy), which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.6.2. To the Agreement. Google may make changes to this Agreement, including pricing (and any linked documents). Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except if the changes apply to new functionality in which case they will be effective immediately. Google will provide at least 90 days advance notice for materially adverse changes to any SLAs by: (a) sending an email to Customer’s primary point of contact; (b) posting a notice in the Admin Console; or (c) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on (a) Customer’s use of the Services during the previous Fee Accrual Period; (b) any Committed Purchases selected; and (c) any Package Purchases selected. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google's measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by the Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receives payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If the parties determine that certain billing inaccuracies are attributable to Google, Google will not issue a corrected invoice, but will instead issue a credit memo specifying the incorrect amount in the affected invoice. If the disputed invoice has not yet been paid, Google will apply the credit memo amount to the disputed invoice and Customer will be responsible for paying the resulting net balance due on that invoice. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Refunds (if any) are at the discretion of Google and will only be in the form of credit for the Services. Nothing in this Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. Late payments may bear interest at the rate of 1.5% per month (or the highest rate permitted by law, if less) from the payment due date until paid in full. Customer will be responsible for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting such delinquent amounts. If Customer is late on payment for the Services, Google may suspend the Services or terminate the Agreement for breach under Section 11.2 (Termination for Breach). + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to this Agreement's terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s), which may be: (a) fee-based or non-fee-based; (b) public/external or private/internal; (c) business-to-business or business-to-consumer; or (d) asset tracking. + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1. In this Section 3.2, the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.2 General Restrictions. Unless Google specifically agrees in writing, Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, or otherwise make the Services available as a commercial offering to a third party; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) on behalf of or for the benefit of any entity or person who is legally prohibited from using the Services; or (v) to transmit, store, or process Protected Health Information (as defined in and subject to HIPAA). + +3.2.3 Requirements for Using the Services. + +(a) Terms of Service and Privacy Policy. The Customer Application’s terms of service will (A) notify users that the Customer Application includes Google Maps features and content; and (B) state that use of Google Maps features and content is subject to the then-current versions of the: (1) Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html; and (2) Google Privacy Policy at https://www.google.com/policies/privacy/. If the Customer Application allows users to include the Google Maps Core Services in Downstream Products, then Customer will contractually require that all Downstream Products’ terms of service satisfy the same notice and flow-down requirements that apply to the Customer Application under Section 3.2.3(a)(Terms of Service and Privacy Policy). If users of the Customer Application (and Downstream Products, if any) fail to comply with applicable terms of the Google Maps/Google Earth Additional Terms of Service, then Customer will take appropriate enforcement action, including suspending or terminating those users’ use of Google Maps features and content in the Customer Application or Downstream Products. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Maps Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.4 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not extract, export, or otherwise scrape Google Maps Content for use outside the Services. For example, Customer will not: (i) pre-fetch, index, store, reshare, or rehost Google Maps Content outside the services; (ii) bulk download Google Maps tiles, Street View images, geocodes, directions, distance matrix results, roads information, places information, elevation values, and time zone details; (iii) copy and save business names, addresses, or user reviews; or (iv) use Google Maps Content with text-to-speech services. + +(b) No Caching. Customer will not cache Google Maps Content except as expressly permitted under the Maps Service Specific Terms. + +(c) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content. For example, Customer will not: (i) trace or digitize roadways, building outlines, utility posts, or electrical lines from the Maps JavaScript API Satellite base map type; (ii) create 3D building models from 45° Imagery from Maps JavaScript API; (iii) build terrain models based on elevation values from the Elevation API; (iv) use latitude/longitude values from the Places API as an input for point-in-polygon analysis; (v) construct an index of tree locations within a city from Street View imagery; or (vi) convert text-based driving times into synthesized speech results. + +(d) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(e) No Use With Non-Google Maps. Customer will not use the Google Maps Core Services in a Customer Application that contains a non-Google map. For example, Customer will not (i) display Places listings on a non-Google map, or (ii) display Street View imagery and non-Google maps in the same Customer Application. + +(f) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees, prevent Google from accurately calculating Customer’s Service usage levels, abuse any free Service quotas, or offer access to the Services under a “time-sharing” or “service bureau” model. + +(g) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(h) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(i) No Modifying Search Results Integrity. Customer will not modify any of the Service’s search results. + +3.2.5 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement; and (b) use commercially reasonable efforts to prevent, promptly notify Google of, and terminate any unauthorized use of or access to its Account(s) or the Services. + +4.2 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.3 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally or not without their input. Google responds to notices of alleged copyright infringement and terminates accounts of repeat infringers according to applicable copyright laws including in particular the process set out in the U.S. Digital Millennium Copyright Act. If Customer thinks somebody is violating Customer’s or Customer End Users’ copyrights and wants to notify Google, Customer can find information about submitting notices, and Google's policy about responding to notices at https://www.google.com/dmca.html. + +4.4 Data Use, Protection, and Privacy. + +4.4.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google must receive and collect data from End Users and Customer, including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.4.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.4.3 End User Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. If Customer has End Users in the European Economic Area, Customer will comply with the EU End User Consent Policy at https://www.google.com/about/company/user-consent-policy.html. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide personally identifiable information and Personal Data directly to Google, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. However, Customer acknowledges and agrees that Customer will not provide these categories of data to Google. + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (1) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (2) the combination and use of End User's location with any other data provider's data; and (ii) will not obtain or cache any End User's location except with the End User's express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Violations. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Violations or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Violations) and 5.2.2 (Emergency Security Issues). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Violations. If Google becomes aware that Customer’s or any End User’s use of the Services violates the AUP, Google will give Customer notice of such violation by requesting that Customer correct the violation. If Customer fails to correct such violation within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Security Issues. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use immediately to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend distributing or selling the Customer Application with 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in this Agreement, this Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Services and Software. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide Maps Technical Support Services to Customer in accordance with the Maps Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + +9.1 Google will notify Customer at least 12 months before making material discontinuance(s) or backwards incompatible change(s) to the Services, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a (i) security risk or (ii) substantial economic or technical burden. + +9.2 Section 9.1 applies to the Services listed at https://cloud.google.com/maps-platform/terms/maps-deprecation/. If Google deprecates any Services that are not listed at the above URL, Google will use commercially reasonable efforts to minimize the adverse impacts of such deprecations. +10. Confidential Information. + +10.1 Obligations. Subject to Section 10.2 (Required Disclosure), the recipient will use the other party’s Confidential Information only to exercise its rights and fulfill its obligations under the Agreement. The recipient will use reasonable care to protect against disclosure of the other party’s Confidential Information to parties other than the recipient’s employees, Affiliates, agents, or professional advisors (“Delegates”) who need to know it and who have a legal obligation to keep it confidential. The recipient will ensure that its Delegates are also subject to the same non-disclosure and use obligations. + +10.2 Required Disclosure. The recipient may disclose the other party’s Confidential Information to the extent required by applicable Legal Process; provided that the recipient uses commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. Notwithstanding the foregoing, subsections (a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; and/or (iii) lead to death or serious physical harm to an individual. As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The “Term” of this Agreement will begin on the Effective Date and continue until the Agreement is terminated under this Section. + +11.2 Termination for Breach. Either party may terminate this Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; or (b) the other party ceases its business operations or becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. In addition, Google may terminate any, all, or any portion of the Services or Projects, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google reserves the right to terminate provision of Service(s) to a Project on 30 days advance notice if, for more than 180 days, such Project (a) has not made any requests to the Services from any Customer Applications; or (b) such Project has not incurred any Fees for such Service(s). + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate this Agreement for its convenience at any time on prior written notice and upon termination, must cease use of the applicable Services. Google may terminate this Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement is terminated, then: (a) the rights granted by one party to the other will immediately cease; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.4 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 20 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT THE CUSTOMER APPLICATION IS SAFE FOR END USERS AND OTHER THIRD PARTIES. +15. Indemnification. + +15.1 By Customer. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the AUP or in violation of the Agreement. + +15.2 By Google. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an allegation that Customer Indemnified Parties' use of Google Indemnified Materials infringes the third party's Intellectual Property Rights. + +15.3 Exclusions. This Section 15 will not apply to the extent the underlying allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the indemnifying party’s technology or Brand Features with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Conditions. Sections 15.1 and 15.2 will apply only to the extent: + +(a) The indemnified party has promptly notified the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperates reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 or 15.2 (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party tenders sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under this Agreement for any third party's Intellectual Property Rights Allegations and Third-Party Legal Proceedings covered by this Section 15 (Indemnification). +16. Limitation of Liability. + +16.1 Limitation on Indirect Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, WILL NOT BE LIABLE UNDER THIS AGREEMENT FOR LOST REVENUES OR PROFITS (WHETHER DIRECT OR INDIRECT), SAVINGS, GOODWILL, INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, EVEN IF THE PARTY OR LICENSOR, AS APPLICABLE, KNEW OR SHOULD HAVE KNOWN THAT SUCH DAMAGES WERE POSSIBLE AND EVEN IF DIRECT DAMAGES DO NOT SATISFY A REMEDY. + +16.2 Limitation on Amount of Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, MAY NOT BE HELD LIABLE UNDER THIS AGREEMENT FOR MORE THAN THE AMOUNT PAID BY CUSTOMER TO GOOGLE UNDER THIS AGREEMENT DURING THE TWELVE MONTHS BEFORE THE EVENT GIVING RISE TO LIABILITY. + +16.3 Exceptions to Limitations. These limitations of liability do not apply to violations of a party’s Intellectual Property Rights by the other party or Customer's payment obligations. +17. Advertising. + +In its sole discretion, Customer may configure the Service to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed to the other party’s legal department and primary point of contact. The email address for notices being sent to Google’s Legal Department is legal-notices@google.com. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Neither party may assign any part of this Agreement without the written consent of the other, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of this Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt to assign is void. + +19.3 Change of Control. If a party experiences a change of Control (for example, through a stock purchase or sale, merger, or other form of corporate transaction): (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate this Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. This Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under this Agreement. + +19.8 Severability. If any term (or part of a term) of this Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. This Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in this Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +19.11.1 For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +19.11.2 For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +19.11.3 For All Other Entities. If Customer is any entity not listed in Section 19.11.1 or 19.11.2 then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.5.2 (Modifications; To the Agreement), any amendment must be in writing, signed by both parties, and expressly state that it is amending this Agreement. + +19.13 Entire Agreement. This Agreement sets out all terms agreed between the parties and supersedes all other agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in this Agreement. The terms located at any URL referenced in this Agreement and the Documentation are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in this Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up this Agreement, the documents will control in the following order: the Agreement, and the terms at any URL. + +19.15 Conflicting Translations. If this Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Reseller Orders. + +This Section applies if Customer orders the Services from a Reseller under a Reseller Agreement (including the Reseller Order Form). + +20.1 Orders. If Customer orders Services from Reseller, then: (a) fees for the Services will be set between Customer and Reseller, and any payments will be made directly to Reseller under the Reseller Agreement; (b) Section 2 of this Agreement (Payment Terms) will not apply to the Services; (c) Customer will receive any applicable SLA credits from Reseller, if owed to Customer in accordance with the SLA; and (d) Google will have no obligation to provide any SLA credits to a Customer who orders Services from the Reseller. + +20.2 Conflicting Terms. If Customer orders Google Maps Core Services from a Reseller and if any documents conflict, then the documents will control in the following order: the Agreement, the terms at any URL (including the URL Terms), Reseller Order Form. For example, if there is a conflict between the Maps Service Specific Terms and the Reseller Order Form, the Maps Service Specific Terms will control. + +20.3 Reseller as Administrator. At Customer's discretion, Reseller may access Customer's Projects, Accounts, or the Services on behalf of Customer. As between Google and Customer, Customer is solely responsible for: (a) any access by Reseller to Customer’s Account(s), Project(s), or the Services; and (b) defining in the Reseller Agreement any rights or obligations as between Reseller and Customer with respect to the Accounts, Projects, or Services. + +20.4 Reseller Verification of Customer Application(s). Before providing the Services, Reseller may also verify that Customer owns or controls the Customer Applications. If Reseller determines that Customer does not own or control the Customer Applications, then Google will have no obligation to provide the Services to Customer. +21. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and/or tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services at: https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means the trade names, trademarks, service marks, logos, domain names, and other distinctive brand features of each party, respectively, as secured by such party. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than 50% of the voting rights or equity interests of a party. + +"Customer Application" means any web page or application (including all source code and features) owned or controlled by Customer, or that Customer is authorized to use. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the Google documentation (as may be updated) in the form generally made available by Google for use with the Services at https://developers.google.com/maps/documentation. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in violation of the AUP, which could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area or Switzerland. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the threshold (as may be updated), as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided by Customer to Google. + +"Fees" means the product of the amount of Services used or ordered by Customer multiplied by the Prices, plus any applicable Taxes. + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means current and future worldwide rights under patent, copyright, trade secret, trademark, and moral rights laws, and other similar rights. + +"Legal Process" means a data disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Maps Service Specific Terms" means the then-current terms specific to one or more Services at https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"Maps Technical Support Services" means the technical support service provided by Google to Customer under the then-current Maps Technical Support Services Guidelines. + +"Maps Technical Support Services Guidelines" means the then-current technical support service guidelines at https://cloud.google.com/maps-platform/terms/tssg/. + +"Personal Data" has the meaning provided in the General Data Protection Regulation (EU) 2016/679 of the European Parliament and of the Council of April 27, 2016. + +"Price" means the then-current applicable price(s) stated at https://cloud.google.com/maps-platform/pricing/sheet/. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Reseller" means, if applicable, the authorized unaffiliated third-party reseller that sells or supplies the Services to Customer. + +"Reseller Agreement" means, if applicable, a separate, independent agreement between Customer and Reseller regarding the Services. + +"Reseller Order Form" means an order form entered into by Reseller and Customer, subject to the Reseller Agreement. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content and the Software. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits, or other computer software provided by Google for use as part of the Services, including updates. + +"Taxes" means any duties, customs fees, or taxes (other than Google’s income tax) associated with the purchase of the Services, including any related penalties or interest. + +"Term" has the meaning stated in Section 11.1 of this Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html; and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the Maps Service Specific Terms; + +(b) the SLA; + +(c) the AUP; + +(d) the Maps Technical Support Services Guidelines; + +(e) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and + +(f) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html. + + \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2019-11-21.yml b/src/licensedcode/data/licenses/google-maps-tos-2019-11-21.yml new file mode 100644 index 00000000000..4454ac5a7df --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2019-11-21.yml @@ -0,0 +1,10 @@ +key: google-maps-tos-2019-11-21 +short_name: Google Maps Platform ToS 2019-11-21 +name: Google Maps Platform Terms of Service 2019-11-21 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2019-11-21 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20191121 +minimum_coverage: 90 diff --git a/src/licensedcode/data/licenses/google-maps-tos-2020-04-02.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2020-04-02.LICENSE new file mode 100644 index 00000000000..d7faf30e638 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2020-04-02.LICENSE @@ -0,0 +1,438 @@ +Google Maps Platform Terms of Service + +Last modified: April 2, 2020 + +If your billing address is in Brazil, please review these Terms of Service, which apply to your use of Google Maps Platform. + +Se a sua conta para faturamento é no Brasil, por gentileza veja o Termos de Serviço, que será o Termo aplicável à sua utilização da Google Maps Platform. + +If your billing address is in Indonesia, please review these Terms of Service, which apply to your use of Google Maps Platform. + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google (as defined in Section 21 (Definitions)) and the entity or person agreeing to these terms ("Customer"). + +This Agreement is effective as of the date Customer clicks to accept the Agreement, or enters into a Reseller Agreement if purchasing through a Reseller (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (a) you have full legal authority to bind Customer to this Agreement; (b) you have read and understand this Agreement; and (c) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer's access to and use of the Services. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the Agreement, and Customer may use the Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account. Customer is responsible for: (a) the information it provides in connection with the Account; (b) maintaining the confidentiality and security of the Account and associated passwords; and (c) any use of its Account. + +1.4 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +1.5 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.6 Modifications. + +1.6.1 To the Services. Subject to Section 9 (Deprecation Policy), Google may make changes to the Services, which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.6.2. To the Agreement. Google may make changes to the Agreement, including pricing and any linked documents. Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except (a) materially adverse SLA changes will become effective 90 days after notice is given; and (b) changes applicable to new Services or functionality, or required by a court order or applicable law, will be effective immediately. Google will provide notice for materially adverse changes to any SLAs by: (i) sending an email to the Notification Email Address; (ii) posting a notice in the Admin Console; or (iii) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on Customer’s use of the Services during the previous Fee Accrual Period. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google's measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receive payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If Google determines that Fees were incorrectly invoiced, then Google will issue a credit equal to the agreed amount. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Nothing in the Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. If Customer’s payment is overdue, then Google may (a) charge interest on overdue amounts at 1.5% per month (or the highest rate permitted by law, if less) from the Payment Due Date until paid in full, and (b) Suspend the Services or terminate the Agreement. Customer will reimburse Google for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting overdue payments except where such payments are due to Google’s billing inaccuracies. + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to the Agreement's terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s). + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1 (License Grant). In this Section 3.2 (License Requirements and Restrictions), the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.1 General Restrictions. Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, sublicense, transfer, or distribute the Services; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for materials or activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) in a manner that breaches, or causes the breach of, Export Control Laws; or (v) to transmit, store, or process health information subject to United States HIPAA regulations. + +3.2.2 Requirements for Using the Services. + +(a) Terms of Service and Privacy Policy. + +(i) The Customer Application’s terms of service will (A) notify users that the Customer Application includes Google Maps features and content; and (B) state that use of Google Maps features and content is subject to the then-current versions of the: (1) Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html; and (2) Google Privacy Policy at https://www.google.com/policies/privacy/. + +(ii) If the Customer Application allows users to include the Google Maps Core Services in Downstream Products, then Customer will contractually require that all Downstream Products’ terms of service satisfy the same notice and flow-down requirements that apply to the Customer Application under Section 3.2.2 (a) (i) (Terms of Service and Privacy Policy). + +(iii) If users of the Customer Application (and Downstream Products, if any) fail to comply with the applicable terms of the Google Maps/Google Earth Additional Terms of Service, then Customer will take appropriate enforcement action, including Suspending or terminating those users’ use of Google Maps features and content in the Customer Application or Downstream Products. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Maps Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.3 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not export, extract, or otherwise scrape Google Maps Content for use outside the Services. For example, Customer will not: (i) pre-fetch, index, store, reshare, or rehost Google Maps Content outside the services; (ii) bulk download Google Maps tiles, Street View images, geocodes, directions, distance matrix results, roads information, places information, elevation values, and time zone details; (iii) copy and save business names, addresses, or user reviews; or (iv) use Google Maps Content with text-to-speech services. + +(b) No Caching. Customer will not cache Google Maps Content except as expressly permitted under the Maps Service Specific Terms. + +(c) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content. For example, Customer will not: (i) trace or digitize roadways, building outlines, utility posts, or electrical lines from the Maps JavaScript API Satellite base map type; (ii) create 3D building models from 45° Imagery from Maps JavaScript API; (iii) build terrain models based on elevation values from the Elevation API; (iv) use latitude/longitude values from the Places API as an input for point-in-polygon analysis; (v) construct an index of tree locations within a city from Street View imagery; or (vi) convert text-based driving times into synthesized speech results. + +(d) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(e) No Use With Non-Google Maps. To avoid quality issues and/or brand confusion, Customer will not use the Google Maps Core Services with or near a non-Google Map in a Customer Application. For example, Customer will not (i) display or use Places content on a non-Google map, (ii) display Street View imagery and non-Google maps on the same screen, or (iii) link a Google Map to non-Google Maps content for a non-Google map. + +(f) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees, prevent Google from accurately calculating Customer’s Service usage levels, abuse any free Service quotas, or offer access to the Services under a “time-sharing” or “service bureau” model. + +(g) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(h) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(i) No Use in Customer Application Directed To Children. Customer will not use the Google Maps Core Services in a Customer Application that would be deemed to be a “Web site or online service directed to children” under the Children’s Online Privacy Protection Act (COPPA). + +(j) No Modifying Search Results Integrity. Customer will not modify any of the Google Maps Core Service’s search results. + +3.2.4 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement; (b) prevent and terminate any unauthorized use of or access to its Account(s) or the Services; and (c) promptly notify Google of any unauthorized use of or access to its Account(s) or the Services of which Customer becomes aware. + +4.2 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.3 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally without input from the copyright holders. Google will respond to notices of alleged copyright infringement and may terminate repeat infringers in appropriate circumstances as required to maintain safe harbor for online service providers under the U.S. Digital Millennium Copyright Act. If Customer believes a person or entity is infringing Customer’s or End Users’ copyrights and would like to notify Google, Customer can find information about submitting notices, and Google's policy about responding to notices at https://www.google.com/dmca.html. + +4.4 Data Use, Protection, and Privacy. + +4.4.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google collects and receives data from Customer and End Users (and End Users’ End Users, if any), including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.4.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.4.3 End User Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. Customer will comply with the then-current Consent Policy at https://www.google.com/about/company/user-consent-policy.html, if applicable. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide personally identifiable information and Personal Data directly to Google, subject to the then-current Google Privacy Policy at https://www.google.com/policies/privacy/. (a) However, Customer will not provide to Google (i) any End User’s personally identifiable information; or (ii) any European End User’s Personal Data (where “European” means “European Economic Area, Switzerland, or the UK”). + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (1) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (2) the combination and use of End User's location with any other data provider's data; and (ii) will not obtain or cache any End User's location except with the End User's express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Breaches. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Breaches or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Breaches) and 5.2.2 (Emergency Suspension). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Breaches. If Google becomes aware that Customer’s or any End User’s use of the Services breaches the AUP, Google will give Customer notice of such breach by requesting that Customer correct the breach. If Customer fails to correct such breach within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Suspension. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend all use of the Google Maps Core Services in the Customer Application on 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 (For Alleged Third-Party Intellectual Property Rights Infringement) does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in the Agreement, the Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Google Maps Core Services. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide Maps Technical Support Services to Customer in accordance with the Maps Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + + Google will notify Customer at least 12 months before making a Significant Deprecation, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a security risk or substantial economic or technical burden. +10. Confidentiality. + +10.1 Confidentiality Obligations. Subject to Section 10.2 (Required Disclosure), the recipient will use the other party’s Confidential Information only to exercise its rights and fulfill its obligations under the Agreement. The recipient will use reasonable care to protect against disclosure of the other party’s Confidential Information to parties other than the recipient’s employees, Affiliates, agents, or professional advisors (“Delegates”) who need to know it and are subject to confidentiality obligations at least as protective as those in this Section 10.1 (Confidentiality Obligations). + +10.2 Required Disclosure. + +10.2.1 Subject to Section 10.2.2, the recipient and its Affiliates may disclose the other party’s Confidential Information to the extent required by applicable Legal Process, If the recipient and its Affiliates (as applicable) use commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. + +10.2.2 Sections 10.2.1(a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; or (iii) lead to death or serious physical harm to an individual. + +10.2.3 As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The Agreement is effective from the Effective Date until it is terminated in accordance with its terms (the “Term”). + +11.2 Termination for Breach. Either party may terminate the Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; (b) the other party ceases its business operations; or (c) becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. Google may terminate Projects or access to Services, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google may terminate Projects with 30 days' prior written notice if such Project (a) has not made any requests to the Services from any Customer Applications for more than 180 days; or (b) has not incurred any Fees for more than 180 days. + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate the Agreement for its convenience at any time with 30 days' prior written notice. Google may terminate the Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement terminates, then: (a) the rights and access to the Services will terminate; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.4 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 21 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT (i) GOOGLE MAPS ARE SUITABLE FOR THE CUSTOMER APPLICATION; AND (ii) THE CUSTOMER APPLICATION IS SAFE FOR END USERS AND OTHER THIRD PARTIES. +15. Indemnification. + +15.1 Customer Indemnification Obligations. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the AUP or in violation of the Agreement. + +15.2 Google Indemnification Obligations. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an Allegation that Customer Indemnified Parties' use of Google Indemnified Materials infringes the third party's Intellectual Property Rights. + +15.3 Indemnification Exclusions. Sections 15.1 (Customer Indemnification Obligations) and 15.2 (Google Indemnification Obligations) will not apply to the extent the underlying Allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the Customer Indemnified Materials or Google Indemnified Materials (as applicable)s with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Indemnification Conditions. Sections 15.1 (Customer Indemnification Obligations) and 15.2 (Google Indemnification Obligations) are conditioned on the following: + +(a) The indemnified party must promptly notify the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperate reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 (Customer Indemnification Obligations) or 15.2 (Google Indemnification Obligations) (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party must tender sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may Suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under the Agreement for any Allegations of Intellectual Property Rights infringement covered by this Section 15 (Indemnification). +16. Liability. + +16.1 Limited Liabilities + +(a) To the extent permitted by applicable law and subject to Section 16.2 (Unlimited Liabilities), neither party and Google’s licensors will have any Liability arising out of or relating to the Agreement for any (i) indirect, consequential, special, incidental, or punitive damages or (ii) lost revenues, profits, savings, or goodwill. + +(b) Each party’s total aggregate Liability for damages arising out of or relating to the Agreement is limited to the Fees Customer paid under the Agreement during the 12 month period before the event giving rise to Liability. + +16.2 Unlimited Liabilities. Nothing in the Agreement excludes or limits either party’s Liability for: + +(a) its infringement of the other party’s Intellectual Property Rights + +(b) its payment obligations under the Agreement; or + +(c) matters for which liability cannot be excluded or limited under applicable law. +17. Advertising. + +In its sole discretion, Customer may configure the Service to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed: (a) in the case of Google, to Google’s Legal Department at legal-notices@google.com; and (b) in the case of Customer, to the Notification Email Address. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Customer may not assign the Agreement without the written consent of Google, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of the Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt by Customer to assign is void. Google may assign the Agreement without the written consent of Customer by notifying Customer of the assignment. + +19.3 Change of Control. If a party experiences a change of Control other than an internal restructuring or reorganization, then: (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate the Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. The Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under the Agreement. + +19.8 Severability. If any part of the Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. The Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in the Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +(a) For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +(b) For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THE AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THE AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +(c) For All Other Entities. If Customer is any entity not listed in Section 19.11 (A) (For U.S. City, County, and State Government Entities) or 19.11(B) (For U.S. Federal Government Entities) then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THE AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.6.2 (Modifications; To the Agreement), any amendment to the Agreement must be in writing, expressly state that it is amending this Agreement, and be signed by both parties. + +19.13 Entire Agreement. The Agreement states all terms agreed between the parties and supersedes any prior or contemporaneous agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in the Agreement. The Agreement includes URL links to other terms (including the URL Terms), which are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in the Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up the Agreement, then the documents will control in the following order: the Agreement and the terms at any URL. + +19.15 Conflicting Languages. If the Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Reseller Orders. + +This Section applies if Customer orders the Services from a Reseller under a Reseller Agreement (including the Reseller Order Form). + +20.1 Orders. If Customer orders Services from Reseller, then: (a) fees for the Services will be set between Customer and Reseller, and any payments will be made directly to Reseller under the Reseller Agreement; (b) Section 2 of the Agreement (Payment Terms) will not apply to the Services; (c) Customer will receive any applicable SLA credits from Reseller, if owed to Customer in accordance with the SLA; and (d) Google will have no obligation to provide any SLA credits to a Customer who orders Services from the Reseller. + +20.2 Conflicting Terms. If Customer orders Google Maps Core Services from a Reseller and if any documents conflict, then the documents will control in the following order: the Agreement, the terms at any URL (including the URL Terms), and the Reseller Order Form. For example, if there is a conflict between the Maps Service Specific Terms and the Reseller Order Form, the Maps Service Specific Terms will control. + +20.3 Reseller as Administrator. At Customer's discretion, Reseller may access Customer's Projects, Accounts, or the Services on behalf of Customer. As between Google and Customer, Customer is solely responsible for: (a) any access by Reseller to Customer’s Account(s), Project(s), or the Services; and (b) defining in the Reseller Agreement any rights or obligations as between Reseller and Customer with respect to the Accounts, Projects, or Services. + +20.4 Reseller Verification of Customer Application(s). Before providing the Services, Reseller may also verify that Customer owns or controls the Customer Applications. If Reseller determines that Customer does not own or control the Customer Applications, then Google will have no obligation to provide the Services to Customer. +21. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and/or tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services described at https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means each party’s trade names, trademarks, service marks, logos, domain names, and other distinctive brand features. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than 50% of the voting rights or equity interests of a party. + +"Customer Application" means any web page or application (including all source code and features) owned or controlled by Customer, or that Customer is authorized to use. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the then-current Google documentation described at https://developers.google.com/maps/documentation. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in breach of the AUP, which such use could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area, Switzerland, or the UK. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the then-current threshold, as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided by Customer to Google. + +"Fees" means the product of the amount of Services used or ordered by Customer multiplied by the Prices, plus any applicable Taxes. + +"Google" means the Google entity corresponding to Customer’s billing address below: + Country or Region of Customer’s billing address: Google entity: +(1) United States and all other countries not otherwise listed below Google LLC +1600 Amphitheatre Parkway, Mountain View, California 94043, USA +(2) Any country in the Asia Pacific region (“APAC”), except the countries listed in rows 6-9. Google Asia Pacific Pte. Ltd. +70 Pasir Panjang Road, #03-71, Mapletree Business City II Singapore 117371 +(3) Any country in Europe, the Middle East, or Africa (“EMEA”), except as described in row 4: Google Ireland Limited +Gordon House Barrow Street, Dublin 4, Ireland +(4) Customer is located in the European Union, the UK, or Turkey and has chosen “non-business” for its tax status/setting for its Google Account Google Commerce Limited +Gordon House, Barrow Street, Dublin 4, Ireland +(5) Canada Google Cloud Canada Corporation +111 Richmond Street West, Toronto, ON M5H 2G4, Canada +For rows 6-9, “Google” means Google Asia Pacific Pte. Ltd and/or its affiliates as the context requires, provided further that the Agreement is made and entered into by and between Customer and the Google entity corresponding to Customer’s billing address below as an authorized reseller of the Services. +(6) Australia Google Australia Pty Ltd. +Level 5, 48 Pirrama Road, Pyrmont, NSW 2009 Australia +(7) Japan Google Cloud Japan G.K. +Roppongi Hills Mori Tower, 10-1, Roppongi 6-chome, Minato-ku Tokyo, Japan +(8) New Zealand Google New Zealand Limited +PWC Tower, Level 27, 188 Quay Street, Auckland, New Zealand 1010, an authorized reseller and the contracting party in New Zealand of Services provided by Google Asia Pacific Pte. Ltd. +(9) South Korea Google Cloud Korea +Gangnam Finance Center 20fl., 152 Teheran-ro, Gangnam-gu, Seoul, South Korea; + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means all patent rights, copyrights, trademark rights, rights in trade secrets (if any), design rights, database rights, domain name rights, moral rights, and any other intellectual property rights (registered or unregistered) throughout the world. + +"Legal Process" means an information disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Liability" means any liability, whether under contract, tort (including negligence), or otherwise, regardless of whether foreseeable or contemplated by the parties. + +"Maps Service Specific Terms" means the then-current terms specific to one or more Services described at https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"Maps Technical Support Services" means the technical support service provided by Google to Customer under the then-current Maps Technical Support Services Guidelines. + +"Maps Technical Support Services Guidelines" means the then-current technical support service guidelines described at https://cloud.google.com/maps-platform/terms/tssg/. + +"Personal Data" has the meaning given to it in: (a) Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data, and repealing Directive 95/46/EC (“EU GDPR”); or (b) the EU GDPR as amended and incorporated into UK law under the UK European Union (Withdrawal) Act 2018 (“UK GDPR”), if in force, as applicable. + +"Notification Email Address" means the email address(es) designated by Customer in the Admin Console. + +"Price" means the then-current applicable price(s) stated at https://cloud.google.com/maps-platform/pricing/sheet/. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Reseller" means, if applicable, the authorized unaffiliated third-party reseller that sells or supplies the Services to Customer. + +"Reseller Agreement" means, if applicable, a separate, independent agreement between Customer and Reseller regarding the Services. + +"Reseller Order Form" means an order form entered into by Reseller and Customer, subject to the Reseller Agreement. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content and the Software. + +"Significant Deprecation" means a material discontinuance or backwards incompatible change to the Google Maps Core Services described at https://cloud.google.com/maps-platform/terms/maps-deprecation/. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits, or other computer software provided by Google for use as part of the Services, including updates. + +"Suspend" or "Suspension " means disabling access to or use of the Services or components of the Services. + +"Taxes" means any duties, customs fees, or government-imposed taxes associated with the purchase of the Services, including any related penalties or interest, except for taxes based on Google’s net income, net worth, asset value, property value, or employment. + +"Term" has the meaning stated in Section 11.1 of the Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the Maps Service Specific Terms; + +(b) the SLA; + +(c) the AUP; + +(d) the Maps Technical Support Services Guidelines; + +(e) the Legal Notices for Google Maps/Google Earth and Google Maps/Google Earth APIs at https://www.google.com/help/legalnotices_maps.html; and + +(f) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html. +22. Regional Terms. + +Customer agrees to the following modifications to the Agreement if Customer orders Services from the applicable Google entity as described below: +Asia Pacific PT Google Cloud Indonesia + +1. The following is added as Section 11.6 (Termination Waiver): + +11.6 Termination Waiver. The parties agree to waive any provisions under any applicable laws to the extent that a court decision or order is required for the termination of this Agreement. + +2. Section 19.11 (Governing Law) is deleted and replaced with the following: + +19.11 Governing Law. + +(a) The parties will try in good faith to settle any dispute within 30 days after the dispute arises. If the dispute is not resolved within 30 days, it must be resolved by arbitration by the American Arbitration Association’s International Centre for Dispute Resolution in accordance with its Expedited Commercial Rules in force as of the date of the Agreement ("Rules"). + +(b) The parties will mutually select one arbitrator. The arbitration will be conducted in English in Santa Clara County, California, USA. + +(c) Either party may apply to any competent court for injunctive relief necessary to protect its rights pending resolution of the arbitration. The arbitrator may order equitable or injunctive relief consistent with the remedies and limitations in the Agreement. + +(d) Subject to the confidentiality requirements in Section 19.11(f), either party may petition any competent court to issue any order necessary to protect that party’s rights or property; this petition will not be considered a violation or waiver of this governing law and arbitration section and will not affect the arbitrator’s powers, including the power to review the judicial decision. The parties stipulate that the courts of Santa Clara County, California, USA, are competent to grant any order under this Section 19.11(d). + +(e) The arbitral award will be final and binding on the parties and its execution may be presented in any competent court, including any court with jurisdiction over either party or any of its property. + +(f) Any arbitration proceeding conducted in accordance with this Section will be considered Confidential Information under the Agreement’s confidentiality section, including (i) the existence of, (ii) any information disclosed during, and (iii) any oral communications or documents related to the arbitration proceedings. The parties may also disclose the information described in this Section 19.11(f) to a competent court as may be necessary to file any order under Section 19.11(d) or execute any arbitral decision, but the parties must request that those judicial proceedings be conducted in camera (in private). + +(g) The parties will pay the arbitrator’s fees, the arbitrator’s appointed experts’ fees and expenses, and the arbitration center’s administrative expenses in accordance with the Rules. In its final decision, the arbitrator will determine the non-prevailing party’s obligation to reimburse the amount paid in advance by the prevailing party for these fees. + +(h) Each party will bear its own lawyers’ and experts’ fees and expenses, regardless of the arbitrator’s final decision regarding the Dispute. + +(i) The parties agree that a decision of the arbitrators need not to be made within any specific time period. + +3. Section 19.15 (Conflicting Languages) is deleted and replaced with the following: + +19.15 Conflicting Languages. This Agreement is made in the Indonesian and the English language, and both versions are equally authentic. In the event of any inconsistency or different interpretation between the Indonesian version and the English version, the parties agree to amend the Indonesian version to make the relevant part of the Indonesian version consistent with the relevant part of the English version. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2020-04-02.yml b/src/licensedcode/data/licenses/google-maps-tos-2020-04-02.yml new file mode 100644 index 00000000000..e220d1003f0 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2020-04-02.yml @@ -0,0 +1,10 @@ +key: google-maps-tos-2020-04-02 +short_name: Google Maps Platform ToS 2020-04-02 +name: Google Maps Platform Terms of Service 2020-04-02 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2020-04-02 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20200402 +minimum_coverage: 90 diff --git a/src/licensedcode/data/licenses/google-maps-tos-2020-04-27.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2020-04-27.LICENSE new file mode 100644 index 00000000000..69cac1092b9 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2020-04-27.LICENSE @@ -0,0 +1,440 @@ +Google Maps Platform Terms of Service + +Last modified: April 27, 2020 + +If your billing address is in Brazil, please review these Terms of Service, which apply to your use of Google Maps Platform. + +Se a sua conta para faturamento é no Brasil, por gentileza veja o Termos de Serviço, que será o Termo aplicável à sua utilização da Google Maps Platform. + +If your billing address is in Indonesia, please review these Terms of Service, which apply to your use of Google Maps Platform. + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google (as defined in Section 21 (Definitions)) and the entity or person agreeing to these terms ("Customer"). + +This Agreement is effective as of the date Customer clicks to accept the Agreement, or enters into a Reseller Agreement if purchasing through a Reseller (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (a) you have full legal authority to bind Customer to this Agreement; (b) you have read and understand this Agreement; and (c) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer's access to and use of the Services. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the Agreement, and Customer may use the Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account. Customer is responsible for: (a) the information it provides in connection with the Account; (b) maintaining the confidentiality and security of the Account and associated passwords; and (c) any use of its Account. + +1.4 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +1.5 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.6 Modifications. + +1.6.1 To the Services. Subject to Section 9 (Deprecation Policy), Google may make changes to the Services, which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.6.2. To the Agreement. Google may make changes to the Agreement, including pricing and any linked documents. Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except (a) materially adverse SLA changes will become effective 90 days after notice is given; and (b) changes applicable to new Services or functionality, or required by a court order or applicable law, will be effective immediately. Google will provide notice for materially adverse changes to any SLAs by: (i) sending an email to the Notification Email Address; (ii) posting a notice in the Admin Console; or (iii) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on Customer’s use of the Services during the previous Fee Accrual Period. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google's measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receive payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If Google determines that Fees were incorrectly invoiced, then Google will issue a credit equal to the agreed amount. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Nothing in the Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. If Customer’s payment is overdue, then Google may (a) charge interest on overdue amounts at 1.5% per month (or the highest rate permitted by law, if less) from the Payment Due Date until paid in full, and (b) Suspend the Services or terminate the Agreement. Customer will reimburse Google for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting overdue payments except where such payments are due to Google’s billing inaccuracies. + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to the Agreement's terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s). + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1 (License Grant). In this Section 3.2 (License Requirements and Restrictions), the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.1 General Restrictions. Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, sublicense, transfer, or distribute the Services; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for materials or activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) in a manner that breaches, or causes the breach of, Export Control Laws; or (v) to transmit, store, or process health information subject to United States HIPAA regulations. + +3.2.2 Requirements for Using the Services. + +(a) Terms of Service and Privacy Policy. + +(i) The Customer Application’s terms of service will (A) notify users that the Customer Application includes Google Maps features and content; and (B) state that use of Google Maps features and content is subject to the then-current versions of the: (1) Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html; and (2) Google Privacy Policy at https://www.google.com/policies/privacy/. + +(ii) If the Customer Application allows users to include the Google Maps Core Services in Downstream Products, then Customer will contractually require that all Downstream Products’ terms of service satisfy the same notice and flow-down requirements that apply to the Customer Application under Section 3.2.2 (a) (i) (Terms of Service and Privacy Policy). + +(iii) If users of the Customer Application (and Downstream Products, if any) fail to comply with the applicable terms of the Google Maps/Google Earth Additional Terms of Service, then Customer will take appropriate enforcement action, including Suspending or terminating those users’ use of Google Maps features and content in the Customer Application or Downstream Products. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Maps Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.3 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not export, extract, or otherwise scrape Google Maps Content for use outside the Services. For example, Customer will not: (i) pre-fetch, index, store, reshare, or rehost Google Maps Content outside the services; (ii) bulk download Google Maps tiles, Street View images, geocodes, directions, distance matrix results, roads information, places information, elevation values, and time zone details; (iii) copy and save business names, addresses, or user reviews; or (iv) use Google Maps Content with text-to-speech services. + +(b) No Caching. Customer will not cache Google Maps Content except as expressly permitted under the Maps Service Specific Terms. + +(c) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content. For example, Customer will not: (i) trace or digitize roadways, building outlines, utility posts, or electrical lines from the Maps JavaScript API Satellite base map type; (ii) create 3D building models from 45° Imagery from Maps JavaScript API; (iii) build terrain models based on elevation values from the Elevation API; (iv) use latitude/longitude values from the Places API as an input for point-in-polygon analysis; (v) construct an index of tree locations within a city from Street View imagery; or (vi) convert text-based driving times into synthesized speech results. + +(d) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(e) No Use With Non-Google Maps. To avoid quality issues and/or brand confusion, Customer will not use the Google Maps Core Services with or near a non-Google Map in a Customer Application. For example, Customer will not (i) display or use Places content on a non-Google map, (ii) display Street View imagery and non-Google maps on the same screen, or (iii) link a Google Map to non-Google Maps content for a non-Google map. + +(f) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees, prevent Google from accurately calculating Customer’s Service usage levels, abuse any free Service quotas, or offer access to the Services under a “time-sharing” or “service bureau” model. + +(g) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(h) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(i) No Use in Customer Application Directed To Children. Customer will not use the Google Maps Core Services in a Customer Application that would be deemed to be a “Web site or online service directed to children” under the Children’s Online Privacy Protection Act (COPPA). + +(j) No Modifying Search Results Integrity. Customer will not modify any of the Google Maps Core Service’s search results. + +3.2.4 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement; (b) prevent and terminate any unauthorized use of or access to its Account(s) or the Services; and (c) promptly notify Google of any unauthorized use of or access to its Account(s) or the Services of which Customer becomes aware. + +4.2 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.3 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally without input from the copyright holders. Google will respond to notices of alleged copyright infringement and may terminate repeat infringers in appropriate circumstances as required to maintain safe harbor for online service providers under the U.S. Digital Millennium Copyright Act. If Customer believes a person or entity is infringing Customer’s or End Users’ copyrights and would like to notify Google, Customer can find information about submitting notices, and Google's policy about responding to notices at https://www.google.com/dmca.html. + +4.4 Data Use, Protection, and Privacy. + +4.4.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google collects and receives data from Customer and End Users (and End Users’ End Users, if any), including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.4.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.4.3 End User Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. Customer will comply with the then-current Consent Policy at https://www.google.com/about/company/user-consent-policy.html, if applicable. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide personally identifiable information and Personal Data directly to Google, subject to the then-current Google Privacy Policy at https://www.google.com/policies/privacy/. (a) However, Customer will not provide to Google (i) any End User’s personally identifiable information; or (ii) any European End User’s Personal Data (where “European” means “European Economic Area, Switzerland, or the UK”). + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (1) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (2) the combination and use of End User's location with any other data provider's data; and (ii) will not obtain or cache any End User's location except with the End User's express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Breaches. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Breaches or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Breaches) and 5.2.2 (Emergency Suspension). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Breaches. If Google becomes aware that Customer’s or any End User’s use of the Services breaches the AUP, Google will give Customer notice of such breach by requesting that Customer correct the breach. If Customer fails to correct such breach within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Suspension. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend all use of the Google Maps Core Services in the Customer Application on 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 (For Alleged Third-Party Intellectual Property Rights Infringement) does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in the Agreement, the Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Google Maps Core Services. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide Maps Technical Support Services to Customer in accordance with the Maps Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + + Google will notify Customer at least 12 months before making a Significant Deprecation, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a security risk or substantial economic or technical burden. +10. Confidentiality. + +10.1 Confidentiality Obligations. Subject to Section 10.2 (Required Disclosure), the recipient will use the other party’s Confidential Information only to exercise its rights and fulfill its obligations under the Agreement. The recipient will use reasonable care to protect against disclosure of the other party’s Confidential Information to parties other than the recipient’s employees, Affiliates, agents, or professional advisors (“Delegates”) who need to know it and are subject to confidentiality obligations at least as protective as those in this Section 10.1 (Confidentiality Obligations). + +10.2 Required Disclosure. + +10.2.1 Subject to Section 10.2.2, the recipient and its Affiliates may disclose the other party’s Confidential Information to the extent required by applicable Legal Process, If the recipient and its Affiliates (as applicable) use commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. + +10.2.2 Sections 10.2.1(a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; or (iii) lead to death or serious physical harm to an individual. + +10.2.3 As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The Agreement is effective from the Effective Date until it is terminated in accordance with its terms (the “Term”). + +11.2 Termination for Breach. Either party may terminate the Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; (b) the other party ceases its business operations; or (c) becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. Google may terminate Projects or access to Services, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google may terminate Projects with 30 days' prior written notice if such Project (a) has not made any requests to the Services from any Customer Applications for more than 180 days; or (b) has not incurred any Fees for more than 180 days. + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate the Agreement for its convenience at any time with 30 days' prior written notice. Google may terminate the Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement terminates, then: (a) the rights and access to the Services will terminate; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.4 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 21 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT (i) GOOGLE MAPS ARE SUITABLE FOR THE CUSTOMER APPLICATION; AND (ii) THE CUSTOMER APPLICATION IS SAFE FOR END USERS AND OTHER THIRD PARTIES. +15. Indemnification. + +15.1 Customer Indemnification Obligations. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the AUP or in violation of the Agreement. + +15.2 Google Indemnification Obligations. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an Allegation that Customer Indemnified Parties' use of Google Indemnified Materials infringes the third party's Intellectual Property Rights. + +15.3 Indemnification Exclusions. Sections 15.1 (Customer Indemnification Obligations) and 15.2 (Google Indemnification Obligations) will not apply to the extent the underlying Allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the Customer Indemnified Materials or Google Indemnified Materials (as applicable)s with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Indemnification Conditions. Sections 15.1 (Customer Indemnification Obligations) and 15.2 (Google Indemnification Obligations) are conditioned on the following: + +(a) The indemnified party must promptly notify the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperate reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 (Customer Indemnification Obligations) or 15.2 (Google Indemnification Obligations) (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party must tender sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may Suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under the Agreement for any Allegations of Intellectual Property Rights infringement covered by this Section 15 (Indemnification). +16. Liability. + +16.1 Limited Liabilities + +(a) To the extent permitted by applicable law and subject to Section 16.2 (Unlimited Liabilities), neither party and Google’s licensors will have any Liability arising out of or relating to the Agreement for any (i) indirect, consequential, special, incidental, or punitive damages or (ii) lost revenues, profits, savings, or goodwill. + +(b) Each party’s total aggregate Liability for damages arising out of or relating to the Agreement is limited to the Fees Customer paid under the Agreement during the 12 month period before the event giving rise to Liability. + +16.2 Unlimited Liabilities. Nothing in the Agreement excludes or limits either party’s Liability for: + +(a) its infringement of the other party’s Intellectual Property Rights + +(b) its payment obligations under the Agreement; or + +(c) matters for which liability cannot be excluded or limited under applicable law. +17. Advertising. + +In its sole discretion, Customer may configure the Service to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed: (a) in the case of Google, to Google’s Legal Department at legal-notices@google.com; and (b) in the case of Customer, to the Notification Email Address. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Customer may not assign the Agreement without the written consent of Google, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of the Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt by Customer to assign is void. Google may assign the Agreement without the written consent of Customer by notifying Customer of the assignment. + +19.3 Change of Control. If a party experiences a change of Control other than an internal restructuring or reorganization, then: (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate the Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. The Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under the Agreement. + +19.8 Severability. If any part of the Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. The Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in the Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +(a) For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +(b) For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THE AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THE AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +(c) For All Other Entities. If Customer is any entity not listed in Section 19.11 (A) (For U.S. City, County, and State Government Entities) or 19.11(B) (For U.S. Federal Government Entities) then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THE AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.6.2 (Modifications; To the Agreement), any amendment to the Agreement must be in writing, expressly state that it is amending this Agreement, and be signed by both parties. + +19.13 Entire Agreement. The Agreement states all terms agreed between the parties and supersedes any prior or contemporaneous agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in the Agreement. The Agreement includes URL links to other terms (including the URL Terms), which are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in the Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up the Agreement, then the documents will control in the following order: the Agreement and the terms at any URL. + +19.15 Conflicting Languages. If the Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Reseller Orders. + +This Section applies if Customer orders the Services from a Reseller under a Reseller Agreement (including the Reseller Order Form). + +20.1 Orders. If Customer orders Services from Reseller, then: (a) fees for the Services will be set between Customer and Reseller, and any payments will be made directly to Reseller under the Reseller Agreement; (b) Section 2 of the Agreement (Payment Terms) will not apply to the Services; (c) Customer will receive any applicable SLA credits from Reseller, if owed to Customer in accordance with the SLA; and (d) Google will have no obligation to provide any SLA credits to a Customer who orders Services from the Reseller. + +20.2 Conflicting Terms. If Customer orders Google Maps Core Services from a Reseller and if any documents conflict, then the documents will control in the following order: the Agreement, the terms at any URL (including the URL Terms), and the Reseller Order Form. For example, if there is a conflict between the Maps Service Specific Terms and the Reseller Order Form, the Maps Service Specific Terms will control. + +20.3 Reseller as Administrator. At Customer's discretion, Reseller may access Customer's Projects, Accounts, or the Services on behalf of Customer. As between Google and Customer, Customer is solely responsible for: (a) any access by Reseller to Customer’s Account(s), Project(s), or the Services; and (b) defining in the Reseller Agreement any rights or obligations as between Reseller and Customer with respect to the Accounts, Projects, or Services. + +20.4 Reseller Verification of Customer Application(s). Before providing the Services, Reseller may also verify that Customer owns or controls the Customer Applications. If Reseller determines that Customer does not own or control the Customer Applications, then Google will have no obligation to provide the Services to Customer. +21. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and/or tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services described at https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means each party’s trade names, trademarks, service marks, logos, domain names, and other distinctive brand features. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than 50% of the voting rights or equity interests of a party. + +"Customer Application" means any web page or application (including all source code and features) owned or controlled by Customer, or that Customer is authorized to use. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the then-current Google documentation described at https://developers.google.com/maps/documentation. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in breach of the AUP, which such use could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area, Switzerland, or the UK. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the then-current threshold, as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided by Customer to Google. + +"Fees" means the product of the amount of Services used or ordered by Customer multiplied by the Prices, plus any applicable Taxes. + +"Google" means the Google entity corresponding to Customer’s billing address below: + Country or Region of Customer’s billing address: Google entity: +(1) United States and all other countries not otherwise listed below Google LLC +1600 Amphitheatre Parkway, Mountain View, California 94043, USA +(2) Any country in the Asia Pacific region (“APAC”), except the countries listed in rows 6-9. Google Asia Pacific Pte. Ltd. +70 Pasir Panjang Road, #03-71, Mapletree Business City II Singapore 117371 +(3) Any country in Europe, the Middle East, or Africa (“EMEA”), except as described in row 4: Google Ireland Limited +Gordon House Barrow Street, Dublin 4, Ireland +(4) Customer is located in the European Union, the UK, or Turkey and has chosen “non-business” for its tax status/setting for its Google Account Google Commerce Limited +Gordon House, Barrow Street, Dublin 4, Ireland +(5) Canada Google Cloud Canada Corporation +111 Richmond Street West, Toronto, ON M5H 2G4, Canada +For rows 6-10, "Google" means Google Asia Pacific Pte. Ltd and/or its affiliates as the context requires, provided further that the Agreement is made and entered into by and between Customer and the Google entity corresponding to Customer’s billing address below as an authorized reseller of the Services. +(6) Australia Google Australia Pty Ltd. +Level 5, 48 Pirrama Road, Pyrmont, NSW 2009 Australia +(7) Indonesia PT Google Cloud Indonesia +Pacific Century Place Tower, Level 45, Sudirman Central Business District, Lot 10, Jalan Jendral Sudirman Kav 52-53 Jakarta, Indonesia 12190 +(8) Japan Google Cloud Japan G.K. +Roppongi Hills Mori Tower, 10-1, Roppongi 6-chome, Minato-ku Tokyo, Japan +(9) New Zealand Google New Zealand Limited +PWC Tower, Level 27, 188 Quay Street, Auckland, New Zealand 1010, an authorized reseller and the contracting party in New Zealand of Services provided by Google Asia Pacific Pte. Ltd. +(10) South Korea Google Cloud Korea +Gangnam Finance Center 20fl., 152 Teheran-ro, Gangnam-gu, Seoul, South Korea; + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means all patent rights, copyrights, trademark rights, rights in trade secrets (if any), design rights, database rights, domain name rights, moral rights, and any other intellectual property rights (registered or unregistered) throughout the world. + +"Legal Process" means an information disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Liability" means any liability, whether under contract, tort (including negligence), or otherwise, regardless of whether foreseeable or contemplated by the parties. + +"Maps Service Specific Terms" means the then-current terms specific to one or more Services described at https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"Maps Technical Support Services" means the technical support service provided by Google to Customer under the then-current Maps Technical Support Services Guidelines. + +"Maps Technical Support Services Guidelines" means the then-current technical support service guidelines described at https://cloud.google.com/maps-platform/terms/tssg/. + +"Personal Data" has the meaning given to it in: (a) Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data, and repealing Directive 95/46/EC (“EU GDPR”); or (b) the EU GDPR as amended and incorporated into UK law under the UK European Union (Withdrawal) Act 2018 (“UK GDPR”), if in force, as applicable. + +"Notification Email Address" means the email address(es) designated by Customer in the Admin Console. + +"Price" means the then-current applicable price(s) stated at https://cloud.google.com/maps-platform/pricing/sheet/. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Reseller" means, if applicable, the authorized unaffiliated third-party reseller that sells or supplies the Services to Customer. + +"Reseller Agreement" means, if applicable, a separate, independent agreement between Customer and Reseller regarding the Services. + +"Reseller Order Form" means an order form entered into by Reseller and Customer, subject to the Reseller Agreement. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content and the Software. + +"Significant Deprecation" means a material discontinuance or backwards incompatible change to the Google Maps Core Services described at https://cloud.google.com/maps-platform/terms/maps-deprecation/. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits, or other computer software provided by Google for use as part of the Services, including updates. + +"Suspend" or "Suspension " means disabling access to or use of the Services or components of the Services. + +"Taxes" means any duties, customs fees, or government-imposed taxes associated with the purchase of the Services, including any related penalties or interest, except for taxes based on Google’s net income, net worth, asset value, property value, or employment. + +"Term" has the meaning stated in Section 11.1 of the Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the Maps Service Specific Terms; + +(b) the SLA; + +(c) the AUP; + +(d) the Maps Technical Support Services Guidelines; + +(e) the Legal Notices for Google Maps/Google Earth and Google Maps/Google Earth APIs at https://www.google.com/help/legalnotices_maps.html; and + +(f) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html. +22. Regional Terms. + +Customer agrees to the following modifications to the Agreement if Customer orders Services from the applicable Google entity as described below: +Asia Pacific - Indonesia PT Google Cloud Indonesia + +1. The following is added as Section 11.6 (Termination Waiver): + +11.6 Termination Waiver. The parties agree to waive any provisions under any applicable laws to the extent that a court decision or order is required for the termination of this Agreement. + +2. Section 19.11 (Governing Law) is deleted and replaced with the following: + +19.11 Governing Law. + +(a) The parties will try in good faith to settle any dispute within 30 days after the dispute arises. If the dispute is not resolved within 30 days, it must be resolved by arbitration by the American Arbitration Association’s International Centre for Dispute Resolution in accordance with its Expedited Commercial Rules in force as of the date of the Agreement ("Rules"). + +(b) The parties will mutually select one arbitrator. The arbitration will be conducted in English in Santa Clara County, California, USA. + +(c) Either party may apply to any competent court for injunctive relief necessary to protect its rights pending resolution of the arbitration. The arbitrator may order equitable or injunctive relief consistent with the remedies and limitations in the Agreement. + +(d) Subject to the confidentiality requirements in Section 19.11(f), either party may petition any competent court to issue any order necessary to protect that party’s rights or property; this petition will not be considered a violation or waiver of this governing law and arbitration section and will not affect the arbitrator’s powers, including the power to review the judicial decision. The parties stipulate that the courts of Santa Clara County, California, USA, are competent to grant any order under this Section 19.11(d). + +(e) The arbitral award will be final and binding on the parties and its execution may be presented in any competent court, including any court with jurisdiction over either party or any of its property. + +(f) Any arbitration proceeding conducted in accordance with this Section will be considered Confidential Information under the Agreement’s confidentiality section, including (i) the existence of, (ii) any information disclosed during, and (iii) any oral communications or documents related to the arbitration proceedings. The parties may also disclose the information described in this Section 19.11(f) to a competent court as may be necessary to file any order under Section 19.11(d) or execute any arbitral decision, but the parties must request that those judicial proceedings be conducted in camera (in private). + +(g) The parties will pay the arbitrator’s fees, the arbitrator’s appointed experts’ fees and expenses, and the arbitration center’s administrative expenses in accordance with the Rules. In its final decision, the arbitrator will determine the non-prevailing party’s obligation to reimburse the amount paid in advance by the prevailing party for these fees. + +(h) Each party will bear its own lawyers’ and experts’ fees and expenses, regardless of the arbitrator’s final decision regarding the Dispute. + +(i) The parties agree that a decision of the arbitrators need not to be made within any specific time period. + +3. Section 19.15 (Conflicting Languages) is deleted and replaced with the following: + +19.15 Conflicting Languages. This Agreement is made in the Indonesian and the English language, and both versions are equally authentic. In the event of any inconsistency or different interpretation between the Indonesian version and the English version, the parties agree to amend the Indonesian version to make the relevant part of the Indonesian version consistent with the relevant part of the English version. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2020-04-27.yml b/src/licensedcode/data/licenses/google-maps-tos-2020-04-27.yml new file mode 100644 index 00000000000..92387dd89f0 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2020-04-27.yml @@ -0,0 +1,10 @@ +key: google-maps-tos-2020-04-27 +short_name: Google Maps Platform ToS 2020-04-27 +name: Google Maps Platform Terms of Service 2020-04-27 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2020-04-27 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20200427 +minimum_coverage: 90 diff --git a/src/licensedcode/data/licenses/google-maps-tos-2020-05-06.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2020-05-06.LICENSE new file mode 100644 index 00000000000..5a9d734da8c --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2020-05-06.LICENSE @@ -0,0 +1,418 @@ +Google Maps Platform Terms of Service + +Last modified: May 6, 2020 + +If your billing address is in Brazil, please review these Terms of Service, which apply to your use of Google Maps Platform. + +Se a sua conta para faturamento é no Brasil, por gentileza veja o Termos de Serviço, que será o Termo aplicável à sua utilização da Google Maps Platform. + +If your billing address is in Indonesia, please review these Terms of Service, which apply to your use of Google Maps Platform. + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google (as defined in Section 21 (Definitions)) and the entity or person agreeing to these terms ("Customer"). + +This Agreement is effective as of the date Customer clicks to accept the Agreement, or enters into a Reseller Agreement if purchasing through a Reseller (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (a) you have full legal authority to bind Customer to this Agreement; (b) you have read and understand this Agreement; and (c) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer's access to and use of the Services. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the Agreement, and Customer may use the Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account. Customer is responsible for: (a) the information it provides in connection with the Account; (b) maintaining the confidentiality and security of the Account and associated passwords; and (c) any use of its Account. + +1.4 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +1.5 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.6 Modifications. + +1.6.1 To the Services. Subject to Section 9 (Deprecation Policy), Google may make changes to the Services, which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.6.2. To the Agreement. Google may make changes to the Agreement, including pricing and any linked documents. Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except (a) materially adverse SLA changes will become effective 90 days after notice is given; and (b) changes applicable to new Services or functionality, or required by a court order or applicable law, will be effective immediately. Google will provide notice for materially adverse changes to any SLAs by: (i) sending an email to the Notification Email Address; (ii) posting a notice in the Admin Console; or (iii) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on Customer’s use of the Services during the previous Fee Accrual Period. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google's measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receive payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If Google determines that Fees were incorrectly invoiced, then Google will issue a credit equal to the agreed amount. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Nothing in the Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. If Customer’s payment is overdue, then Google may (a) charge interest on overdue amounts at 1.5% per month (or the highest rate permitted by law, if less) from the Payment Due Date until paid in full, and (b) Suspend the Services or terminate the Agreement. Customer will reimburse Google for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting overdue payments except where such payments are due to Google’s billing inaccuracies. + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to the Agreement's terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s). + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1 (License Grant). In this Section 3.2 (License Requirements and Restrictions), the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.1 General Restrictions. Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, sublicense, transfer, or distribute the Services; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for materials or activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) in a manner that breaches, or causes the breach of, Export Control Laws; or (v) to transmit, store, or process health information subject to United States HIPAA regulations. + +3.2.2 Requirements for Using the Services. + +(a) Terms of Service and Privacy Policy. + +(i) The Customer Application’s terms of service will (A) notify users that the Customer Application includes Google Maps features and content; and (B) state that use of Google Maps features and content is subject to the then-current versions of the: (1) Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html; and (2) Google Privacy Policy at https://www.google.com/policies/privacy/. + +(ii) If the Customer Application allows users to include the Google Maps Core Services in Downstream Products, then Customer will contractually require that all Downstream Products’ terms of service satisfy the same notice and flow-down requirements that apply to the Customer Application under Section 3.2.2 (a) (i) (Terms of Service and Privacy Policy). + +(iii) If users of the Customer Application (and Downstream Products, if any) fail to comply with the applicable terms of the Google Maps/Google Earth Additional Terms of Service, then Customer will take appropriate enforcement action, including Suspending or terminating those users’ use of Google Maps features and content in the Customer Application or Downstream Products. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Maps Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.3 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not export, extract, or otherwise scrape Google Maps Content for use outside the Services. For example, Customer will not: (i) pre-fetch, index, store, reshare, or rehost Google Maps Content outside the services; (ii) bulk download Google Maps tiles, Street View images, geocodes, directions, distance matrix results, roads information, places information, elevation values, and time zone details; (iii) copy and save business names, addresses, or user reviews; or (iv) use Google Maps Content with text-to-speech services. + +(b) No Caching. Customer will not cache Google Maps Content except as expressly permitted under the Maps Service Specific Terms. + +(c) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content. For example, Customer will not: (i) trace or digitize roadways, building outlines, utility posts, or electrical lines from the Maps JavaScript API Satellite base map type; (ii) create 3D building models from 45° Imagery from Maps JavaScript API; (iii) build terrain models based on elevation values from the Elevation API; (iv) use latitude/longitude values from the Places API as an input for point-in-polygon analysis; (v) construct an index of tree locations within a city from Street View imagery; or (vi) convert text-based driving times into synthesized speech results. + +(d) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) use the Google Maps Core Services to create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(e) No Use With Non-Google Maps. To avoid quality issues and/or brand confusion, Customer will not use the Google Maps Core Services with or near a non-Google Map in a Customer Application. For example, Customer will not (i) display or use Places content on a non-Google map, (ii) display Street View imagery and non-Google maps on the same screen, or (iii) link a Google Map to non-Google Maps content or a non-Google map. + +(f) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees, prevent Google from accurately calculating Customer’s Service usage levels, abuse any free Service quotas, or offer access to the Services under a “time-sharing” or “service bureau” model. + +(g) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(h) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(i) No Use in Customer Application Directed To Children. Customer will not use the Google Maps Core Services in a Customer Application that would be deemed to be a “Web site or online service directed to children” under the Children’s Online Privacy Protection Act (COPPA). + +(j) No Modifying Search Results Integrity. Customer will not modify any of the Google Maps Core Services’ search results. + +3.2.4 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement; (b) prevent and terminate any unauthorized use of or access to its Account(s) or the Services; and (c) promptly notify Google of any unauthorized use of or access to its Account(s) or the Services of which Customer becomes aware. + +4.2 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.3 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally without input from the copyright holders. Google will respond to notices of alleged copyright infringement and may terminate repeat infringers in appropriate circumstances as required to maintain safe harbor for online service providers under the U.S. Digital Millennium Copyright Act. If Customer believes a person or entity is infringing Customer’s or End Users’ copyrights and would like to notify Google, Customer can find information about submitting notices, and Google's policy about responding to notices at https://www.google.com/dmca.html. + +4.4 Data Use, Protection, and Privacy. + +4.4.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google collects and receives data from Customer and End Users (and End Users’ End Users, if any), including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.4.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.4.3 End User Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. Customer will comply with the then-current Consent Policy at https://www.google.com/about/company/user-consent-policy.html, if applicable. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide personally identifiable information and Personal Data directly to Google, subject to the then-current Google Privacy Policy at https://www.google.com/policies/privacy/. (a) However, Customer will not provide to Google (i) any End User’s personally identifiable information; or (ii) any European End User’s Personal Data (where “European” means “European Economic Area, Switzerland, or the UK”). + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (1) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (2) the combination and use of End User's location with any other data provider's data; and (ii) will not obtain or cache any End User's location except with the End User's express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Breaches. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Breaches or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Breaches) and 5.2.2 (Emergency Suspension). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Breaches. If Google becomes aware that Customer’s or any End User’s use of the Services breaches the AUP, Google will give Customer notice of such breach by requesting that Customer correct the breach. If Customer fails to correct such breach within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Suspension. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend all use of the Google Maps Core Services in the Customer Application on 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 (For Alleged Third-Party Intellectual Property Rights Infringement) does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in the Agreement, the Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Google Maps Core Services. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide Maps Technical Support Services to Customer in accordance with the Maps Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + + Google will notify Customer at least 12 months before making a Significant Deprecation, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a security risk or substantial economic or technical burden. +10. Confidentiality. + +10.1 Confidentiality Obligations. Subject to Section 10.2 (Required Disclosure), the recipient will use the other party’s Confidential Information only to exercise its rights and fulfill its obligations under the Agreement. The recipient will use reasonable care to protect against disclosure of the other party’s Confidential Information to parties other than the recipient’s employees, Affiliates, agents, or professional advisors (“Delegates”) who need to know it and are subject to confidentiality obligations at least as protective as those in this Section 10.1 (Confidentiality Obligations). + +10.2 Required Disclosure. + +10.2.1 Subject to Section 10.2.2, the recipient and its Affiliates may disclose the other party’s Confidential Information to the extent required by applicable Legal Process, If the recipient and its Affiliates (as applicable) use commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. + +10.2.2 Sections 10.2.1(a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; or (iii) lead to death or serious physical harm to an individual. + +10.2.3 As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The Agreement is effective from the Effective Date until it is terminated in accordance with its terms (the “Term”). + +11.2 Termination for Breach. Either party may terminate the Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; (b) the other party ceases its business operations; or (c) becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. Google may terminate Projects or access to Services, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google may terminate Projects with 30 days' prior written notice if such Project (a) has not made any requests to the Services from any Customer Applications for more than 180 days; or (b) has not incurred any Fees for more than 180 days. + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate the Agreement for its convenience at any time with 30 days' prior written notice. Google may terminate the Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement terminates, then: (a) the rights and access to the Services will terminate; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.4 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 21 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT (i) GOOGLE MAPS ARE SUITABLE FOR THE CUSTOMER APPLICATION; AND (ii) THE CUSTOMER APPLICATION IS SAFE FOR END USERS AND OTHER THIRD PARTIES. +15. Indemnification. + +15.1 Customer Indemnification Obligations. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the AUP or in violation of the Agreement. + +15.2 Google Indemnification Obligations. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an Allegation that Customer Indemnified Parties' use of Google Indemnified Materials infringes the third party's Intellectual Property Rights. + +15.3 Indemnification Exclusions. Sections 15.1 (Customer Indemnification Obligations) and 15.2 (Google Indemnification Obligations) will not apply to the extent the underlying Allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the Customer Indemnified Materials or Google Indemnified Materials (as applicable)s with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Indemnification Conditions. Sections 15.1 (Customer Indemnification Obligations) and 15.2 (Google Indemnification Obligations) are conditioned on the following: + +(a) The indemnified party must promptly notify the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperate reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 (Customer Indemnification Obligations) or 15.2 (Google Indemnification Obligations) (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party must tender sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may Suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under the Agreement for any Allegations of Intellectual Property Rights infringement covered by this Section 15 (Indemnification). +16. Liability. + +16.1 Limited Liabilities + +(a) To the extent permitted by applicable law and subject to Section 16.2 (Unlimited Liabilities), neither party and Google’s licensors will have any Liability arising out of or relating to the Agreement for any (i) indirect, consequential, special, incidental, or punitive damages or (ii) lost revenues, profits, savings, or goodwill. + +(b) Each party’s total aggregate Liability for damages arising out of or relating to the Agreement is limited to the Fees Customer paid under the Agreement during the 12 month period before the event giving rise to Liability. + +16.2 Unlimited Liabilities. Nothing in the Agreement excludes or limits either party’s Liability for: + +(a) its infringement of the other party’s Intellectual Property Rights + +(b) its payment obligations under the Agreement; or + +(c) matters for which liability cannot be excluded or limited under applicable law. +17. Advertising. + +In its sole discretion, Customer may configure the Service to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed: (a) in the case of Google, to Google’s Legal Department at legal-notices@google.com; and (b) in the case of Customer, to the Notification Email Address. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Customer may not assign the Agreement without the written consent of Google, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of the Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt by Customer to assign is void. Google may assign the Agreement without the written consent of Customer by notifying Customer of the assignment. + +19.3 Change of Control. If a party experiences a change of Control other than an internal restructuring or reorganization, then: (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate the Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. The Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under the Agreement. + +19.8 Severability. If any part of the Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. The Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in the Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +(a) For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +(b) For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THE AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THE AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +(c) For All Other Entities. If Customer is any entity not listed in Section 19.11 (A) (For U.S. City, County, and State Government Entities) or 19.11(B) (For U.S. Federal Government Entities) then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THE AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.6.2 (Modifications; To the Agreement), any amendment to the Agreement must be in writing, expressly state that it is amending this Agreement, and be signed by both parties. + +19.13 Entire Agreement. The Agreement states all terms agreed between the parties and supersedes any prior or contemporaneous agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in the Agreement. The Agreement includes URL links to other terms (including the URL Terms), which are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in the Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up the Agreement, then the documents will control in the following order: the Agreement and the terms at any URL. + +19.15 Conflicting Languages. If the Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Reseller Orders. + +This Section applies if Customer orders the Services from a Reseller under a Reseller Agreement (including the Reseller Order Form). + +20.1 Orders. If Customer orders Services from Reseller, then: (a) fees for the Services will be set between Customer and Reseller, and any payments will be made directly to Reseller under the Reseller Agreement; (b) Section 2 of the Agreement (Payment Terms) will not apply to the Services; (c) Customer will receive any applicable SLA credits from Reseller, if owed to Customer in accordance with the SLA; and (d) Google will have no obligation to provide any SLA credits to a Customer who orders Services from the Reseller. + +20.2 Conflicting Terms. If Customer orders Google Maps Core Services from a Reseller and if any documents conflict, then the documents will control in the following order: the Agreement, the terms at any URL (including the URL Terms), and the Reseller Order Form. For example, if there is a conflict between the Maps Service Specific Terms and the Reseller Order Form, the Maps Service Specific Terms will control. + +20.3 Reseller as Administrator. At Customer's discretion, Reseller may access Customer's Projects, Accounts, or the Services on behalf of Customer. As between Google and Customer, Customer is solely responsible for: (a) any access by Reseller to Customer’s Account(s), Project(s), or the Services; and (b) defining in the Reseller Agreement any rights or obligations as between Reseller and Customer with respect to the Accounts, Projects, or Services. + +20.4 Reseller Verification of Customer Application(s). Before providing the Services, Reseller may also verify that Customer owns or controls the Customer Applications. If Reseller determines that Customer does not own or control the Customer Applications, then Google will have no obligation to provide the Services to Customer. +21. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and/or tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services described at https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means each party’s trade names, trademarks, service marks, logos, domain names, and other distinctive brand features. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than 50% of the voting rights or equity interests of a party. + +"Customer Application" means any web page or application (including all source code and features) owned or controlled by Customer, or that Customer is authorized to use. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the then-current Google documentation described at https://developers.google.com/maps/documentation. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in breach of the AUP, which such use could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area, Switzerland, or the UK. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the then-current threshold, as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided by Customer to Google. + +"Fees" means the product of the amount of Services used or ordered by Customer multiplied by the Prices, plus any applicable Taxes. + +"Google" has the meaning given at https://cloud.google.com/terms/google-entity. + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means all patent rights, copyrights, trademark rights, rights in trade secrets (if any), design rights, database rights, domain name rights, moral rights, and any other intellectual property rights (registered or unregistered) throughout the world. + +"Legal Process" means an information disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Liability" means any liability, whether under contract, tort (including negligence), or otherwise, regardless of whether foreseeable or contemplated by the parties. + +"Maps Service Specific Terms" means the then-current terms specific to one or more Services described at https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"Maps Technical Support Services" means the technical support service provided by Google to Customer under the then-current Maps Technical Support Services Guidelines. + +"Maps Technical Support Services Guidelines" means the then-current technical support service guidelines described at https://cloud.google.com/maps-platform/terms/tssg/. + +"Personal Data" has the meaning given to it in: (a) Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data, and repealing Directive 95/46/EC (“EU GDPR”); or (b) the EU GDPR as amended and incorporated into UK law under the UK European Union (Withdrawal) Act 2018 (“UK GDPR”), if in force, as applicable. + +"Notification Email Address" means the email address(es) designated by Customer in the Admin Console. + +"Price" means the then-current applicable price(s) stated at https://cloud.google.com/maps-platform/pricing/sheet/. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Reseller" means, if applicable, the authorized unaffiliated third-party reseller that sells or supplies the Services to Customer. + +"Reseller Agreement" means, if applicable, a separate, independent agreement between Customer and Reseller regarding the Services. + +"Reseller Order Form" means an order form entered into by Reseller and Customer, subject to the Reseller Agreement. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content and the Software. + +"Significant Deprecation" means a material discontinuance or backwards incompatible change to the Google Maps Core Services described at https://cloud.google.com/maps-platform/terms/maps-deprecation/. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits, or other computer software provided by Google for use as part of the Services, including updates. + +"Suspend" or "Suspension " means disabling access to or use of the Services or components of the Services. + +"Taxes" means any duties, customs fees, or government-imposed taxes associated with the purchase of the Services, including any related penalties or interest, except for taxes based on Google’s net income, net worth, asset value, property value, or employment. + +"Term" has the meaning stated in Section 11.1 of the Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the Maps Service Specific Terms; + +(b) the SLA; + +(c) the AUP; + +(d) the Maps Technical Support Services Guidelines; + +(e) the Legal Notices for Google Maps/Google Earth and Google Maps/Google Earth APIs at https://www.google.com/help/legalnotices_maps.html; and + +(f) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html. +22. Regional Terms. + +Customer agrees to the following modifications to the Agreement if Customer orders Services from the applicable Google entity as described below: +Asia Pacific - Indonesia PT Google Cloud Indonesia + +1. The following is added as Section 11.6 (Termination Waiver): + +11.6 Termination Waiver. The parties agree to waive any provisions under any applicable laws to the extent that a court decision or order is required for the termination of this Agreement. + +2. Section 19.11 (Governing Law) is deleted and replaced with the following: + +19.11 Governing Law. + +(a) The parties will try in good faith to settle any dispute within 30 days after the dispute arises. If the dispute is not resolved within 30 days, it must be resolved by arbitration by the American Arbitration Association’s International Centre for Dispute Resolution in accordance with its Expedited Commercial Rules in force as of the date of the Agreement ("Rules"). + +(b) The parties will mutually select one arbitrator. The arbitration will be conducted in English in Santa Clara County, California, USA. + +(c) Either party may apply to any competent court for injunctive relief necessary to protect its rights pending resolution of the arbitration. The arbitrator may order equitable or injunctive relief consistent with the remedies and limitations in the Agreement. + +(d) Subject to the confidentiality requirements in Section 19.11(f), either party may petition any competent court to issue any order necessary to protect that party’s rights or property; this petition will not be considered a violation or waiver of this governing law and arbitration section and will not affect the arbitrator’s powers, including the power to review the judicial decision. The parties stipulate that the courts of Santa Clara County, California, USA, are competent to grant any order under this Section 19.11(d). + +(e) The arbitral award will be final and binding on the parties and its execution may be presented in any competent court, including any court with jurisdiction over either party or any of its property. + +(f) Any arbitration proceeding conducted in accordance with this Section will be considered Confidential Information under the Agreement’s confidentiality section, including (i) the existence of, (ii) any information disclosed during, and (iii) any oral communications or documents related to the arbitration proceedings. The parties may also disclose the information described in this Section 19.11(f) to a competent court as may be necessary to file any order under Section 19.11(d) or execute any arbitral decision, but the parties must request that those judicial proceedings be conducted in camera (in private). + +(g) The parties will pay the arbitrator’s fees, the arbitrator’s appointed experts’ fees and expenses, and the arbitration center’s administrative expenses in accordance with the Rules. In its final decision, the arbitrator will determine the non-prevailing party’s obligation to reimburse the amount paid in advance by the prevailing party for these fees. + +(h) Each party will bear its own lawyers’ and experts’ fees and expenses, regardless of the arbitrator’s final decision regarding the Dispute. + +(i) The parties agree that a decision of the arbitrators need not to be made within any specific time period. + +3. Section 19.15 (Conflicting Languages) is deleted and replaced with the following: + +19.15 Conflicting Languages. This Agreement is made in the Indonesian and the English language, and both versions are equally authentic. In the event of any inconsistency or different interpretation between the Indonesian version and the English version, the parties agree to amend the Indonesian version to make the relevant part of the Indonesian version consistent with the relevant part of the English version. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2020-05-06.yml b/src/licensedcode/data/licenses/google-maps-tos-2020-05-06.yml new file mode 100644 index 00000000000..61564a372fa --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2020-05-06.yml @@ -0,0 +1,10 @@ +key: google-maps-tos-2020-05-06 +short_name: Google Maps Platform ToS 2020-05-06 +name: Google Maps Platform Terms of Service 2020-05-06 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2020-05-06 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20200506 +minimum_coverage: 90 diff --git a/src/licensedcode/data/licenses/google-tos-2014.LICENSE b/src/licensedcode/data/licenses/google-tos-2014.LICENSE new file mode 100644 index 00000000000..0ed7564f4d8 --- /dev/null +++ b/src/licensedcode/data/licenses/google-tos-2014.LICENSE @@ -0,0 +1,94 @@ +Google Terms of Service + +Last modified: April 30, 2014 (view archived versions) +Welcome to Google! + +Thanks for using our products and services (“Services”). The Services are provided by Google Inc. (“Google”), located at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States. + +By using our Services, you are agreeing to these terms. Please read them carefully. + +Our Services are very diverse, so sometimes additional terms or product requirements (including age requirements) may apply. Additional terms will be available with the relevant Services, and those additional terms become part of your agreement with us if you use those Services. +Using our Services + +You must follow any policies made available to you within the Services. + +Don’t misuse our Services. For example, don’t interfere with our Services or try to access them using a method other than the interface and the instructions that we provide. You may use our Services only as permitted by law, including applicable export and re-export control laws and regulations. We may suspend or stop providing our Services to you if you do not comply with our terms or policies or if we are investigating suspected misconduct. + +Using our Services does not give you ownership of any intellectual property rights in our Services or the content you access. You may not use content from our Services unless you obtain permission from its owner or are otherwise permitted by law. These terms do not grant you the right to use any branding or logos used in our Services. Don’t remove, obscure, or alter any legal notices displayed in or along with our Services. + +Our Services display some content that is not Google’s. This content is the sole responsibility of the entity that makes it available. We may review content to determine whether it is illegal or violates our policies, and we may remove or refuse to display content that we reasonably believe violates our policies or the law. But that does not necessarily mean that we review content, so please don’t assume that we do. + +In connection with your use of the Services, we may send you service announcements, administrative messages, and other information. You may opt out of some of those communications. + +Some of our Services are available on mobile devices. Do not use such Services in a way that distracts you and prevents you from obeying traffic or safety laws. +Your Google Account + +You may need a Google Account in order to use some of our Services. You may create your own Google Account, or your Google Account may be assigned to you by an administrator, such as your employer or educational institution. If you are using a Google Account assigned to you by an administrator, different or additional terms may apply and your administrator may be able to access or disable your account. + +To protect your Google Account, keep your password confidential. You are responsible for the activity that happens on or through your Google Account. Try not to reuse your Google Account password on third-party applications. If you learn of any unauthorized use of your password or Google Account, follow these instructions. +Privacy and Copyright Protection + +Google’s privacy policies explain how we treat your personal data and protect your privacy when you use our Services. By using our Services, you agree that Google can use such data in accordance with our privacy policies. + +We respond to notices of alleged copyright infringement and terminate accounts of repeat infringers according to the process set out in the U.S. Digital Millennium Copyright Act. + +We provide information to help copyright holders manage their intellectual property online. If you think somebody is violating your copyrights and want to notify us, you can find information about submitting notices and Google’s policy about responding to notices in our Help Center. +Your Content in our Services + +Some of our Services allow you to upload, submit, store, send or receive content. You retain ownership of any intellectual property rights that you hold in that content. In short, what belongs to you stays yours. + +When you upload, submit, store, send or receive content to or through our Services, you give Google (and those we work with) a worldwide license to use, host, store, reproduce, modify, create derivative works (such as those resulting from translations, adaptations or other changes we make so that your content works better with our Services), communicate, publish, publicly perform, publicly display and distribute such content. The rights you grant in this license are for the limited purpose of operating, promoting, and improving our Services, and to develop new ones. This license continues even if you stop using our Services (for example, for a business listing you have added to Google Maps). Some Services may offer you ways to access and remove content that has been provided to that Service. Also, in some of our Services, there are terms or settings that narrow the scope of our use of the content submitted in those Services. Make sure you have the necessary rights to grant us this license for any content that you submit to our Services. + +Our automated systems analyze your content (including emails) to provide you personally relevant product features, such as customized search results, tailored advertising, and spam and malware detection. This analysis occurs as the content is sent, received, and when it is stored. + +If you have a Google Account, we may display your Profile name, Profile photo, and actions you take on Google or on third-party applications connected to your Google Account (such as +1’s, reviews you write and comments you post) in our Services, including displaying in ads and other commercial contexts. We will respect the choices you make to limit sharing or visibility settings in your Google Account. For example, you can choose your settings so your name and photo do not appear in an ad. + +You can find more information about how Google uses and stores content in the privacy policy or additional terms for particular Services. If you submit feedback or suggestions about our Services, we may use your feedback or suggestions without obligation to you. +About Software in our Services + +When a Service requires or includes downloadable software, this software may update automatically on your device once a new version or feature is available. Some Services may let you adjust your automatic update settings. + +Google gives you a personal, worldwide, royalty-free, non-assignable and non-exclusive license to use the software provided to you by Google as part of the Services. This license is for the sole purpose of enabling you to use and enjoy the benefit of the Services as provided by Google, in the manner permitted by these terms. You may not copy, modify, distribute, sell, or lease any part of our Services or included software, nor may you reverse engineer or attempt to extract the source code of that software, unless laws prohibit those restrictions or you have our written permission. + +Open source software is important to us. Some software used in our Services may be offered under an open source license that we will make available to you. There may be provisions in the open source license that expressly override some of these terms. +Modifying and Terminating our Services + +We are constantly changing and improving our Services. We may add or remove functionalities or features, and we may suspend or stop a Service altogether. + +You can stop using our Services at any time, although we’ll be sorry to see you go. Google may also stop providing Services to you, or add or create new limits to our Services at any time. + +We believe that you own your data and preserving your access to such data is important. If we discontinue a Service, where reasonably possible, we will give you reasonable advance notice and a chance to get information out of that Service. +Our Warranties and Disclaimers + +We provide our Services using a commercially reasonable level of skill and care and we hope that you will enjoy using them. But there are certain things that we don’t promise about our Services. + +Other than as expressly set out in these terms or additional terms, neither Google nor its suppliers or distributors make any specific promises about the Services. For example, we don’t make any commitments about the content within the Services, the specific functions of the Services, or their reliability, availability, or ability to meet your needs. We provide the Services “as is”. + +Some jurisdictions provide for certain warranties, like the implied warranty of merchantability, fitness for a particular purpose and non-infringement. To the extent permitted by law, we exclude all warranties. +Liability for our Services + +When permitted by law, Google, and Google’s suppliers and distributors, will not be responsible for lost profits, revenues, or data, financial losses or indirect, special, consequential, exemplary, or punitive damages. + +To the extent permitted by law, the total liability of Google, and its suppliers and distributors, for any claims under these terms, including for any implied warranties, is limited to the amount you paid us to use the Services (or, if we choose, to supplying you the Services again). + +In all cases, Google, and its suppliers and distributors, will not be liable for any loss or damage that is not reasonably foreseeable. + +We recognize that in some countries, you might have legal rights as a consumer. If you are using the Services for a personal purpose, then nothing in these terms or any additional terms limits any consumer legal rights which may not be waived by contract. +Business uses of our Services + +If you are using our Services on behalf of a business, that business accepts these terms. It will hold harmless and indemnify Google and its affiliates, officers, agents, and employees from any claim, suit or action arising from or related to the use of the Services or violation of these terms, including any liability or expense arising from claims, losses, damages, suits, judgments, litigation costs and attorneys’ fees. +About these Terms + +We may modify these terms or any additional terms that apply to a Service to, for example, reflect changes to the law or changes to our Services. You should look at the terms regularly. We’ll post notice of modifications to these terms on this page. We’ll post notice of modified additional terms in the applicable Service. Changes will not apply retroactively and will become effective no sooner than fourteen days after they are posted. However, changes addressing new functions for a Service or changes made for legal reasons will be effective immediately. If you do not agree to the modified terms for a Service, you should discontinue your use of that Service. + +If there is a conflict between these terms and the additional terms, the additional terms will control for that conflict. + +These terms control the relationship between Google and you. They do not create any third party beneficiary rights. + +If you do not comply with these terms, and we don’t take action right away, this doesn’t mean that we are giving up any rights that we may have (such as taking action in the future). + +If it turns out that a particular term is not enforceable, this will not affect any other terms. + +The courts in some countries will not apply California law to some types of disputes. If you reside in one of those countries, then where California law is excluded from applying, your country’s laws will apply to such disputes related to these terms. Otherwise, you agree that the laws of California, U.S.A., excluding California’s choice of law rules, will apply to any disputes arising out of or relating to these terms or the Services. Similarly, if the courts in your country will not permit you to consent to the jurisdiction and venue of the courts in Santa Clara County, California, U.S.A., then your local jurisdiction and venue will apply to such disputes related to these terms. Otherwise, all claims arising out of or relating to these terms or the services will be litigated exclusively in the federal or state courts of Santa Clara County, California, USA, and you and Google consent to personal jurisdiction in those courts. + +For information about how to contact Google, please visit our contact page. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-tos-2014.yml b/src/licensedcode/data/licenses/google-tos-2014.yml new file mode 100644 index 00000000000..bdfba440a34 --- /dev/null +++ b/src/licensedcode/data/licenses/google-tos-2014.yml @@ -0,0 +1,7 @@ +key: google-tos-2014 +short_name: Google TOS 2014 +name: Google Terms of Service 2014 +category: Proprietary Free +owner: Google +homepage_url: https://policies.google.com/terms/archive?hl=en +spdx_license_key: LicenseRef-scancode-google-tos-2014 diff --git a/src/licensedcode/data/licenses/google-tos-2017.LICENSE b/src/licensedcode/data/licenses/google-tos-2017.LICENSE new file mode 100644 index 00000000000..68c06e04c7d --- /dev/null +++ b/src/licensedcode/data/licenses/google-tos-2017.LICENSE @@ -0,0 +1,94 @@ +Google Terms of Service + +Last modified: October 25, 2017 (view archived versions) +Welcome to Google! + +Thanks for using our products and services (“Services”). The Services are provided by Google LLC (“Google”), located at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States. + +By using our Services, you are agreeing to these terms. Please read them carefully. + +Our Services are very diverse, so sometimes additional terms or product requirements (including age requirements) may apply. Additional terms will be available with the relevant Services, and those additional terms become part of your agreement with us if you use those Services. +Using our Services + +You must follow any policies made available to you within the Services. + +Don’t misuse our Services. For example, don’t interfere with our Services or try to access them using a method other than the interface and the instructions that we provide. You may use our Services only as permitted by law, including applicable export and re-export control laws and regulations. We may suspend or stop providing our Services to you if you do not comply with our terms or policies or if we are investigating suspected misconduct. + +Using our Services does not give you ownership of any intellectual property rights in our Services or the content you access. You may not use content from our Services unless you obtain permission from its owner or are otherwise permitted by law. These terms do not grant you the right to use any branding or logos used in our Services. Don’t remove, obscure, or alter any legal notices displayed in or along with our Services. + +Our Services display some content that is not Google’s. This content is the sole responsibility of the entity that makes it available. We may review content to determine whether it is illegal or violates our policies, and we may remove or refuse to display content that we reasonably believe violates our policies or the law. But that does not necessarily mean that we review content, so please don’t assume that we do. + +In connection with your use of the Services, we may send you service announcements, administrative messages, and other information. You may opt out of some of those communications. + +Some of our Services are available on mobile devices. Do not use such Services in a way that distracts you and prevents you from obeying traffic or safety laws. +Your Google Account + +You may need a Google Account in order to use some of our Services. You may create your own Google Account, or your Google Account may be assigned to you by an administrator, such as your employer or educational institution. If you are using a Google Account assigned to you by an administrator, different or additional terms may apply and your administrator may be able to access or disable your account. + +To protect your Google Account, keep your password confidential. You are responsible for the activity that happens on or through your Google Account. Try not to reuse your Google Account password on third-party applications. If you learn of any unauthorized use of your password or Google Account, follow these instructions. +Privacy and Copyright Protection + +Google’s privacy policies explain how we treat your personal data and protect your privacy when you use our Services. By using our Services, you agree that Google can use such data in accordance with our privacy policies. + +We respond to notices of alleged copyright infringement and terminate accounts of repeat infringers according to the process set out in the U.S. Digital Millennium Copyright Act. + +We provide information to help copyright holders manage their intellectual property online. If you think somebody is violating your copyrights and want to notify us, you can find information about submitting notices and Google’s policy about responding to notices in our Help Center. +Your Content in our Services + +Some of our Services allow you to upload, submit, store, send or receive content. You retain ownership of any intellectual property rights that you hold in that content. In short, what belongs to you stays yours. + +When you upload, submit, store, send or receive content to or through our Services, you give Google (and those we work with) a worldwide license to use, host, store, reproduce, modify, create derivative works (such as those resulting from translations, adaptations or other changes we make so that your content works better with our Services), communicate, publish, publicly perform, publicly display and distribute such content. The rights you grant in this license are for the limited purpose of operating, promoting, and improving our Services, and to develop new ones. This license continues even if you stop using our Services (for example, for a business listing you have added to Google Maps). Some Services may offer you ways to access and remove content that has been provided to that Service. Also, in some of our Services, there are terms or settings that narrow the scope of our use of the content submitted in those Services. Make sure you have the necessary rights to grant us this license for any content that you submit to our Services. + +Our automated systems analyze your content (including emails) to provide you personally relevant product features, such as customized search results, tailored advertising, and spam and malware detection. This analysis occurs as the content is sent, received, and when it is stored. + +If you have a Google Account, we may display your Profile name, Profile photo, and actions you take on Google or on third-party applications connected to your Google Account (such as +1’s, reviews you write and comments you post) in our Services, including displaying in ads and other commercial contexts. We will respect the choices you make to limit sharing or visibility settings in your Google Account. For example, you can choose your settings so your name and photo do not appear in an ad. + +You can find more information about how Google uses and stores content in the privacy policy or additional terms for particular Services. If you submit feedback or suggestions about our Services, we may use your feedback or suggestions without obligation to you. +About Software in our Services + +When a Service requires or includes downloadable software, this software may update automatically on your device once a new version or feature is available. Some Services may let you adjust your automatic update settings. + +Google gives you a personal, worldwide, royalty-free, non-assignable and non-exclusive license to use the software provided to you by Google as part of the Services. This license is for the sole purpose of enabling you to use and enjoy the benefit of the Services as provided by Google, in the manner permitted by these terms. You may not copy, modify, distribute, sell, or lease any part of our Services or included software, nor may you reverse engineer or attempt to extract the source code of that software, unless laws prohibit those restrictions or you have our written permission. + +Open source software is important to us. Some software used in our Services may be offered under an open source license that we will make available to you. There may be provisions in the open source license that expressly override some of these terms. +Modifying and Terminating our Services + +We are constantly changing and improving our Services. We may add or remove functionalities or features, and we may suspend or stop a Service altogether. + +You can stop using our Services at any time, although we’ll be sorry to see you go. Google may also stop providing Services to you, or add or create new limits to our Services at any time. + +We believe that you own your data and preserving your access to such data is important. If we discontinue a Service, where reasonably possible, we will give you reasonable advance notice and a chance to get information out of that Service. +Our Warranties and Disclaimers + +We provide our Services using a commercially reasonable level of skill and care and we hope that you will enjoy using them. But there are certain things that we don’t promise about our Services. + +Other than as expressly set out in these terms or additional terms, neither Google nor its suppliers or distributors make any specific promises about the Services. For example, we don’t make any commitments about the content within the Services, the specific functions of the Services, or their reliability, availability, or ability to meet your needs. We provide the Services “as is”. + +Some jurisdictions provide for certain warranties, like the implied warranty of merchantability, fitness for a particular purpose and non-infringement. To the extent permitted by law, we exclude all warranties. +Liability for our Services + +When permitted by law, Google, and Google’s suppliers and distributors, will not be responsible for lost profits, revenues, or data, financial losses or indirect, special, consequential, exemplary, or punitive damages. + +To the extent permitted by law, the total liability of Google, and its suppliers and distributors, for any claims under these terms, including for any implied warranties, is limited to the amount you paid us to use the Services (or, if we choose, to supplying you the Services again). + +In all cases, Google, and its suppliers and distributors, will not be liable for any loss or damage that is not reasonably foreseeable. + +We recognize that in some countries, you might have legal rights as a consumer. If you are using the Services for a personal purpose, then nothing in these terms or any additional terms limits any consumer legal rights which may not be waived by contract. +Business uses of our Services + +If you are using our Services on behalf of a business, that business accepts these terms. It will hold harmless and indemnify Google and its affiliates, officers, agents, and employees from any claim, suit or action arising from or related to the use of the Services or violation of these terms, including any liability or expense arising from claims, losses, damages, suits, judgments, litigation costs and attorneys’ fees. +About these Terms + +We may modify these terms or any additional terms that apply to a Service to, for example, reflect changes to the law or changes to our Services. You should look at the terms regularly. We’ll post notice of modifications to these terms on this page. We’ll post notice of modified additional terms in the applicable Service. Changes will not apply retroactively and will become effective no sooner than fourteen days after they are posted. However, changes addressing new functions for a Service or changes made for legal reasons will be effective immediately. If you do not agree to the modified terms for a Service, you should discontinue your use of that Service. + +If there is a conflict between these terms and the additional terms, the additional terms will control for that conflict. + +These terms control the relationship between Google and you. They do not create any third party beneficiary rights. + +If you do not comply with these terms, and we don’t take action right away, this doesn’t mean that we are giving up any rights that we may have (such as taking action in the future). + +If it turns out that a particular term is not enforceable, this will not affect any other terms. + +The courts in some countries will not apply California law to some types of disputes. If you reside in one of those countries, then where California law is excluded from applying, your country’s laws will apply to such disputes related to these terms. Otherwise, you agree that the laws of California, U.S.A., excluding California’s choice of law rules, will apply to any disputes arising out of or relating to these terms or the Services. Similarly, if the courts in your country will not permit you to consent to the jurisdiction and venue of the courts in Santa Clara County, California, U.S.A., then your local jurisdiction and venue will apply to such disputes related to these terms. Otherwise, all claims arising out of or relating to these terms or the services will be litigated exclusively in the federal or state courts of Santa Clara County, California, USA, and you and Google consent to personal jurisdiction in those courts. + +For information about how to contact Google, please visit our contact page. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-tos-2017.yml b/src/licensedcode/data/licenses/google-tos-2017.yml new file mode 100644 index 00000000000..482dee98a56 --- /dev/null +++ b/src/licensedcode/data/licenses/google-tos-2017.yml @@ -0,0 +1,7 @@ +key: google-tos-2017 +short_name: Google TOS 2017 +name: Google Terms of Service 2017 +category: Proprietary Free +owner: Google +homepage_url: https://policies.google.com/terms/archive?hl=en +spdx_license_key: LicenseRef-scancode-google-tos-2017 diff --git a/src/licensedcode/data/licenses/google-tos-2019.LICENSE b/src/licensedcode/data/licenses/google-tos-2019.LICENSE new file mode 100644 index 00000000000..6d6a4046d98 --- /dev/null +++ b/src/licensedcode/data/licenses/google-tos-2019.LICENSE @@ -0,0 +1,97 @@ +Google Terms of Service + +Effective January 22, 2019 (view archived versions) +Welcome to Google! + +Thanks for using our products and services (“Services”). If you’re based in the European Economic Area or Switzerland, unless stated otherwise in any additional terms, the Services are provided by Google Ireland Limited (“Google”), a company incorporated and operating under the laws of Ireland (Registered Number: 368047), and located at Gordon House, Barrow Street, Dublin 4, Ireland. + +By using our Services, you are agreeing to these terms. Please read them carefully. + +Our Services are very diverse, so sometimes additional terms or product requirements (including age requirements) may apply. Additional terms will be available with the relevant Services, and those additional terms become part of your agreement with us if you use those Services. +Using our Services + +You must follow any policies made available to you within the Services. + +Don’t misuse our Services. For example, don’t interfere with our Services or try to access them using a method other than the interface and the instructions that we provide. You may use our Services only as permitted by law, including applicable export and re-export control laws and regulations. We may suspend or stop providing our Services to you if you do not comply with our terms or policies or if we are investigating suspected misconduct. + +Using our Services does not give you ownership of any intellectual property rights in our Services or the content you access. You may not use content from our Services unless you obtain permission from its owner or are otherwise permitted by law. These terms do not grant you the right to use any branding or logos used in our Services. Don’t remove, obscure, or alter any legal notices displayed in or along with our Services. + +Our Services display some content that is not Google’s. This content is the sole responsibility of the entity that makes it available. We may review content to determine whether it is illegal or violates our policies, and we may remove or refuse to display content that we reasonably believe violates our policies or the law. But that does not necessarily mean that we review content, so please don’t assume that we do. + +In connection with your use of the Services, we may send you service announcements, administrative messages, and other information. You may opt out of some of those communications. + +Some of our Services are available on mobile devices. Do not use such Services in a way that distracts you and prevents you from obeying traffic or safety laws. +Your Google Account + +You may need a Google Account in order to use some of our Services. You may create your own Google Account, or your Google Account may be assigned to you by an administrator, such as your employer or educational institution. If you are using a Google Account assigned to you by an administrator, different or additional terms may apply and your administrator may be able to access or disable your account. + +To protect your Google Account, keep your password confidential. You are responsible for the activity that happens on or through your Google Account. Try not to reuse your Google Account password on third-party applications. If you learn of any unauthorized use of your password or Google Account, follow these instructions. +Privacy and Copyright Protection + +Google’s privacy policies explain how we treat your personal data and protect your privacy when you use our Services. + +We respond to notices of alleged copyright infringement and terminate accounts of repeat infringers according to the process set out in the U.S. Digital Millennium Copyright Act. + +We provide information to help copyright holders manage their intellectual property online. If you think somebody is violating your copyrights and want to notify us, you can find information about submitting notices and Google’s policy about responding to notices in our Help Center. +Your Content in our Services + +Some of our Services allow you to upload, submit, store, send or receive content. You retain ownership of any intellectual property rights that you hold in that content. In short, what belongs to you stays yours. + +When you upload, submit, store, send or receive content to or through our Services, you give Google (and those we work with) a worldwide license to use, host, store, reproduce, modify, create derivative works (such as those resulting from translations, adaptations or other changes we make so that your content works better with our Services), communicate, publish, publicly perform, publicly display and distribute such content. The rights you grant in this license are for the limited purpose of operating, promoting, and improving our Services, and to develop new ones. This license continues even if you stop using our Services (for example, for a business listing you have added to Google Maps). Some Services may offer you ways to access and remove content that has been provided to that Service. Also, in some of our Services, there are terms or settings that narrow the scope of our use of the content submitted in those Services. Make sure you have the necessary rights to grant us this license for any content that you submit to our Services. + +Our automated systems analyze your content (including emails) to provide you personally relevant product features, such as customized search results, tailored advertising, and spam and malware detection. This analysis occurs as the content is sent, received, and when it is stored. + +If you have a Google Account, we may display your Profile name, Profile photo, and actions you take on Google or on third-party applications connected to your Google Account (such as +1’s, reviews you write and comments you post) in our Services, including displaying in ads and other commercial contexts. We will respect the choices you make to limit sharing or visibility settings in your Google Account. For example, you can choose your settings so your name and photo do not appear in an ad. + +You can find more information about how Google uses and stores content in the privacy policy or additional terms for particular Services. If you submit feedback or suggestions about our Services, we may use your feedback or suggestions without obligation to you. +About Software in our Services + +When a Service requires or includes downloadable software, this software may update automatically on your device once a new version or feature is available. Some Services may let you adjust your automatic update settings. + +Google gives you a personal, worldwide, royalty-free, non-assignable and non-exclusive license to use the software provided to you by Google as part of the Services. This license is for the sole purpose of enabling you to use and enjoy the benefit of the Services as provided by Google, in the manner permitted by these terms. You may not copy, modify, distribute, sell, or lease any part of our Services or included software, nor may you reverse engineer or attempt to extract the source code of that software, unless laws prohibit those restrictions or you have our written permission. + +Open source software is important to us. Some software used in our Services may be offered under an open source license that we will make available to you. There may be provisions in the open source license that expressly override some of these terms. +Modifying and Terminating our Services + +We are constantly changing and improving our Services. We may add or remove functionalities or features, and we may suspend or stop a Service altogether. + +You can stop using our Services at any time, although we’ll be sorry to see you go. Google may also stop providing Services to you, or add or create new limits to our Services at any time. + +We believe that you own your data and preserving your access to such data is important. If we discontinue a Service, where reasonably possible, we will give you reasonable advance notice and a chance to get information out of that Service. +Our Warranties and Disclaimers + +We provide our Services using a commercially reasonable level of skill and care and we hope that you will enjoy using them. But there are certain things that we don’t promise about our Services. + +Other than as expressly set out in these terms or additional terms, neither Google nor its suppliers or distributors make any specific promises about the Services. For example, we don’t make any commitments about the content within the Services, the specific functions of the Services, or their reliability, availability, or ability to meet your needs. We provide the Services “as is”. + +Some jurisdictions provide for certain warranties, like the implied warranty of merchantability, fitness for a particular purpose and non-infringement. To the extent permitted by law, we exclude all warranties. +Liability for our Services + +When permitted by law, Google, and Google’s suppliers and distributors, will not be responsible for lost profits, revenues, or data, financial losses or indirect, special, consequential, exemplary, or punitive damages. + +To the extent permitted by law, the total liability of Google, and its suppliers and distributors, for any claims under these terms, including for any implied warranties, is limited to the amount you paid us to use the Services (or, if we choose, to supplying you the Services again). + +In all cases, Google, and its suppliers and distributors, will not be liable for any loss or damage that is not reasonably foreseeable. + +We recognize that in some countries, you might have legal rights as a consumer. If you are using the Services for a personal purpose, then nothing in these terms or any additional terms limits any consumer legal rights which may not be waived by contract. +Business uses of our Services + +If you are using our Services on behalf of a business, that business accepts these terms. It will hold harmless and indemnify Google and its affiliates, officers, agents, and employees from any claim, suit or action arising from or related to the use of the Services or violation of these terms, including any liability or expense arising from claims, losses, damages, suits, judgments, litigation costs and attorneys’ fees. +About these Terms + +We may modify these terms or any additional terms that apply to a Service to, for example, reflect changes to the law or changes to our Services. You should look at the terms regularly. We’ll post notice of modifications to these terms on this page. We’ll post notice of modified additional terms in the applicable Service. Changes will not apply retroactively and will become effective no sooner than fourteen days after they are posted. However, changes addressing new functions for a Service or changes made for legal reasons will be effective immediately. If you do not agree to the modified terms for a Service, you should discontinue your use of that Service. + +If there is a conflict between these terms and the additional terms, the additional terms will control for that conflict. + +These terms control the relationship between Google and you. They do not create any third party beneficiary rights. + +If you do not comply with these terms, and we don’t take action right away, this doesn’t mean that we are giving up any rights that we may have (such as taking action in the future). + +If it turns out that a particular term is not enforceable, this will not affect any other terms. +Governing Law and Courts + +If you are a consumer living in the European Economic Area or Switzerland: the laws and courts of your country of residence will apply to any dispute arising out of or relating to these terms. Disputes may be submitted for online resolution to the European Commission Online Dispute Resolution platform, but Google does not commit to and is not required to settle disputes before any alternative dispute resolution entity. + +If you are a business user in the European Economic Area or Switzerland: these terms are governed by English law and you and Google submit to the exclusive jurisdiction of the English courts in relation to any dispute arising out of or relating to these terms, but Google will still be allowed to apply for injunctive remedies (or other equivalent types of urgent legal remedy) in any jurisdiction. + +For information about how to contact Google, please visit our contact page. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-tos-2019.yml b/src/licensedcode/data/licenses/google-tos-2019.yml new file mode 100644 index 00000000000..ffc879bd735 --- /dev/null +++ b/src/licensedcode/data/licenses/google-tos-2019.yml @@ -0,0 +1,7 @@ +key: google-tos-2019 +short_name: Google TOS 2019 +name: Google Terms of Service 2019 +category: Proprietary Free +owner: Google +homepage_url: https://policies.google.com/terms/archive?hl=en +spdx_license_key: LicenseRef-scancode-google-tos-2019 diff --git a/src/licensedcode/data/licenses/google-tos-2020.LICENSE b/src/licensedcode/data/licenses/google-tos-2020.LICENSE new file mode 100644 index 00000000000..8d43b15bad8 --- /dev/null +++ b/src/licensedcode/data/licenses/google-tos-2020.LICENSE @@ -0,0 +1,260 @@ +Effective March 31, 2020 | Archived versions | Download PDF + +What’s covered in these terms +We know it’s tempting to skip these Terms of Service, but it’s important to establish what you can expect from us as you use Google services, and what we expect from you. + +These Terms of Service reflect the way Google’s business works, the laws that apply to our company, and certain things we’ve always believed to be true. As a result, these Terms of Service help define Google’s relationship with you as you interact with our services. For example, these terms include the following topic headings: + + What you can expect from us, which describes how we provide and develop our services + What we expect from you, which establishes certain rules for using our services + Content in Google services, which describes the intellectual property rights to the content you find in our services — whether that content belongs to you, Google, or others + In case of problems or disagreements, which describes other legal rights you have, and what to expect in case someone violates these terms + +Understanding these terms is important because, to use our services, you must accept these terms. + +Besides these terms, we also publish a Privacy Policy. Although it’s not part of these terms, we encourage you to read it to better understand how you can update, manage, export, and delete your information. +Service provider + +In the European Economic Area (EEA) and Switzerland, Google services are provided by, and you’re contracting with: + +Google Ireland Limited +incorporated and operating under the laws of Ireland (Registered Number: 368047) + +Gordon House, Barrow Street +Dublin 4 +Ireland +Age requirements + +If you’re under the age required to manage your own Google Account, you must have your parent or legal guardian’s permission to use a Google Account. Please have your parent or legal guardian read these terms with you. + +If you’re a parent or legal guardian, and you allow your child to use the services, then these terms apply to you and you’re responsible for your child’s activity on the services. + +Some Google services have additional age requirements as described in their service-specific additional terms and policies. +Contents +Introduction +Your relationship with Google +Using Google services +Content in Google services +Software in Google services +In case of problems or disagreements +About these terms +Your relationship with Google + +These terms help define the relationship between you and Google. Broadly speaking, we give you permission to use our services if you agree to follow these terms, which reflect how Google’s business works and how we earn money. When we speak of “Google,” “we,” “us,” and “our,” we mean Google Ireland Limited and its affiliates. +What you can expect from us +Provide a broad range of useful services +We provide a broad range of services that are subject to these terms, including: + + apps and sites (like Search and Maps) + platforms (like Google Play) + integrated services (like Maps embedded in other companies’ apps or sites) + devices (like Google Home) + +Our services are designed to work together, making it easier for you to move from one activity to the next. For example, Maps can remind you to leave for an appointment that appears in your Google Calendar. +Improve Google services + +We’re constantly developing new technologies and features to improve our services. For example, we invest in artificial intelligence that uses machine learning to detect and block spam and malware, and to provide you with innovative features, like simultaneous translations. As part of this continual improvement, we sometimes add or remove features and functionalities, increase or decrease limits to our services, and start offering new services or stop offering old ones. + +We maintain a rigorous product research program, so before we change or stop offering a service, we carefully consider your interests as a user, your reasonable expectations, and the potential impact on you and others. We only change or stop offering services for valid reasons, such as to improve performance or security, to comply with law, to prevent illegal activities or abuse, to reflect technical developments, or because a feature or an entire service is no longer popular enough or economical to offer. + +If we make material changes that negatively impact your use of our services or if we stop offering a service, we’ll provide you with reasonable advance notice and an opportunity to export your content from your Google Account using Google Takeout, except in urgent situations such as preventing abuse, responding to legal requirements, or addressing security and operability issues. +What we expect from you +Follow these terms and service-specific additional terms +The permission we give you to use our services continues as long as you meet your responsibilities in: + + these terms + service-specific additional terms, which could, for example, include things like additional age requirements + +We also make various policies, help centers, and other resources available to you to answer common questions and to set expectations about using our services. These resources include our Privacy Policy, Copyright Help Center, Safety Center, and other pages accessible from our policies site. + +Although we give you permission to use our services, we retain any intellectual property rights we have in the services. +Respect others +Many of our services allow you to interact with others. We want to maintain a respectful environment for everyone, which means you must follow these basic rules of conduct: + + comply with applicable laws, including export control, sanctions, and human trafficking laws + respect the rights of others, including privacy and intellectual property rights + don’t abuse or harm others or yourself (or threaten or encourage such abuse or harm) — for example, by misleading, defrauding, defaming, bullying, harassing, or stalking others + don’t abuse, harm, interfere with, or disrupt the services + +Our service-specific additional terms and policies provide additional details about appropriate conduct that everyone using those services must follow. If you find that others aren’t following these rules, many of our services allow you to report abuse. If we act on a report of abuse, we also provide a fair process as described in the Taking action in case of problems section. +Permission to use your content + +Some of our services are designed to let you upload, submit, store, send, receive, or share your content. You have no obligation to provide any content to our services and you’re free to choose the content that you want to provide. If you choose to upload or share content, please make sure you have the necessary rights to do so and that the content is lawful. +License + +Your content remains yours, which means that you retain any intellectual property rights that you have in your content. For example, you have intellectual property rights in the creative content you make, such as reviews you write. Or you may have the right to share someone else’s creative content if they’ve given you their permission. + +We need your permission if your intellectual property rights restrict our use of your content. You provide Google with that permission through this license. +What’s covered + +This license covers your content if that content is protected by intellectual property rights. +What’s not covered + + This license doesn’t affect your data protection rights — it’s only about your intellectual property rights + This license doesn’t cover these types of content: + publicly-available factual information that you provide, such as corrections to the address of a local business. That information doesn’t require a license because it’s considered common knowledge that everyone’s free to use. + feedback that you offer, such as suggestions to improve our services. Feedback is covered in the Service-related communications section below. + +Scope +This license is: + + worldwide, which means it’s valid anywhere in the world + non-exclusive, which means you can license your content to others + royalty-free, which means there are no fees for this license + +Rights + +This license allows Google to: + + host, reproduce, distribute, communicate, and use your content — for example, to save your content on our systems and make it accessible from anywhere you go + publish, publicly perform, or publicly display your content, if you’ve made it visible to others + modify your content, such as reformatting or translating it + sublicense these rights to: + other users to allow the services to work as designed, such as enabling you to share photos with people you choose + our contractors who’ve signed agreements with us that are consistent with these terms, only for the limited purposes described in the Purpose section below + +Purpose + +This license is for the limited purpose of: + + operating and improving the services, which means allowing the services to work as designed and creating new features and functionalities. This includes using automated systems and algorithms to analyze your content: + for spam, malware, and illegal content + to recognize patterns in data, such as determining when to suggest a new album in Google Photos to keep related photos together + to customize our services for you, such as providing recommendations and personalized search results, content, and ads (which you can change or turn off in Ads Settings) + This analysis occurs as the content is sent, received, and when it is stored. + using content you’ve shared publicly to promote the services. For example, to promote a Google app, we might quote a review you wrote. Or to promote Google Play, we might show a screenshot of the app you offer in the Play Store. + developing new technologies and services for Google consistent with these terms + +Duration + +This license lasts for as long as your content is protected by intellectual property rights. + +If you remove from our services any content that’s covered by this license, then our systems will stop making that content publicly available in a reasonable amount of time. There are two exceptions: + + If you already shared your content with others before removing it. For example, if you shared a photo with a friend who then made a copy of it, or shared it again, then that photo may continue to appear in your friend’s Google Account even after you remove it from your Google Account. + If you make your content available through other companies’ services, it’s possible that search engines, including Google Search, will continue to find and display your content as part of their search results. + +Using Google services +Your Google Account + +If you meet these age requirements you can create a Google Account for your convenience. Some services require that you have a Google Account in order to work — for example, to use Gmail, you need a Google Account so that you have a place to send and receive your email. + +You’re responsible for what you do with your Google Account, including taking reasonable steps to keep your Google Account secure, and we encourage you to regularly use the Security Checkup. +Using Google services on behalf of an organization or business +Many organizations, such as businesses, non-profits, and schools, take advantage of our services. To use our services on behalf of an organization: + + an authorized representative of that organization must agree to these terms + your organization’s administrator may assign a Google Account to you. That administrator might require you to follow additional rules and may be able to access or disable your Google Account. + +If you’re based in the European Union, then these terms don’t affect the rights you may have as a business user of online intermediation services — including online platforms such as Google Play — under the EU Platform-to-Business Regulation. +Service-related communications + +To provide you with our services, we sometimes send you service announcements and other information. To learn more about how we communicate with you, see Google’s Privacy Policy. + +If you choose to give us feedback, such as suggestions to improve our services, we may act on your feedback without obligation to you. +Content in Google services +Your content + +Some of our services give you the opportunity to make your content publicly available — for example, you might post a product or restaurant review that you wrote, or you might upload a blog post that you created. + + See the Permission to use your content section for more about your rights in your content, and how your content is used in our services + See the Removing your content section to learn why and how we might remove user-generated content from our services + +If you think someone is infringing your intellectual property rights, you can send us notice of the infringement and we’ll take appropriate action. For example, we suspend or close the Google Accounts of repeat copyright infringers as described in our Copyright Help Center. +Google content + +Some of our services include content that belongs to Google — for example, many of the visual illustrations you see in Google Maps. You may use Google’s content as allowed by these terms and any service-specific additional terms, but we retain any intellectual property rights that we have in our content. Don’t remove, obscure, or alter any of our branding, logos, or legal notices. If you want to use our branding or logos, please see the Google Brand Permissions page. +Other content + +Finally, some of our services give you access to content that belongs to other people or organizations — for example, a store owner’s description of their own business, or a newspaper article displayed in Google News. You may not use this content without that person or organization’s permission, or as otherwise allowed by law. The views expressed in other people or organizations’ content are theirs, and don’t necessarily reflect Google’s views. +Software in Google services + +Some of our services include downloadable software. We give you permission to use that software as part of the services. +The license we give you is: + + worldwide, which means it’s valid anywhere in the world + non-exclusive, which means that we can license the software to others + royalty-free, which means there are no fees for this license + personal, which means it doesn’t extend to anyone else + non-assignable, which means you’re not allowed to assign the license to anyone else + +Some of our services include software that’s offered under open source license terms that we make available to you. Sometimes there are provisions in the open source license that explicitly override parts of these terms, so please be sure to read those licenses. + +You may not copy, modify, distribute, sell, or lease any part of our services or software. Also, you may not reverse engineer or attempt to extract any of our source code unless you have our written permission or applicable law lets you do so. + +When a service requires or includes downloadable software, that software sometimes updates automatically on your device once a new version or feature is available. Some services let you adjust your automatic update settings. +In case of problems or disagreements + +By law, you have the right to (1) a certain quality of service, and (2) ways to fix problems if things go wrong. These terms don’t limit or take away any of those rights. For example, if you’re a consumer, then you continue to enjoy all legal rights granted to consumers under applicable law. +Warranty + +We provide our services using reasonable skill and care. If we don’t meet the quality level described in this warranty, you agree to tell us and we’ll work with you to try to resolve the issue. +Disclaimers + +The only commitments we make about our services (including the content in the services, the specific functions of our services, or their reliability, availability, or ability to meet your needs) are (1) described in the Warranty section, (2) stated in the service-specific additional terms, or (3) provided under applicable laws. We don’t make any other commitments about our services. +Liabilities +For all users + +These terms only limit our responsibilities as allowed by applicable law. Specifically, these terms don’t limit Google’s liability for death or personal injury, fraud, fraudulent misrepresentation, gross negligence, or willful misconduct. + +Other than the rights and responsibilities described in this section (In case of problems or disagreements), Google won’t be responsible for any other losses, unless they’re caused by our breach of these terms or service-specific additional terms. +For business users and organizations only + +If you’re a business user or organization, then to the extent allowed by applicable law: + + You’ll indemnify Google and its directors, officers, employees, and contractors for any third-party legal proceedings (including actions by government authorities) arising out of or relating to your unlawful use of the services or violation of these terms or service-specific additional terms. This indemnity covers any liability or expense arising from claims, losses, damages, judgments, fines, litigation costs, and legal fees. + Google won’t be responsible for the following liabilities: + loss of profits, revenues, business opportunities, goodwill, or anticipated savings + indirect or consequential loss + punitive damages + Google’s total liability arising out of or relating to these terms is limited to the greater of (1) €500 or (2) 125% of the fees that you paid to use the relevant services in the 12 months before the breach + +If you’re legally exempt from certain responsibilities, including indemnification, then those responsibilities don’t apply to you under these terms. For example, the United Nations enjoys certain immunities from legal obligations and these terms don’t override those immunities. +Taking action in case of problems + +Before taking action as described below, we’ll provide you with advance notice when reasonably possible, describe the reason for our action, and give you an opportunity to fix the problem, unless we reasonably believe that doing so would: + + cause harm or liability to a user, third party, or Google + violate the law or a legal enforcement authority’s order + compromise an investigation + compromise the operation, integrity, or security of our services + +Removing your content + +If we reasonably believe that any of your content (1) breaches these terms, service-specific additional terms or policies, (2) violates applicable law, or (3) could harm our users, third parties, or Google, then we reserve the right to take down some or all of that content in accordance with applicable law. Examples include child pornography, content that facilitates human trafficking or harassment, and content that infringes someone else’s intellectual property rights. +Suspending or terminating your access to Google services + +Google reserves the right to suspend or terminate your access to the services or delete your Google Account if any of these things happen: + + you materially or repeatedly breach these terms, service-specific additional terms or policies + we’re required to do so to comply with a legal requirement or a court order + we reasonably believe that your conduct causes harm or liability to a user, third party, or Google — for example, by hacking, phishing, harassing, spamming, misleading others, or scraping content that doesn’t belong to you + +If you believe your Google Account has been suspended or terminated in error, you can appeal. + +Of course, you’re always free to stop using our services at any time. If you do stop using a service, we’d appreciate knowing why so that we can continue improving our services. +Handling requests for your data + +Respect for the privacy and security of your data underpins our approach to responding to data disclosure requests. When we receive data disclosure requests, our team reviews them to make sure they satisfy legal requirements and Google’s data disclosure policies. Google Ireland Limited accesses and discloses data, including communications, in accordance with the laws of Ireland, and EU law applicable in Ireland. For more information about the data disclosure requests that Google receives worldwide, and how we respond to such requests, see our Transparency Report and Privacy Policy. +Settling disputes, governing law, and courts + +For information about how to contact Google, please visit our contact page. + +If you’re a resident of, or an organization based in, the European Economic Area (EEA) or Switzerland, these terms and your relationship with Google under these terms and service-specific additional terms, are governed by the laws of your country of residence, and you can file legal disputes in your local courts. + +If you’re a consumer living in the EEA, you may also file disputes regarding online purchases using the European Commission’s Online Dispute Resolution platform, which we accept if required by law. +About these terms + +By law, you have certain rights that can’t be limited by a contract like these terms of service. These terms are in no way intended to restrict those rights. + +These terms describe the relationship between you and Google. They don’t create any legal rights for other people or organizations, even if others benefit from that relationship under these terms. + +We want to make these terms easy to understand, so we’ve used examples from our services. But not all services mentioned may be available in your country. + +If it turns out that a particular term is not valid or enforceable, this will not affect any other terms. + +If you don’t follow these terms or the service-specific additional terms, and we don’t take action right away, that doesn’t mean we’re giving up any rights that we may have, such as taking action in the future. + +We may update these terms and service-specific additional terms (1) to reflect changes in our services or how we do business — for example, when we add new services, features, technologies, pricing, or benefits (or remove old ones), (2) for legal, regulatory, or security reasons, or (3) to prevent abuse or harm. + +If we materially change these terms or service-specific additional terms, we’ll provide you with reasonable advance notice and the opportunity to review the changes, except (1) when we launch a new service or feature, or (2) in urgent situations, such as preventing ongoing abuse or responding to legal requirements. If you don’t agree to the new terms, you should remove your content and stop using the services. You can also end your relationship with us at any time by closing your Google Account. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-tos-2020.yml b/src/licensedcode/data/licenses/google-tos-2020.yml new file mode 100644 index 00000000000..805025933d7 --- /dev/null +++ b/src/licensedcode/data/licenses/google-tos-2020.yml @@ -0,0 +1,7 @@ +key: google-tos-2020 +short_name: Google TOS 2020 +name: Google Terms of Service 2020 +category: Proprietary Free +owner: Google +homepage_url: https://policies.google.com/terms/archive?hl=en +spdx_license_key: LicenseRef-scancode-google-tos-2020 From 936b4eb7c923843bfc31ae478b712687c2f3176b Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Thu, 29 Jul 2021 23:39:30 +0200 Subject: [PATCH 06/21] Improve ignorable regeneration Signed-off-by: Philippe Ombredanne --- etc/scripts/licenses/synclic.py | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/etc/scripts/licenses/synclic.py b/etc/scripts/licenses/synclic.py index 17a0a7ffba0..5ace50fb788 100644 --- a/etc/scripts/licenses/synclic.py +++ b/etc/scripts/licenses/synclic.py @@ -26,6 +26,7 @@ from commoncode import fileutils import licensedcode +from licensedcode import models from licensedcode.models import load_licenses from licensedcode.models import License @@ -76,6 +77,7 @@ def _clean(licenses): lic.notes = clean_text(lic.notes) if updated: + models.update_ignorables(lic, verbose=False) lic.dump() for lics in [self.by_key, self.non_english_by_key]: @@ -174,6 +176,7 @@ def get_licenses(self, scancode_licenses=None, **kwargs): try: with io.open(lic.text_file, 'w', encoding='utf-8')as tf: tf.write(text) + models.update_ignorables(lic, verbose=False) lic.dump() licenses.append(lic) except: @@ -546,7 +549,7 @@ def build_license(self, mapping, scancode_licenses): # instead each part of the combo dejacode_special_composites = set([ 'intel-bsd-special', - #'newlib-subdirectory', + # 'newlib-subdirectory', ]) is_component_license = mapping.get('is_component_license') or False @@ -816,8 +819,8 @@ def license_to_dict(lico): def merge_licenses( - scancode_license, - external_license, + scancode_license, + external_license, updatable_attributes, from_spdx=False, ): @@ -948,7 +951,7 @@ def update_external(_attrib, _sc_val, _ext_val): # on difference, the other license wins if scancode_value != external_value: # unless we have SPDX ids - if attrib== 'spdx_license_key' and external_value.startswith('LicenseRef-scancode'): + if attrib == 'spdx_license_key' and external_value.startswith('LicenseRef-scancode'): update_external(attrib, scancode_value, external_value) else: update_scancode(attrib, scancode_value, external_value) @@ -1138,10 +1141,14 @@ def synchronize_licenses(scancode_licenses, external_source, use_spdx_key=False, # finally write changes in place for updates and news for k in updated_in_scancode | added_to_scancode: - scancodes_by_key[k].dump() + lic = scancodes_by_key[k] + models.update_ignorables(lic, verbose=False) + lic.dump() for k in updated_in_external | added_to_external: - externals_by_key[k].dump() + lic = externals_by_key[k] + # models.update_ignorables(lic, verbose=False) + lic.dump() # TODO: at last: print report of incorrect OTHER licenses to submit # updates eg. make API calls to DejaCode to create or update From ad1b24c5ab3b9722b29ae85aac8e2f672d9e820d Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Fri, 30 Jul 2021 10:17:11 +0200 Subject: [PATCH 07/21] Requalify rule as gpl-2.0-plus XVId is under the gpl-2.0-plus, not the gpl-2.0. Signed-off-by: Philippe Ombredanne --- .../data/rules/{gpl-2.0_1009.RULE => gpl-2.0-plus_xvid_1.RULE} | 0 .../data/rules/{gpl-2.0_1009.yml => gpl-2.0-plus_xvid_1.yml} | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename src/licensedcode/data/rules/{gpl-2.0_1009.RULE => gpl-2.0-plus_xvid_1.RULE} (100%) rename src/licensedcode/data/rules/{gpl-2.0_1009.yml => gpl-2.0-plus_xvid_1.yml} (64%) diff --git a/src/licensedcode/data/rules/gpl-2.0_1009.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_xvid_1.RULE similarity index 100% rename from src/licensedcode/data/rules/gpl-2.0_1009.RULE rename to src/licensedcode/data/rules/gpl-2.0-plus_xvid_1.RULE diff --git a/src/licensedcode/data/rules/gpl-2.0_1009.yml b/src/licensedcode/data/rules/gpl-2.0-plus_xvid_1.yml similarity index 64% rename from src/licensedcode/data/rules/gpl-2.0_1009.yml rename to src/licensedcode/data/rules/gpl-2.0-plus_xvid_1.yml index cebd01887fc..3cdfdd31b89 100644 --- a/src/licensedcode/data/rules/gpl-2.0_1009.yml +++ b/src/licensedcode/data/rules/gpl-2.0-plus_xvid_1.yml @@ -1,4 +1,4 @@ -license_expression: gpl-2.0 +license_expression: gpl-2.0-plus is_license_notice: yes relevance: 100 notes: Seen in FFmpeg From 85787dd1e5850823ea85c33e0c55d1556e5b3494 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Fri, 30 Jul 2021 17:41:06 +0200 Subject: [PATCH 08/21] Improve copyright detection These are corner cases found in handling "ignorables" clues for the latest licenses and license rules. Signed-off-by: Philippe Ombredanne --- src/cluecode/copyrights.py | 85 ++++++++++++------- .../data/copyrights/ampasbsd-AMPASBSD.yml | 6 +- tests/cluecode/data/copyrights/sarl.txt | 5 ++ tests/cluecode/data/copyrights/sarl.txt.yml | 10 +++ tests/cluecode/data/copyrights/w3c.txt | 1 + tests/cluecode/data/copyrights/w3c.txt.yml | 8 ++ tests/cluecode/data/copyrights/w3c2.txt | 1 + tests/cluecode/data/copyrights/w3c2.txt.yml | 8 ++ 8 files changed, 88 insertions(+), 36 deletions(-) create mode 100644 tests/cluecode/data/copyrights/sarl.txt create mode 100644 tests/cluecode/data/copyrights/sarl.txt.yml create mode 100644 tests/cluecode/data/copyrights/w3c.txt create mode 100644 tests/cluecode/data/copyrights/w3c.txt.yml create mode 100644 tests/cluecode/data/copyrights/w3c2.txt create mode 100644 tests/cluecode/data/copyrights/w3c2.txt.yml diff --git a/src/cluecode/copyrights.py b/src/cluecode/copyrights.py index c1347b2059a..443f45f8367 100644 --- a/src/cluecode/copyrights.py +++ b/src/cluecode/copyrights.py @@ -1165,6 +1165,9 @@ def from_node( (r'^Create$', 'NN'), (r'^Engine\.$', 'NN'), (r'^While$', 'NN'), + (r'^Review', 'NN'), + (r'^Help', 'NN'), + (r'^Web', 'NN'), # alone this is not enough for an NNP (r'^Free$', 'NN'), @@ -1302,34 +1305,34 @@ def from_node( (r'^LIMITED[,\.]??$', 'COMP'), # Caps company suffixes - (r'^INC\.?,?\)?$', 'COMP'), - (r'^INCORPORATED\.?,?\)?$', 'COMP'), - (r'^CORP\.?,?\)?$', 'COMP'), - (r'^CORPORATION\.?,?\)?$', 'COMP'), - (r'^FOUNDATION\.?,?$', 'COMP'), - (r'^GROUP\.?,?$', 'COMP'), - (r'^COMPANY\.?,?$', 'COMP'), - (r'^\(tm\).?$', 'COMP'), - (r'^[Ff]orum\.?,?', 'COMP'), + (r'^INC[\.,\)]*$', 'COMP'), + (r'^INCORPORATED[\.,\)]*$', 'COMP'), + (r'^CORP[\.,\)]*$', 'COMP'), + (r'^CORPORATION[\.,\)]*$', 'COMP'), + (r'^FOUNDATION[\.,\)]*$', 'COMP'), + (r'^GROUP[\.,\)]*$', 'COMP'), + (r'^COMPANY[\.,\)]*$', 'COMP'), + (r'^\(tm\)[\.,]?$', 'COMP'), + (r'^[Ff]orum[\.,\)]*', 'COMP'), # company suffix - (r'^[Cc]orp\.?,?\)?$', 'COMP'), - (r'^[Cc]orp(oration|\.,?)?\)?$', 'COMP'), - (r'^[Cc][oO]\.,?$', 'COMP'), - (r'^[Cc]orporations?\.?,?$', 'COMP'), - (r'^[Ff]oundation\.?,?$', 'COMP'), - (r'^[Aa]lliance\.?,?$', 'COMP'), + (r'^[Cc]orp[\.,\)]*$', 'COMP'), + (r'^[Cc]orporation[\.,\)]*$', 'COMP'), + (r'^[Cc][oO][\.,\)]*$', 'COMP'), + (r'^[Cc]orporations?[\.,\)]*$', 'COMP'), + (r'^[Cc]onsortium[\.,\)]*$', 'COMP'), + + (r'^[Ff]oundation[\.,\)]*$', 'COMP'), + (r'^[Aa]lliance[\.,\)]*$', 'COMP'), (r'^Working$', 'COMP'), - (r'^[Gg]roup\.?,?$', 'COMP'), - (r'^[Tt]echnology\.?,?$', 'COMP'), - (r'^[Tt]echnologies\.?,?$', 'COMP'), - (r'^[Cc]ommunity\.?,?$', 'COMP'), - (r'^[Cc]ommunities\.?,?$', 'COMP'), - (r'^[Mm]icrosystems\.?,?$', 'COMP'), - (r'^[Pp]rojects?\.?,?$', 'COMP'), - (r'^[Tt]eams?\.?$', 'COMP'), - (r'^[Tt]ech\.?,?$', 'COMP'), - (r"^Limited'?\.?,?$", 'COMP'), + (r'^[Gg]roup[\.,\)]*$', 'COMP'), + (r'^[Tt]echnolog(y|ies)[\.,\)]*$', 'COMP'), + (r'^[Cc]ommunit(y|ies)[\.,\)]*$', 'COMP'), + (r'^[Mm]icrosystems[\.,\)]*$', 'COMP'), + (r'^[Pp]rojects?[\.,\)]*,?$', 'COMP'), + (r'^[Tt]eams?[\.,\)]*$', 'COMP'), + (r'^[Tt]ech[\.,\)]*$', 'COMP'), + (r"^Limited'?[\.,\)]*$", 'COMP'), # company suffix : LLC, LTD, LLP followed by one extra char (r'^[Ll][Tt][Dd]\.?,?$', 'COMP'), @@ -1341,7 +1344,8 @@ def from_node( # company suffix : SA, SAS, AG, AB, AS, CO, labs followed by a dot (r'^(S\.?A\.?S?|Sas|sas|A\/S|AG,?|AB|Labs?|[Cc][Oo]|Research|Center|INRIA|Societe)\.?$', 'COMP'), - + # French SARL + (r'^(SARL|S\.A\.R\.L\.)[\.,\)]*$', 'COMP'), # company suffix : AS: this is frequent beyond Norway. (r'^AS.$', 'COMP'), (r'^AS', 'CAPS'), @@ -1361,11 +1365,13 @@ def from_node( # (dutch and belgian) company suffix (r'^[Bb]\.?[Vv]\.?|BVBA$', 'COMP'), # university - (r'^\(?[Uu]niv(?:[.]|ersit(?:y|e|at?|ad?))\)?\.?$', 'UNI'), + (r'^\(?[Uu]niv(?:[.]|ersit(?:y|e|at?|ad?))[\.,\)]*$', 'UNI'), (r'^UNIVERSITY$', 'UNI'), (r'^College$', 'UNI'), # Academia/ie (r'^[Ac]cademi[ae]s?$', 'UNI'), + # Academia/ie + (r'^[Ac]cademy[\.,\)]*$', 'UNI'), # institutes (r'INSTITUTE', 'COMP'), @@ -1612,11 +1618,11 @@ def from_node( # URLS such as <(http://fedorahosted.org/lohit)> or () (r'[<\(]https?:.*[>\)]', 'URL'), # URLS such as ibm.com without a scheme - (r'\s?[a-z0-9A-Z\-\.\_]+\.([Cc][Oo][Mm]|[Nn][Ee][Tt]|[Oo][Rr][Gg]|us|mil|io|edu|co\.[a-z][a-z]|eu|ch|fr|de|be|nl|au|biz)\s?\.?$', 'URL2'), + (r'\s?[a-z0-9A-Z\-\.\_]+\.([Cc][Oo][Mm]|[Nn][Ee][Tt]|[Oo][Rr][Gg]|us|mil|io|edu|co\.[a-z][a-z]|eu|ch|fr|de|be|se|nl|au|biz)\s?\.?$', 'URL2'), # TODO: add more extensions: there are so main TLD these days! # URL wrapped in () or <> - (r'[\(<]+\s?[a-z0-9A-Z\-\.\_]+\.(com|net|org|us|mil|io|edu|co\.[a-z][a-z]|eu|ch|fr|jp|de|be|nl|au|biz)\s?[\.\)>]+$', 'URL'), - (r']?$', 'URL'), + (r'[\(<]+\s?[a-z0-9A-Z\-\.\_]+\.(com|net|org|us|mil|io|edu|co\.[a-z][a-z]|eu|ch|fr|jp|de|be|se|nl|au|biz)\s?[\.\)>]+$', 'URL'), + (r']?$', 'URL'), # derived from regex in cluecode.finder (r'\[\]"]+' @@ -1762,7 +1768,7 @@ def from_node( # Commonwealth Scientific and Industrial Research Organisation (CSIRO) COMPANY: { } - COMPANY: { ?} #200 + COMPANY: { *} #200 # Android Open Source Project, 3Dfx Interactive, Inc. COMPANY: {? } #205 @@ -1773,8 +1779,14 @@ def from_node( # NNP NN NNP NNP COMP COMP') COMPANY: { +} #207 - # was COMPANY { ? ? ? ? ? ?} #210 - COMPANY: {+ +} #210 + # Massachusetts Institute of Technology + COMPANY: { +} #208 + + COMPANY: {+ +} #210 + + # University of Southern California, Information Sciences Institute (ISI) + COMPANY: { ?} #211 + COMPANY: { + ?} #220 COMPANY: {+ } #230 COMPANY: { } #240 @@ -1783,6 +1795,9 @@ def from_node( # University of Southern California, Information Sciences Institute (ISI) COMPANY: { } #251 + # University of Technology + COMPANY: { } #252 + # GNOME i18n Project for Vietnamese COMPANY: { } #253 @@ -1937,6 +1952,9 @@ def from_node( COMPANY: { } #840 + # the Software and Component Technologies group of Trimble Navigation, Ltd. + COMPANY: { } #840.1 + # University Corporation for Advanced Internet Development, Inc. COMPANY: { } #845 @@ -2783,6 +2801,7 @@ def refine_names(s, prefixes): 'copyright 2003 m. y.', 'copyright 2001 m. y. name', 'copyright 2001 m. y.', + 'copyright help center', ]) ################################################################################ diff --git a/tests/cluecode/data/copyrights/ampasbsd-AMPASBSD.yml b/tests/cluecode/data/copyrights/ampasbsd-AMPASBSD.yml index ab757f548b3..f4ad9a8b09f 100644 --- a/tests/cluecode/data/copyrights/ampasbsd-AMPASBSD.yml +++ b/tests/cluecode/data/copyrights/ampasbsd-AMPASBSD.yml @@ -3,9 +3,9 @@ what: - holders - holders_summary copyrights: - - Copyright (c) 2006 Academy of Motion Picture Arts and Sciences 'A.M.P.A.S. + - Copyright (c) 2006 Academy of Motion Picture Arts and Sciences holders: - - Academy of Motion Picture Arts and Sciences 'A.M.P.A.S. + - Academy of Motion Picture Arts and Sciences holders_summary: - - value: Academy of Motion Picture Arts and Sciences 'A.M.P.A.S. + - value: Academy of Motion Picture Arts and Sciences count: 1 diff --git a/tests/cluecode/data/copyrights/sarl.txt b/tests/cluecode/data/copyrights/sarl.txt new file mode 100644 index 00000000000..6a0cff90135 --- /dev/null +++ b/tests/cluecode/data/copyrights/sarl.txt @@ -0,0 +1,5 @@ +Copyright (C) 2010-2020 Oryx Embedded SARL. + + + +@copyright Copyright (c) 2010-2013 S.A.R.L Ether Création (http://www.ethercreation.com) diff --git a/tests/cluecode/data/copyrights/sarl.txt.yml b/tests/cluecode/data/copyrights/sarl.txt.yml new file mode 100644 index 00000000000..3bc014e63b9 --- /dev/null +++ b/tests/cluecode/data/copyrights/sarl.txt.yml @@ -0,0 +1,10 @@ +what: + - copyrights + - holders +copyrights: + - Copyright (c) 2010-2020 Oryx Embedded SARL. + - Copyright (c) 2010-2013 S.A.R.L Ether Creation (http://www.ethercreation.com) +holders: + - Oryx Embedded SARL. + - S.A.R.L Ether Creation + \ No newline at end of file diff --git a/tests/cluecode/data/copyrights/w3c.txt b/tests/cluecode/data/copyrights/w3c.txt new file mode 100644 index 00000000000..1aa174b1eb9 --- /dev/null +++ b/tests/cluecode/data/copyrights/w3c.txt @@ -0,0 +1 @@ +Copyright (c) World Wide Web Consortium \ No newline at end of file diff --git a/tests/cluecode/data/copyrights/w3c.txt.yml b/tests/cluecode/data/copyrights/w3c.txt.yml new file mode 100644 index 00000000000..1729ca43716 --- /dev/null +++ b/tests/cluecode/data/copyrights/w3c.txt.yml @@ -0,0 +1,8 @@ +what: + - copyrights + - holders +copyrights: + - Copyright (c) World Wide Web Consortium +holders: + - World Wide Web Consortium + \ No newline at end of file diff --git a/tests/cluecode/data/copyrights/w3c2.txt b/tests/cluecode/data/copyrights/w3c2.txt new file mode 100644 index 00000000000..bb68a99e100 --- /dev/null +++ b/tests/cluecode/data/copyrights/w3c2.txt @@ -0,0 +1 @@ +Copyright (c) World Wide Web \ No newline at end of file diff --git a/tests/cluecode/data/copyrights/w3c2.txt.yml b/tests/cluecode/data/copyrights/w3c2.txt.yml new file mode 100644 index 00000000000..ebd535aa230 --- /dev/null +++ b/tests/cluecode/data/copyrights/w3c2.txt.yml @@ -0,0 +1,8 @@ +what: + - copyrights + - holders +copyrights: + - Copyright (c) World Wide +holders: + - World Wide + From 323e8709e30384a2faf37c8e32aeb6c56ee9a877 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Fri, 30 Jul 2021 17:42:38 +0200 Subject: [PATCH 09/21] Fix typo in comment Signed-off-by: Philippe Ombredanne --- src/licensedcode/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/licensedcode/query.py b/src/licensedcode/query.py index 418ce6fd8bc..d4bb4004ade 100644 --- a/src/licensedcode/query.py +++ b/src/licensedcode/query.py @@ -198,7 +198,7 @@ def __init__( # True if the query is binary self.is_binary = False - # kown token ids array + # known token ids array self.tokens = [] # index of known position -> line number where the pos is the list index From ac3086e6ce8b893dee143f0940a9996ea75c491c Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Fri, 30 Jul 2021 17:44:35 +0200 Subject: [PATCH 10/21] Do not filter_if_only_known_words_rule for small "filter_if_only_known_words_rule()" is no longer apply for small license detection rules. This was discarding too many matches. Instead the correct approach is to create false positive detection rules for the few cases that we encounter. Signed-off-by: Philippe Ombredanne --- src/licensedcode/match.py | 115 +++++++++++++++++++++++++++----------- 1 file changed, 81 insertions(+), 34 deletions(-) diff --git a/src/licensedcode/match.py b/src/licensedcode/match.py index db6e8cb346d..ed7a4820278 100644 --- a/src/licensedcode/match.py +++ b/src/licensedcode/match.py @@ -33,6 +33,7 @@ TRACE_FILTER_SPURIOUS = False TRACE_FILTER_RULE_MIN_COVERAGE = False TRACE_FILTER_LOW_SCORE = False +TRACE_FILTER_UNKNOWN_WORDS = False TRACE_SET_LINES = False TRACE_MATCHED_TEXT = False @@ -58,13 +59,15 @@ def logger_debug(*args): pass or TRACE_FILTER_SHORT or TRACE_FILTER_RULE_MIN_COVERAGE or TRACE_FILTER_LOW_SCORE + or TRACE_FILTER_UNKNOWN_WORDS or TRACE_SET_LINES or TRACE_MATCHED_TEXT - or TRACE_MATCHED_TEXT_DETAILS): + or TRACE_MATCHED_TEXT_DETAILS +): use_print = True if use_print: - printer = print + prn = print else: import logging import sys @@ -72,21 +75,20 @@ def logger_debug(*args): pass # logging.basicConfig(level=logging.DEBUG, stream=sys.stdout) logging.basicConfig(stream=sys.stdout) logger.setLevel(logging.DEBUG) - printer = logger.debug + prn = logger.debug def logger_debug(*args): - return printer(' '.join(isinstance(a, str) and a or repr(a) - for a in args)) + return prn(' '.join(isinstance(a, str) and a or repr(a) for a in args)) - def _debug_print_matched_query_text(match, query, extras=5): + def _debug_print_matched_query_text(match, extras=5): """ Print a matched query text including `extras` tokens before and after the match. Used for debugging license matches. """ - # create a fake new match with extra tokens before and after + # Create a fake new match with extra tokens before and after new_match = match.combine(match) new_qstart = max([0, match.qstart - extras]) - new_qend = min([match.qend + extras, len(query.tokens)]) + new_qend = min([match.qend + extras, len(match.query.tokens)]) new_qspan = Span(new_qstart, new_qend) new_match.qspan = new_qspan @@ -117,8 +119,18 @@ class LicenseMatch(object): 'matcher', 'start_line', 'end_line', 'query', ) - def __init__(self, rule, qspan, ispan, hispan=None, query_run_start=0, - matcher='', start_line=0, end_line=0, query=None): + def __init__( + self, + rule, + qspan, + ispan, + hispan=None, + query_run_start=0, + matcher='', + start_line=0, + end_line=0, + query=None, + ): """ Create a new match from: - rule: matched Rule object @@ -570,19 +582,20 @@ def matched_text( # this case should never exist except for tests! return u'' - if whole_lines and query.has_long_lines: + if whole_lines and (query.has_long_lines or query.is_binary): whole_lines = False return u''.join(get_full_matched_text( - self, + match=self, location=query.location, query_string=query.query_string, idx=query.idx, whole_lines=whole_lines, highlight=highlight, highlight_matched=highlight_matched, - highlight_not_matched=highlight_not_matched, _usecache=_usecache) - ).rstrip() + highlight_not_matched=highlight_not_matched, + _usecache=_usecache + )).rstrip() def set_lines(matches, line_by_pos): @@ -1152,19 +1165,29 @@ def filter_if_only_known_words_rule(matches): """ Return a filtered list of kept LicenseMatch matches and a list of discardable matches given a `matches` list of LicenseMatch by removing - matches to rules with the "only_known_words" attribute set to True and that - contain unknown words in their matched range. + matches to rules with the "only_known_words" attribute set to True or "small + rules" and that contain unknown words in their matched range. """ kept = [] discarded = [] for match in matches: - if not (match.rule.only_known_words or match.rule.is_small): - kept.append(match) - continue - if match.qrange() != match.qmagnitude() or match.qcontains_stopwords(): - if TRACE_FILTER_LOW_SCORE: logger_debug(' ==> DISCARDING small score:', match) + if (match.rule.only_known_words + and ( + match.qrange() != match.qmagnitude() + or match.qcontains_stopwords() + ) + ): + if TRACE_FILTER_UNKNOWN_WORDS: + logger_debug( + ' ==> DISCARDING small unknown words:', match, + 'is_small', match.rule.is_small, + 'qrange', match.qrange(), + 'qmagnitude', match.qmagnitude(), + 'qcontains_stopwords', match.qcontains_stopwords() + ) + _debug_print_matched_query_text(match) # we have unknown tokens in the matched range discarded.append(match) @@ -1233,8 +1256,9 @@ def filter_spurious_single_token(matches, query=None, unknown_count=5, if p in shorts_and_digits: before += 1 if before < unknown_count: - if trace: logger_debug(' ==> !!! NOT DISCARDING spurious_single_token, not enough before:', match, before) - if trace: _debug_print_matched_query_text(match, query, extras=unknown_count, logger_debug=logger_debug) + if trace: + logger_debug(' ==> !!! NOT DISCARDING spurious_single_token, not enough before:', match, before) + _debug_print_matched_query_text(match, extras=unknown_count) kept.append(match) continue @@ -1244,12 +1268,14 @@ def filter_spurious_single_token(matches, query=None, unknown_count=5, after += 1 if after >= unknown_count: - if trace: logger_debug(' ==> DISCARDING spurious_single_token:', match) - if trace: _debug_print_matched_query_text(match, query, extras=unknown_count, logger_debug=logger_debug) + if trace: + logger_debug(' ==> DISCARDING spurious_single_token:', match) + _debug_print_matched_query_text(match, extras=unknown_count) discarded.append(match) else: - if trace: logger_debug(' ==> !!! NOT DISCARDING spurious_single_token, not enough after:', match, before, after) - if trace: _debug_print_matched_query_text(match, query, extras=unknown_count, logger_debug=logger_debug) + if trace: + logger_debug(' ==> !!! NOT DISCARDING spurious_single_token, not enough after:', match, before, after) + _debug_print_matched_query_text(match, extras=unknown_count) kept.append(match) return kept, discarded @@ -1528,7 +1554,7 @@ def _tokenize_matched_text(location, query_string, dictionary): # Determine if a token is is_known in the license index or not. This # is essential as we need to realign the query-time tokenization # with the full text to report proper matches. - if is_text and token_str and token_str.strip(): + if is_text and token_str and token_str.strip(): # we retokenize using the query tokenizer: # 1. to lookup for is_known tokens in the index dictionary @@ -1596,7 +1622,13 @@ def _tokenize_matched_text(location, query_string, dictionary): ) -def reportable_tokens(tokens, match_qspan, start_line, end_line, whole_lines=False): +def reportable_tokens( + tokens, + match_qspan, + start_line, + end_line, + whole_lines=False, +): """ Yield Tokens from a `tokens` iterable of Token objects (built from a query- side scanned file or string) that are inside a `match_qspan` matched Span @@ -1702,10 +1734,13 @@ def reportable_tokens(tokens, match_qspan, start_line, end_line, whole_lines=Fal def get_full_matched_text( match, - location=None, query_string=None, + location=None, + query_string=None, idx=None, whole_lines=False, - highlight=True, highlight_matched=u'%s', highlight_not_matched=u'[%s]', + highlight=True, + highlight_matched=u'%s', + highlight_not_matched=u'[%s]', stopwords=STOPWORDS, _usecache=True, ): @@ -1738,10 +1773,17 @@ def get_full_matched_text( if not _usecache: # for testing only, reset cache on each call tokens = tokenize_matched_text( - location, query_string, dictionary=idx.dictionary, _cache={}) + location=location, + query_string=query_string, + dictionary=idx.dictionary, + _cache={}, + ) else: tokens = tokenize_matched_text( - location, query_string, dictionary=idx.dictionary) + location=location, + query_string=query_string, + dictionary=idx.dictionary, + ) if TRACE_MATCHED_TEXT: tokens = list(tokens) @@ -1752,7 +1794,12 @@ def get_full_matched_text( print() tokens = reportable_tokens( - tokens, match.qspan, match.start_line, match.end_line, whole_lines=whole_lines) + tokens=tokens, + match_qspan=match.qspan, + start_line=match.start_line, + end_line=match.end_line, + whole_lines=whole_lines, + ) if TRACE_MATCHED_TEXT: tokens = list(tokens) From 0067b7e0488887fb0e7a5ede477eaf55b6bf7c3b Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Fri, 30 Jul 2021 17:45:05 +0200 Subject: [PATCH 11/21] Update license ignorable clues Thse are now aligned with the latest copyright detection Signed-off-by: Philippe Ombredanne --- .../data/licenses/bsd-4-clause-shortened.yml | 3 +++ .../licenses/cooperative-non-violent-4.0.yml | 2 -- .../licenses/google-analytics-tos-2019.yml | 14 +++++----- .../licenses/google-maps-tos-2018-02-07.yml | 14 ++++++++++ .../licenses/google-maps-tos-2018-05-01.yml | 26 +++++++++++++++++++ .../licenses/google-maps-tos-2018-06-07.yml | 25 ++++++++++++++++++ .../licenses/google-maps-tos-2018-07-09.yml | 26 +++++++++++++++++++ .../licenses/google-maps-tos-2018-07-19.yml | 25 ++++++++++++++++++ .../licenses/google-maps-tos-2018-10-01.yml | 25 ++++++++++++++++++ .../licenses/google-maps-tos-2018-10-31.yml | 25 ++++++++++++++++++ .../licenses/google-maps-tos-2019-05-02.yml | 24 +++++++++++++++++ .../licenses/google-maps-tos-2019-11-21.yml | 24 +++++++++++++++++ .../licenses/google-maps-tos-2020-04-02.yml | 24 +++++++++++++++++ .../licenses/google-maps-tos-2020-04-27.yml | 24 +++++++++++++++++ .../licenses/google-maps-tos-2020-05-06.yml | 25 ++++++++++++++++++ .../data/licenses/infonode-1.1.yml | 4 +-- src/licensedcode/data/licenses/mtll.yml | 5 +++- src/licensedcode/data/licenses/node-js.yml | 2 ++ .../data/licenses/non-violent-4.0.yml | 2 -- .../data/licenses/paraview-1.2.yml | 1 + 20 files changed, 307 insertions(+), 13 deletions(-) diff --git a/src/licensedcode/data/licenses/bsd-4-clause-shortened.yml b/src/licensedcode/data/licenses/bsd-4-clause-shortened.yml index 0f3f6fd32b8..a11a1629d85 100644 --- a/src/licensedcode/data/licenses/bsd-4-clause-shortened.yml +++ b/src/licensedcode/data/licenses/bsd-4-clause-shortened.yml @@ -6,3 +6,6 @@ owner: Regents of the University of California spdx_license_key: BSD-4-Clause-Shortened other_urls: - https://metadata.ftp-master.debian.org/changelogs//main/a/arpwatch/arpwatch_2.1a15-7_copyright +ignorable_authors: + - the University of California, Lawrence Berkeley Laboratory and its contributors + diff --git a/src/licensedcode/data/licenses/cooperative-non-violent-4.0.yml b/src/licensedcode/data/licenses/cooperative-non-violent-4.0.yml index 315948bfc2b..6f9aae0ad73 100644 --- a/src/licensedcode/data/licenses/cooperative-non-violent-4.0.yml +++ b/src/licensedcode/data/licenses/cooperative-non-violent-4.0.yml @@ -5,7 +5,5 @@ category: Proprietary Free owner: Thufie homepage_url: https://thufie.lain.haus/NPL.html spdx_license_key: LicenseRef-scancode-cooperative-non-violent-4.0 -ignorable_authors: - - the Web Service ignorable_urls: - https://thufie.lain.haus/NPL.html diff --git a/src/licensedcode/data/licenses/google-analytics-tos-2019.yml b/src/licensedcode/data/licenses/google-analytics-tos-2019.yml index c0a59537c55..6952ef98116 100644 --- a/src/licensedcode/data/licenses/google-analytics-tos-2019.yml +++ b/src/licensedcode/data/licenses/google-analytics-tos-2019.yml @@ -10,9 +10,11 @@ other_urls: - http://www.google.com/privacy.html - https://support.google.com/analytics/#topic=3544906 ignorable_urls: - - http://www.google.com/analytics - - http://www.google.com/analytics/ - - http://www.google.com/analytics/policies - - http://www.google.com/policies/privacy/partners - - https://360suite.google.com/terms - - https://www.google.com/policies/privacy + - http://www.google.com/analytics + - http://www.google.com/analytics/policies + - http://www.google.com/analytics/policies/ + - http://www.google.com/policies/privacy/partners + - https://support.google.com/marketingplatform/answer/9047313 + - https://www.google.com/analytics/terms + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-02-07.yml b/src/licensedcode/data/licenses/google-maps-tos-2018-02-07.yml index ce3dbe42319..0220171e354 100644 --- a/src/licensedcode/data/licenses/google-maps-tos-2018-02-07.yml +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-02-07.yml @@ -8,3 +8,17 @@ spdx_license_key: LicenseRef-scancode-google-maps-tos-2018-02-07 text_urls: - https://developers.google.com/maps/terms-20180207 minimum_coverage: 90 +ignorable_authors: + - the U.S. Department of State. Remove +ignorable_copyrights: + - (c) Google Australia Pty Ltd. +ignorable_holders: + - Google Australia Pty Ltd. +ignorable_urls: + - http://developers.google.com/maps/maps-api-list + - http://developers.google.com/maps/terms + - http://www.google.com/intl/en/about/company/software-principles.html + - http://www.google.com/policies/privacy + - https://developers.google.com/products/ + - https://www.google.com/maps + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-05-01.yml b/src/licensedcode/data/licenses/google-maps-tos-2018-05-01.yml index ddccd05e6ef..1f9278729eb 100644 --- a/src/licensedcode/data/licenses/google-maps-tos-2018-05-01.yml +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-05-01.yml @@ -8,3 +8,29 @@ spdx_license_key: LicenseRef-scancode-google-maps-tos-2018-05-01 text_urls: - https://cloud.google.com/maps-platform/terms/index-20180501 minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet/ + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://developers.google.com/maps + - https://developers.google.com/maps/terms + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-06-07.yml b/src/licensedcode/data/licenses/google-maps-tos-2018-06-07.yml index 63c27060f2d..f925fdc7f56 100644 --- a/src/licensedcode/data/licenses/google-maps-tos-2018-06-07.yml +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-06-07.yml @@ -8,3 +8,28 @@ spdx_license_key: LicenseRef-scancode-google-maps-tos-2018-06-07 text_urls: - https://cloud.google.com/maps-platform/terms/index-20180607 minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet/ + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://developers.google.com/maps + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-07-09.yml b/src/licensedcode/data/licenses/google-maps-tos-2018-07-09.yml index a1e4ae173cf..3fca82539c9 100644 --- a/src/licensedcode/data/licenses/google-maps-tos-2018-07-09.yml +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-07-09.yml @@ -8,3 +8,29 @@ spdx_license_key: LicenseRef-scancode-google-maps-tos-2018-07-09 text_urls: - https://cloud.google.com/maps-platform/terms/index-20180709 minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://developers.google.com/maps/documentation + - https://developers.google.com/maps/terms + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-07-19.yml b/src/licensedcode/data/licenses/google-maps-tos-2018-07-19.yml index aba960b5f76..a53a4ebea49 100644 --- a/src/licensedcode/data/licenses/google-maps-tos-2018-07-19.yml +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-07-19.yml @@ -8,3 +8,28 @@ spdx_license_key: LicenseRef-scancode-google-maps-tos-2018-07-19 text_urls: - https://cloud.google.com/maps-platform/terms/index-20180719 minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://developers.google.com/maps/documentation + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-10-01.yml b/src/licensedcode/data/licenses/google-maps-tos-2018-10-01.yml index af7cec5e7ce..465a4c9664e 100644 --- a/src/licensedcode/data/licenses/google-maps-tos-2018-10-01.yml +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-10-01.yml @@ -8,3 +8,28 @@ spdx_license_key: LicenseRef-scancode-google-maps-tos-2018-10-01 text_urls: - https://cloud.google.com/maps-platform/terms/index-20181001 minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://developers.google.com/maps/documentation + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-10-31.yml b/src/licensedcode/data/licenses/google-maps-tos-2018-10-31.yml index 99a3a69a204..389999970cc 100644 --- a/src/licensedcode/data/licenses/google-maps-tos-2018-10-31.yml +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-10-31.yml @@ -8,3 +8,28 @@ spdx_license_key: LicenseRef-scancode-google-maps-tos-2018-10-31 text_urls: - https://cloud.google.com/maps-platform/terms/index-20181031 minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://developers.google.com/maps/documentation + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2019-05-02.yml b/src/licensedcode/data/licenses/google-maps-tos-2019-05-02.yml index 96ea4253809..f855bc24868 100644 --- a/src/licensedcode/data/licenses/google-maps-tos-2019-05-02.yml +++ b/src/licensedcode/data/licenses/google-maps-tos-2019-05-02.yml @@ -8,3 +8,27 @@ spdx_license_key: LicenseRef-scancode-google-maps-tos-2019-05-02 text_urls: - https://cloud.google.com/maps-platform/terms/index-20190502 minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://developers.google.com/maps/documentation + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2019-11-21.yml b/src/licensedcode/data/licenses/google-maps-tos-2019-11-21.yml index 4454ac5a7df..727bc096ba5 100644 --- a/src/licensedcode/data/licenses/google-maps-tos-2019-11-21.yml +++ b/src/licensedcode/data/licenses/google-maps-tos-2019-11-21.yml @@ -8,3 +8,27 @@ spdx_license_key: LicenseRef-scancode-google-maps-tos-2019-11-21 text_urls: - https://cloud.google.com/maps-platform/terms/index-20191121 minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://developers.google.com/maps/documentation + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2020-04-02.yml b/src/licensedcode/data/licenses/google-maps-tos-2020-04-02.yml index e220d1003f0..a99c1e01a1c 100644 --- a/src/licensedcode/data/licenses/google-maps-tos-2020-04-02.yml +++ b/src/licensedcode/data/licenses/google-maps-tos-2020-04-02.yml @@ -8,3 +8,27 @@ spdx_license_key: LicenseRef-scancode-google-maps-tos-2020-04-02 text_urls: - https://cloud.google.com/maps-platform/terms/index-20200402 minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://developers.google.com/maps/documentation + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2020-04-27.yml b/src/licensedcode/data/licenses/google-maps-tos-2020-04-27.yml index 92387dd89f0..53804f313d0 100644 --- a/src/licensedcode/data/licenses/google-maps-tos-2020-04-27.yml +++ b/src/licensedcode/data/licenses/google-maps-tos-2020-04-27.yml @@ -8,3 +8,27 @@ spdx_license_key: LicenseRef-scancode-google-maps-tos-2020-04-27 text_urls: - https://cloud.google.com/maps-platform/terms/index-20200427 minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://developers.google.com/maps/documentation + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2020-05-06.yml b/src/licensedcode/data/licenses/google-maps-tos-2020-05-06.yml index 61564a372fa..db889e9bba1 100644 --- a/src/licensedcode/data/licenses/google-maps-tos-2020-05-06.yml +++ b/src/licensedcode/data/licenses/google-maps-tos-2020-05-06.yml @@ -8,3 +8,28 @@ spdx_license_key: LicenseRef-scancode-google-maps-tos-2020-05-06 text_urls: - https://cloud.google.com/maps-platform/terms/index-20200506 minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://cloud.google.com/terms/google-entity + - https://developers.google.com/maps/documentation + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/infonode-1.1.yml b/src/licensedcode/data/licenses/infonode-1.1.yml index c8e30f54fef..d11eef42b1e 100644 --- a/src/licensedcode/data/licenses/infonode-1.1.yml +++ b/src/licensedcode/data/licenses/infonode-1.1.yml @@ -8,9 +8,9 @@ spdx_license_key: LicenseRef-scancode-infonode-1.1 other_urls: - http://www.nnl.se/html/english/index.html ignorable_copyrights: - - Copyright (c) 2004 NNL Technology + - Copyright (c) 2004 NNL Technology AB, www.nnl.se ignorable_holders: - - NNL Technology + - NNL Technology AB, www.nnl.se ignorable_urls: - http://proguard.sourceforge.net/ - http://www.nnl.se/ diff --git a/src/licensedcode/data/licenses/mtll.yml b/src/licensedcode/data/licenses/mtll.yml index bcf546280b4..0237c21394a 100644 --- a/src/licensedcode/data/licenses/mtll.yml +++ b/src/licensedcode/data/licenses/mtll.yml @@ -10,4 +10,7 @@ notes: | several ways. It is Free, but GPL-incompatible. spdx_license_key: MTLL ignorable_authors: - - permission, please contact Indiana University Advanced Research & Technology +- at the University of Notre Dame, the Pervasive Technology Labs at Indiana University, and + Dresden University of Technology +- permission, please contact Indiana University Advanced Research & Technology + diff --git a/src/licensedcode/data/licenses/node-js.yml b/src/licensedcode/data/licenses/node-js.yml index 381a15e403b..44d8bfeab7e 100644 --- a/src/licensedcode/data/licenses/node-js.yml +++ b/src/licensedcode/data/licenses/node-js.yml @@ -30,6 +30,7 @@ ignorable_copyrights: - copyright Joyent, Inc. and other Node contributors - copyrighted by Apple Computer, Inc. - copyrighted by Sun Microsystems Inc. + - copyrighted by the University of Cambridge and Google, Inc. ignorable_authors: - Eric Young (eay@cryptsoft.com) - Mathias Pettersson and Brian Hammond @@ -52,6 +53,7 @@ ignorable_holders: - The Perl Foundation - Tjarda Koster - the Massachusetts Institute of Technology + - the University of Cambridge and Google, Inc. - the V8 project authors ignorable_urls: - http://jelloween.deviantart.com/ diff --git a/src/licensedcode/data/licenses/non-violent-4.0.yml b/src/licensedcode/data/licenses/non-violent-4.0.yml index 107ef274b95..725595780b8 100644 --- a/src/licensedcode/data/licenses/non-violent-4.0.yml +++ b/src/licensedcode/data/licenses/non-violent-4.0.yml @@ -5,7 +5,5 @@ category: Proprietary Free owner: Thufie homepage_url: https://thufie.lain.haus/NPL.html spdx_license_key: LicenseRef-scancode-non-violent-4.0 -ignorable_authors: - - the Web Service ignorable_urls: - https://thufie.lain.haus/NPL.html diff --git a/src/licensedcode/data/licenses/paraview-1.2.yml b/src/licensedcode/data/licenses/paraview-1.2.yml index 53670dd57e1..de53d0abf81 100644 --- a/src/licensedcode/data/licenses/paraview-1.2.yml +++ b/src/licensedcode/data/licenses/paraview-1.2.yml @@ -17,6 +17,7 @@ ignorable_copyrights: University of Illinois ignorable_authors: - the National Center for Supercomputing Applications at the University of Illinois at Urbana-Champaign + - with support from the University of California, Lawrence Livermore National Laboratory ignorable_holders: - Kitware Inc. 28 Corporate Drive, Suite 204, Clifton Park, NY, 12065, USA. - Los Alamos National Laboratory From 85b9ca5cb91515cc7dbfe34aec94c5b1396e8766 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Fri, 30 Jul 2021 17:45:52 +0200 Subject: [PATCH 12/21] Improve existing rule ignorables Signed-off-by: Philippe Ombredanne --- src/licensedcode/data/rules/apache-1.1_77.yml | 3 +++ .../data/rules/bsd-4-clause-shortened_1.yml | 3 +++ .../data/rules/bsd-original-uc_12.yml | 3 +++ .../data/rules/bsd-original-uc_23.yml | 2 ++ src/licensedcode/data/rules/bsd-original-uc_7.yml | 3 +++ src/licensedcode/data/rules/bsd-original_25.yml | 3 +++ .../data/rules/mongodb-sspl-1.0_8.yml | 1 + .../data/rules/proprietary-license_504.yml | 5 +---- ...proprietary-license_and_other-permissive_1.yml | 2 -- .../data/rules/uoi-ncsa_and_other.yml | 15 ++++++++------- 10 files changed, 27 insertions(+), 13 deletions(-) diff --git a/src/licensedcode/data/rules/apache-1.1_77.yml b/src/licensedcode/data/rules/apache-1.1_77.yml index bba571bf62c..fcc5c19121e 100644 --- a/src/licensedcode/data/rules/apache-1.1_77.yml +++ b/src/licensedcode/data/rules/apache-1.1_77.yml @@ -1,3 +1,6 @@ license_expression: apache-1.1 is_license_text: yes relevance: 100 +ignorable_authors: + - University of Technology + diff --git a/src/licensedcode/data/rules/bsd-4-clause-shortened_1.yml b/src/licensedcode/data/rules/bsd-4-clause-shortened_1.yml index fffd007756a..ad437ae51a0 100644 --- a/src/licensedcode/data/rules/bsd-4-clause-shortened_1.yml +++ b/src/licensedcode/data/rules/bsd-4-clause-shortened_1.yml @@ -4,3 +4,6 @@ relevance: 99 minimum_coverage: 90 notes: this is not exactly the bsd-original-uc text but a rare and close enough variant that once existed in the early/mid 1990's as part of tpcpdump in bsdi 2.1 +ignorable_authors: + - the University of California, Lawrence Berkeley Laboratory and its contributors + diff --git a/src/licensedcode/data/rules/bsd-original-uc_12.yml b/src/licensedcode/data/rules/bsd-original-uc_12.yml index f0d50c873bb..8c1c7359b00 100644 --- a/src/licensedcode/data/rules/bsd-original-uc_12.yml +++ b/src/licensedcode/data/rules/bsd-original-uc_12.yml @@ -1,2 +1,5 @@ license_expression: bsd-original-uc is_license_notice: yes +ignorable_authors: + - the University of California, Lawrence Berkeley Laboratory + diff --git a/src/licensedcode/data/rules/bsd-original-uc_23.yml b/src/licensedcode/data/rules/bsd-original-uc_23.yml index e5921987f86..6d1bf9cbab8 100644 --- a/src/licensedcode/data/rules/bsd-original-uc_23.yml +++ b/src/licensedcode/data/rules/bsd-original-uc_23.yml @@ -5,3 +5,5 @@ minimum_coverage: 90 notes: this is a fragment seen in X11 ignorable_authors: - the Computer Systems Engineering group at Lawrence Berkeley Laboratory + - the University of California, Lawrence Berkeley Laboratory + diff --git a/src/licensedcode/data/rules/bsd-original-uc_7.yml b/src/licensedcode/data/rules/bsd-original-uc_7.yml index 667b1bccf62..c08a5fcccb5 100644 --- a/src/licensedcode/data/rules/bsd-original-uc_7.yml +++ b/src/licensedcode/data/rules/bsd-original-uc_7.yml @@ -2,3 +2,6 @@ license_expression: bsd-original-uc is_license_text: yes relevance: 100 minimum_coverage: 90 +ignorable_authors: + - the University of California, Lawrence Berkeley Laboratory and its contributors + diff --git a/src/licensedcode/data/rules/bsd-original_25.yml b/src/licensedcode/data/rules/bsd-original_25.yml index 5b740a1fbc7..78ff7c505a4 100644 --- a/src/licensedcode/data/rules/bsd-original_25.yml +++ b/src/licensedcode/data/rules/bsd-original_25.yml @@ -1,3 +1,6 @@ license_expression: bsd-original is_license_text: yes minimum_coverage: 90 +ignorable_authors: + - the University of California, Berkeley, Intel Corporation, and its contributors + diff --git a/src/licensedcode/data/rules/mongodb-sspl-1.0_8.yml b/src/licensedcode/data/rules/mongodb-sspl-1.0_8.yml index b217eeb6d4a..546e319fb3f 100644 --- a/src/licensedcode/data/rules/mongodb-sspl-1.0_8.yml +++ b/src/licensedcode/data/rules/mongodb-sspl-1.0_8.yml @@ -1,3 +1,4 @@ license_expression: mongodb-sspl-1.0 is_license_reference: yes relevance: 100 + diff --git a/src/licensedcode/data/rules/proprietary-license_504.yml b/src/licensedcode/data/rules/proprietary-license_504.yml index ae1f36ce642..1cc3a78c0d6 100644 --- a/src/licensedcode/data/rules/proprietary-license_504.yml +++ b/src/licensedcode/data/rules/proprietary-license_504.yml @@ -2,7 +2,4 @@ license_expression: proprietary-license is_license_text: yes relevance: 100 notes: an older W3C notice -ignorable_copyrights: - - copyright in Web -ignorable_holders: - - in Web + diff --git a/src/licensedcode/data/rules/proprietary-license_and_other-permissive_1.yml b/src/licensedcode/data/rules/proprietary-license_and_other-permissive_1.yml index ceeeb09b65b..c799f50382b 100644 --- a/src/licensedcode/data/rules/proprietary-license_and_other-permissive_1.yml +++ b/src/licensedcode/data/rules/proprietary-license_and_other-permissive_1.yml @@ -4,9 +4,7 @@ relevance: 100 notes: Older w3c IPR text ignorable_copyrights: - Copyright (c) 1994-2002 W3C - - copyright in Web ignorable_holders: - W3C - - in Web ignorable_emails: - site-policy@w3.org diff --git a/src/licensedcode/data/rules/uoi-ncsa_and_other.yml b/src/licensedcode/data/rules/uoi-ncsa_and_other.yml index d842aefcdc3..65c0e239c71 100644 --- a/src/licensedcode/data/rules/uoi-ncsa_and_other.yml +++ b/src/licensedcode/data/rules/uoi-ncsa_and_other.yml @@ -2,12 +2,13 @@ license_expression: uoi-ncsa AND other-permissive AND other-copyleft is_license_notice: yes minimum_coverage: 95 ignorable_copyrights: - - Copyright The LLVM project + - Copyright The LLVM project +ignorable_emails: + - llvm-oversight@cs.uiuc.edu + - llvmdev@cs.uiuc.edu ignorable_holders: - - The LLVM project + - The LLVM project ignorable_urls: - - http://www.opensource.org/licenses/UoI-NCSA.php - - http://www.opensource.org/licenses/mit-license.php -ignorable_emails: - - llvm-oversight@cs.uiuc.edu - - llvmdev@cs.uiuc.edu + - http://www.opensource.org/licenses/UoI-NCSA.php + - http://www.opensource.org/licenses/mit-license.php + From fc48dad089a86103b5f3574f4072e85bf98c580b Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Fri, 30 Jul 2021 17:47:15 +0200 Subject: [PATCH 13/21] Add copyleft license detection rules Signed-off-by: Philippe Ombredanne --- .../data/rules/agpl-3.0-plus_233.RULE | 1 + .../data/rules/agpl-3.0-plus_233.yml | 3 + .../data/rules/agpl-3.0-plus_234.RULE | 1 + .../data/rules/agpl-3.0-plus_234.yml | 3 + .../data/rules/agpl-3.0-plus_235.RULE | 1 + .../data/rules/agpl-3.0-plus_235.yml | 3 + .../data/rules/agpl-3.0-plus_236.RULE | 1 + .../data/rules/agpl-3.0-plus_236.yml | 3 + .../data/rules/agpl-3.0-plus_237.RULE | 1 + .../data/rules/agpl-3.0-plus_237.yml | 3 + .../data/rules/agpl-3.0-plus_238.RULE | 1 + .../data/rules/agpl-3.0-plus_238.yml | 3 + .../data/rules/agpl-3.0-plus_239.RULE | 1 + .../data/rules/agpl-3.0-plus_239.yml | 3 + src/licensedcode/data/rules/agpl-3.0_301.RULE | 10 + src/licensedcode/data/rules/agpl-3.0_301.yml | 7 + src/licensedcode/data/rules/agpl-3.0_302.RULE | 1 + src/licensedcode/data/rules/agpl-3.0_302.yml | 3 + src/licensedcode/data/rules/agpl-3.0_303.RULE | 1 + src/licensedcode/data/rules/agpl-3.0_303.yml | 3 + src/licensedcode/data/rules/agpl-3.0_304.RULE | 1 + src/licensedcode/data/rules/agpl-3.0_304.yml | 3 + src/licensedcode/data/rules/agpl-3.0_305.RULE | 1 + src/licensedcode/data/rules/agpl-3.0_305.yml | 5 + ...th_openssl-exception-agpl-3.0-monit_1.RULE | 19 + ...ith_openssl-exception-agpl-3.0-monit_1.yml | 7 + ...th_openssl-exception-agpl-3.0-monit_2.RULE | 5 + ...ith_openssl-exception-agpl-3.0-monit_2.yml | 4 + .../data/rules/gfdl-1.1-plus_33.RULE | 5 + .../data/rules/gfdl-1.1-plus_33.yml | 5 + .../data/rules/gfdl-1.3-plus_21.RULE | 1 + .../data/rules/gfdl-1.3-plus_21.yml | 3 + .../data/rules/gpl-1.0-plus_452.RULE | 1 + .../data/rules/gpl-1.0-plus_452.yml | 3 + .../data/rules/gpl-1.0-plus_453.RULE | 1 + .../data/rules/gpl-1.0-plus_453.yml | 3 + .../data/rules/gpl-1.0-plus_454.RULE | 1 + .../data/rules/gpl-1.0-plus_454.yml | 3 + .../data/rules/gpl-1.0-plus_455.RULE | 1 + .../data/rules/gpl-1.0-plus_455.yml | 3 + .../data/rules/gpl-1.0-plus_456.RULE | 1 + .../data/rules/gpl-1.0-plus_456.yml | 5 + .../data/rules/gpl-1.0-plus_457.RULE | 1 + .../data/rules/gpl-1.0-plus_457.yml | 3 + .../data/rules/gpl-2.0-plus_814.RULE | 13 + .../data/rules/gpl-2.0-plus_814.yml | 6 + .../data/rules/gpl-2.0-plus_815.RULE | 1 + .../data/rules/gpl-2.0-plus_815.yml | 3 + .../data/rules/gpl-2.0-plus_816.RULE | 1 + .../data/rules/gpl-2.0-plus_816.yml | 3 + .../data/rules/gpl-2.0-plus_817.RULE | 1 + .../data/rules/gpl-2.0-plus_817.yml | 3 + .../data/rules/gpl-2.0-plus_818.RULE | 1 + .../data/rules/gpl-2.0-plus_818.yml | 5 + .../data/rules/gpl-2.0-plus_819.RULE | 14 + .../data/rules/gpl-2.0-plus_819.yml | 3 + .../data/rules/gpl-2.0-plus_820.RULE | 13 + .../data/rules/gpl-2.0-plus_820.yml | 3 + .../data/rules/gpl-2.0-plus_821.RULE | 1 + .../data/rules/gpl-2.0-plus_821.yml | 3 + .../data/rules/gpl-2.0-plus_822.RULE | 1 + .../data/rules/gpl-2.0-plus_822.yml | 3 + .../data/rules/gpl-2.0-plus_823.RULE | 12 + .../data/rules/gpl-2.0-plus_823.yml | 4 + .../data/rules/gpl-2.0-plus_824.RULE | 13 + .../data/rules/gpl-2.0-plus_824.yml | 4 + .../data/rules/gpl-2.0-plus_825.RULE | 2 + .../data/rules/gpl-2.0-plus_825.yml | 3 + .../data/rules/gpl-2.0-plus_826.RULE | 21 ++ .../data/rules/gpl-2.0-plus_826.yml | 5 + .../data/rules/gpl-2.0-plus_827.RULE | 19 + .../data/rules/gpl-2.0-plus_827.yml | 3 + .../gpl-2.0-plus_and_gpl-3.0-plus_4.RULE | 1 + .../rules/gpl-2.0-plus_and_gpl-3.0-plus_4.yml | 3 + .../gpl-2.0-plus_and_lgpl-2.0-plus_1.RULE | 1 + .../gpl-2.0-plus_and_lgpl-2.0-plus_1.yml | 5 + src/licensedcode/data/rules/gpl-2.0_1009.RULE | 4 + src/licensedcode/data/rules/gpl-2.0_1009.yml | 3 + src/licensedcode/data/rules/gpl-2.0_1125.RULE | 13 + src/licensedcode/data/rules/gpl-2.0_1125.yml | 5 + src/licensedcode/data/rules/gpl-2.0_1126.RULE | 1 + src/licensedcode/data/rules/gpl-2.0_1126.yml | 3 + src/licensedcode/data/rules/gpl-2.0_1127.RULE | 1 + src/licensedcode/data/rules/gpl-2.0_1127.yml | 3 + src/licensedcode/data/rules/gpl-2.0_1128.RULE | 1 + src/licensedcode/data/rules/gpl-2.0_1128.yml | 3 + src/licensedcode/data/rules/gpl-2.0_1129.RULE | 1 + src/licensedcode/data/rules/gpl-2.0_1129.yml | 4 + src/licensedcode/data/rules/gpl-2.0_1130.RULE | 71 ++++ src/licensedcode/data/rules/gpl-2.0_1130.yml | 11 + src/licensedcode/data/rules/gpl-2.0_1131.RULE | 12 + src/licensedcode/data/rules/gpl-2.0_1131.yml | 3 + src/licensedcode/data/rules/gpl-2.0_1132.RULE | 12 + src/licensedcode/data/rules/gpl-2.0_1132.yml | 3 + src/licensedcode/data/rules/gpl-2.0_1133.RULE | 1 + src/licensedcode/data/rules/gpl-2.0_1133.yml | 3 + src/licensedcode/data/rules/gpl-2.0_1134.RULE | 1 + src/licensedcode/data/rules/gpl-2.0_1134.yml | 3 + src/licensedcode/data/rules/gpl-2.0_1135.RULE | 1 + src/licensedcode/data/rules/gpl-2.0_1135.yml | 3 + src/licensedcode/data/rules/gpl-2.0_1136.RULE | 1 + src/licensedcode/data/rules/gpl-2.0_1136.yml | 3 + src/licensedcode/data/rules/gpl-2.0_1137.RULE | 2 + src/licensedcode/data/rules/gpl-2.0_1137.yml | 3 + ....0_and_lgpl-2.0_and_bsd-new_and_mit_5.RULE | 5 + ...2.0_and_lgpl-2.0_and_bsd-new_and_mit_5.yml | 6 + ...other-copyleft_and_other-permissive_2.RULE | 1 + ..._other-copyleft_and_other-permissive_2.yml | 3 + .../gpl-2.0_or_gpl-3.0_or_apache-2.0_2.RULE | 4 + .../gpl-2.0_or_gpl-3.0_or_apache-2.0_2.yml | 4 + .../gpl-2.0_or_gpl-3.0_or_apache-2.0_3.RULE | 2 + .../gpl-2.0_or_gpl-3.0_or_apache-2.0_3.yml | 8 + .../gpl-2.0_with_font-exception-gpl_2.RULE | 347 ++++++++++++++++++ .../gpl-2.0_with_font-exception-gpl_2.yml | 12 + .../gpl-2.0_with_font-exception-gpl_3.RULE | 1 + .../gpl-2.0_with_font-exception-gpl_3.yml | 4 + ..._with_font-exception-gpl_or_ofl-1.1_1.RULE | 2 + ...0_with_font-exception-gpl_or_ofl-1.1_1.yml | 7 + ...-2.0_with_openssl-exception-gpl-2.0_7.RULE | 10 + ...l-2.0_with_openssl-exception-gpl-2.0_7.yml | 4 + .../data/rules/gpl-3.0-plus_355.RULE | 1 + .../data/rules/gpl-3.0-plus_355.yml | 3 + .../data/rules/gpl-3.0-plus_356.RULE | 1 + .../data/rules/gpl-3.0-plus_356.yml | 3 + .../data/rules/gpl-3.0-plus_357.RULE | 1 + .../data/rules/gpl-3.0-plus_357.yml | 3 + .../data/rules/gpl-3.0-plus_358.RULE | 13 + .../data/rules/gpl-3.0-plus_358.yml | 5 + .../data/rules/gpl-3.0-plus_359.RULE | 1 + .../data/rules/gpl-3.0-plus_359.yml | 3 + .../data/rules/gpl-3.0-plus_360.RULE | 1 + .../data/rules/gpl-3.0-plus_360.yml | 5 + .../data/rules/gpl-3.0-plus_361.RULE | 1 + .../data/rules/gpl-3.0-plus_361.yml | 3 + .../data/rules/gpl-3.0-plus_362.RULE | 1 + .../data/rules/gpl-3.0-plus_362.yml | 5 + .../data/rules/gpl-3.0-plus_363.RULE | 1 + .../data/rules/gpl-3.0-plus_363.yml | 5 + .../data/rules/gpl-3.0-plus_364.RULE | 1 + .../data/rules/gpl-3.0-plus_364.yml | 3 + .../data/rules/gpl-3.0-plus_365.RULE | 1 + .../data/rules/gpl-3.0-plus_365.yml | 5 + .../data/rules/gpl-3.0-plus_366.RULE | 1 + .../data/rules/gpl-3.0-plus_366.yml | 5 + .../data/rules/gpl-3.0-plus_367.RULE | 1 + .../data/rules/gpl-3.0-plus_367.yml | 5 + .../data/rules/gpl-3.0-plus_368.RULE | 1 + .../data/rules/gpl-3.0-plus_368.yml | 3 + .../data/rules/gpl-3.0-plus_369.RULE | 1 + .../data/rules/gpl-3.0-plus_369.yml | 3 + .../data/rules/gpl-3.0-plus_370.RULE | 1 + .../data/rules/gpl-3.0-plus_370.yml | 3 + .../data/rules/gpl-3.0-plus_371.RULE | 1 + .../data/rules/gpl-3.0-plus_371.yml | 3 + .../data/rules/gpl-3.0-plus_372.RULE | 21 ++ .../data/rules/gpl-3.0-plus_372.yml | 5 + .../data/rules/gpl-3.0-plus_373.RULE | 19 + .../data/rules/gpl-3.0-plus_373.yml | 3 + .../gpl-3.0-plus_or_bsd-simplified_6.RULE | 1 + .../gpl-3.0-plus_or_bsd-simplified_6.yml | 3 + .../gpl-3.0-plus_or_bsd-simplified_7.RULE | 1 + .../gpl-3.0-plus_or_bsd-simplified_7.yml | 3 + .../gpl-3.0-plus_with_other-copyleft_2.RULE | 1 + .../gpl-3.0-plus_with_other-copyleft_2.yml | 3 + src/licensedcode/data/rules/gpl-3.0_396.RULE | 1 + src/licensedcode/data/rules/gpl-3.0_396.yml | 3 + src/licensedcode/data/rules/gpl-3.0_397.RULE | 1 + src/licensedcode/data/rules/gpl-3.0_397.yml | 4 + src/licensedcode/data/rules/gpl-3.0_398.RULE | 1 + src/licensedcode/data/rules/gpl-3.0_398.yml | 3 + src/licensedcode/data/rules/gpl-3.0_399.RULE | 1 + src/licensedcode/data/rules/gpl-3.0_399.yml | 3 + src/licensedcode/data/rules/gpl-3.0_400.RULE | 3 + src/licensedcode/data/rules/gpl-3.0_400.yml | 5 + src/licensedcode/data/rules/gpl-3.0_401.RULE | 1 + src/licensedcode/data/rules/gpl-3.0_401.yml | 3 + src/licensedcode/data/rules/gpl-3.0_402.RULE | 2 + src/licensedcode/data/rules/gpl-3.0_402.yml | 3 + .../data/rules/gpl-3.0_and_mit_1.RULE | 1 + .../data/rules/gpl-3.0_and_mit_1.yml | 3 + .../gpl-3.0_or_commercial-license_6.RULE | 8 + .../rules/gpl-3.0_or_commercial-license_6.yml | 10 + .../gpl-3.0_or_commercial-license_7.RULE | 13 + .../rules/gpl-3.0_or_commercial-license_7.yml | 10 + .../data/rules/lgpl-2.0-plus_440.RULE | 1 + .../data/rules/lgpl-2.0-plus_440.yml | 3 + .../data/rules/lgpl-2.0-plus_441.RULE | 1 + .../data/rules/lgpl-2.0-plus_441.yml | 3 + .../data/rules/lgpl-2.0-plus_442.RULE | 1 + .../data/rules/lgpl-2.0-plus_442.yml | 3 + .../data/rules/lgpl-2.0-plus_443.RULE | 1 + .../data/rules/lgpl-2.0-plus_443.yml | 3 + .../data/rules/lgpl-2.0-plus_444.RULE | 1 + .../data/rules/lgpl-2.0-plus_444.yml | 3 + .../data/rules/lgpl-2.0-plus_445.RULE | 1 + .../data/rules/lgpl-2.0-plus_445.yml | 5 + .../data/rules/lgpl-2.0-plus_446.RULE | 1 + .../data/rules/lgpl-2.0-plus_446.yml | 3 + .../data/rules/lgpl-2.0-plus_447.RULE | 1 + .../data/rules/lgpl-2.0-plus_447.yml | 3 + .../data/rules/lgpl-2.0-plus_448.RULE | 1 + .../data/rules/lgpl-2.0-plus_448.yml | 5 + .../data/rules/lgpl-2.0-plus_449.RULE | 1 + .../data/rules/lgpl-2.0-plus_449.yml | 3 + .../data/rules/lgpl-2.0-plus_450.RULE | 1 + .../data/rules/lgpl-2.0-plus_450.yml | 3 + .../lgpl-2.0-plus_and_bsd-new_and_mit_1.RULE | 3 + .../lgpl-2.0-plus_and_bsd-new_and_mit_1.yml | 4 + .../lgpl-2.0-plus_and_gpl-2.0-plus_3.RULE | 1 + .../lgpl-2.0-plus_and_gpl-2.0-plus_3.yml | 3 + .../lgpl-2.0-plus_and_gpl-2.0-plus_4.RULE | 1 + .../lgpl-2.0-plus_and_gpl-2.0-plus_4.yml | 3 + .../lgpl-2.0-plus_and_gpl-2.0-plus_5.RULE | 1 + .../lgpl-2.0-plus_and_gpl-2.0-plus_5.yml | 3 + .../lgpl-2.0-plus_and_gpl-2.0-plus_6.RULE | 2 + .../lgpl-2.0-plus_and_gpl-2.0-plus_6.yml | 7 + .../data/rules/lgpl-2.0-plus_or_mit_1.RULE | 1 + .../data/rules/lgpl-2.0-plus_or_mit_1.yml | 3 + src/licensedcode/data/rules/lgpl-2.0_158.RULE | 1 + src/licensedcode/data/rules/lgpl-2.0_158.yml | 3 + src/licensedcode/data/rules/lgpl-2.0_159.RULE | 1 + src/licensedcode/data/rules/lgpl-2.0_159.yml | 3 + src/licensedcode/data/rules/lgpl-2.0_160.RULE | 1 + src/licensedcode/data/rules/lgpl-2.0_160.yml | 3 + src/licensedcode/data/rules/lgpl-2.0_161.RULE | 1 + src/licensedcode/data/rules/lgpl-2.0_161.yml | 3 + src/licensedcode/data/rules/lgpl-2.0_162.RULE | 1 + src/licensedcode/data/rules/lgpl-2.0_162.yml | 3 + src/licensedcode/data/rules/lgpl-2.0_163.RULE | 1 + src/licensedcode/data/rules/lgpl-2.0_163.yml | 3 + .../data/rules/lgpl-2.1-plus_301.RULE | 15 + .../data/rules/lgpl-2.1-plus_301.yml | 5 + .../data/rules/lgpl-2.1-plus_302.RULE | 2 + .../data/rules/lgpl-2.1-plus_302.yml | 3 + .../lgpl-2.1-plus_and_gpl-2.0-plus_1.RULE | 8 + .../lgpl-2.1-plus_and_gpl-2.0-plus_1.yml | 6 + src/licensedcode/data/rules/lgpl-2.1_295.RULE | 1 + src/licensedcode/data/rules/lgpl-2.1_295.yml | 3 + src/licensedcode/data/rules/lgpl-2.1_296.RULE | 135 +++++++ src/licensedcode/data/rules/lgpl-2.1_296.yml | 10 + src/licensedcode/data/rules/lgpl-2.1_297.RULE | 12 + src/licensedcode/data/rules/lgpl-2.1_297.yml | 3 + src/licensedcode/data/rules/lgpl-2.1_298.RULE | 1 + src/licensedcode/data/rules/lgpl-2.1_298.yml | 3 + src/licensedcode/data/rules/lgpl-2.1_299.RULE | 1 + src/licensedcode/data/rules/lgpl-2.1_299.yml | 3 + src/licensedcode/data/rules/lgpl-2.1_300.RULE | 1 + src/licensedcode/data/rules/lgpl-2.1_300.yml | 3 + src/licensedcode/data/rules/lgpl-2.1_301.RULE | 1 + src/licensedcode/data/rules/lgpl-2.1_301.yml | 3 + .../data/rules/lgpl-3.0-plus_185.RULE | 1 + .../data/rules/lgpl-3.0-plus_185.yml | 5 + .../lgpl-3.0-plus_and_gpl-3.0-plus_1.RULE | 1 + .../lgpl-3.0-plus_and_gpl-3.0-plus_1.yml | 3 + src/licensedcode/data/rules/lgpl-3.0_238.RULE | 1 + src/licensedcode/data/rules/lgpl-3.0_238.yml | 3 + src/licensedcode/data/rules/lgpl-3.0_239.RULE | 12 + src/licensedcode/data/rules/lgpl-3.0_239.yml | 3 + .../data/rules/lgpl-3.0_or_apache-2.0_5.RULE | 1 + .../data/rules/lgpl-3.0_or_apache-2.0_5.yml | 3 + src/licensedcode/data/rules/mpl-1.0_22.RULE | 14 + src/licensedcode/data/rules/mpl-1.0_22.yml | 6 + src/licensedcode/data/rules/mpl-2.0_100.RULE | 1 + src/licensedcode/data/rules/mpl-2.0_100.yml | 3 + src/licensedcode/data/rules/mpl-2.0_95.RULE | 1 + src/licensedcode/data/rules/mpl-2.0_95.yml | 3 + src/licensedcode/data/rules/mpl-2.0_96.RULE | 1 + src/licensedcode/data/rules/mpl-2.0_96.yml | 3 + src/licensedcode/data/rules/mpl-2.0_97.RULE | 2 + src/licensedcode/data/rules/mpl-2.0_97.yml | 3 + src/licensedcode/data/rules/mpl-2.0_98.RULE | 6 + src/licensedcode/data/rules/mpl-2.0_98.yml | 5 + src/licensedcode/data/rules/mpl-2.0_99.RULE | 1 + src/licensedcode/data/rules/mpl-2.0_99.yml | 3 + .../data/rules/mpl-2.0_or_mit_1.RULE | 1 + .../data/rules/mpl-2.0_or_mit_1.yml | 3 + src/licensedcode/data/rules/osl-1.0_2.RULE | 1 + src/licensedcode/data/rules/osl-1.0_2.yml | 3 + src/licensedcode/data/rules/osl-1.0_3.RULE | 152 ++++++++ src/licensedcode/data/rules/osl-1.0_3.yml | 7 + 280 files changed, 1715 insertions(+) create mode 100644 src/licensedcode/data/rules/agpl-3.0-plus_233.RULE create mode 100644 src/licensedcode/data/rules/agpl-3.0-plus_233.yml create mode 100644 src/licensedcode/data/rules/agpl-3.0-plus_234.RULE create mode 100644 src/licensedcode/data/rules/agpl-3.0-plus_234.yml create mode 100644 src/licensedcode/data/rules/agpl-3.0-plus_235.RULE create mode 100644 src/licensedcode/data/rules/agpl-3.0-plus_235.yml create mode 100644 src/licensedcode/data/rules/agpl-3.0-plus_236.RULE create mode 100644 src/licensedcode/data/rules/agpl-3.0-plus_236.yml create mode 100644 src/licensedcode/data/rules/agpl-3.0-plus_237.RULE create mode 100644 src/licensedcode/data/rules/agpl-3.0-plus_237.yml create mode 100644 src/licensedcode/data/rules/agpl-3.0-plus_238.RULE create mode 100644 src/licensedcode/data/rules/agpl-3.0-plus_238.yml create mode 100644 src/licensedcode/data/rules/agpl-3.0-plus_239.RULE create mode 100644 src/licensedcode/data/rules/agpl-3.0-plus_239.yml create mode 100644 src/licensedcode/data/rules/agpl-3.0_301.RULE create mode 100644 src/licensedcode/data/rules/agpl-3.0_301.yml create mode 100644 src/licensedcode/data/rules/agpl-3.0_302.RULE create mode 100644 src/licensedcode/data/rules/agpl-3.0_302.yml create mode 100644 src/licensedcode/data/rules/agpl-3.0_303.RULE create mode 100644 src/licensedcode/data/rules/agpl-3.0_303.yml create mode 100644 src/licensedcode/data/rules/agpl-3.0_304.RULE create mode 100644 src/licensedcode/data/rules/agpl-3.0_304.yml create mode 100644 src/licensedcode/data/rules/agpl-3.0_305.RULE create mode 100644 src/licensedcode/data/rules/agpl-3.0_305.yml create mode 100644 src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_1.RULE create mode 100644 src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_1.yml create mode 100644 src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_2.RULE create mode 100644 src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_2.yml create mode 100644 src/licensedcode/data/rules/gfdl-1.1-plus_33.RULE create mode 100644 src/licensedcode/data/rules/gfdl-1.1-plus_33.yml create mode 100644 src/licensedcode/data/rules/gfdl-1.3-plus_21.RULE create mode 100644 src/licensedcode/data/rules/gfdl-1.3-plus_21.yml create mode 100644 src/licensedcode/data/rules/gpl-1.0-plus_452.RULE create mode 100644 src/licensedcode/data/rules/gpl-1.0-plus_452.yml create mode 100644 src/licensedcode/data/rules/gpl-1.0-plus_453.RULE create mode 100644 src/licensedcode/data/rules/gpl-1.0-plus_453.yml create mode 100644 src/licensedcode/data/rules/gpl-1.0-plus_454.RULE create mode 100644 src/licensedcode/data/rules/gpl-1.0-plus_454.yml create mode 100644 src/licensedcode/data/rules/gpl-1.0-plus_455.RULE create mode 100644 src/licensedcode/data/rules/gpl-1.0-plus_455.yml create mode 100644 src/licensedcode/data/rules/gpl-1.0-plus_456.RULE create mode 100644 src/licensedcode/data/rules/gpl-1.0-plus_456.yml create mode 100644 src/licensedcode/data/rules/gpl-1.0-plus_457.RULE create mode 100644 src/licensedcode/data/rules/gpl-1.0-plus_457.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_814.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_814.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_815.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_815.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_816.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_816.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_817.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_817.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_818.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_818.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_819.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_819.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_820.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_820.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_821.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_821.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_822.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_822.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_823.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_823.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_824.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_824.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_825.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_825.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_826.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_826.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_827.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_827.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_and_gpl-3.0-plus_4.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_and_gpl-3.0-plus_4.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_and_lgpl-2.0-plus_1.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_and_lgpl-2.0-plus_1.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_1009.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_1009.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_1125.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_1125.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_1126.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_1126.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_1127.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_1127.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_1128.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_1128.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_1129.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_1129.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_1130.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_1130.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_1131.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_1131.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_1132.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_1132.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_1133.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_1133.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_1134.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_1134.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_1135.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_1135.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_1136.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_1136.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_1137.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_1137.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_5.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_5.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_and_other-copyleft_and_other-permissive_2.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_and_other-copyleft_and_other-permissive_2.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_2.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_2.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_3.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_3.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_2.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_2.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_3.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_3.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_or_ofl-1.1_1.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_or_ofl-1.1_1.yml create mode 100644 src/licensedcode/data/rules/gpl-2.0_with_openssl-exception-gpl-2.0_7.RULE create mode 100644 src/licensedcode/data/rules/gpl-2.0_with_openssl-exception-gpl-2.0_7.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_355.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_355.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_356.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_356.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_357.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_357.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_358.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_358.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_359.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_359.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_360.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_360.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_361.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_361.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_362.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_362.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_363.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_363.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_364.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_364.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_365.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_365.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_366.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_366.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_367.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_367.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_368.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_368.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_369.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_369.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_370.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_370.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_371.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_371.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_372.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_372.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_373.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_373.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_6.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_6.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_7.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_7.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_with_other-copyleft_2.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0-plus_with_other-copyleft_2.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0_396.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0_396.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0_397.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0_397.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0_398.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0_398.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0_399.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0_399.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0_400.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0_400.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0_401.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0_401.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0_402.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0_402.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0_and_mit_1.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0_and_mit_1.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0_or_commercial-license_6.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0_or_commercial-license_6.yml create mode 100644 src/licensedcode/data/rules/gpl-3.0_or_commercial-license_7.RULE create mode 100644 src/licensedcode/data/rules/gpl-3.0_or_commercial-license_7.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_440.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_440.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_441.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_441.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_442.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_442.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_443.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_443.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_444.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_444.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_445.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_445.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_446.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_446.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_447.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_447.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_448.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_448.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_449.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_449.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_450.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_450.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_and_bsd-new_and_mit_1.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_and_bsd-new_and_mit_1.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_3.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_3.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_4.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_4.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_5.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_5.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_6.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_6.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_or_mit_1.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0-plus_or_mit_1.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0_158.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0_158.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0_159.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0_159.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0_160.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0_160.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0_161.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0_161.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0_162.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0_162.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.0_163.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.0_163.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.1-plus_301.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1-plus_301.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.1-plus_302.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1-plus_302.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-2.0-plus_1.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-2.0-plus_1.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.1_295.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1_295.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.1_296.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1_296.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.1_297.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1_297.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.1_298.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1_298.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.1_299.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1_299.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.1_300.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1_300.yml create mode 100644 src/licensedcode/data/rules/lgpl-2.1_301.RULE create mode 100644 src/licensedcode/data/rules/lgpl-2.1_301.yml create mode 100644 src/licensedcode/data/rules/lgpl-3.0-plus_185.RULE create mode 100644 src/licensedcode/data/rules/lgpl-3.0-plus_185.yml create mode 100644 src/licensedcode/data/rules/lgpl-3.0-plus_and_gpl-3.0-plus_1.RULE create mode 100644 src/licensedcode/data/rules/lgpl-3.0-plus_and_gpl-3.0-plus_1.yml create mode 100644 src/licensedcode/data/rules/lgpl-3.0_238.RULE create mode 100644 src/licensedcode/data/rules/lgpl-3.0_238.yml create mode 100644 src/licensedcode/data/rules/lgpl-3.0_239.RULE create mode 100644 src/licensedcode/data/rules/lgpl-3.0_239.yml create mode 100644 src/licensedcode/data/rules/lgpl-3.0_or_apache-2.0_5.RULE create mode 100644 src/licensedcode/data/rules/lgpl-3.0_or_apache-2.0_5.yml create mode 100644 src/licensedcode/data/rules/mpl-1.0_22.RULE create mode 100644 src/licensedcode/data/rules/mpl-1.0_22.yml create mode 100644 src/licensedcode/data/rules/mpl-2.0_100.RULE create mode 100644 src/licensedcode/data/rules/mpl-2.0_100.yml create mode 100644 src/licensedcode/data/rules/mpl-2.0_95.RULE create mode 100644 src/licensedcode/data/rules/mpl-2.0_95.yml create mode 100644 src/licensedcode/data/rules/mpl-2.0_96.RULE create mode 100644 src/licensedcode/data/rules/mpl-2.0_96.yml create mode 100644 src/licensedcode/data/rules/mpl-2.0_97.RULE create mode 100644 src/licensedcode/data/rules/mpl-2.0_97.yml create mode 100644 src/licensedcode/data/rules/mpl-2.0_98.RULE create mode 100644 src/licensedcode/data/rules/mpl-2.0_98.yml create mode 100644 src/licensedcode/data/rules/mpl-2.0_99.RULE create mode 100644 src/licensedcode/data/rules/mpl-2.0_99.yml create mode 100644 src/licensedcode/data/rules/mpl-2.0_or_mit_1.RULE create mode 100644 src/licensedcode/data/rules/mpl-2.0_or_mit_1.yml create mode 100644 src/licensedcode/data/rules/osl-1.0_2.RULE create mode 100644 src/licensedcode/data/rules/osl-1.0_2.yml create mode 100644 src/licensedcode/data/rules/osl-1.0_3.RULE create mode 100644 src/licensedcode/data/rules/osl-1.0_3.yml diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_233.RULE b/src/licensedcode/data/rules/agpl-3.0-plus_233.RULE new file mode 100644 index 00000000000..5fd27843d11 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_233.RULE @@ -0,0 +1 @@ +licensed under AGPLv3+ (as the AGPLv3 requires) \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_233.yml b/src/licensedcode/data/rules/agpl-3.0-plus_233.yml new file mode 100644 index 00000000000..fa16ff71590 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_233.yml @@ -0,0 +1,3 @@ +license_expression: agpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_234.RULE b/src/licensedcode/data/rules/agpl-3.0-plus_234.RULE new file mode 100644 index 00000000000..2e48d6a1970 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_234.RULE @@ -0,0 +1 @@ +licensed under AGPLv3+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_234.yml b/src/licensedcode/data/rules/agpl-3.0-plus_234.yml new file mode 100644 index 00000000000..fa16ff71590 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_234.yml @@ -0,0 +1,3 @@ +license_expression: agpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_235.RULE b/src/licensedcode/data/rules/agpl-3.0-plus_235.RULE new file mode 100644 index 00000000000..d590b802534 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_235.RULE @@ -0,0 +1 @@ +Code is licensed under AGPLv3+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_235.yml b/src/licensedcode/data/rules/agpl-3.0-plus_235.yml new file mode 100644 index 00000000000..fa16ff71590 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_235.yml @@ -0,0 +1,3 @@ +license_expression: agpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_236.RULE b/src/licensedcode/data/rules/agpl-3.0-plus_236.RULE new file mode 100644 index 00000000000..0297043a272 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_236.RULE @@ -0,0 +1 @@ +All works are licensed under AGPLv3+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_236.yml b/src/licensedcode/data/rules/agpl-3.0-plus_236.yml new file mode 100644 index 00000000000..fa16ff71590 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_236.yml @@ -0,0 +1,3 @@ +license_expression: agpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_237.RULE b/src/licensedcode/data/rules/agpl-3.0-plus_237.RULE new file mode 100644 index 00000000000..cc7e827c87e --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_237.RULE @@ -0,0 +1 @@ +All licensed under AGPLv3+. \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_237.yml b/src/licensedcode/data/rules/agpl-3.0-plus_237.yml new file mode 100644 index 00000000000..fa16ff71590 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_237.yml @@ -0,0 +1,3 @@ +license_expression: agpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_238.RULE b/src/licensedcode/data/rules/agpl-3.0-plus_238.RULE new file mode 100644 index 00000000000..725799c8c70 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_238.RULE @@ -0,0 +1 @@ +Source code licensed under AGPLv3+. \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_238.yml b/src/licensedcode/data/rules/agpl-3.0-plus_238.yml new file mode 100644 index 00000000000..fa16ff71590 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_238.yml @@ -0,0 +1,3 @@ +license_expression: agpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_239.RULE b/src/licensedcode/data/rules/agpl-3.0-plus_239.RULE new file mode 100644 index 00000000000..2fb602fc757 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_239.RULE @@ -0,0 +1 @@ +free and open source, licensed under AGPLv3+. \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_239.yml b/src/licensedcode/data/rules/agpl-3.0-plus_239.yml new file mode 100644 index 00000000000..fa16ff71590 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_239.yml @@ -0,0 +1,3 @@ +license_expression: agpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/agpl-3.0_301.RULE b/src/licensedcode/data/rules/agpl-3.0_301.RULE new file mode 100644 index 00000000000..1ee63906e0a --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_301.RULE @@ -0,0 +1,10 @@ +* 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0_301.yml b/src/licensedcode/data/rules/agpl-3.0_301.yml new file mode 100644 index 00000000000..9d6626974e7 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_301.yml @@ -0,0 +1,7 @@ +license_expression: agpl-3.0 +is_license_notice: yes +relevance: 100 +notes: Seen in monit at https://bitbucket.org/tildeslash/monit +ignorable_urls: + - http://www.gnu.org/licenses/ + diff --git a/src/licensedcode/data/rules/agpl-3.0_302.RULE b/src/licensedcode/data/rules/agpl-3.0_302.RULE new file mode 100644 index 00000000000..1ccb2f325b4 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_302.RULE @@ -0,0 +1 @@ +licensed under the GNU Affero License v3. \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0_302.yml b/src/licensedcode/data/rules/agpl-3.0_302.yml new file mode 100644 index 00000000000..b6548eaf117 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_302.yml @@ -0,0 +1,3 @@ +license_expression: agpl-3.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/agpl-3.0_303.RULE b/src/licensedcode/data/rules/agpl-3.0_303.RULE new file mode 100644 index 00000000000..831e7457946 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_303.RULE @@ -0,0 +1 @@ +released under [AGPL-3.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0_303.yml b/src/licensedcode/data/rules/agpl-3.0_303.yml new file mode 100644 index 00000000000..b6548eaf117 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_303.yml @@ -0,0 +1,3 @@ +license_expression: agpl-3.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/agpl-3.0_304.RULE b/src/licensedcode/data/rules/agpl-3.0_304.RULE new file mode 100644 index 00000000000..34a06ef9718 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_304.RULE @@ -0,0 +1 @@ +released under [AGPL-3.0-only] \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0_304.yml b/src/licensedcode/data/rules/agpl-3.0_304.yml new file mode 100644 index 00000000000..b6548eaf117 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_304.yml @@ -0,0 +1,3 @@ +license_expression: agpl-3.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/agpl-3.0_305.RULE b/src/licensedcode/data/rules/agpl-3.0_305.RULE new file mode 100644 index 00000000000..a61593b7929 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_305.RULE @@ -0,0 +1 @@ +released under [AGPL-3.0-only](LICENSE). \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0_305.yml b/src/licensedcode/data/rules/agpl-3.0_305.yml new file mode 100644 index 00000000000..5431969e2ed --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_305.yml @@ -0,0 +1,5 @@ +license_expression: agpl-3.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE diff --git a/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_1.RULE b/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_1.RULE new file mode 100644 index 00000000000..98106477b23 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_1.RULE @@ -0,0 +1,19 @@ +* 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + * In addition, as a special exception, the copyright holders give + * permission to link the code of portions of this program with the + * OpenSSL library under certain conditions as described in each + * individual source file, and distribute linked combinations + * including the two. + * + * You must obey the GNU Affero General Public License in all respects + * for all of the code used other than OpenSSL. \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_1.yml b/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_1.yml new file mode 100644 index 00000000000..e15fa1cc347 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_1.yml @@ -0,0 +1,7 @@ +license_expression: agpl-3.0 WITH openssl-exception-agpl-3.0-monit +is_license_notice: yes +relevance: 100 +notes: Seen in monit at https://bitbucket.org/tildeslash/monit +ignorable_urls: + - http://www.gnu.org/licenses/ + diff --git a/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_2.RULE b/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_2.RULE new file mode 100644 index 00000000000..1cecdb92e49 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_2.RULE @@ -0,0 +1,5 @@ +* In addition, as a special exception, the copyright holders give + * permission to link the code of portions of this program with the + * OpenSSL library under certain conditions as described in each + * individual source file, and distribute linked combinations + * including the two. \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_2.yml b/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_2.yml new file mode 100644 index 00000000000..aff060fdadc --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_2.yml @@ -0,0 +1,4 @@ +license_expression: agpl-3.0 WITH openssl-exception-agpl-3.0-monit +is_license_notice: yes +relevance: 100 +notes: Seen in monit at https://bitbucket.org/tildeslash/monit diff --git a/src/licensedcode/data/rules/gfdl-1.1-plus_33.RULE b/src/licensedcode/data/rules/gfdl-1.1-plus_33.RULE new file mode 100644 index 00000000000..58d1889d8a3 --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.1-plus_33.RULE @@ -0,0 +1,5 @@ +Permission is granted to copy, distribute and/or modify this document --> +under the terms of the GNU Free Documentation License, Version 1.1 --> +or any later version published by the Free Software Foundation; --> +with no invariant sections. --> +A copy of the license can be found at http://www.gnu.org/copyleft/fdl.html --> \ No newline at end of file diff --git a/src/licensedcode/data/rules/gfdl-1.1-plus_33.yml b/src/licensedcode/data/rules/gfdl-1.1-plus_33.yml new file mode 100644 index 00000000000..9cb1f40f5fd --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.1-plus_33.yml @@ -0,0 +1,5 @@ +license_expression: gfdl-1.1-plus +is_license_notice: yes +relevance: 100 +ignorable_urls: + - http://www.gnu.org/copyleft/fdl.html diff --git a/src/licensedcode/data/rules/gfdl-1.3-plus_21.RULE b/src/licensedcode/data/rules/gfdl-1.3-plus_21.RULE new file mode 100644 index 00000000000..06f3a717732 --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.3-plus_21.RULE @@ -0,0 +1 @@ +licensed under GFDLv1.​3+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/gfdl-1.3-plus_21.yml b/src/licensedcode/data/rules/gfdl-1.3-plus_21.yml new file mode 100644 index 00000000000..a53ce6500a5 --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.3-plus_21.yml @@ -0,0 +1,3 @@ +license_expression: gfdl-1.3-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_452.RULE b/src/licensedcode/data/rules/gpl-1.0-plus_452.RULE new file mode 100644 index 00000000000..bbb1493c1ef --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_452.RULE @@ -0,0 +1 @@ +the terms of the GPL License \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_452.yml b/src/licensedcode/data/rules/gpl-1.0-plus_452.yml new file mode 100644 index 00000000000..7071924eb9e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_452.yml @@ -0,0 +1,3 @@ +license_expression: gpl-1.0-plus +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_453.RULE b/src/licensedcode/data/rules/gpl-1.0-plus_453.RULE new file mode 100644 index 00000000000..060c2656f71 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_453.RULE @@ -0,0 +1 @@ +under the terms of the GPL License \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_453.yml b/src/licensedcode/data/rules/gpl-1.0-plus_453.yml new file mode 100644 index 00000000000..116c9848025 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_453.yml @@ -0,0 +1,3 @@ +license_expression: gpl-1.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_454.RULE b/src/licensedcode/data/rules/gpl-1.0-plus_454.RULE new file mode 100644 index 00000000000..f0e5d060440 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_454.RULE @@ -0,0 +1 @@ +the terms of the GPL \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_454.yml b/src/licensedcode/data/rules/gpl-1.0-plus_454.yml new file mode 100644 index 00000000000..7071924eb9e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_454.yml @@ -0,0 +1,3 @@ +license_expression: gpl-1.0-plus +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_455.RULE b/src/licensedcode/data/rules/gpl-1.0-plus_455.RULE new file mode 100644 index 00000000000..c5d7f429b83 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_455.RULE @@ -0,0 +1 @@ +Distributed under the terms of the GPL (GNU Public License) \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_455.yml b/src/licensedcode/data/rules/gpl-1.0-plus_455.yml new file mode 100644 index 00000000000..116c9848025 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_455.yml @@ -0,0 +1,3 @@ +license_expression: gpl-1.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_456.RULE b/src/licensedcode/data/rules/gpl-1.0-plus_456.RULE new file mode 100644 index 00000000000..8d27374a08f --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_456.RULE @@ -0,0 +1 @@ +distributed under the GPL (see COPYING.GPL) \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_456.yml b/src/licensedcode/data/rules/gpl-1.0-plus_456.yml new file mode 100644 index 00000000000..d9899fb0cc6 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_456.yml @@ -0,0 +1,5 @@ +license_expression: gpl-1.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING.GPL diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_457.RULE b/src/licensedcode/data/rules/gpl-1.0-plus_457.RULE new file mode 100644 index 00000000000..39e937b18e1 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_457.RULE @@ -0,0 +1 @@ +are GPL'ed \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_457.yml b/src/licensedcode/data/rules/gpl-1.0-plus_457.yml new file mode 100644 index 00000000000..116c9848025 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_457.yml @@ -0,0 +1,3 @@ +license_expression: gpl-1.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_814.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_814.RULE new file mode 100644 index 00000000000..f5830c74d0d --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_814.RULE @@ -0,0 +1,13 @@ +* This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see + * \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_814.yml b/src/licensedcode/data/rules/gpl-2.0-plus_814.yml new file mode 100644 index 00000000000..64c42afc688 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_814.yml @@ -0,0 +1,6 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 +minimum_coverage: 95 +ignorable_urls: + - http://www.gnu.org/licenses/gpl-2.0.html diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_815.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_815.RULE new file mode 100644 index 00000000000..3e0f1451f01 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_815.RULE @@ -0,0 +1 @@ +licensed under the terms of the GNU GPL, version 2 or (at your option) any later version. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_815.yml b/src/licensedcode/data/rules/gpl-2.0-plus_815.yml new file mode 100644 index 00000000000..44214778e8c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_815.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_816.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_816.RULE new file mode 100644 index 00000000000..64e090fe4a4 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_816.RULE @@ -0,0 +1 @@ +Licensed under GPLv2+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_816.yml b/src/licensedcode/data/rules/gpl-2.0-plus_816.yml new file mode 100644 index 00000000000..44214778e8c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_816.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_817.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_817.RULE new file mode 100644 index 00000000000..4f47627ca0e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_817.RULE @@ -0,0 +1 @@ +Licensed under GPLv2+ license \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_817.yml b/src/licensedcode/data/rules/gpl-2.0-plus_817.yml new file mode 100644 index 00000000000..44214778e8c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_817.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_818.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_818.RULE new file mode 100644 index 00000000000..0d97bd6153c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_818.RULE @@ -0,0 +1 @@ +/* Licensed under GPLv2+ - see LICENSE file for details */ \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_818.yml b/src/licensedcode/data/rules/gpl-2.0-plus_818.yml new file mode 100644 index 00000000000..fd7c42f5523 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_818.yml @@ -0,0 +1,5 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_819.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_819.RULE new file mode 100644 index 00000000000..991685c3fe6 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_819.RULE @@ -0,0 +1,14 @@ +Distributed under the terms of the GPL (GNU Public License) + is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_819.yml b/src/licensedcode/data/rules/gpl-2.0-plus_819.yml new file mode 100644 index 00000000000..44214778e8c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_819.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_820.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_820.RULE new file mode 100644 index 00000000000..3ec20f395af --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_820.RULE @@ -0,0 +1,13 @@ +is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_820.yml b/src/licensedcode/data/rules/gpl-2.0-plus_820.yml new file mode 100644 index 00000000000..44214778e8c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_820.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_821.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_821.RULE new file mode 100644 index 00000000000..ecc95755dc3 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_821.RULE @@ -0,0 +1 @@ +This file is licensed under GPLv2 or later \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_821.yml b/src/licensedcode/data/rules/gpl-2.0-plus_821.yml new file mode 100644 index 00000000000..44214778e8c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_821.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_822.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_822.RULE new file mode 100644 index 00000000000..93f55c9c03f --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_822.RULE @@ -0,0 +1 @@ +This file is licensed under GPLv2+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_822.yml b/src/licensedcode/data/rules/gpl-2.0-plus_822.yml new file mode 100644 index 00000000000..44214778e8c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_822.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_823.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_823.RULE new file mode 100644 index 00000000000..d7b97c0a7d3 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_823.RULE @@ -0,0 +1,12 @@ +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_823.yml b/src/licensedcode/data/rules/gpl-2.0-plus_823.yml new file mode 100644 index 00000000000..4f91576a8d7 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_823.yml @@ -0,0 +1,4 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 +minimum_coverage: 95 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_824.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_824.RULE new file mode 100644 index 00000000000..28880c931ff --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_824.RULE @@ -0,0 +1,13 @@ +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +with this program; if not, write to the Free Software Foundation, Inc., \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_824.yml b/src/licensedcode/data/rules/gpl-2.0-plus_824.yml new file mode 100644 index 00000000000..4f91576a8d7 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_824.yml @@ -0,0 +1,4 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 +minimum_coverage: 95 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_825.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_825.RULE new file mode 100644 index 00000000000..a53edc88df1 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_825.RULE @@ -0,0 +1,2 @@ +distributed under the terms of the GPL, version 2.0 (or at you're +discretion any later version of this license). \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_825.yml b/src/licensedcode/data/rules/gpl-2.0-plus_825.yml new file mode 100644 index 00000000000..44214778e8c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_825.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_826.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_826.RULE new file mode 100644 index 00000000000..0e17705f43a --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_826.RULE @@ -0,0 +1,21 @@ +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed AS-IS, WITHOUT ANY WARRANTY, express or +implied, including, but not limited to the WARRANTY OF MERCHANTABILITY +or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. The copyright holders hereby disclaim all warranties. + +In no case shall the copyright holders be liable to you or any thrid- +party for damages of any kind, including, but not limited to, punitive, +special, consequential, indirect or similar damages. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software Foundation, +Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. On +the initial date of release of this software, a copy can be found at +the following location: + +https://www.gnu.org/licenses/gpl-2.0.en.html \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_826.yml b/src/licensedcode/data/rules/gpl-2.0-plus_826.yml new file mode 100644 index 00000000000..332126ff8a2 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_826.yml @@ -0,0 +1,5 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://www.gnu.org/licenses/gpl-2.0.en.html diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_827.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_827.RULE new file mode 100644 index 00000000000..d476d874532 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_827.RULE @@ -0,0 +1,19 @@ +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed AS-IS, WITHOUT ANY WARRANTY, express or +implied, including, but not limited to the WARRANTY OF MERCHANTABILITY +or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. The copyright holders hereby disclaim all warranties. + +In no case shall the copyright holders be liable to you or any thrid- +party for damages of any kind, including, but not limited to, punitive, +special, consequential, indirect or similar damages. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software Foundation, +Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. On +the initial date of release of this software, a copy can be found at +the following location: \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_827.yml b/src/licensedcode/data/rules/gpl-2.0-plus_827.yml new file mode 100644 index 00000000000..44214778e8c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_827.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_and_gpl-3.0-plus_4.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_and_gpl-3.0-plus_4.RULE new file mode 100644 index 00000000000..521133f395b --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_and_gpl-3.0-plus_4.RULE @@ -0,0 +1 @@ +released under GPLv2+, licensed under GPLv3+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_and_gpl-3.0-plus_4.yml b/src/licensedcode/data/rules/gpl-2.0-plus_and_gpl-3.0-plus_4.yml new file mode 100644 index 00000000000..c06a44f3d22 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_and_gpl-3.0-plus_4.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0-plus AND gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_and_lgpl-2.0-plus_1.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_and_lgpl-2.0-plus_1.RULE new file mode 100644 index 00000000000..e363537a8ba --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_and_lgpl-2.0-plus_1.RULE @@ -0,0 +1 @@ +The data files are licensed under LGPLv2+, see the README file. License: GPLv2+ and LGPLv2+. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_and_lgpl-2.0-plus_1.yml b/src/licensedcode/data/rules/gpl-2.0-plus_and_lgpl-2.0-plus_1.yml new file mode 100644 index 00000000000..afea8b7d87f --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_and_lgpl-2.0-plus_1.yml @@ -0,0 +1,5 @@ +license_expression: gpl-2.0-plus AND lgpl-2.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - README diff --git a/src/licensedcode/data/rules/gpl-2.0_1009.RULE b/src/licensedcode/data/rules/gpl-2.0_1009.RULE new file mode 100644 index 00000000000..f5fcf6c5e13 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1009.RULE @@ -0,0 +1,4 @@ +This package, the EXT2 filesystem utilities, is protected by the GNU +General Public License. +On Debian GNU systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1009.yml b/src/licensedcode/data/rules/gpl-2.0_1009.yml new file mode 100644 index 00000000000..40bcbb97725 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1009.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_1125.RULE b/src/licensedcode/data/rules/gpl-2.0_1125.RULE new file mode 100644 index 00000000000..a48e2a25231 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1125.RULE @@ -0,0 +1,13 @@ +* This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program (see the file COPYING included with this + * distribution); if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1125.yml b/src/licensedcode/data/rules/gpl-2.0_1125.yml new file mode 100644 index 00000000000..2d21d8729b7 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1125.yml @@ -0,0 +1,5 @@ +license_expression: gpl-2.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING diff --git a/src/licensedcode/data/rules/gpl-2.0_1126.RULE b/src/licensedcode/data/rules/gpl-2.0_1126.RULE new file mode 100644 index 00000000000..3d013f4db64 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1126.RULE @@ -0,0 +1 @@ +Distributed under free software license GPLv2. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1126.yml b/src/licensedcode/data/rules/gpl-2.0_1126.yml new file mode 100644 index 00000000000..40bcbb97725 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1126.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_1127.RULE b/src/licensedcode/data/rules/gpl-2.0_1127.RULE new file mode 100644 index 00000000000..337ef118c81 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1127.RULE @@ -0,0 +1 @@ +under free software license GPLv2. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1127.yml b/src/licensedcode/data/rules/gpl-2.0_1127.yml new file mode 100644 index 00000000000..40bcbb97725 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1127.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_1128.RULE b/src/licensedcode/data/rules/gpl-2.0_1128.RULE new file mode 100644 index 00000000000..825b3966ca9 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1128.RULE @@ -0,0 +1 @@ +This code is licensed under the GNU GPL v2. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1128.yml b/src/licensedcode/data/rules/gpl-2.0_1128.yml new file mode 100644 index 00000000000..40bcbb97725 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1128.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_1129.RULE b/src/licensedcode/data/rules/gpl-2.0_1129.RULE new file mode 100644 index 00000000000..db60dacbe09 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1129.RULE @@ -0,0 +1 @@ +insert GPL v2 text here \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1129.yml b/src/licensedcode/data/rules/gpl-2.0_1129.yml new file mode 100644 index 00000000000..677219b788a --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1129.yml @@ -0,0 +1,4 @@ +license_expression: gpl-2.0 +is_license_reference: yes +relevance: 100 +notes: seen in some SPDX templates diff --git a/src/licensedcode/data/rules/gpl-2.0_1130.RULE b/src/licensedcode/data/rules/gpl-2.0_1130.RULE new file mode 100644 index 00000000000..8889c0d88ce --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1130.RULE @@ -0,0 +1,71 @@ +GNU GENERAL PUBLIC LICENSE +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. + +1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: + +a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. + +b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. + +c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. + +3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: + +a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, + +b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, + +c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. + +If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. + +4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. + +This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. + +9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. + +NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1130.yml b/src/licensedcode/data/rules/gpl-2.0_1130.yml new file mode 100644 index 00000000000..b2a13ad78b5 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1130.yml @@ -0,0 +1,11 @@ +license_expression: gpl-2.0 +is_license_text: yes +relevance: 100 +notes: Seen in vmware tools. Truncated texts +ignorable_copyrights: + - Copyright (c) 1989, 1991 Free Software Foundation, Inc. + - copyrighted by the Free Software Foundation +ignorable_holders: + - Free Software Foundation, Inc. + - the Free Software Foundation + diff --git a/src/licensedcode/data/rules/gpl-2.0_1131.RULE b/src/licensedcode/data/rules/gpl-2.0_1131.RULE new file mode 100644 index 00000000000..61f8665eb09 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1131.RULE @@ -0,0 +1,12 @@ +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as +published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1131.yml b/src/licensedcode/data/rules/gpl-2.0_1131.yml new file mode 100644 index 00000000000..40bcbb97725 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1131.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_1132.RULE b/src/licensedcode/data/rules/gpl-2.0_1132.RULE new file mode 100644 index 00000000000..22952e0e318 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1132.RULE @@ -0,0 +1,12 @@ +* This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation version 2 and no later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1132.yml b/src/licensedcode/data/rules/gpl-2.0_1132.yml new file mode 100644 index 00000000000..40bcbb97725 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1132.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_1133.RULE b/src/licensedcode/data/rules/gpl-2.0_1133.RULE new file mode 100644 index 00000000000..956aed10afe --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1133.RULE @@ -0,0 +1 @@ +The Linux kernel modules are released under the GPL v2 \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1133.yml b/src/licensedcode/data/rules/gpl-2.0_1133.yml new file mode 100644 index 00000000000..40bcbb97725 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1133.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_1134.RULE b/src/licensedcode/data/rules/gpl-2.0_1134.RULE new file mode 100644 index 00000000000..5e8932658dd --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1134.RULE @@ -0,0 +1 @@ +the GPL v2 \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1134.yml b/src/licensedcode/data/rules/gpl-2.0_1134.yml new file mode 100644 index 00000000000..d1e2553e419 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1134.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_1135.RULE b/src/licensedcode/data/rules/gpl-2.0_1135.RULE new file mode 100644 index 00000000000..08f3decf862 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1135.RULE @@ -0,0 +1 @@ +The code is being released under GPL v2 \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1135.yml b/src/licensedcode/data/rules/gpl-2.0_1135.yml new file mode 100644 index 00000000000..40bcbb97725 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1135.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_1136.RULE b/src/licensedcode/data/rules/gpl-2.0_1136.RULE new file mode 100644 index 00000000000..d0902ee7443 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1136.RULE @@ -0,0 +1 @@ +license is GPLv2 only \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1136.yml b/src/licensedcode/data/rules/gpl-2.0_1136.yml new file mode 100644 index 00000000000..40bcbb97725 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1136.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_1137.RULE b/src/licensedcode/data/rules/gpl-2.0_1137.RULE new file mode 100644 index 00000000000..8f52b7b0a76 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1137.RULE @@ -0,0 +1,2 @@ +This package, the EXT2 filesystem utilities, is protected by the GNU +General Public License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1137.yml b/src/licensedcode/data/rules/gpl-2.0_1137.yml new file mode 100644 index 00000000000..40bcbb97725 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1137.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_5.RULE b/src/licensedcode/data/rules/gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_5.RULE new file mode 100644 index 00000000000..450f8209014 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_5.RULE @@ -0,0 +1,5 @@ +This package, the EXT2 filesystem utilities, are made available under +the GNU Public License, with the exception of the lib/uuid directory +which is made available under a BSD-style license. Please see +lib/uuid/COPYING for more details for the license for the files +comprising the libuuid library. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_5.yml b/src/licensedcode/data/rules/gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_5.yml new file mode 100644 index 00000000000..40f637c08f1 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_5.yml @@ -0,0 +1,6 @@ +license_expression: gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit +is_license_notice: yes +relevance: 100 +minimum_coverage: 90 +referenced_filenames: + - lib/uuid/COPYING diff --git a/src/licensedcode/data/rules/gpl-2.0_and_other-copyleft_and_other-permissive_2.RULE b/src/licensedcode/data/rules/gpl-2.0_and_other-copyleft_and_other-permissive_2.RULE new file mode 100644 index 00000000000..f72d082d43e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_and_other-copyleft_and_other-permissive_2.RULE @@ -0,0 +1 @@ +The code is being released under GPL v2 and GPL v2 compatible licenses. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_and_other-copyleft_and_other-permissive_2.yml b/src/licensedcode/data/rules/gpl-2.0_and_other-copyleft_and_other-permissive_2.yml new file mode 100644 index 00000000000..9ba91895e4d --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_and_other-copyleft_and_other-permissive_2.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 AND other-copyleft AND other-permissive +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_2.RULE b/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_2.RULE new file mode 100644 index 00000000000..2b6faea2da2 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_2.RULE @@ -0,0 +1,4 @@ +licensed under the GNU General Public License (GPL), version 2 or +3, or the Apache License 2.0. This means that you can distribute +derivates of those modules under any combination of one or more of the +three licenses. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_2.yml b/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_2.yml new file mode 100644 index 00000000000..6744450b0d8 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_2.yml @@ -0,0 +1,4 @@ +license_expression: gpl-2.0 OR gpl-3.0 OR apache-2.0 +is_license_notice: yes +relevance: 100 +notes: seen in xpdf diff --git a/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_3.RULE b/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_3.RULE new file mode 100644 index 00000000000..01a67f3c3e2 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_3.RULE @@ -0,0 +1,2 @@ +This package includes the text of all three licenses: COPYING for GPL +v2, COPYING3 for GPL v3, APACHE-2.0.txt for Apache v2. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_3.yml b/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_3.yml new file mode 100644 index 00000000000..172220a765f --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_3.yml @@ -0,0 +1,8 @@ +license_expression: gpl-2.0 OR gpl-3.0 OR apache-2.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING + - COPYING3 + - APACHE-2.0.txt +notes: seen in xpdf diff --git a/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_2.RULE b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_2.RULE new file mode 100644 index 00000000000..3db058ff281 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_2.RULE @@ -0,0 +1,347 @@ +GNU GENERAL PUBLIC LICENSE (with font exception) + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + +As a special exception, if you create a document which uses this font, and embed this font or unaltered portions of this font into the document, this font does not by itself cause the resulting document to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the document might be covered by the GNU General Public License. If you modify this font, you may extend this exception to your version of the font, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_2.yml b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_2.yml new file mode 100644 index 00000000000..144014764a3 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_2.yml @@ -0,0 +1,12 @@ +license_expression: gpl-2.0 WITH font-exception-gpl +is_license_text: yes +relevance: 99 +minimum_coverage: 98 +notes: Seen in https://sourceforge.net/projects/linuxlibertine/files/linuxlibertine/5.3.0/LinLibertineTTF_5.3.0_2012_07_02.tgz/download + this is a modified GPL which is problematic +ignorable_copyrights: + - Copyright (c) 1989, 1991 Free Software Foundation, Inc. + - copyrighted by the Free Software Foundation +ignorable_holders: + - Free Software Foundation, Inc. + - the Free Software Foundation diff --git a/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_3.RULE b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_3.RULE new file mode 100644 index 00000000000..541a0aafabe --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_3.RULE @@ -0,0 +1 @@ +GNU GENERAL PUBLIC LICENSE (with font exception) \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_3.yml b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_3.yml new file mode 100644 index 00000000000..cdc969f9290 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_3.yml @@ -0,0 +1,4 @@ +license_expression: gpl-2.0 WITH font-exception-gpl +is_license_reference: yes +relevance: 99 +notes: Seen in https://sourceforge.net/projects/linuxlibertine/files/linuxlibertine/5.3.0/LinLibertineTTF_5.3.0_2012_07_02.tgz/download diff --git a/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_or_ofl-1.1_1.RULE b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_or_ofl-1.1_1.RULE new file mode 100644 index 00000000000..15f2c793b73 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_or_ofl-1.1_1.RULE @@ -0,0 +1,2 @@ +Our fonts are free in the sense of the GPL. In short: Changing the font is allowed as long as the derivative work is published under the same licence again. Pedantics keep claiming that the embedded use of GPL-fonts in i.e. PDFs requires the free publication of the PDF as well. This is why our GPL contains the so called "font exception". Further information about the GPL (licence text with font exception see GPL.txt in this package). +Additionally our fonts are licensed under the Open Fonts License (see OFL.txt). \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_or_ofl-1.1_1.yml b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_or_ofl-1.1_1.yml new file mode 100644 index 00000000000..046515b16de --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_or_ofl-1.1_1.yml @@ -0,0 +1,7 @@ +license_expression: gpl-2.0 WITH font-exception-gpl OR ofl-1.1 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - GPL.txt + - OFL.txt +notes: Seen in https://sourceforge.net/projects/linuxlibertine/files/linuxlibertine/5.3.0/LinLibertineTTF_5.3.0_2012_07_02.tgz/download diff --git a/src/licensedcode/data/rules/gpl-2.0_with_openssl-exception-gpl-2.0_7.RULE b/src/licensedcode/data/rules/gpl-2.0_with_openssl-exception-gpl-2.0_7.RULE new file mode 100644 index 00000000000..3ba4f8b322b --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_with_openssl-exception-gpl-2.0_7.RULE @@ -0,0 +1,10 @@ +License Exception + +In addition, as a special exception, the copyright holders give +permission to link the code of portions of this program with the +OpenSSL library under certain conditions as described in each +individual source file, and distribute linked combinations +including the two. + +You must obey the GNU General Public License in all respects +for all of the code used other than OpenSSL. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_with_openssl-exception-gpl-2.0_7.yml b/src/licensedcode/data/rules/gpl-2.0_with_openssl-exception-gpl-2.0_7.yml new file mode 100644 index 00000000000..9325b4e0bab --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_with_openssl-exception-gpl-2.0_7.yml @@ -0,0 +1,4 @@ +license_expression: gpl-2.0 WITH openssl-exception-gpl-2.0 +is_license_notice: yes +relevance: 100 +notes: Seen in monit at https://bitbucket.org/tildeslash/monit/src/7b8f180bdb1732620e07c62f939fb2d0e7c68c0f/COPYING?at=master diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_355.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_355.RULE new file mode 100644 index 00000000000..77738a89197 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_355.RULE @@ -0,0 +1 @@ +Code licensed under GPLv3+. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_355.yml b/src/licensedcode/data/rules/gpl-3.0-plus_355.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_355.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_356.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_356.RULE new file mode 100644 index 00000000000..57d58a5e70f --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_356.RULE @@ -0,0 +1 @@ +licensed under GPLv3+. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_356.yml b/src/licensedcode/data/rules/gpl-3.0-plus_356.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_356.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_357.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_357.RULE new file mode 100644 index 00000000000..a3fc7dad5c5 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_357.RULE @@ -0,0 +1 @@ +under GPLv3+. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_357.yml b/src/licensedcode/data/rules/gpl-3.0-plus_357.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_357.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_358.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_358.RULE new file mode 100644 index 00000000000..02725ad72e7 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_358.RULE @@ -0,0 +1,13 @@ +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +limit so don't run it by default. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_358.yml b/src/licensedcode/data/rules/gpl-3.0-plus_358.yml new file mode 100644 index 00000000000..9e1e5dd2997 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_358.yml @@ -0,0 +1,5 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 +ignorable_urls: + - http://www.gnu.org/licenses/ diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_359.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_359.RULE new file mode 100644 index 00000000000..1bd8bdbcbd6 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_359.RULE @@ -0,0 +1 @@ +Licensed under GPLv3+ license \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_359.yml b/src/licensedcode/data/rules/gpl-3.0-plus_359.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_359.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_360.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_360.RULE new file mode 100644 index 00000000000..59ff4386047 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_360.RULE @@ -0,0 +1 @@ +/* Licensed under GPLv3+ - see LICENSE file for details */ \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_360.yml b/src/licensedcode/data/rules/gpl-3.0-plus_360.yml new file mode 100644 index 00000000000..06723102079 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_360.yml @@ -0,0 +1,5 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_361.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_361.RULE new file mode 100644 index 00000000000..cb2d419065e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_361.RULE @@ -0,0 +1 @@ +licensed under GPLv3+ (GPL version 3 or later) \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_361.yml b/src/licensedcode/data/rules/gpl-3.0-plus_361.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_361.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_362.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_362.RULE new file mode 100644 index 00000000000..bb006a474c6 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_362.RULE @@ -0,0 +1 @@ +licensed under GPLv3+ (GNU GPL version 3 or later http://gnu.org/licenses/gpl \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_362.yml b/src/licensedcode/data/rules/gpl-3.0-plus_362.yml new file mode 100644 index 00000000000..c384c5bf54c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_362.yml @@ -0,0 +1,5 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 +ignorable_urls: + - http://gnu.org/licenses/gpl diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_363.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_363.RULE new file mode 100644 index 00000000000..c242985b0d6 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_363.RULE @@ -0,0 +1 @@ +licensed under GPLv3+: GNU GPL version 3 or later (http://gnu.org/licenses/gpl.html) \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_363.yml b/src/licensedcode/data/rules/gpl-3.0-plus_363.yml new file mode 100644 index 00000000000..77eba7a289c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_363.yml @@ -0,0 +1,5 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 +ignorable_urls: + - http://gnu.org/licenses/gpl.html diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_364.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_364.RULE new file mode 100644 index 00000000000..8b9708b8a96 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_364.RULE @@ -0,0 +1 @@ +This program is licensed under GPLv3+. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_364.yml b/src/licensedcode/data/rules/gpl-3.0-plus_364.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_364.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_365.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_365.RULE new file mode 100644 index 00000000000..b3fb03dd87b --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_365.RULE @@ -0,0 +1 @@ +Licensed under GPLv3+ https://www.gnu.org/licenses/gpl-3.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_365.yml b/src/licensedcode/data/rules/gpl-3.0-plus_365.yml new file mode 100644 index 00000000000..2da6a4c3002 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_365.yml @@ -0,0 +1,5 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://www.gnu.org/licenses/gpl-3.0 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_366.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_366.RULE new file mode 100644 index 00000000000..ec16acf0e91 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_366.RULE @@ -0,0 +1 @@ +licensed under GPLv3+ (see LICENSE.rst). \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_366.yml b/src/licensedcode/data/rules/gpl-3.0-plus_366.yml new file mode 100644 index 00000000000..b4f056229f9 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_366.yml @@ -0,0 +1,5 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE.rst diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_367.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_367.RULE new file mode 100644 index 00000000000..e5d61286893 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_367.RULE @@ -0,0 +1 @@ +The code in this project is licensed under GPLv3+. The full licensing text can be found in the LICENSE file \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_367.yml b/src/licensedcode/data/rules/gpl-3.0-plus_367.yml new file mode 100644 index 00000000000..06723102079 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_367.yml @@ -0,0 +1,5 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_368.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_368.RULE new file mode 100644 index 00000000000..04c48c4678b --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_368.RULE @@ -0,0 +1 @@ +licensed under GPLv3+ terms. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_368.yml b/src/licensedcode/data/rules/gpl-3.0-plus_368.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_368.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_369.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_369.RULE new file mode 100644 index 00000000000..82d5775df70 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_369.RULE @@ -0,0 +1 @@ +licensed under GPLv3+ ("three plus"), \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_369.yml b/src/licensedcode/data/rules/gpl-3.0-plus_369.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_369.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_370.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_370.RULE new file mode 100644 index 00000000000..7a0de33e503 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_370.RULE @@ -0,0 +1 @@ +Since these are GPLv3+ compatible licenses, the whole project is licensed under GPLv3+. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_370.yml b/src/licensedcode/data/rules/gpl-3.0-plus_370.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_370.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_371.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_371.RULE new file mode 100644 index 00000000000..bc34e094b31 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_371.RULE @@ -0,0 +1 @@ +This file is licensed under GPLv3 or later \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_371.yml b/src/licensedcode/data/rules/gpl-3.0-plus_371.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_371.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_372.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_372.RULE new file mode 100644 index 00000000000..0adb871865f --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_372.RULE @@ -0,0 +1,21 @@ +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3 of the License, or +(at your option) any later version. + +This program is distributed AS-IS, WITHOUT ANY WARRANTY, express or +implied, including, but not limited to the WARRANTY OF MERCHANTABILITY +or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. The copyright holders hereby disclaim all warranties. + +In no case shall the copyright holders be liable to you or any thrid- +party for damages of any kind, including, but not limited to, punitive, +special, consequential, indirect or similar damages. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software Foundation, +Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. On +the initial date of release of this software, a copy can be found at +the following location: + +https://www.gnu.org/licenses/gpl-3.0.en.html \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_372.yml b/src/licensedcode/data/rules/gpl-3.0-plus_372.yml new file mode 100644 index 00000000000..79a1c448de3 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_372.yml @@ -0,0 +1,5 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://www.gnu.org/licenses/gpl-3.0.en.html diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_373.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_373.RULE new file mode 100644 index 00000000000..dc9a19319db --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_373.RULE @@ -0,0 +1,19 @@ +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3 of the License, or +(at your option) any later version. + +This program is distributed AS-IS, WITHOUT ANY WARRANTY, express or +implied, including, but not limited to the WARRANTY OF MERCHANTABILITY +or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. The copyright holders hereby disclaim all warranties. + +In no case shall the copyright holders be liable to you or any thrid- +party for damages of any kind, including, but not limited to, punitive, +special, consequential, indirect or similar damages. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software Foundation, +Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. On +the initial date of release of this software, a copy can be found at +the following location: \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_373.yml b/src/licensedcode/data/rules/gpl-3.0-plus_373.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_373.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_6.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_6.RULE new file mode 100644 index 00000000000..76e9eb3b76d --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_6.RULE @@ -0,0 +1 @@ +license: "dual-licensed under GPLv3+ or BSD 2-clause" \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_6.yml b/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_6.yml new file mode 100644 index 00000000000..52daa08637a --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_6.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus OR bsd-simplified +is_license_tag: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_7.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_7.RULE new file mode 100644 index 00000000000..07b9a971cfa --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_7.RULE @@ -0,0 +1 @@ +Licence: "Dual-Licensed Under Gplv3+ Or Bsd 2-Clause" \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_7.yml b/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_7.yml new file mode 100644 index 00000000000..52daa08637a --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_7.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus OR bsd-simplified +is_license_tag: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_with_other-copyleft_2.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_with_other-copyleft_2.RULE new file mode 100644 index 00000000000..82118db411d --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_with_other-copyleft_2.RULE @@ -0,0 +1 @@ +licensed under GPLv3+ with additional permission to link, combine and redistribute it with other free or open source software. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_with_other-copyleft_2.yml b/src/licensedcode/data/rules/gpl-3.0-plus_with_other-copyleft_2.yml new file mode 100644 index 00000000000..cd7e0839c65 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_with_other-copyleft_2.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus WITH other-copyleft +is_license_notice: yes +relevance: 99 diff --git a/src/licensedcode/data/rules/gpl-3.0_396.RULE b/src/licensedcode/data/rules/gpl-3.0_396.RULE new file mode 100644 index 00000000000..aa08d325d7e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_396.RULE @@ -0,0 +1 @@ +the GPL-3.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_396.yml b/src/licensedcode/data/rules/gpl-3.0_396.yml new file mode 100644 index 00000000000..9a4537d99e9 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_396.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0_397.RULE b/src/licensedcode/data/rules/gpl-3.0_397.RULE new file mode 100644 index 00000000000..f237d30772b --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_397.RULE @@ -0,0 +1 @@ +insert GPL v3 text here \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_397.yml b/src/licensedcode/data/rules/gpl-3.0_397.yml new file mode 100644 index 00000000000..7689223090a --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_397.yml @@ -0,0 +1,4 @@ +license_expression: gpl-3.0 +is_license_reference: yes +relevance: 100 +notes: seen in some SPDX templates diff --git a/src/licensedcode/data/rules/gpl-3.0_398.RULE b/src/licensedcode/data/rules/gpl-3.0_398.RULE new file mode 100644 index 00000000000..6437220a1fe --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_398.RULE @@ -0,0 +1 @@ +licensed under the General Public License v3. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_398.yml b/src/licensedcode/data/rules/gpl-3.0_398.yml new file mode 100644 index 00000000000..2774025859b --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_398.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0_399.RULE b/src/licensedcode/data/rules/gpl-3.0_399.RULE new file mode 100644 index 00000000000..5e6dabc4729 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_399.RULE @@ -0,0 +1 @@ +the effective license is GPLv3 only \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_399.yml b/src/licensedcode/data/rules/gpl-3.0_399.yml new file mode 100644 index 00000000000..2774025859b --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_399.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0_400.RULE b/src/licensedcode/data/rules/gpl-3.0_400.RULE new file mode 100644 index 00000000000..6482916e0eb --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_400.RULE @@ -0,0 +1,3 @@ +is free software: you can redistribute it and/or modify it +under the terms of the GNU General Public License, version 3. The +complete license terms can be found in the file GPL3. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_400.yml b/src/licensedcode/data/rules/gpl-3.0_400.yml new file mode 100644 index 00000000000..e770a49a439 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_400.yml @@ -0,0 +1,5 @@ +license_expression: gpl-3.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - GPL3 diff --git a/src/licensedcode/data/rules/gpl-3.0_401.RULE b/src/licensedcode/data/rules/gpl-3.0_401.RULE new file mode 100644 index 00000000000..a96c2318c43 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_401.RULE @@ -0,0 +1 @@ +The program is released under GPL 3. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_401.yml b/src/licensedcode/data/rules/gpl-3.0_401.yml new file mode 100644 index 00000000000..2774025859b --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_401.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0_402.RULE b/src/licensedcode/data/rules/gpl-3.0_402.RULE new file mode 100644 index 00000000000..8163ae47920 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_402.RULE @@ -0,0 +1,2 @@ +license: +The program is released under GPL 3. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_402.yml b/src/licensedcode/data/rules/gpl-3.0_402.yml new file mode 100644 index 00000000000..2774025859b --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_402.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0_and_mit_1.RULE b/src/licensedcode/data/rules/gpl-3.0_and_mit_1.RULE new file mode 100644 index 00000000000..731152ea6e1 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_and_mit_1.RULE @@ -0,0 +1 @@ +license: GPLv3, MIT \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_and_mit_1.yml b/src/licensedcode/data/rules/gpl-3.0_and_mit_1.yml new file mode 100644 index 00000000000..96d44f398cc --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_and_mit_1.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0 AND mit +is_license_tag: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_6.RULE b/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_6.RULE new file mode 100644 index 00000000000..ee7bf4c8377 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_6.RULE @@ -0,0 +1,8 @@ +License + + +oRTP is dual licensed, and is available either : + + - under a [GNU/GPLv3 license](https://www.gnu.org/licenses/gpl-3.0.en.html), for free (open source). Please make sure that you understand and agree with the terms of this license before using it (see LICENSE.txt file for details). + + - under a proprietary license, for a fee, to be used in closed source applications. Contact [Belledonne Communications](https://www.linphone.org/contact) for any question about costs and services. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_6.yml b/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_6.yml new file mode 100644 index 00000000000..f8a7cab5991 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_6.yml @@ -0,0 +1,10 @@ +license_expression: gpl-3.0 OR commercial-license +is_license_notice: yes +relevance: 100 +minimum_coverage: 90 +referenced_filenames: + - LICENSE.txt +notes: Seen in https://gitlab.linphone.org/BC/public/ortp/-/archive/4.5.15/ortp-4.5.15.tar.gz +ignorable_urls: + - https://www.gnu.org/licenses/gpl-3.0.en.html + - https://www.linphone.org/contact diff --git a/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_7.RULE b/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_7.RULE new file mode 100644 index 00000000000..511974f6e14 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_7.RULE @@ -0,0 +1,13 @@ +License + + +oRTP is dual licensed, and is available either : + + - under a [GNU/GPLv3 license](https://www.gnu.org/licenses/gpl-3.0.en.html), for free (open source). Please make sure that you understand and agree with the terms of this license before using it (see LICENSE.txt file for details). + + - under a proprietary license, for a fee, to be used in closed source applications. Contact [Belledonne Communications](https://www.linphone.org/contact) for any question about costs and services. + +Prior to version 1.0.0, oRTP was licensed under LGPLv2. Due to inclusion of new code licensed under GPLv2, oRTP has become GPLv2, +and later in version 1.1.0, GPLv3. +For the sake of clarity, all source files headers were updated to mention the GPLv3 only. +oRTP versions prior to 1.0.0 of course remain LGPLv2. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_7.yml b/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_7.yml new file mode 100644 index 00000000000..f8a7cab5991 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_7.yml @@ -0,0 +1,10 @@ +license_expression: gpl-3.0 OR commercial-license +is_license_notice: yes +relevance: 100 +minimum_coverage: 90 +referenced_filenames: + - LICENSE.txt +notes: Seen in https://gitlab.linphone.org/BC/public/ortp/-/archive/4.5.15/ortp-4.5.15.tar.gz +ignorable_urls: + - https://www.gnu.org/licenses/gpl-3.0.en.html + - https://www.linphone.org/contact diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_440.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_440.RULE new file mode 100644 index 00000000000..e0e1874675e --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_440.RULE @@ -0,0 +1 @@ +License: GNU Lesser General Public \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_440.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_440.yml new file mode 100644 index 00000000000..00706bdc2a4 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_440.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus +is_license_tag: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_441.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_441.RULE new file mode 100644 index 00000000000..418fe50755f --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_441.RULE @@ -0,0 +1 @@ +licensed LGPL. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_441.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_441.yml new file mode 100644 index 00000000000..8775364f78c --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_441.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_442.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_442.RULE new file mode 100644 index 00000000000..c64bd3d2ced --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_442.RULE @@ -0,0 +1 @@ +Previous versions are still licensed LGPL. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_442.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_442.yml new file mode 100644 index 00000000000..8775364f78c --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_442.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_443.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_443.RULE new file mode 100644 index 00000000000..57f1cb253d8 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_443.RULE @@ -0,0 +1 @@ +Licensed under LGPLv2+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_443.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_443.yml new file mode 100644 index 00000000000..8775364f78c --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_443.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_444.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_444.RULE new file mode 100644 index 00000000000..338f93305c4 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_444.RULE @@ -0,0 +1 @@ +licensed under LGPLv2+ license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_444.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_444.yml new file mode 100644 index 00000000000..8775364f78c --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_444.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_445.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_445.RULE new file mode 100644 index 00000000000..e6b5e0bba75 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_445.RULE @@ -0,0 +1 @@ +/* Licensed under LGPLv2+ - see LICENSE file for details */ \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_445.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_445.yml new file mode 100644 index 00000000000..78c077dc002 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_445.yml @@ -0,0 +1,5 @@ +license_expression: lgpl-2.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_446.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_446.RULE new file mode 100644 index 00000000000..ff64b22bcc8 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_446.RULE @@ -0,0 +1 @@ +licensed under LGPLv2+ only \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_446.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_446.yml new file mode 100644 index 00000000000..8775364f78c --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_446.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_447.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_447.RULE new file mode 100644 index 00000000000..d1cfb035bf7 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_447.RULE @@ -0,0 +1 @@ +additions are licensed under LGPLv2+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_447.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_447.yml new file mode 100644 index 00000000000..8775364f78c --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_447.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_448.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_448.RULE new file mode 100644 index 00000000000..773f398e953 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_448.RULE @@ -0,0 +1 @@ +The data files are licensed under LGPLv2+, see the README file \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_448.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_448.yml new file mode 100644 index 00000000000..a8283b01717 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_448.yml @@ -0,0 +1,5 @@ +license_expression: lgpl-2.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - README diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_449.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_449.RULE new file mode 100644 index 00000000000..2e2e0c7b707 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_449.RULE @@ -0,0 +1 @@ +The data files are licensed under LGPLv2+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_449.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_449.yml new file mode 100644 index 00000000000..8775364f78c --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_449.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_450.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_450.RULE new file mode 100644 index 00000000000..dda6177d93e --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_450.RULE @@ -0,0 +1 @@ +which is LGPL \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_450.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_450.yml new file mode 100644 index 00000000000..8775364f78c --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_450.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_bsd-new_and_mit_1.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_and_bsd-new_and_mit_1.RULE new file mode 100644 index 00000000000..085a88f89b8 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_bsd-new_and_mit_1.RULE @@ -0,0 +1,3 @@ +This library is mostly governed by the Lesser GNU Public License (LGPL). If a +module comes from another source then it may have another, more liberal, +license. Parts here may be Other Peoples Code under the BSD or MIT license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_bsd-new_and_mit_1.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_and_bsd-new_and_mit_1.yml new file mode 100644 index 00000000000..aff718b3bca --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_bsd-new_and_mit_1.yml @@ -0,0 +1,4 @@ +license_expression: lgpl-2.0-plus AND bsd-new AND mit +is_license_notice: yes +relevance: 99 +notes: this notice is ambiguous wrt. LGPL version and BSD variant. diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_3.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_3.RULE new file mode 100644 index 00000000000..360817a32dd --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_3.RULE @@ -0,0 +1 @@ +licensed under LGPLv2+, GPLv2+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_3.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_3.yml new file mode 100644 index 00000000000..6c7fa7085ca --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_3.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus AND gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_4.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_4.RULE new file mode 100644 index 00000000000..ce548548bb7 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_4.RULE @@ -0,0 +1 @@ +License: GPLv2+ and LGPLv2+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_4.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_4.yml new file mode 100644 index 00000000000..5dfdc6e7360 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_4.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus AND gpl-2.0-plus +is_license_tag: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_5.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_5.RULE new file mode 100644 index 00000000000..2035cd08144 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_5.RULE @@ -0,0 +1 @@ +libraries will be licensed under LGPLv2+ and applications will be licensed under GPLv2+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_5.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_5.yml new file mode 100644 index 00000000000..6c7fa7085ca --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_5.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus AND gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_6.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_6.RULE new file mode 100644 index 00000000000..4e1f5921e40 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_6.RULE @@ -0,0 +1,2 @@ +All other programs, libraries, and plugins are distributed under the LGPL or +GPL (see COPYING.LGPL and COPYING.GPL). \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_6.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_6.yml new file mode 100644 index 00000000000..660d3690327 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_6.yml @@ -0,0 +1,7 @@ +license_expression: lgpl-2.0-plus AND gpl-2.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING.LGPL + - COPYING.GPL +notes: the AND measn OR here in this context diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_or_mit_1.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_or_mit_1.RULE new file mode 100644 index 00000000000..17960102f58 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_or_mit_1.RULE @@ -0,0 +1 @@ +licensed under LGPLv2+ or MIT \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_or_mit_1.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_or_mit_1.yml new file mode 100644 index 00000000000..165a5eda803 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_or_mit_1.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus OR mit +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0_158.RULE b/src/licensedcode/data/rules/lgpl-2.0_158.RULE new file mode 100644 index 00000000000..a412a224b51 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_158.RULE @@ -0,0 +1 @@ +released under the LGPL v2.0. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0_158.yml b/src/licensedcode/data/rules/lgpl-2.0_158.yml new file mode 100644 index 00000000000..398cd185341 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_158.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0_159.RULE b/src/licensedcode/data/rules/lgpl-2.0_159.RULE new file mode 100644 index 00000000000..b0b874bda37 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_159.RULE @@ -0,0 +1 @@ +under the LGPL v2.0. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0_159.yml b/src/licensedcode/data/rules/lgpl-2.0_159.yml new file mode 100644 index 00000000000..398cd185341 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_159.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0_160.RULE b/src/licensedcode/data/rules/lgpl-2.0_160.RULE new file mode 100644 index 00000000000..5902b906a5f --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_160.RULE @@ -0,0 +1 @@ +the LGPL v2.0. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0_160.yml b/src/licensedcode/data/rules/lgpl-2.0_160.yml new file mode 100644 index 00000000000..341f9da0563 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_160.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0_161.RULE b/src/licensedcode/data/rules/lgpl-2.0_161.RULE new file mode 100644 index 00000000000..2479b2f2a1d --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_161.RULE @@ -0,0 +1 @@ +released under the LGPL v2 \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0_161.yml b/src/licensedcode/data/rules/lgpl-2.0_161.yml new file mode 100644 index 00000000000..398cd185341 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_161.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0_162.RULE b/src/licensedcode/data/rules/lgpl-2.0_162.RULE new file mode 100644 index 00000000000..54fca72c72c --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_162.RULE @@ -0,0 +1 @@ +under the LGPL v2. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0_162.yml b/src/licensedcode/data/rules/lgpl-2.0_162.yml new file mode 100644 index 00000000000..398cd185341 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_162.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0_163.RULE b/src/licensedcode/data/rules/lgpl-2.0_163.RULE new file mode 100644 index 00000000000..658b3b568cd --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_163.RULE @@ -0,0 +1 @@ +the LGPL v2. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0_163.yml b/src/licensedcode/data/rules/lgpl-2.0_163.yml new file mode 100644 index 00000000000..341f9da0563 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_163.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_301.RULE b/src/licensedcode/data/rules/lgpl-2.1-plus_301.RULE new file mode 100644 index 00000000000..d1f998ad7e1 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_301.RULE @@ -0,0 +1,15 @@ +Licensed under the GNU Lesser General Public License Version 2.1 + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_301.yml b/src/licensedcode/data/rules/lgpl-2.1-plus_301.yml new file mode 100644 index 00000000000..92ab259a425 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_301.yml @@ -0,0 +1,5 @@ +license_expression: lgpl-2.1-plus +is_license_notice: yes +relevance: 100 +minimum_coverage: 95 +notes: found in libdnf diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_302.RULE b/src/licensedcode/data/rules/lgpl-2.1-plus_302.RULE new file mode 100644 index 00000000000..9a56631865b --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_302.RULE @@ -0,0 +1,2 @@ +distributed under the LGPL version 2.1 (or at you're discretion any later version of +this license). \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_302.yml b/src/licensedcode/data/rules/lgpl-2.1-plus_302.yml new file mode 100644 index 00000000000..f57751a8d70 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_302.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.1-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-2.0-plus_1.RULE b/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-2.0-plus_1.RULE new file mode 100644 index 00000000000..7a8d2b0f4fc --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-2.0-plus_1.RULE @@ -0,0 +1,8 @@ +The first, the library (librarian and headers) is distributed under +the LGPL version 2.1 (or at you're discretion any later version of +this license). Please see the file COPYING.LIB for full details. + +The second part are the utilities (files in util/). These are +distributed under the terms of the GPL, version 2.0 (or at you're +discretion any later version of this license). Please see the file +COPYING.UTILS for full details. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-2.0-plus_1.yml b/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-2.0-plus_1.yml new file mode 100644 index 00000000000..d4d762dca09 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-2.0-plus_1.yml @@ -0,0 +1,6 @@ +license_expression: lgpl-2.1-plus AND gpl-2.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING.LIB + - COPYING.UTILS diff --git a/src/licensedcode/data/rules/lgpl-2.1_295.RULE b/src/licensedcode/data/rules/lgpl-2.1_295.RULE new file mode 100644 index 00000000000..6c7550f8185 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_295.RULE @@ -0,0 +1 @@ +governed by the GNU Lesser General Public License version 2.1. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_295.yml b/src/licensedcode/data/rules/lgpl-2.1_295.yml new file mode 100644 index 00000000000..c88bfbd6701 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_295.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.1 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.1_296.RULE b/src/licensedcode/data/rules/lgpl-2.1_296.RULE new file mode 100644 index 00000000000..235962fbeec --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_296.RULE @@ -0,0 +1,135 @@ +GNU LESSER GENERAL PUBLIC LICENSE +Version 2.1, February 1999 + +Copyright (C) 1991, 1999 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] + +Preamble + +The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. + +This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. + +When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. + +To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. + +For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. + +We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. + +To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. + +Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. + +Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. + +When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. + +We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. + +For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. + +In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. + +Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. + +The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". + +A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. + +The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) + +"Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. + +Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. + +1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. +You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: +a) The modified work must itself be a software library. +b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. +c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. +d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. +(For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. + +3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. + +Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. + +This option is useful when you wish to copy part of the code of the Library into a program that is not a library. + +4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. + +If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. + +5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. + +However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. + +When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. + +If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) + +Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. + +6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. + +You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: +a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) +b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. +c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. +d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. +e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. + +For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. + +It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. + +7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: +a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. +b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. + +8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. + +9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. + +10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. + +11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. + +This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. + +12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. + +13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. + +14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. + +NO WARRANTY + +15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_296.yml b/src/licensedcode/data/rules/lgpl-2.1_296.yml new file mode 100644 index 00000000000..295ea58f16a --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_296.yml @@ -0,0 +1,10 @@ +license_expression: lgpl-2.1 +is_license_text: yes +relevance: 100 +notes: See in vmware tools. Truncated texts +ignorable_copyrights: + - Copyright (c) 1991, 1999 Free Software Foundation, Inc. + - copyrighted by the Free Software Foundation +ignorable_holders: + - Free Software Foundation, Inc. + - the Free Software Foundation diff --git a/src/licensedcode/data/rules/lgpl-2.1_297.RULE b/src/licensedcode/data/rules/lgpl-2.1_297.RULE new file mode 100644 index 00000000000..075d6065eed --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_297.RULE @@ -0,0 +1,12 @@ +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation version 2.1 and no later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the Lesser GNU General Public +# License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_297.yml b/src/licensedcode/data/rules/lgpl-2.1_297.yml new file mode 100644 index 00000000000..c88bfbd6701 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_297.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.1 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.1_298.RULE b/src/licensedcode/data/rules/lgpl-2.1_298.RULE new file mode 100644 index 00000000000..624920f0ac7 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_298.RULE @@ -0,0 +1 @@ +components are released under the LGPL v2.1 \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_298.yml b/src/licensedcode/data/rules/lgpl-2.1_298.yml new file mode 100644 index 00000000000..c88bfbd6701 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_298.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.1 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.1_299.RULE b/src/licensedcode/data/rules/lgpl-2.1_299.RULE new file mode 100644 index 00000000000..2abed8e6dea --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_299.RULE @@ -0,0 +1 @@ +released under the LGPL v2.1. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_299.yml b/src/licensedcode/data/rules/lgpl-2.1_299.yml new file mode 100644 index 00000000000..c88bfbd6701 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_299.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.1 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.1_300.RULE b/src/licensedcode/data/rules/lgpl-2.1_300.RULE new file mode 100644 index 00000000000..3a406ebc8d6 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_300.RULE @@ -0,0 +1 @@ +under the LGPL v2.1. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_300.yml b/src/licensedcode/data/rules/lgpl-2.1_300.yml new file mode 100644 index 00000000000..c88bfbd6701 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_300.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.1 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.1_301.RULE b/src/licensedcode/data/rules/lgpl-2.1_301.RULE new file mode 100644 index 00000000000..b987ed92e3e --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_301.RULE @@ -0,0 +1 @@ +the LGPL v2.1. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_301.yml b/src/licensedcode/data/rules/lgpl-2.1_301.yml new file mode 100644 index 00000000000..9ea4e2c0146 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_301.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.1 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-3.0-plus_185.RULE b/src/licensedcode/data/rules/lgpl-3.0-plus_185.RULE new file mode 100644 index 00000000000..d0ace032477 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0-plus_185.RULE @@ -0,0 +1 @@ +/* Licensed under LGPLv3+ - see LICENSE file for details */ \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-3.0-plus_185.yml b/src/licensedcode/data/rules/lgpl-3.0-plus_185.yml new file mode 100644 index 00000000000..1293d3eafc7 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0-plus_185.yml @@ -0,0 +1,5 @@ +license_expression: Lgpl-3.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE diff --git a/src/licensedcode/data/rules/lgpl-3.0-plus_and_gpl-3.0-plus_1.RULE b/src/licensedcode/data/rules/lgpl-3.0-plus_and_gpl-3.0-plus_1.RULE new file mode 100644 index 00000000000..1e1d5d2502d --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0-plus_and_gpl-3.0-plus_1.RULE @@ -0,0 +1 @@ +License: GPLv3+ and LGPLv3+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-3.0-plus_and_gpl-3.0-plus_1.yml b/src/licensedcode/data/rules/lgpl-3.0-plus_and_gpl-3.0-plus_1.yml new file mode 100644 index 00000000000..35ace5033f2 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0-plus_and_gpl-3.0-plus_1.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-3.0-plus AND gpl-3.0-plus +is_license_tag: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-3.0_238.RULE b/src/licensedcode/data/rules/lgpl-3.0_238.RULE new file mode 100644 index 00000000000..9c814cf8c43 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0_238.RULE @@ -0,0 +1 @@ +governed by the GNU Lesser General Public License version 3. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-3.0_238.yml b/src/licensedcode/data/rules/lgpl-3.0_238.yml new file mode 100644 index 00000000000..c01463209bf --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0_238.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-3.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-3.0_239.RULE b/src/licensedcode/data/rules/lgpl-3.0_239.RULE new file mode 100644 index 00000000000..e16b060ad60 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0_239.RULE @@ -0,0 +1,12 @@ +* This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation version 3.0 and no later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the Lesser GNU General Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-3.0_239.yml b/src/licensedcode/data/rules/lgpl-3.0_239.yml new file mode 100644 index 00000000000..c01463209bf --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0_239.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-3.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-3.0_or_apache-2.0_5.RULE b/src/licensedcode/data/rules/lgpl-3.0_or_apache-2.0_5.RULE new file mode 100644 index 00000000000..fa1fa943025 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0_or_apache-2.0_5.RULE @@ -0,0 +1 @@ +license: LGPL-3 | Apache License 2.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-3.0_or_apache-2.0_5.yml b/src/licensedcode/data/rules/lgpl-3.0_or_apache-2.0_5.yml new file mode 100644 index 00000000000..04a346d1025 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0_or_apache-2.0_5.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-3.0 OR apache-2.0 +is_license_tag: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mpl-1.0_22.RULE b/src/licensedcode/data/rules/mpl-1.0_22.RULE new file mode 100644 index 00000000000..0a695f08590 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-1.0_22.RULE @@ -0,0 +1,14 @@ +The contents of this file are subject to the Mozilla Public License Version 1.0 +(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 _____ +are Copyright (C) _____ . All Rights Reserved. + +Contributor(s): _____ . \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-1.0_22.yml b/src/licensedcode/data/rules/mpl-1.0_22.yml new file mode 100644 index 00000000000..c525a737ed3 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-1.0_22.yml @@ -0,0 +1,6 @@ +license_expression: mpl-1.0 +is_license_notice: yes +relevance: 100 +minimum_coverage: 95 +ignorable_urls: + - http://www.mozilla.org/MPL/ diff --git a/src/licensedcode/data/rules/mpl-2.0_100.RULE b/src/licensedcode/data/rules/mpl-2.0_100.RULE new file mode 100644 index 00000000000..0d0d7980e94 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_100.RULE @@ -0,0 +1 @@ +it is licensed under the Mozilla Public License 2.0, \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-2.0_100.yml b/src/licensedcode/data/rules/mpl-2.0_100.yml new file mode 100644 index 00000000000..e329fc385ff --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_100.yml @@ -0,0 +1,3 @@ +license_expression: mpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mpl-2.0_95.RULE b/src/licensedcode/data/rules/mpl-2.0_95.RULE new file mode 100644 index 00000000000..eee3900ff2a --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_95.RULE @@ -0,0 +1 @@ +MPL v2.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-2.0_95.yml b/src/licensedcode/data/rules/mpl-2.0_95.yml new file mode 100644 index 00000000000..af2bf6a8926 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_95.yml @@ -0,0 +1,3 @@ +license_expression: mpl-2.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mpl-2.0_96.RULE b/src/licensedcode/data/rules/mpl-2.0_96.RULE new file mode 100644 index 00000000000..bc4fbe504cb --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_96.RULE @@ -0,0 +1 @@ +the Mozilla Public License 2.0, \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-2.0_96.yml b/src/licensedcode/data/rules/mpl-2.0_96.yml new file mode 100644 index 00000000000..af2bf6a8926 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_96.yml @@ -0,0 +1,3 @@ +license_expression: mpl-2.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mpl-2.0_97.RULE b/src/licensedcode/data/rules/mpl-2.0_97.RULE new file mode 100644 index 00000000000..c15d42b7678 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_97.RULE @@ -0,0 +1,2 @@ +The Source Code of this file is available under the +Mozilla Public License, v. 2.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-2.0_97.yml b/src/licensedcode/data/rules/mpl-2.0_97.yml new file mode 100644 index 00000000000..e329fc385ff --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_97.yml @@ -0,0 +1,3 @@ +license_expression: mpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mpl-2.0_98.RULE b/src/licensedcode/data/rules/mpl-2.0_98.RULE new file mode 100644 index 00000000000..a61cf3f8bf1 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_98.RULE @@ -0,0 +1,6 @@ +If a copy of the MPL was not distributed with this file, you can obtain one +at https://mozilla.org/MPL/2.0/. + +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. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-2.0_98.yml b/src/licensedcode/data/rules/mpl-2.0_98.yml new file mode 100644 index 00000000000..a6bbcef690b --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_98.yml @@ -0,0 +1,5 @@ +license_expression: mpl-2.0 +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://mozilla.org/MPL/2.0 diff --git a/src/licensedcode/data/rules/mpl-2.0_99.RULE b/src/licensedcode/data/rules/mpl-2.0_99.RULE new file mode 100644 index 00000000000..48e35efa89d --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_99.RULE @@ -0,0 +1 @@ +licensed under the Mozilla Public License 2.0, \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-2.0_99.yml b/src/licensedcode/data/rules/mpl-2.0_99.yml new file mode 100644 index 00000000000..e329fc385ff --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_99.yml @@ -0,0 +1,3 @@ +license_expression: mpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mpl-2.0_or_mit_1.RULE b/src/licensedcode/data/rules/mpl-2.0_or_mit_1.RULE new file mode 100644 index 00000000000..5bee70653f3 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_or_mit_1.RULE @@ -0,0 +1 @@ +license: Mozilla Public License 2.0 (MPL 2.0) or MIT License \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-2.0_or_mit_1.yml b/src/licensedcode/data/rules/mpl-2.0_or_mit_1.yml new file mode 100644 index 00000000000..4406d766be4 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_or_mit_1.yml @@ -0,0 +1,3 @@ +license_expression: mpl-2.0 OR mit +is_license_tag: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/osl-1.0_2.RULE b/src/licensedcode/data/rules/osl-1.0_2.RULE new file mode 100644 index 00000000000..0d40b3b2208 --- /dev/null +++ b/src/licensedcode/data/rules/osl-1.0_2.RULE @@ -0,0 +1 @@ +The Open Software License v. 1.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/osl-1.0_2.yml b/src/licensedcode/data/rules/osl-1.0_2.yml new file mode 100644 index 00000000000..b547f4655f6 --- /dev/null +++ b/src/licensedcode/data/rules/osl-1.0_2.yml @@ -0,0 +1,3 @@ +license_expression: osl-1.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/osl-1.0_3.RULE b/src/licensedcode/data/rules/osl-1.0_3.RULE new file mode 100644 index 00000000000..91ce0597f5e --- /dev/null +++ b/src/licensedcode/data/rules/osl-1.0_3.RULE @@ -0,0 +1,152 @@ +The Open Software License v. 1.0 + +This Open Software License (the "License") applies to any original work of +authorship (the "Original Work") whose owner (the "Licensor") has placed the +following notice immediately following the copyright notice for the Original +Work: + +"Licensed under the Open Software License version 1.0" + +License Terms + +1) Grant of Copyright License. Licensor hereby grants You a world-wide, +royalty-free, non-exclusive, perpetual, non-sublicenseable license to do the +following: + +a) to reproduce the Original Work in copies; + +b) to prepare derivative works ("Derivative Works") based upon the Original +Work; + +c) to distribute copies of the Original Work and Derivative Works to the +public, with the proviso that copies of Original Work or Derivative Works that +You distribute shall be licensed under the Open Software License; + +d) to perform the Original Work publicly; and + +e) to display the Original Work publicly. + +2) Grant of Patent License. Licensor hereby grants You a world-wide, royalty- +free, non-exclusive, perpetual, non-sublicenseable license, under patent +claims owned or controlled by the Licensor that are embodied in the Original +Work as furnished by the Licensor ("Licensed Claims") to make, use, sell and +offer for sale the Original Work. Licensor hereby grants You a world-wide, +royalty-free, non-exclusive, perpetual, non-sublicenseable license under the +Licensed Claims to make, use, sell and offer for sale Derivative Works. + +3) Grant of Source Code License. The term "Source Code" means the preferred +form of the Original Work for making modifications to it and all available +documentation describing how to access and modify the Original Work. Licensor +hereby agrees to provide a machine-readable copy of the Source Code of the +Original Work along with each copy of the Original Work that Licensor +distributes. Licensor reserves the right to satisfy this obligation by placing +a machine-readable copy of the Source Code in an information repository +reasonably calculated to permit inexpensive and convenient access by You for +as long as Licensor continues to distribute the Original Work, and by +publishing the address of that information repository in a notice immediately +following the copyright notice that applies to the Original Work. + +4) Exclusions From License Grant. Nothing in this License shall be deemed to +grant any rights to trademarks, copyrights, patents, trade secrets or any +other intellectual property of Licensor except as expressly stated herein. No +patent license is granted to make, use, sell or offer to sell embodiments of +any patent claims other than the Licensed Claims defined in Section 2. No +right is granted to the trademarks of Licensor even if such marks are included +in the Original Work. Nothing in this License shall be interpreted to prohibit +Licensor from licensing under different terms from this License any Original +Work that Licensor otherwise would have a right to license. + +5) External Deployment. The term "External Deployment" means the use or +distribution of the Original Work or Derivative Works in any way such that the +Original Work or Derivative Works may be accessed or used by anyone other than +You, whether the Original Work or Derivative Works are distributed to those +persons, made available as an application intended for use over a computer +network, or used to provide services or otherwise deliver content to anyone +other than You. As an express condition for the grants of license hereunder, +You agree that any External Deployment by You shall be deemed a distribution +and shall be licensed to all under the terms of this License, as prescribed in +section 1(c) herein. + +6) Warranty and Disclaimer of Warranty. LICENSOR WARRANTS THAT THE COPYRIGHT +IN AND TO THE ORIGINAL WORK IS OWNED BY THE LICENSOR OR THAT THE ORIGINAL WORK +IS DISTRIBUTED BY LICENSOR UNDER A VALID CURRENT LICENSE FROM THE COPYRIGHT +OWNER. EXCEPT AS EXPRESSLY STATED IN THE IMMEDIATELY PRECEEDING SENTENCE, THE +ORIGINAL WORK IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT +WARRANTY, EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THE +WARRANTY OF NON-INFRINGEMENT AND WARRANTIES THAT THE ORIGINAL WORK IS +MERCHANTABLE OR FIT FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE +QUALITY OF THE ORIGINAL WORK IS WITH YOU. THIS DISCLAIMER OF WARRANTY +CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO LICENSE TO ORIGINAL WORK IS +GRANTED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +7) Limitation of Liability. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, +WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE +LICENSOR BE LIABLE TO ANY PERSON FOR ANY DIRECT, INDIRECT, SPECIAL, +INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING AS A RESULT OF +THIS LICENSE OR THE USE OF THE ORIGINAL WORK INCLUDING, WITHOUT LIMITATION, +DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, +OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PERSON SHALL +HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF +LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING +FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH +LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF +INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT +APPLY TO YOU. + +8) Acceptance and Termination. Nothing else but this License (or another +written agreement between Licensor and You) grants You permission to create +Derivative Works based upon the Original Work, and any attempt to do so except +under the terms of this License (or another written agreement between Licensor +and You) is expressly prohibited by U.S. copyright law, the equivalent laws of +other countries, and by international treaty. Therefore, by exercising any of +the rights granted to You in Sections 1 and 2 herein, You indicate Your +acceptance of this License and all of its terms and conditions. This license +shall terminate immediately and you may no longer exercise any of the rights +granted to You by this License upon Your failure to honor the proviso in +Section 1(c) herein. + +9) Mutual Termination for Patent Action. This License shall terminate +automatically and You may no longer exercise any of the rights granted to You +by this License if You file a lawsuit in any court alleging that any OSI +Certified open source software that is licensed under any license containing +this "Mutual Termination for Patent Action" clause infringes any patent claims +that are essential to use that software. + +10) Jurisdiction, Venue and Governing Law. You agree that any lawsuit arising +under or relating to this License shall be maintained in the courts of the +jurisdiction wherein the Licensor resides or in which Licensor conducts its +primary business, and under the laws of that jurisdiction excluding its +conflict-of-law provisions. The application of the United Nations Convention +on Contracts for the International Sale of Goods is expressly excluded. Any +use of the Original Work outside the scope of this License or after its +termination shall be subject to the requirements and penalties of the U.S. +Copyright Act, 17 U.S.C. § 101 et seq., the equivalent laws of other +countries, and international treaty. This section shall survive the +termination of this License. + +11) Attorneys Fees. In any action to enforce the terms of this License or +seeking damages relating thereto, the prevailing party shall be entitled to +recover its costs and expenses, including, without limitation, reasonable +attorneys' fees and costs incurred in connection with such action, +including any appeal of such action. This section shall survive the +termination of this License. + +12) Miscellaneous. This License represents the complete agreement concerning +the subject matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent necessary +to make it enforceable. + +13) Definition of "You" in This License. "You" throughout this License, +whether in upper or lower case, means an individual or a legal entity +exercising rights under, and complying with all of the terms of, this License. +For legal entities, "You" includes any entity that controls, is controlled by, +or is under common control with you. For purposes of this definition, +"control" means (i) the power, direct or indirect, to cause the direction or +management of such entity, whether by contract or otherwise, or (ii) ownership +of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial +ownership of such entity. + +This license is Copyright (C) 2002 Lawrence E. Rosen. All rights reserved. +Permission is hereby granted to copy and distribute this license without +modification. This license may not be modified without the express written +permission of its copyright owner. \ No newline at end of file diff --git a/src/licensedcode/data/rules/osl-1.0_3.yml b/src/licensedcode/data/rules/osl-1.0_3.yml new file mode 100644 index 00000000000..f8824691cb8 --- /dev/null +++ b/src/licensedcode/data/rules/osl-1.0_3.yml @@ -0,0 +1,7 @@ +license_expression: osl-1.0 +is_license_text: yes +relevance: 100 +ignorable_copyrights: + - Copyright (c) 2002 Lawrence E. Rosen +ignorable_holders: + - Lawrence E. Rosen From 87e9089f73bcb38bf14f653b664f931b99df1b7f Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Fri, 30 Jul 2021 17:49:25 +0200 Subject: [PATCH 14/21] Add new permissive license detection rules Signed-off-by: Philippe Ombredanne --- src/licensedcode/data/rules/afl-1.1_5.RULE | 1 + src/licensedcode/data/rules/afl-1.1_5.yml | 3 + src/licensedcode/data/rules/apache-1.0_7.RULE | 33 ++++ src/licensedcode/data/rules/apache-1.0_7.yml | 9 + .../data/rules/apache-1.1_89.RULE | 39 ++++ src/licensedcode/data/rules/apache-1.1_89.yml | 13 ++ .../data/rules/apache-2.0_925.RULE | 2 + .../data/rules/apache-2.0_925.yml | 7 + .../data/rules/apache-2.0_926.RULE | 1 + .../data/rules/apache-2.0_926.yml | 3 + .../data/rules/apache-2.0_927.RULE | 3 + .../data/rules/apache-2.0_927.yml | 6 + .../data/rules/apache-2.0_928.RULE | 1 + .../data/rules/apache-2.0_928.yml | 6 + .../data/rules/apache-2.0_929.RULE | 1 + .../data/rules/apache-2.0_929.yml | 4 + .../data/rules/apache-2.0_930.RULE | 1 + .../data/rules/apache-2.0_930.yml | 5 + .../data/rules/apache-2.0_931.RULE | 11 ++ .../data/rules/apache-2.0_931.yml | 5 + .../data/rules/apache-2.0_932.RULE | 10 + .../data/rules/apache-2.0_932.yml | 6 + .../data/rules/apache-2.0_933.RULE | 2 + .../data/rules/apache-2.0_933.yml | 3 + .../data/rules/apache-2.0_934.RULE | 6 + .../data/rules/apache-2.0_934.yml | 5 + .../data/rules/apache-2.0_935.RULE | 1 + .../data/rules/apache-2.0_935.yml | 5 + .../data/rules/apache-2.0_936.RULE | 1 + .../data/rules/apache-2.0_936.yml | 5 + .../data/rules/apache-2.0_937.RULE | 2 + .../data/rules/apache-2.0_937.yml | 5 + .../data/rules/apache-2.0_938.RULE | 1 + .../data/rules/apache-2.0_938.yml | 5 + .../data/rules/apache-2.0_939.RULE | 11 ++ .../data/rules/apache-2.0_939.yml | 6 + .../data/rules/apache-2.0_940.RULE | 1 + .../data/rules/apache-2.0_940.yml | 3 + .../data/rules/apache-2.0_and_lgpl-2.1_1.RULE | 5 + .../data/rules/apache-2.0_and_lgpl-2.1_1.yml | 6 + .../data/rules/apache-2.0_and_lgpl-3.0_1.RULE | 5 + .../data/rules/apache-2.0_and_lgpl-3.0_1.yml | 6 + .../apache-2.0_and_proprietary-license_5.RULE | 7 + .../apache-2.0_and_proprietary-license_5.yml | 7 + ...e-2.0_and_unknown-license-reference_1.RULE | 6 + ...he-2.0_and_unknown-license-reference_1.yml | 6 + .../data/rules/apache-2.0_or_mit_32.RULE | 14 ++ .../data/rules/apache-2.0_or_mit_32.yml | 9 + .../data/rules/apache-2.0_or_mit_33.RULE | 1 + .../data/rules/apache-2.0_or_mit_33.yml | 3 + .../data/rules/bsd-3-clause-jtag_1.RULE | 21 +++ .../data/rules/bsd-3-clause-jtag_1.yml | 5 + .../data/rules/bsd-3-clause-jtag_2.RULE | 24 +++ .../data/rules/bsd-3-clause-jtag_2.yml | 4 + src/licensedcode/data/rules/bsd-new_1008.RULE | 21 +++ src/licensedcode/data/rules/bsd-new_1008.yml | 3 + src/licensedcode/data/rules/bsd-new_1009.RULE | 26 +++ src/licensedcode/data/rules/bsd-new_1009.yml | 3 + src/licensedcode/data/rules/bsd-new_1010.RULE | 26 +++ src/licensedcode/data/rules/bsd-new_1010.yml | 3 + src/licensedcode/data/rules/bsd-new_1011.RULE | 23 +++ src/licensedcode/data/rules/bsd-new_1011.yml | 3 + src/licensedcode/data/rules/bsd-new_1012.RULE | 19 ++ src/licensedcode/data/rules/bsd-new_1012.yml | 4 + src/licensedcode/data/rules/bsd-new_1013.RULE | 25 +++ src/licensedcode/data/rules/bsd-new_1013.yml | 4 + src/licensedcode/data/rules/bsd-new_1014.RULE | 22 +++ src/licensedcode/data/rules/bsd-new_1014.yml | 3 + src/licensedcode/data/rules/bsd-new_1015.RULE | 26 +++ src/licensedcode/data/rules/bsd-new_1015.yml | 4 + src/licensedcode/data/rules/bsd-new_1016.RULE | 1 + src/licensedcode/data/rules/bsd-new_1016.yml | 3 + src/licensedcode/data/rules/bsd-new_1017.RULE | 1 + src/licensedcode/data/rules/bsd-new_1017.yml | 3 + src/licensedcode/data/rules/bsd-new_1018.RULE | 1 + src/licensedcode/data/rules/bsd-new_1018.yml | 3 + src/licensedcode/data/rules/bsd-new_1019.RULE | 1 + src/licensedcode/data/rules/bsd-new_1019.yml | 3 + src/licensedcode/data/rules/bsd-new_1020.RULE | 2 + src/licensedcode/data/rules/bsd-new_1020.yml | 5 + src/licensedcode/data/rules/bsd-new_1021.RULE | 1 + src/licensedcode/data/rules/bsd-new_1021.yml | 3 + src/licensedcode/data/rules/bsd-new_1022.RULE | 1 + src/licensedcode/data/rules/bsd-new_1022.yml | 3 + src/licensedcode/data/rules/bsd-new_1023.RULE | 1 + src/licensedcode/data/rules/bsd-new_1023.yml | 3 + src/licensedcode/data/rules/bsd-new_1024.RULE | 1 + src/licensedcode/data/rules/bsd-new_1024.yml | 3 + src/licensedcode/data/rules/bsd-new_1025.RULE | 1 + src/licensedcode/data/rules/bsd-new_1025.yml | 3 + src/licensedcode/data/rules/bsd-new_1026.RULE | 1 + src/licensedcode/data/rules/bsd-new_1026.yml | 5 + src/licensedcode/data/rules/bsd-new_1027.RULE | 1 + src/licensedcode/data/rules/bsd-new_1027.yml | 3 + src/licensedcode/data/rules/bsd-new_1028.RULE | 1 + src/licensedcode/data/rules/bsd-new_1028.yml | 3 + src/licensedcode/data/rules/bsd-new_1029.RULE | 3 + src/licensedcode/data/rules/bsd-new_1029.yml | 5 + src/licensedcode/data/rules/bsd-new_1030.RULE | 1 + src/licensedcode/data/rules/bsd-new_1030.yml | 3 + src/licensedcode/data/rules/bsd-new_1031.RULE | 25 +++ src/licensedcode/data/rules/bsd-new_1031.yml | 4 + src/licensedcode/data/rules/bsd-new_1032.RULE | 2 + src/licensedcode/data/rules/bsd-new_1032.yml | 5 + src/licensedcode/data/rules/bsd-new_1033.RULE | 1 + src/licensedcode/data/rules/bsd-new_1033.yml | 3 + src/licensedcode/data/rules/bsd-new_1034.RULE | 1 + src/licensedcode/data/rules/bsd-new_1034.yml | 5 + src/licensedcode/data/rules/bsd-new_1035.RULE | 21 +++ src/licensedcode/data/rules/bsd-new_1035.yml | 4 + src/licensedcode/data/rules/bsd-new_1036.RULE | 13 ++ src/licensedcode/data/rules/bsd-new_1036.yml | 4 + .../bsd-new_and_gpl-2.0_and_gfdl-1.2_1.RULE | 13 ++ .../bsd-new_and_gpl-2.0_and_gfdl-1.2_1.yml | 7 + .../rules/bsd-new_and_ijg_and_zlib_1.RULE | 2 + .../data/rules/bsd-new_and_ijg_and_zlib_1.yml | 5 + .../rules/bsd-new_and_ijg_and_zlib_2.RULE | 1 + .../data/rules/bsd-new_and_ijg_and_zlib_2.yml | 3 + ...d_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_1.RULE | 13 ++ ...nd_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_1.yml | 8 + ...d_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_2.RULE | 13 ++ ...nd_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_2.yml | 8 + .../data/rules/bsd-new_or_gpl-2.0_31.RULE | 5 + .../data/rules/bsd-new_or_gpl-2.0_31.yml | 8 + .../data/rules/bsd-new_or_gpl-2.0_32.RULE | 3 + .../data/rules/bsd-new_or_gpl-2.0_32.yml | 6 + .../data/rules/bsd-new_or_gpl-2.0_33.RULE | 1 + .../data/rules/bsd-new_or_gpl-2.0_33.yml | 3 + .../data/rules/bsd-new_or_gpl-2.0_34.RULE | 1 + .../data/rules/bsd-new_or_gpl-2.0_34.yml | 3 + .../data/rules/bsd-new_or_gpl-2.0_35.RULE | 1 + .../data/rules/bsd-new_or_gpl-2.0_35.yml | 6 + .../data/rules/bsd-new_or_gpl-2.0_36.RULE | 1 + .../data/rules/bsd-new_or_gpl-2.0_36.yml | 3 + .../data/rules/bsd-new_or_gpl-2.0_37.RULE | 1 + .../data/rules/bsd-new_or_gpl-2.0_37.yml | 3 + .../bsd-new_or_gpl-2.0_and_generic-cla_1.RULE | 3 + .../bsd-new_or_gpl-2.0_and_generic-cla_1.yml | 7 + .../data/rules/bsd-original_57.RULE | 28 +++ .../data/rules/bsd-original_57.yml | 4 + .../data/rules/bsd-simplified_265.RULE | 21 +++ .../data/rules/bsd-simplified_265.yml | 3 + .../data/rules/bsd-simplified_266.RULE | 20 ++ .../data/rules/bsd-simplified_266.yml | 4 + .../data/rules/bsd-simplified_267.RULE | 21 +++ .../data/rules/bsd-simplified_267.yml | 5 + .../data/rules/bsd-source-code_7.RULE | 21 +++ .../data/rules/bsd-source-code_7.yml | 3 + .../data/rules/cc-by-3.0_108.RULE | 1 + src/licensedcode/data/rules/cc-by-3.0_108.yml | 3 + src/licensedcode/data/rules/cc-by-4.0_93.RULE | 1 + src/licensedcode/data/rules/cc-by-4.0_93.yml | 5 + src/licensedcode/data/rules/cc-by-4.0_94.RULE | 1 + src/licensedcode/data/rules/cc-by-4.0_94.yml | 3 + src/licensedcode/data/rules/cc0-1.0_133.RULE | 1 + src/licensedcode/data/rules/cc0-1.0_133.yml | 3 + src/licensedcode/data/rules/cc0-1.0_134.RULE | 1 + src/licensedcode/data/rules/cc0-1.0_134.yml | 3 + src/licensedcode/data/rules/cc0-1.0_135.RULE | 1 + src/licensedcode/data/rules/cc0-1.0_135.yml | 3 + src/licensedcode/data/rules/cc0-1.0_136.RULE | 1 + src/licensedcode/data/rules/cc0-1.0_136.yml | 3 + src/licensedcode/data/rules/cc0-1.0_137.RULE | 4 + src/licensedcode/data/rules/cc0-1.0_137.yml | 7 + .../rules/cc0-1.0_or_public-domain_1.RULE | 2 + .../data/rules/cc0-1.0_or_public-domain_1.yml | 5 + .../rules/cc0-1.0_or_public-domain_2.RULE | 2 + .../data/rules/cc0-1.0_or_public-domain_2.yml | 5 + .../rules/cc0-1.0_or_public-domain_3.RULE | 2 + .../data/rules/cc0-1.0_or_public-domain_3.yml | 5 + .../data/rules/generic-cla_10.RULE | 6 + .../data/rules/generic-cla_10.yml | 3 + .../data/rules/generic-cla_11.RULE | 3 + .../data/rules/generic-cla_11.yml | 7 + .../data/rules/generic-cla_12.RULE | 2 + .../data/rules/generic-cla_12.yml | 3 + .../data/rules/historical_24.RULE | 15 ++ src/licensedcode/data/rules/historical_24.yml | 4 + .../data/rules/historical_25.RULE | 15 ++ src/licensedcode/data/rules/historical_25.yml | 4 + .../data/rules/historical_26.RULE | 17 ++ src/licensedcode/data/rules/historical_26.yml | 4 + .../data/rules/historical_27.RULE | 16 ++ src/licensedcode/data/rules/historical_27.yml | 4 + src/licensedcode/data/rules/ijg_29.RULE | 58 ++++++ src/licensedcode/data/rules/ijg_29.yml | 13 ++ .../data/rules/info-zip-2009-01_1.RULE | 2 + .../data/rules/info-zip-2009-01_1.yml | 6 + .../data/rules/info-zip-2009-01_10.RULE | 1 + .../data/rules/info-zip-2009-01_10.yml | 3 + .../data/rules/info-zip-2009-01_11.RULE | 4 + .../data/rules/info-zip-2009-01_11.yml | 9 + .../data/rules/info-zip-2009-01_4.RULE | 2 + .../data/rules/info-zip-2009-01_4.yml | 19 ++ .../data/rules/info-zip-2009-01_5.RULE | 1 + .../data/rules/info-zip-2009-01_5.yml | 3 + .../data/rules/info-zip-2009-01_6.RULE | 1 + .../data/rules/info-zip-2009-01_6.yml | 3 + .../data/rules/info-zip-2009-01_7.RULE | 3 + .../data/rules/info-zip-2009-01_7.yml | 4 + .../data/rules/info-zip-2009-01_8.RULE | 3 + .../data/rules/info-zip-2009-01_8.yml | 3 + .../data/rules/info-zip-2009-01_9.RULE | 1 + .../data/rules/info-zip-2009-01_9.yml | 3 + ...fo-zip-2009-01_and_other-permissive_1.RULE | 4 + ...nfo-zip-2009-01_and_other-permissive_1.yml | 6 + ...fo-zip-2009-01_and_other-permissive_2.RULE | 8 + ...nfo-zip-2009-01_and_other-permissive_2.yml | 6 + ...fo-zip-2009-01_and_other-permissive_3.RULE | 3 + ...nfo-zip-2009-01_and_other-permissive_3.yml | 6 + src/licensedcode/data/rules/isc_85.RULE | 4 + src/licensedcode/data/rules/isc_85.yml | 6 + src/licensedcode/data/rules/isc_86.RULE | 1 + src/licensedcode/data/rules/isc_86.yml | 3 + src/licensedcode/data/rules/libpng_30.RULE | 24 +++ src/licensedcode/data/rules/libpng_30.yml | 3 + src/licensedcode/data/rules/libpng_31.RULE | 93 ++++++++++ src/licensedcode/data/rules/libpng_31.yml | 12 ++ src/licensedcode/data/rules/lppl-1.3c_17.RULE | 6 + src/licensedcode/data/rules/lppl-1.3c_17.yml | 3 + src/licensedcode/data/rules/lppl-1.3c_18.RULE | 9 + src/licensedcode/data/rules/lppl-1.3c_18.yml | 6 + src/licensedcode/data/rules/lppl-1.3c_19.RULE | 2 + src/licensedcode/data/rules/lppl-1.3c_19.yml | 4 + .../rules/mit-old-style-no-advert_14.RULE | 9 + .../data/rules/mit-old-style-no-advert_14.yml | 4 + .../rules/mit-old-style-no-advert_15.RULE | 8 + .../data/rules/mit-old-style-no-advert_15.yml | 4 + .../data/rules/mit-old-style_18.RULE | 7 + .../data/rules/mit-old-style_18.yml | 4 + .../data/rules/mit-old-style_19.RULE | 8 + .../data/rules/mit-old-style_19.yml | 4 + .../data/rules/mit-old-style_20.RULE | 8 + .../data/rules/mit-old-style_20.yml | 4 + .../data/rules/mit-old-style_21.RULE | 7 + .../data/rules/mit-old-style_21.yml | 4 + .../data/rules/mit-old-style_22.RULE | 8 + .../data/rules/mit-old-style_22.yml | 4 + .../data/rules/mit-old-style_23.RULE | 5 + .../data/rules/mit-old-style_23.yml | 4 + src/licensedcode/data/rules/mit_1044.RULE | 18 ++ src/licensedcode/data/rules/mit_1044.yml | 4 + src/licensedcode/data/rules/mit_1045.RULE | 4 + src/licensedcode/data/rules/mit_1045.yml | 6 + src/licensedcode/data/rules/mit_1046.RULE | 1 + src/licensedcode/data/rules/mit_1046.yml | 3 + src/licensedcode/data/rules/mit_1047.RULE | 1 + src/licensedcode/data/rules/mit_1047.yml | 6 + src/licensedcode/data/rules/mit_1048.RULE | 1 + src/licensedcode/data/rules/mit_1048.yml | 7 + src/licensedcode/data/rules/mit_1049.RULE | 7 + src/licensedcode/data/rules/mit_1049.yml | 4 + src/licensedcode/data/rules/mit_1050.RULE | 1 + src/licensedcode/data/rules/mit_1050.yml | 3 + src/licensedcode/data/rules/mit_1051.RULE | 2 + src/licensedcode/data/rules/mit_1051.yml | 5 + src/licensedcode/data/rules/mit_1052.RULE | 1 + src/licensedcode/data/rules/mit_1052.yml | 5 + src/licensedcode/data/rules/mit_1053.RULE | 18 ++ src/licensedcode/data/rules/mit_1053.yml | 4 + src/licensedcode/data/rules/mit_1054.RULE | 1 + src/licensedcode/data/rules/mit_1054.yml | 3 + .../data/rules/mit_or_gpl-1.0-plus_18.RULE | 2 + .../data/rules/mit_or_gpl-1.0-plus_18.yml | 3 + .../data/rules/mit_or_gpl-1.0-plus_19.RULE | 1 + .../data/rules/mit_or_gpl-1.0-plus_19.yml | 3 + .../data/rules/mit_or_gpl-1.0-plus_20.RULE | 1 + .../data/rules/mit_or_gpl-1.0-plus_20.yml | 3 + src/licensedcode/data/rules/ofl-1.1_67.RULE | 3 + src/licensedcode/data/rules/ofl-1.1_67.yml | 3 + src/licensedcode/data/rules/ofl-1.1_68.RULE | 5 + src/licensedcode/data/rules/ofl-1.1_68.yml | 5 + .../data/rules/openssl-ssleay_57.RULE | 1 + .../data/rules/openssl-ssleay_57.yml | 3 + .../data/rules/openssl-ssleay_and_isc_1.RULE | 1 + .../data/rules/openssl-ssleay_and_isc_1.yml | 3 + src/licensedcode/data/rules/osf-1990_6.RULE | 12 ++ src/licensedcode/data/rules/osf-1990_6.yml | 4 + src/licensedcode/data/rules/osf-1990_7.RULE | 14 ++ src/licensedcode/data/rules/osf-1990_7.yml | 3 + ...other-copyleft_and_other-permissive_1.RULE | 1 + .../other-copyleft_and_other-permissive_1.yml | 3 + .../data/rules/other-permissive_281.RULE | 27 +++ .../data/rules/other-permissive_281.yml | 4 + .../data/rules/other-permissive_282.RULE | 2 + .../data/rules/other-permissive_282.yml | 8 + .../data/rules/other-permissive_283.RULE | 29 +++ .../data/rules/other-permissive_283.yml | 4 + .../data/rules/other-permissive_284.RULE | 15 ++ .../data/rules/other-permissive_284.yml | 4 + .../data/rules/other-permissive_285.RULE | 8 + .../data/rules/other-permissive_285.yml | 4 + .../data/rules/other-permissive_286.RULE | 6 + .../data/rules/other-permissive_286.yml | 7 + .../data/rules/other-permissive_287.RULE | 13 ++ .../data/rules/other-permissive_287.yml | 4 + .../data/rules/other-permissive_288.RULE | 11 ++ .../data/rules/other-permissive_288.yml | 4 + .../data/rules/other-permissive_289.RULE | 11 ++ .../data/rules/other-permissive_289.yml | 6 + ...her-permissive_and_info-zip-2009-01_1.RULE | 16 ++ ...ther-permissive_and_info-zip-2009-01_1.yml | 4 + .../data/rules/patent-disclaimer_1.RULE | 1 + .../data/rules/patent-disclaimer_1.yml | 4 + .../rules/public-domain-disclaimer_67.RULE | 12 ++ .../rules/public-domain-disclaimer_67.yml | 7 + .../rules/public-domain-disclaimer_68.RULE | 1 + .../rules/public-domain-disclaimer_68.yml | 4 + .../rules/public-domain-disclaimer_69.RULE | 1 + .../rules/public-domain-disclaimer_69.yml | 6 + .../data/rules/public-domain_363.RULE | 2 + .../data/rules/public-domain_363.yml | 5 + .../data/rules/public-domain_364.RULE | 1 + .../data/rules/public-domain_364.yml | 4 + .../data/rules/public-domain_365.RULE | 1 + .../data/rules/public-domain_365.yml | 4 + .../data/rules/public-domain_366.RULE | 1 + .../data/rules/public-domain_366.yml | 4 + .../data/rules/public-domain_367.RULE | 2 + .../data/rules/public-domain_367.yml | 4 + .../data/rules/public-domain_368.RULE | 2 + .../data/rules/public-domain_368.yml | 4 + .../data/rules/public-domain_369.RULE | 1 + .../data/rules/public-domain_369.yml | 4 + .../data/rules/public-domain_370.RULE | 2 + .../data/rules/public-domain_370.yml | 4 + .../data/rules/public-domain_371.RULE | 2 + .../data/rules/public-domain_371.yml | 4 + .../data/rules/public-domain_372.RULE | 5 + .../data/rules/public-domain_372.yml | 4 + .../data/rules/public-domain_373.RULE | 11 ++ .../data/rules/public-domain_373.yml | 4 + .../data/rules/public-domain_374.RULE | 1 + .../data/rules/public-domain_374.yml | 3 + .../data/rules/public-domain_375.RULE | 1 + .../data/rules/public-domain_375.yml | 7 + .../data/rules/public-domain_376.RULE | 1 + .../data/rules/public-domain_376.yml | 3 + .../data/rules/public-domain_377.RULE | 11 ++ .../data/rules/public-domain_377.yml | 3 + .../data/rules/public-domain_378.RULE | 1 + .../data/rules/public-domain_378.yml | 3 + .../purdue-bsd_and_other-permissive_1.RULE | 4 + .../purdue-bsd_and_other-permissive_1.yml | 5 + .../data/rules/secret-labs-2011_6.RULE | 21 +++ .../data/rules/secret-labs-2011_6.yml | 5 + src/licensedcode/data/rules/shl-0.51_1.RULE | 174 ++++++++++++++++++ src/licensedcode/data/rules/shl-0.51_1.yml | 6 + src/licensedcode/data/rules/ttyp0_1.RULE | 1 + src/licensedcode/data/rules/ttyp0_1.yml | 3 + .../data/rules/tu-berlin-2.0_1.RULE | 28 +++ .../data/rules/tu-berlin-2.0_1.yml | 4 + .../data/rules/unicode-tou_8.RULE | 27 +++ src/licensedcode/data/rules/unicode-tou_8.yml | 3 + src/licensedcode/data/rules/unicode_51.RULE | 31 ++++ src/licensedcode/data/rules/unicode_51.yml | 6 + src/licensedcode/data/rules/unicode_52.RULE | 1 + src/licensedcode/data/rules/unicode_52.yml | 3 + src/licensedcode/data/rules/unicode_53.RULE | 1 + src/licensedcode/data/rules/unicode_53.yml | 3 + src/licensedcode/data/rules/unicode_54.RULE | 1 + src/licensedcode/data/rules/unicode_54.yml | 3 + src/licensedcode/data/rules/unicode_55.RULE | 46 +++++ src/licensedcode/data/rules/unicode_55.yml | 11 ++ .../data/rules/us-govt-public-domain_24.RULE | 19 ++ .../data/rules/us-govt-public-domain_24.yml | 4 + .../data/rules/us-govt-public-domain_25.RULE | 16 ++ .../data/rules/us-govt-public-domain_25.yml | 4 + .../data/rules/warranty-disclaimer_66.RULE | 3 + .../data/rules/warranty-disclaimer_66.yml | 3 + .../data/rules/warranty-disclaimer_67.RULE | 1 + .../data/rules/warranty-disclaimer_67.yml | 3 + .../data/rules/warranty-disclaimer_68.RULE | 1 + .../data/rules/warranty-disclaimer_68.yml | 3 + src/licensedcode/data/rules/wordnet_4.RULE | 30 +++ src/licensedcode/data/rules/wordnet_4.yml | 9 + ..._public-domain_and_other-permissive_1.RULE | 2 + ...d_public-domain_and_other-permissive_1.yml | 10 + ..._public-domain_and_other-permissive_2.RULE | 1 + ...d_public-domain_and_other-permissive_2.yml | 5 + src/licensedcode/data/rules/wtfpl-2.0_29.RULE | 1 + src/licensedcode/data/rules/wtfpl-2.0_29.yml | 3 + src/licensedcode/data/rules/wtfpl-2.0_30.RULE | 2 + src/licensedcode/data/rules/wtfpl-2.0_30.yml | 6 + src/licensedcode/data/rules/wtfpl-2.0_31.RULE | 2 + src/licensedcode/data/rules/wtfpl-2.0_31.yml | 6 + src/licensedcode/data/rules/wtfpl-2.0_32.RULE | 1 + src/licensedcode/data/rules/wtfpl-2.0_32.yml | 6 + src/licensedcode/data/rules/wtfpl-2.0_33.RULE | 1 + src/licensedcode/data/rules/wtfpl-2.0_33.yml | 6 + .../data/rules/wtfpl-2.0_or_mit_1.RULE | 1 + .../data/rules/wtfpl-2.0_or_mit_1.yml | 3 + .../data/rules/wtfpl-2.0_or_mit_2.RULE | 3 + .../data/rules/wtfpl-2.0_or_mit_2.yml | 8 + src/licensedcode/data/rules/x11-dec1_3.RULE | 17 ++ src/licensedcode/data/rules/x11-dec1_3.yml | 4 + src/licensedcode/data/rules/x11-doc_1.RULE | 6 + src/licensedcode/data/rules/x11-doc_1.yml | 4 + .../data/rules/x11-keith-packard_10.RULE | 17 ++ .../data/rules/x11-keith-packard_10.yml | 4 + .../data/rules/x11-keith-packard_11.RULE | 18 ++ .../data/rules/x11-keith-packard_11.yml | 4 + .../data/rules/x11-keith-packard_13.RULE | 18 ++ .../data/rules/x11-keith-packard_13.yml | 4 + .../data/rules/x11-keith-packard_14.RULE | 21 +++ .../data/rules/x11-keith-packard_14.yml | 4 + .../data/rules/x11-keith-packard_15.RULE | 22 +++ .../data/rules/x11-keith-packard_15.yml | 4 + .../data/rules/x11-keith-packard_16.RULE | 18 ++ .../data/rules/x11-keith-packard_16.yml | 4 + .../data/rules/x11-keith-packard_18.RULE | 18 ++ .../data/rules/x11-keith-packard_18.yml | 4 + .../data/rules/x11-keith-packard_19.RULE | 19 ++ .../data/rules/x11-keith-packard_19.yml | 4 + .../data/rules/x11-keith-packard_20.RULE | 20 ++ .../data/rules/x11-keith-packard_20.yml | 4 + .../data/rules/x11-keith-packard_21.RULE | 18 ++ .../data/rules/x11-keith-packard_21.yml | 4 + .../data/rules/x11-keith-packard_22.RULE | 20 ++ .../data/rules/x11-keith-packard_22.yml | 4 + .../data/rules/x11-keith-packard_23.RULE | 19 ++ .../data/rules/x11-keith-packard_23.yml | 3 + .../data/rules/x11-keith-packard_24.RULE | 20 ++ .../data/rules/x11-keith-packard_24.yml | 4 + .../data/rules/x11-keith-packard_25.RULE | 18 ++ .../data/rules/x11-keith-packard_25.yml | 4 + .../data/rules/x11-keith-packard_26.RULE | 18 ++ .../data/rules/x11-keith-packard_26.yml | 4 + .../data/rules/x11-keith-packard_27.RULE | 18 ++ .../data/rules/x11-keith-packard_27.yml | 4 + .../data/rules/x11-keith-packard_8.RULE | 20 ++ .../data/rules/x11-keith-packard_8.yml | 4 + .../data/rules/x11-keith-packard_9.RULE | 18 ++ .../data/rules/x11-keith-packard_9.yml | 4 + .../data/rules/x11-opengroup_9.RULE | 21 +++ .../data/rules/x11-opengroup_9.yml | 4 + .../data/rules/x11-xconsortium_23.RULE | 21 +++ .../data/rules/x11-xconsortium_23.yml | 4 + .../data/rules/x11-xconsortium_24.RULE | 23 +++ .../data/rules/x11-xconsortium_24.yml | 4 + .../data/rules/x11-xconsortium_25.RULE | 23 +++ .../data/rules/x11-xconsortium_25.yml | 4 + .../data/rules/x11-xconsortium_26.RULE | 22 +++ .../data/rules/x11-xconsortium_26.yml | 4 + .../data/rules/x11-xconsortium_27.RULE | 20 ++ .../data/rules/x11-xconsortium_27.yml | 4 + .../data/rules/x11-xconsortium_28.RULE | 1 + .../data/rules/x11-xconsortium_28.yml | 3 + .../data/rules/x11-xconsortium_29.RULE | 1 + .../data/rules/x11-xconsortium_29.yml | 3 + .../data/rules/x11-xconsortium_30.RULE | 1 + .../data/rules/x11-xconsortium_30.yml | 3 + ...and_historical_and_other-permissive_1.RULE | 1 + ..._and_historical_and_other-permissive_1.yml | 5 + src/licensedcode/data/rules/x11_14.RULE | 1 + src/licensedcode/data/rules/x11_14.yml | 3 + src/licensedcode/data/rules/x11_15.RULE | 1 + src/licensedcode/data/rules/x11_15.yml | 3 + src/licensedcode/data/rules/zlib_86.RULE | 1 + src/licensedcode/data/rules/zlib_86.yml | 3 + 460 files changed, 3286 insertions(+) create mode 100644 src/licensedcode/data/rules/afl-1.1_5.RULE create mode 100644 src/licensedcode/data/rules/afl-1.1_5.yml create mode 100644 src/licensedcode/data/rules/apache-1.0_7.RULE create mode 100644 src/licensedcode/data/rules/apache-1.0_7.yml create mode 100644 src/licensedcode/data/rules/apache-1.1_89.RULE create mode 100644 src/licensedcode/data/rules/apache-1.1_89.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_925.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_925.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_926.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_926.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_927.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_927.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_928.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_928.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_929.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_929.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_930.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_930.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_931.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_931.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_932.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_932.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_933.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_933.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_934.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_934.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_935.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_935.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_936.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_936.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_937.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_937.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_938.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_938.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_939.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_939.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_940.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_940.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_and_lgpl-2.1_1.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_and_lgpl-2.1_1.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_and_lgpl-3.0_1.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_and_lgpl-3.0_1.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_and_proprietary-license_5.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_and_proprietary-license_5.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_and_unknown-license-reference_1.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_and_unknown-license-reference_1.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_or_mit_32.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_or_mit_32.yml create mode 100644 src/licensedcode/data/rules/apache-2.0_or_mit_33.RULE create mode 100644 src/licensedcode/data/rules/apache-2.0_or_mit_33.yml create mode 100644 src/licensedcode/data/rules/bsd-3-clause-jtag_1.RULE create mode 100644 src/licensedcode/data/rules/bsd-3-clause-jtag_1.yml create mode 100644 src/licensedcode/data/rules/bsd-3-clause-jtag_2.RULE create mode 100644 src/licensedcode/data/rules/bsd-3-clause-jtag_2.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1008.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1008.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1009.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1009.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1010.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1010.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1011.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1011.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1012.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1012.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1013.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1013.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1014.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1014.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1015.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1015.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1016.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1016.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1017.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1017.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1018.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1018.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1019.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1019.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1020.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1020.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1021.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1021.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1022.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1022.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1023.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1023.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1024.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1024.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1025.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1025.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1026.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1026.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1027.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1027.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1028.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1028.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1029.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1029.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1030.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1030.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1031.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1031.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1032.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1032.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1033.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1033.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1034.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1034.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1035.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1035.yml create mode 100644 src/licensedcode/data/rules/bsd-new_1036.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_1036.yml create mode 100644 src/licensedcode/data/rules/bsd-new_and_gpl-2.0_and_gfdl-1.2_1.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_and_gpl-2.0_and_gfdl-1.2_1.yml create mode 100644 src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_1.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_1.yml create mode 100644 src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_2.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_2.yml create mode 100644 src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_1.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_1.yml create mode 100644 src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_2.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_2.yml create mode 100644 src/licensedcode/data/rules/bsd-new_or_gpl-2.0_31.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_or_gpl-2.0_31.yml create mode 100644 src/licensedcode/data/rules/bsd-new_or_gpl-2.0_32.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_or_gpl-2.0_32.yml create mode 100644 src/licensedcode/data/rules/bsd-new_or_gpl-2.0_33.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_or_gpl-2.0_33.yml create mode 100644 src/licensedcode/data/rules/bsd-new_or_gpl-2.0_34.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_or_gpl-2.0_34.yml create mode 100644 src/licensedcode/data/rules/bsd-new_or_gpl-2.0_35.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_or_gpl-2.0_35.yml create mode 100644 src/licensedcode/data/rules/bsd-new_or_gpl-2.0_36.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_or_gpl-2.0_36.yml create mode 100644 src/licensedcode/data/rules/bsd-new_or_gpl-2.0_37.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_or_gpl-2.0_37.yml create mode 100644 src/licensedcode/data/rules/bsd-new_or_gpl-2.0_and_generic-cla_1.RULE create mode 100644 src/licensedcode/data/rules/bsd-new_or_gpl-2.0_and_generic-cla_1.yml create mode 100644 src/licensedcode/data/rules/bsd-original_57.RULE create mode 100644 src/licensedcode/data/rules/bsd-original_57.yml create mode 100644 src/licensedcode/data/rules/bsd-simplified_265.RULE create mode 100644 src/licensedcode/data/rules/bsd-simplified_265.yml create mode 100644 src/licensedcode/data/rules/bsd-simplified_266.RULE create mode 100644 src/licensedcode/data/rules/bsd-simplified_266.yml create mode 100644 src/licensedcode/data/rules/bsd-simplified_267.RULE create mode 100644 src/licensedcode/data/rules/bsd-simplified_267.yml create mode 100644 src/licensedcode/data/rules/bsd-source-code_7.RULE create mode 100644 src/licensedcode/data/rules/bsd-source-code_7.yml create mode 100644 src/licensedcode/data/rules/cc-by-3.0_108.RULE create mode 100644 src/licensedcode/data/rules/cc-by-3.0_108.yml create mode 100644 src/licensedcode/data/rules/cc-by-4.0_93.RULE create mode 100644 src/licensedcode/data/rules/cc-by-4.0_93.yml create mode 100644 src/licensedcode/data/rules/cc-by-4.0_94.RULE create mode 100644 src/licensedcode/data/rules/cc-by-4.0_94.yml create mode 100644 src/licensedcode/data/rules/cc0-1.0_133.RULE create mode 100644 src/licensedcode/data/rules/cc0-1.0_133.yml create mode 100644 src/licensedcode/data/rules/cc0-1.0_134.RULE create mode 100644 src/licensedcode/data/rules/cc0-1.0_134.yml create mode 100644 src/licensedcode/data/rules/cc0-1.0_135.RULE create mode 100644 src/licensedcode/data/rules/cc0-1.0_135.yml create mode 100644 src/licensedcode/data/rules/cc0-1.0_136.RULE create mode 100644 src/licensedcode/data/rules/cc0-1.0_136.yml create mode 100644 src/licensedcode/data/rules/cc0-1.0_137.RULE create mode 100644 src/licensedcode/data/rules/cc0-1.0_137.yml create mode 100644 src/licensedcode/data/rules/cc0-1.0_or_public-domain_1.RULE create mode 100644 src/licensedcode/data/rules/cc0-1.0_or_public-domain_1.yml create mode 100644 src/licensedcode/data/rules/cc0-1.0_or_public-domain_2.RULE create mode 100644 src/licensedcode/data/rules/cc0-1.0_or_public-domain_2.yml create mode 100644 src/licensedcode/data/rules/cc0-1.0_or_public-domain_3.RULE create mode 100644 src/licensedcode/data/rules/cc0-1.0_or_public-domain_3.yml create mode 100644 src/licensedcode/data/rules/generic-cla_10.RULE create mode 100644 src/licensedcode/data/rules/generic-cla_10.yml create mode 100644 src/licensedcode/data/rules/generic-cla_11.RULE create mode 100644 src/licensedcode/data/rules/generic-cla_11.yml create mode 100644 src/licensedcode/data/rules/generic-cla_12.RULE create mode 100644 src/licensedcode/data/rules/generic-cla_12.yml create mode 100644 src/licensedcode/data/rules/historical_24.RULE create mode 100644 src/licensedcode/data/rules/historical_24.yml create mode 100644 src/licensedcode/data/rules/historical_25.RULE create mode 100644 src/licensedcode/data/rules/historical_25.yml create mode 100644 src/licensedcode/data/rules/historical_26.RULE create mode 100644 src/licensedcode/data/rules/historical_26.yml create mode 100644 src/licensedcode/data/rules/historical_27.RULE create mode 100644 src/licensedcode/data/rules/historical_27.yml create mode 100644 src/licensedcode/data/rules/ijg_29.RULE create mode 100644 src/licensedcode/data/rules/ijg_29.yml create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_1.RULE create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_1.yml create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_10.RULE create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_10.yml create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_11.RULE create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_11.yml create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_4.RULE create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_4.yml create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_5.RULE create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_5.yml create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_6.RULE create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_6.yml create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_7.RULE create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_7.yml create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_8.RULE create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_8.yml create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_9.RULE create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_9.yml create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_1.RULE create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_1.yml create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_2.RULE create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_2.yml create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_3.RULE create mode 100644 src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_3.yml create mode 100644 src/licensedcode/data/rules/isc_85.RULE create mode 100644 src/licensedcode/data/rules/isc_85.yml create mode 100644 src/licensedcode/data/rules/isc_86.RULE create mode 100644 src/licensedcode/data/rules/isc_86.yml create mode 100644 src/licensedcode/data/rules/libpng_30.RULE create mode 100644 src/licensedcode/data/rules/libpng_30.yml create mode 100644 src/licensedcode/data/rules/libpng_31.RULE create mode 100644 src/licensedcode/data/rules/libpng_31.yml create mode 100644 src/licensedcode/data/rules/lppl-1.3c_17.RULE create mode 100644 src/licensedcode/data/rules/lppl-1.3c_17.yml create mode 100644 src/licensedcode/data/rules/lppl-1.3c_18.RULE create mode 100644 src/licensedcode/data/rules/lppl-1.3c_18.yml create mode 100644 src/licensedcode/data/rules/lppl-1.3c_19.RULE create mode 100644 src/licensedcode/data/rules/lppl-1.3c_19.yml create mode 100644 src/licensedcode/data/rules/mit-old-style-no-advert_14.RULE create mode 100644 src/licensedcode/data/rules/mit-old-style-no-advert_14.yml create mode 100644 src/licensedcode/data/rules/mit-old-style-no-advert_15.RULE create mode 100644 src/licensedcode/data/rules/mit-old-style-no-advert_15.yml create mode 100644 src/licensedcode/data/rules/mit-old-style_18.RULE create mode 100644 src/licensedcode/data/rules/mit-old-style_18.yml create mode 100644 src/licensedcode/data/rules/mit-old-style_19.RULE create mode 100644 src/licensedcode/data/rules/mit-old-style_19.yml create mode 100644 src/licensedcode/data/rules/mit-old-style_20.RULE create mode 100644 src/licensedcode/data/rules/mit-old-style_20.yml create mode 100644 src/licensedcode/data/rules/mit-old-style_21.RULE create mode 100644 src/licensedcode/data/rules/mit-old-style_21.yml create mode 100644 src/licensedcode/data/rules/mit-old-style_22.RULE create mode 100644 src/licensedcode/data/rules/mit-old-style_22.yml create mode 100644 src/licensedcode/data/rules/mit-old-style_23.RULE create mode 100644 src/licensedcode/data/rules/mit-old-style_23.yml create mode 100644 src/licensedcode/data/rules/mit_1044.RULE create mode 100644 src/licensedcode/data/rules/mit_1044.yml create mode 100644 src/licensedcode/data/rules/mit_1045.RULE create mode 100644 src/licensedcode/data/rules/mit_1045.yml create mode 100644 src/licensedcode/data/rules/mit_1046.RULE create mode 100644 src/licensedcode/data/rules/mit_1046.yml create mode 100644 src/licensedcode/data/rules/mit_1047.RULE create mode 100644 src/licensedcode/data/rules/mit_1047.yml create mode 100644 src/licensedcode/data/rules/mit_1048.RULE create mode 100644 src/licensedcode/data/rules/mit_1048.yml create mode 100644 src/licensedcode/data/rules/mit_1049.RULE create mode 100644 src/licensedcode/data/rules/mit_1049.yml create mode 100644 src/licensedcode/data/rules/mit_1050.RULE create mode 100644 src/licensedcode/data/rules/mit_1050.yml create mode 100644 src/licensedcode/data/rules/mit_1051.RULE create mode 100644 src/licensedcode/data/rules/mit_1051.yml create mode 100644 src/licensedcode/data/rules/mit_1052.RULE create mode 100644 src/licensedcode/data/rules/mit_1052.yml create mode 100644 src/licensedcode/data/rules/mit_1053.RULE create mode 100644 src/licensedcode/data/rules/mit_1053.yml create mode 100644 src/licensedcode/data/rules/mit_1054.RULE create mode 100644 src/licensedcode/data/rules/mit_1054.yml create mode 100644 src/licensedcode/data/rules/mit_or_gpl-1.0-plus_18.RULE create mode 100644 src/licensedcode/data/rules/mit_or_gpl-1.0-plus_18.yml create mode 100644 src/licensedcode/data/rules/mit_or_gpl-1.0-plus_19.RULE create mode 100644 src/licensedcode/data/rules/mit_or_gpl-1.0-plus_19.yml create mode 100644 src/licensedcode/data/rules/mit_or_gpl-1.0-plus_20.RULE create mode 100644 src/licensedcode/data/rules/mit_or_gpl-1.0-plus_20.yml create mode 100644 src/licensedcode/data/rules/ofl-1.1_67.RULE create mode 100644 src/licensedcode/data/rules/ofl-1.1_67.yml create mode 100644 src/licensedcode/data/rules/ofl-1.1_68.RULE create mode 100644 src/licensedcode/data/rules/ofl-1.1_68.yml create mode 100644 src/licensedcode/data/rules/openssl-ssleay_57.RULE create mode 100644 src/licensedcode/data/rules/openssl-ssleay_57.yml create mode 100644 src/licensedcode/data/rules/openssl-ssleay_and_isc_1.RULE create mode 100644 src/licensedcode/data/rules/openssl-ssleay_and_isc_1.yml create mode 100644 src/licensedcode/data/rules/osf-1990_6.RULE create mode 100644 src/licensedcode/data/rules/osf-1990_6.yml create mode 100644 src/licensedcode/data/rules/osf-1990_7.RULE create mode 100644 src/licensedcode/data/rules/osf-1990_7.yml create mode 100644 src/licensedcode/data/rules/other-copyleft_and_other-permissive_1.RULE create mode 100644 src/licensedcode/data/rules/other-copyleft_and_other-permissive_1.yml create mode 100644 src/licensedcode/data/rules/other-permissive_281.RULE create mode 100644 src/licensedcode/data/rules/other-permissive_281.yml create mode 100644 src/licensedcode/data/rules/other-permissive_282.RULE create mode 100644 src/licensedcode/data/rules/other-permissive_282.yml create mode 100644 src/licensedcode/data/rules/other-permissive_283.RULE create mode 100644 src/licensedcode/data/rules/other-permissive_283.yml create mode 100644 src/licensedcode/data/rules/other-permissive_284.RULE create mode 100644 src/licensedcode/data/rules/other-permissive_284.yml create mode 100644 src/licensedcode/data/rules/other-permissive_285.RULE create mode 100644 src/licensedcode/data/rules/other-permissive_285.yml create mode 100644 src/licensedcode/data/rules/other-permissive_286.RULE create mode 100644 src/licensedcode/data/rules/other-permissive_286.yml create mode 100644 src/licensedcode/data/rules/other-permissive_287.RULE create mode 100644 src/licensedcode/data/rules/other-permissive_287.yml create mode 100644 src/licensedcode/data/rules/other-permissive_288.RULE create mode 100644 src/licensedcode/data/rules/other-permissive_288.yml create mode 100644 src/licensedcode/data/rules/other-permissive_289.RULE create mode 100644 src/licensedcode/data/rules/other-permissive_289.yml create mode 100644 src/licensedcode/data/rules/other-permissive_and_info-zip-2009-01_1.RULE create mode 100644 src/licensedcode/data/rules/other-permissive_and_info-zip-2009-01_1.yml create mode 100644 src/licensedcode/data/rules/patent-disclaimer_1.RULE create mode 100644 src/licensedcode/data/rules/patent-disclaimer_1.yml create mode 100644 src/licensedcode/data/rules/public-domain-disclaimer_67.RULE create mode 100644 src/licensedcode/data/rules/public-domain-disclaimer_67.yml create mode 100644 src/licensedcode/data/rules/public-domain-disclaimer_68.RULE create mode 100644 src/licensedcode/data/rules/public-domain-disclaimer_68.yml create mode 100644 src/licensedcode/data/rules/public-domain-disclaimer_69.RULE create mode 100644 src/licensedcode/data/rules/public-domain-disclaimer_69.yml create mode 100644 src/licensedcode/data/rules/public-domain_363.RULE create mode 100644 src/licensedcode/data/rules/public-domain_363.yml create mode 100644 src/licensedcode/data/rules/public-domain_364.RULE create mode 100644 src/licensedcode/data/rules/public-domain_364.yml create mode 100644 src/licensedcode/data/rules/public-domain_365.RULE create mode 100644 src/licensedcode/data/rules/public-domain_365.yml create mode 100644 src/licensedcode/data/rules/public-domain_366.RULE create mode 100644 src/licensedcode/data/rules/public-domain_366.yml create mode 100644 src/licensedcode/data/rules/public-domain_367.RULE create mode 100644 src/licensedcode/data/rules/public-domain_367.yml create mode 100644 src/licensedcode/data/rules/public-domain_368.RULE create mode 100644 src/licensedcode/data/rules/public-domain_368.yml create mode 100644 src/licensedcode/data/rules/public-domain_369.RULE create mode 100644 src/licensedcode/data/rules/public-domain_369.yml create mode 100644 src/licensedcode/data/rules/public-domain_370.RULE create mode 100644 src/licensedcode/data/rules/public-domain_370.yml create mode 100644 src/licensedcode/data/rules/public-domain_371.RULE create mode 100644 src/licensedcode/data/rules/public-domain_371.yml create mode 100644 src/licensedcode/data/rules/public-domain_372.RULE create mode 100644 src/licensedcode/data/rules/public-domain_372.yml create mode 100644 src/licensedcode/data/rules/public-domain_373.RULE create mode 100644 src/licensedcode/data/rules/public-domain_373.yml create mode 100644 src/licensedcode/data/rules/public-domain_374.RULE create mode 100644 src/licensedcode/data/rules/public-domain_374.yml create mode 100644 src/licensedcode/data/rules/public-domain_375.RULE create mode 100644 src/licensedcode/data/rules/public-domain_375.yml create mode 100644 src/licensedcode/data/rules/public-domain_376.RULE create mode 100644 src/licensedcode/data/rules/public-domain_376.yml create mode 100644 src/licensedcode/data/rules/public-domain_377.RULE create mode 100644 src/licensedcode/data/rules/public-domain_377.yml create mode 100644 src/licensedcode/data/rules/public-domain_378.RULE create mode 100644 src/licensedcode/data/rules/public-domain_378.yml create mode 100644 src/licensedcode/data/rules/purdue-bsd_and_other-permissive_1.RULE create mode 100644 src/licensedcode/data/rules/purdue-bsd_and_other-permissive_1.yml create mode 100644 src/licensedcode/data/rules/secret-labs-2011_6.RULE create mode 100644 src/licensedcode/data/rules/secret-labs-2011_6.yml create mode 100644 src/licensedcode/data/rules/shl-0.51_1.RULE create mode 100644 src/licensedcode/data/rules/shl-0.51_1.yml create mode 100644 src/licensedcode/data/rules/ttyp0_1.RULE create mode 100644 src/licensedcode/data/rules/ttyp0_1.yml create mode 100644 src/licensedcode/data/rules/tu-berlin-2.0_1.RULE create mode 100644 src/licensedcode/data/rules/tu-berlin-2.0_1.yml create mode 100644 src/licensedcode/data/rules/unicode-tou_8.RULE create mode 100644 src/licensedcode/data/rules/unicode-tou_8.yml create mode 100644 src/licensedcode/data/rules/unicode_51.RULE create mode 100644 src/licensedcode/data/rules/unicode_51.yml create mode 100644 src/licensedcode/data/rules/unicode_52.RULE create mode 100644 src/licensedcode/data/rules/unicode_52.yml create mode 100644 src/licensedcode/data/rules/unicode_53.RULE create mode 100644 src/licensedcode/data/rules/unicode_53.yml create mode 100644 src/licensedcode/data/rules/unicode_54.RULE create mode 100644 src/licensedcode/data/rules/unicode_54.yml create mode 100644 src/licensedcode/data/rules/unicode_55.RULE create mode 100644 src/licensedcode/data/rules/unicode_55.yml create mode 100644 src/licensedcode/data/rules/us-govt-public-domain_24.RULE create mode 100644 src/licensedcode/data/rules/us-govt-public-domain_24.yml create mode 100644 src/licensedcode/data/rules/us-govt-public-domain_25.RULE create mode 100644 src/licensedcode/data/rules/us-govt-public-domain_25.yml create mode 100644 src/licensedcode/data/rules/warranty-disclaimer_66.RULE create mode 100644 src/licensedcode/data/rules/warranty-disclaimer_66.yml create mode 100644 src/licensedcode/data/rules/warranty-disclaimer_67.RULE create mode 100644 src/licensedcode/data/rules/warranty-disclaimer_67.yml create mode 100644 src/licensedcode/data/rules/warranty-disclaimer_68.RULE create mode 100644 src/licensedcode/data/rules/warranty-disclaimer_68.yml create mode 100644 src/licensedcode/data/rules/wordnet_4.RULE create mode 100644 src/licensedcode/data/rules/wordnet_4.yml create mode 100644 src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_1.RULE create mode 100644 src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_1.yml create mode 100644 src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_2.RULE create mode 100644 src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_2.yml create mode 100644 src/licensedcode/data/rules/wtfpl-2.0_29.RULE create mode 100644 src/licensedcode/data/rules/wtfpl-2.0_29.yml create mode 100644 src/licensedcode/data/rules/wtfpl-2.0_30.RULE create mode 100644 src/licensedcode/data/rules/wtfpl-2.0_30.yml create mode 100644 src/licensedcode/data/rules/wtfpl-2.0_31.RULE create mode 100644 src/licensedcode/data/rules/wtfpl-2.0_31.yml create mode 100644 src/licensedcode/data/rules/wtfpl-2.0_32.RULE create mode 100644 src/licensedcode/data/rules/wtfpl-2.0_32.yml create mode 100644 src/licensedcode/data/rules/wtfpl-2.0_33.RULE create mode 100644 src/licensedcode/data/rules/wtfpl-2.0_33.yml create mode 100644 src/licensedcode/data/rules/wtfpl-2.0_or_mit_1.RULE create mode 100644 src/licensedcode/data/rules/wtfpl-2.0_or_mit_1.yml create mode 100644 src/licensedcode/data/rules/wtfpl-2.0_or_mit_2.RULE create mode 100644 src/licensedcode/data/rules/wtfpl-2.0_or_mit_2.yml create mode 100644 src/licensedcode/data/rules/x11-dec1_3.RULE create mode 100644 src/licensedcode/data/rules/x11-dec1_3.yml create mode 100644 src/licensedcode/data/rules/x11-doc_1.RULE create mode 100644 src/licensedcode/data/rules/x11-doc_1.yml create mode 100644 src/licensedcode/data/rules/x11-keith-packard_10.RULE create mode 100644 src/licensedcode/data/rules/x11-keith-packard_10.yml create mode 100644 src/licensedcode/data/rules/x11-keith-packard_11.RULE create mode 100644 src/licensedcode/data/rules/x11-keith-packard_11.yml create mode 100644 src/licensedcode/data/rules/x11-keith-packard_13.RULE create mode 100644 src/licensedcode/data/rules/x11-keith-packard_13.yml create mode 100644 src/licensedcode/data/rules/x11-keith-packard_14.RULE create mode 100644 src/licensedcode/data/rules/x11-keith-packard_14.yml create mode 100644 src/licensedcode/data/rules/x11-keith-packard_15.RULE create mode 100644 src/licensedcode/data/rules/x11-keith-packard_15.yml create mode 100644 src/licensedcode/data/rules/x11-keith-packard_16.RULE create mode 100644 src/licensedcode/data/rules/x11-keith-packard_16.yml create mode 100644 src/licensedcode/data/rules/x11-keith-packard_18.RULE create mode 100644 src/licensedcode/data/rules/x11-keith-packard_18.yml create mode 100644 src/licensedcode/data/rules/x11-keith-packard_19.RULE create mode 100644 src/licensedcode/data/rules/x11-keith-packard_19.yml create mode 100644 src/licensedcode/data/rules/x11-keith-packard_20.RULE create mode 100644 src/licensedcode/data/rules/x11-keith-packard_20.yml create mode 100644 src/licensedcode/data/rules/x11-keith-packard_21.RULE create mode 100644 src/licensedcode/data/rules/x11-keith-packard_21.yml create mode 100644 src/licensedcode/data/rules/x11-keith-packard_22.RULE create mode 100644 src/licensedcode/data/rules/x11-keith-packard_22.yml create mode 100644 src/licensedcode/data/rules/x11-keith-packard_23.RULE create mode 100644 src/licensedcode/data/rules/x11-keith-packard_23.yml create mode 100644 src/licensedcode/data/rules/x11-keith-packard_24.RULE create mode 100644 src/licensedcode/data/rules/x11-keith-packard_24.yml create mode 100644 src/licensedcode/data/rules/x11-keith-packard_25.RULE create mode 100644 src/licensedcode/data/rules/x11-keith-packard_25.yml create mode 100644 src/licensedcode/data/rules/x11-keith-packard_26.RULE create mode 100644 src/licensedcode/data/rules/x11-keith-packard_26.yml create mode 100644 src/licensedcode/data/rules/x11-keith-packard_27.RULE create mode 100644 src/licensedcode/data/rules/x11-keith-packard_27.yml create mode 100644 src/licensedcode/data/rules/x11-keith-packard_8.RULE create mode 100644 src/licensedcode/data/rules/x11-keith-packard_8.yml create mode 100644 src/licensedcode/data/rules/x11-keith-packard_9.RULE create mode 100644 src/licensedcode/data/rules/x11-keith-packard_9.yml create mode 100644 src/licensedcode/data/rules/x11-opengroup_9.RULE create mode 100644 src/licensedcode/data/rules/x11-opengroup_9.yml create mode 100644 src/licensedcode/data/rules/x11-xconsortium_23.RULE create mode 100644 src/licensedcode/data/rules/x11-xconsortium_23.yml create mode 100644 src/licensedcode/data/rules/x11-xconsortium_24.RULE create mode 100644 src/licensedcode/data/rules/x11-xconsortium_24.yml create mode 100644 src/licensedcode/data/rules/x11-xconsortium_25.RULE create mode 100644 src/licensedcode/data/rules/x11-xconsortium_25.yml create mode 100644 src/licensedcode/data/rules/x11-xconsortium_26.RULE create mode 100644 src/licensedcode/data/rules/x11-xconsortium_26.yml create mode 100644 src/licensedcode/data/rules/x11-xconsortium_27.RULE create mode 100644 src/licensedcode/data/rules/x11-xconsortium_27.yml create mode 100644 src/licensedcode/data/rules/x11-xconsortium_28.RULE create mode 100644 src/licensedcode/data/rules/x11-xconsortium_28.yml create mode 100644 src/licensedcode/data/rules/x11-xconsortium_29.RULE create mode 100644 src/licensedcode/data/rules/x11-xconsortium_29.yml create mode 100644 src/licensedcode/data/rules/x11-xconsortium_30.RULE create mode 100644 src/licensedcode/data/rules/x11-xconsortium_30.yml create mode 100644 src/licensedcode/data/rules/x11-xconsortium_and_x11-keith-packard_and_historical_and_other-permissive_1.RULE create mode 100644 src/licensedcode/data/rules/x11-xconsortium_and_x11-keith-packard_and_historical_and_other-permissive_1.yml create mode 100644 src/licensedcode/data/rules/x11_14.RULE create mode 100644 src/licensedcode/data/rules/x11_14.yml create mode 100644 src/licensedcode/data/rules/x11_15.RULE create mode 100644 src/licensedcode/data/rules/x11_15.yml create mode 100644 src/licensedcode/data/rules/zlib_86.RULE create mode 100644 src/licensedcode/data/rules/zlib_86.yml diff --git a/src/licensedcode/data/rules/afl-1.1_5.RULE b/src/licensedcode/data/rules/afl-1.1_5.RULE new file mode 100644 index 00000000000..6a89a5694a7 --- /dev/null +++ b/src/licensedcode/data/rules/afl-1.1_5.RULE @@ -0,0 +1 @@ +Academic Free License v1.1 \ No newline at end of file diff --git a/src/licensedcode/data/rules/afl-1.1_5.yml b/src/licensedcode/data/rules/afl-1.1_5.yml new file mode 100644 index 00000000000..31d0d6d4bc1 --- /dev/null +++ b/src/licensedcode/data/rules/afl-1.1_5.yml @@ -0,0 +1,3 @@ +license_expression: afl-1.1 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/apache-1.0_7.RULE b/src/licensedcode/data/rules/apache-1.0_7.RULE new file mode 100644 index 00000000000..b7b6c05b532 --- /dev/null +++ b/src/licensedcode/data/rules/apache-1.0_7.RULE @@ -0,0 +1,33 @@ +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. + +3. All advertising materials mentioning features or use of this software must display the following acknowledgment: "This product includes software developed by the Apache Group for use in the Apache HTTP server project (http://www.apache.org/) ." + +4. The "Apache" and "Apache Software Foundation" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact apache@apache.org + +5. Products derived from this software may not be called "Apache" nor may "Apache" appear in their name, without prior written permission of the Apache Group . + +6. Redistributions of any form whatsoever must retain the following acknowledgment: +"This product includes software developed by the Apache Group for use in the +Apache HTTP server project (http://www.apache.org/) . + +THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY +EXPRESSED 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 APACHE GROUP OR ITS 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. + +This software consists of voluntary contributions made by many individuals on +behalf of the Apache Group and was originally based on public domain software +written at the National Center for Supercomputing Applications, University of +Illinois, Urbana-Champaign. For more information on the Apache Group and the +Apache HTTP server project, please see . \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-1.0_7.yml b/src/licensedcode/data/rules/apache-1.0_7.yml new file mode 100644 index 00000000000..a3a20e4d95e --- /dev/null +++ b/src/licensedcode/data/rules/apache-1.0_7.yml @@ -0,0 +1,9 @@ +license_expression: apache-1.0 +is_license_text: yes +relevance: 100 +ignorable_authors: + - the Apache Group +ignorable_urls: + - http://www.apache.org/ +ignorable_emails: + - apache@apache.org diff --git a/src/licensedcode/data/rules/apache-1.1_89.RULE b/src/licensedcode/data/rules/apache-1.1_89.RULE new file mode 100644 index 00000000000..ff340933578 --- /dev/null +++ b/src/licensedcode/data/rules/apache-1.1_89.RULE @@ -0,0 +1,39 @@ +Apache License 1.1 + +Copyright (c) 2000 The Apache Software Foundation. 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. + +3. The end-user documentation included with the redistribution, if any, must include the following acknowledgment: +"This product includes software developed by the Apache Software Foundation +(http://www.apache.org/) ." + +Alternately, this acknowledgment may appear in the software itself, if and +wherever such third-party acknowledgments normally appear. + +4. The "Apache" and "Apache Software Foundation" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact apache@apache.org + +5. Products derived from this software may not be called "Apache" [ex. "Jakarta," "Apache," or "Apache Commons,"] nor may "Apache" [ex. the names] appear in their name, without prior written permission of the Apache Software Foundation . + +THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR ITS 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. + +This software consists of voluntary contributions made by many individuals on +behalf of the Apache Software Foundation. For more information on the Apache +Software Foundation, please see http://www.apache.org/. Portions of this +software are based upon public domain software originally written at the +National Center for Supercomputing Applications, University of Illinois, +Urbana-Champaign. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-1.1_89.yml b/src/licensedcode/data/rules/apache-1.1_89.yml new file mode 100644 index 00000000000..2b8f1138600 --- /dev/null +++ b/src/licensedcode/data/rules/apache-1.1_89.yml @@ -0,0 +1,13 @@ +license_expression: apache-1.1 +is_license_text: yes +relevance: 100 +ignorable_copyrights: + - Copyright (c) 2000 The Apache Software Foundation +ignorable_holders: + - The Apache Software Foundation +ignorable_authors: + - the Apache Software Foundation (http://www.apache.org/) +ignorable_urls: + - http://www.apache.org/ +ignorable_emails: + - apache@apache.org diff --git a/src/licensedcode/data/rules/apache-2.0_925.RULE b/src/licensedcode/data/rules/apache-2.0_925.RULE new file mode 100644 index 00000000000..720cd7c7621 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_925.RULE @@ -0,0 +1,2 @@ +license-info">Apache 2.0 +
http://www.apache.org/licenses/LICENSE-2.0. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_925.yml b/src/licensedcode/data/rules/apache-2.0_925.yml new file mode 100644 index 00000000000..7ac465ac5aa --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_925.yml @@ -0,0 +1,7 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 +notes: seen in https://raw.githubusercontent.com/swagger-api/swagger-codegen/v3.0.25/samples/composed/html2/index.html + was incorrectly detected as "apache-2.0 OR mit" +ignorable_urls: + - http://www.apache.org/licenses/LICENSE-2.0 diff --git a/src/licensedcode/data/rules/apache-2.0_926.RULE b/src/licensedcode/data/rules/apache-2.0_926.RULE new file mode 100644 index 00000000000..afcbd6acdc2 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_926.RULE @@ -0,0 +1 @@ +governed by the Apache License version 2.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_926.yml b/src/licensedcode/data/rules/apache-2.0_926.yml new file mode 100644 index 00000000000..fec9233bc17 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_926.yml @@ -0,0 +1,3 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/apache-2.0_927.RULE b/src/licensedcode/data/rules/apache-2.0_927.RULE new file mode 100644 index 00000000000..e76caa503d8 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_927.RULE @@ -0,0 +1,3 @@ +* The following code adds default LICENSE (Apache-2.0) for all generators + * To use license other than Apache2.0, update the following file: + * modules/swagger-codegen/src/main/resources/_common/LICENSE \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_927.yml b/src/licensedcode/data/rules/apache-2.0_927.yml new file mode 100644 index 00000000000..747a51fe8bf --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_927.yml @@ -0,0 +1,6 @@ +license_expression: apache-2.0 +is_license_reference: yes +relevance: 100 +referenced_filenames: + - LICENSE +notes: Seen in https://github.com/swagger-api/swagger-codegen/blob/ca9a00261f08f024dd19fa45c9ff2098fed67451/modules/swagger-codegen/src/main/java/io/swagger/codegen/DefaultGenerator.java#L6980 diff --git a/src/licensedcode/data/rules/apache-2.0_928.RULE b/src/licensedcode/data/rules/apache-2.0_928.RULE new file mode 100644 index 00000000000..ae43048b58a --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_928.RULE @@ -0,0 +1 @@ +apache2License = "LICENSE"; \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_928.yml b/src/licensedcode/data/rules/apache-2.0_928.yml new file mode 100644 index 00000000000..747a51fe8bf --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_928.yml @@ -0,0 +1,6 @@ +license_expression: apache-2.0 +is_license_reference: yes +relevance: 100 +referenced_filenames: + - LICENSE +notes: Seen in https://github.com/swagger-api/swagger-codegen/blob/ca9a00261f08f024dd19fa45c9ff2098fed67451/modules/swagger-codegen/src/main/java/io/swagger/codegen/DefaultGenerator.java#L6980 diff --git a/src/licensedcode/data/rules/apache-2.0_929.RULE b/src/licensedcode/data/rules/apache-2.0_929.RULE new file mode 100644 index 00000000000..3539b6293ed --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_929.RULE @@ -0,0 +1 @@ +apache2License \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_929.yml b/src/licensedcode/data/rules/apache-2.0_929.yml new file mode 100644 index 00000000000..b3b664c44a8 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_929.yml @@ -0,0 +1,4 @@ +license_expression: apache-2.0 +is_license_reference: yes +relevance: 100 +notes: Seen in https://github.com/swagger-api/swagger-codegen/blob/ca9a00261f08f024dd19fa45c9ff2098fed67451/modules/swagger-codegen/src/main/java/io/swagger/codegen/DefaultGenerator.java#L6980 diff --git a/src/licensedcode/data/rules/apache-2.0_930.RULE b/src/licensedcode/data/rules/apache-2.0_930.RULE new file mode 100644 index 00000000000..2a852b50911 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_930.RULE @@ -0,0 +1 @@ +available under the Apache-2 license. See the top-level LICENSE file for more details \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_930.yml b/src/licensedcode/data/rules/apache-2.0_930.yml new file mode 100644 index 00000000000..d892e977716 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_930.yml @@ -0,0 +1,5 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE diff --git a/src/licensedcode/data/rules/apache-2.0_931.RULE b/src/licensedcode/data/rules/apache-2.0_931.RULE new file mode 100644 index 00000000000..1b58ff43a34 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_931.RULE @@ -0,0 +1,11 @@ +Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_931.yml b/src/licensedcode/data/rules/apache-2.0_931.yml new file mode 100644 index 00000000000..a344badaa8b --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_931.yml @@ -0,0 +1,5 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 +ignorable_urls: + - http://www.apache.org/licenses/LICENSE2.0 diff --git a/src/licensedcode/data/rules/apache-2.0_932.RULE b/src/licensedcode/data/rules/apache-2.0_932.RULE new file mode 100644 index 00000000000..a74f3389ec4 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_932.RULE @@ -0,0 +1,10 @@ +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_932.yml b/src/licensedcode/data/rules/apache-2.0_932.yml new file mode 100644 index 00000000000..b1e0f12046c --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_932.yml @@ -0,0 +1,6 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 +notes: Truncated start +ignorable_urls: + - http://www.apache.org/licenses/LICENSE-2.0 diff --git a/src/licensedcode/data/rules/apache-2.0_933.RULE b/src/licensedcode/data/rules/apache-2.0_933.RULE new file mode 100644 index 00000000000..95c80d7deb4 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_933.RULE @@ -0,0 +1,2 @@ +LICENSE +This program is licensed under the Apache License 2.0. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_933.yml b/src/licensedcode/data/rules/apache-2.0_933.yml new file mode 100644 index 00000000000..fec9233bc17 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_933.yml @@ -0,0 +1,3 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/apache-2.0_934.RULE b/src/licensedcode/data/rules/apache-2.0_934.RULE new file mode 100644 index 00000000000..5d2d7077c7d --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_934.RULE @@ -0,0 +1,6 @@ +LICENSE + +This program is licensed under the Apache License 2.0. +This means you may use this program in any project. +You are allowed to modify the program as you like. +For further details take a look at LICENSE.txt. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_934.yml b/src/licensedcode/data/rules/apache-2.0_934.yml new file mode 100644 index 00000000000..08ee159d05b --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_934.yml @@ -0,0 +1,5 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE.txt diff --git a/src/licensedcode/data/rules/apache-2.0_935.RULE b/src/licensedcode/data/rules/apache-2.0_935.RULE new file mode 100644 index 00000000000..f70d2131474 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_935.RULE @@ -0,0 +1 @@ +License: Apache Software License (http://www.apache.org/licenses/LICENSE-2.0) \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_935.yml b/src/licensedcode/data/rules/apache-2.0_935.yml new file mode 100644 index 00000000000..9d17bf1d950 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_935.yml @@ -0,0 +1,5 @@ +license_expression: apache-2.0 +is_license_tag: yes +relevance: 100 +ignorable_urls: + - http://www.apache.org/licenses/LICENSE-2.0 diff --git a/src/licensedcode/data/rules/apache-2.0_936.RULE b/src/licensedcode/data/rules/apache-2.0_936.RULE new file mode 100644 index 00000000000..8ee20495fa7 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_936.RULE @@ -0,0 +1 @@ +This project is licensed under the Apache Public License, see COPYING \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_936.yml b/src/licensedcode/data/rules/apache-2.0_936.yml new file mode 100644 index 00000000000..c4ed4689375 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_936.yml @@ -0,0 +1,5 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING diff --git a/src/licensedcode/data/rules/apache-2.0_937.RULE b/src/licensedcode/data/rules/apache-2.0_937.RULE new file mode 100644 index 00000000000..5a4f02974e7 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_937.RULE @@ -0,0 +1,2 @@ +License +This project is licensed under the Apache Public License, see COPYING \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_937.yml b/src/licensedcode/data/rules/apache-2.0_937.yml new file mode 100644 index 00000000000..c4ed4689375 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_937.yml @@ -0,0 +1,5 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING diff --git a/src/licensedcode/data/rules/apache-2.0_938.RULE b/src/licensedcode/data/rules/apache-2.0_938.RULE new file mode 100644 index 00000000000..47737ea84a6 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_938.RULE @@ -0,0 +1 @@ +under the Apache license, v2 (see LICENSE.txt) \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_938.yml b/src/licensedcode/data/rules/apache-2.0_938.yml new file mode 100644 index 00000000000..08ee159d05b --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_938.yml @@ -0,0 +1,5 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE.txt diff --git a/src/licensedcode/data/rules/apache-2.0_939.RULE b/src/licensedcode/data/rules/apache-2.0_939.RULE new file mode 100644 index 00000000000..b87ec7cba9a --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_939.RULE @@ -0,0 +1,11 @@ +Licensed under the Apache License, Version 2.0 (the "License"). +You may not use this software except in compliance with the License. + +A copy of the License is located at + +http://www.apache.org/licenses/LICENSE-2.0.html + +or in the "license" file accompanying this software. This file is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF +ANY KIND, either express or implied. See the License for the specific +language governing permissions and limitations under the License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_939.yml b/src/licensedcode/data/rules/apache-2.0_939.yml new file mode 100644 index 00000000000..36ecfb9a974 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_939.yml @@ -0,0 +1,6 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 99 +notes: Seen in https://github.com/SparkPost/gosparkpost/blob/5b781faf9f19ed7dbcb7f604c83dec1d0bb9087b/LICENSE +ignorable_urls: + - http://www.apache.org/licenses/LICENSE-2.0.html diff --git a/src/licensedcode/data/rules/apache-2.0_940.RULE b/src/licensedcode/data/rules/apache-2.0_940.RULE new file mode 100644 index 00000000000..cf039bf1d7c --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_940.RULE @@ -0,0 +1 @@ +The code is published under an Apache license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_940.yml b/src/licensedcode/data/rules/apache-2.0_940.yml new file mode 100644 index 00000000000..fec9233bc17 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_940.yml @@ -0,0 +1,3 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/apache-2.0_and_lgpl-2.1_1.RULE b/src/licensedcode/data/rules/apache-2.0_and_lgpl-2.1_1.RULE new file mode 100644 index 00000000000..b46fccf294d --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_and_lgpl-2.1_1.RULE @@ -0,0 +1,5 @@ +distributed pursuant to the terms of two different licenses. +The user interface (located in ui/ in this distribution) is governed by +the Apache License version 2.0. The rest of this distribution is +governed by the GNU Lesser General Public License version 2.1. +See COPYING.LGPL and COPYING.ASL2. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_and_lgpl-2.1_1.yml b/src/licensedcode/data/rules/apache-2.0_and_lgpl-2.1_1.yml new file mode 100644 index 00000000000..3db0805312a --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_and_lgpl-2.1_1.yml @@ -0,0 +1,6 @@ +license_expression: apache-2.0 AND lgpl-2.1 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING.LGPL + - COPYING.ASL2 diff --git a/src/licensedcode/data/rules/apache-2.0_and_lgpl-3.0_1.RULE b/src/licensedcode/data/rules/apache-2.0_and_lgpl-3.0_1.RULE new file mode 100644 index 00000000000..16329118b77 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_and_lgpl-3.0_1.RULE @@ -0,0 +1,5 @@ +distributed pursuant to the terms of two different licenses. +The user interface (located in ui/ in this distribution) is governed by +the Apache License version 2.0. The rest of this distribution is +governed by the GNU Lesser General Public License version 3. +See COPYING.LGPL and COPYING.ASL2. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_and_lgpl-3.0_1.yml b/src/licensedcode/data/rules/apache-2.0_and_lgpl-3.0_1.yml new file mode 100644 index 00000000000..7f61e3258a5 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_and_lgpl-3.0_1.yml @@ -0,0 +1,6 @@ +license_expression: apache-2.0 AND lgpl-3.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING.LGPL + - COPYING.ASL2 diff --git a/src/licensedcode/data/rules/apache-2.0_and_proprietary-license_5.RULE b/src/licensedcode/data/rules/apache-2.0_and_proprietary-license_5.RULE new file mode 100644 index 00000000000..258959e0b1b --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_and_proprietary-license_5.RULE @@ -0,0 +1,7 @@ +## License + +The contents of this repository is licensed under the +[Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0). + +Your use of Firebase is governed by the +[Terms of Service for Firebase Services](https://firebase.google.com/terms/). \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_and_proprietary-license_5.yml b/src/licensedcode/data/rules/apache-2.0_and_proprietary-license_5.yml new file mode 100644 index 00000000000..ea24add490d --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_and_proprietary-license_5.yml @@ -0,0 +1,7 @@ +license_expression: apache-2.0 AND proprietary-license +is_license_notice: yes +relevance: 100 +notes: See in Firebase iOS SDK +ignorable_urls: + - http://www.apache.org/licenses/LICENSE-2.0 + - https://firebase.google.com/terms diff --git a/src/licensedcode/data/rules/apache-2.0_and_unknown-license-reference_1.RULE b/src/licensedcode/data/rules/apache-2.0_and_unknown-license-reference_1.RULE new file mode 100644 index 00000000000..41661c00def --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_and_unknown-license-reference_1.RULE @@ -0,0 +1,6 @@ +This project is licensed to you under the Apache License, Version 2.0 (the "License"). +You may not use this project except in compliance with the License. + +This project may include a number of subcomponents with separate copyright notices +and license terms. Your use of these subcomponents is subject to the terms and +conditions of the subcomponent's license, as noted in the LICENSE file. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_and_unknown-license-reference_1.yml b/src/licensedcode/data/rules/apache-2.0_and_unknown-license-reference_1.yml new file mode 100644 index 00000000000..9542363b871 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_and_unknown-license-reference_1.yml @@ -0,0 +1,6 @@ +license_expression: apache-2.0 AND unknown-license-reference +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE +notes: seen in VMWare open source projects diff --git a/src/licensedcode/data/rules/apache-2.0_or_mit_32.RULE b/src/licensedcode/data/rules/apache-2.0_or_mit_32.RULE new file mode 100644 index 00000000000..73aba735080 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_or_mit_32.RULE @@ -0,0 +1,14 @@ +License + +This program is licensed under either of + + * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0) + * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) + +at your option. + +Contribution + +Unless you explicitly state otherwise, any contribution intentionally submitted +for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed +as above, without any additional terms or conditions. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_or_mit_32.yml b/src/licensedcode/data/rules/apache-2.0_or_mit_32.yml new file mode 100644 index 00000000000..b11e813a2b6 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_or_mit_32.yml @@ -0,0 +1,9 @@ +license_expression: apache-2.0 OR mit +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE-APACHE + - LICENSE-MIT +ignorable_urls: + - http://opensource.org/licenses/MIT + - http://www.apache.org/licenses/LICENSE-2.0 diff --git a/src/licensedcode/data/rules/apache-2.0_or_mit_33.RULE b/src/licensedcode/data/rules/apache-2.0_or_mit_33.RULE new file mode 100644 index 00000000000..4493838a71e --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_or_mit_33.RULE @@ -0,0 +1 @@ +This project is licensed under the terms of both the MIT license and the Apache License Version 2.0. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_or_mit_33.yml b/src/licensedcode/data/rules/apache-2.0_or_mit_33.yml new file mode 100644 index 00000000000..e626370dff4 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_or_mit_33.yml @@ -0,0 +1,3 @@ +license_expression: apache-2.0 OR mit +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-3-clause-jtag_1.RULE b/src/licensedcode/data/rules/bsd-3-clause-jtag_1.RULE new file mode 100644 index 00000000000..b1d15922fb2 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-3-clause-jtag_1.RULE @@ -0,0 +1,21 @@ +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. +3. Neither the name of the Regents nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +IN NO EVENT SHALL REGENTS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, +SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING +OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF REGENTS HAS +BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +REGENTS SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE SOFTWARE AND ACCOMPANYING DOCUMENTATION, IF ANY, PROVIDED +HEREUNDER IS PROVIDED "AS IS". REGENTS HAS NO OBLIGATION TO PROVIDE +MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-3-clause-jtag_1.yml b/src/licensedcode/data/rules/bsd-3-clause-jtag_1.yml new file mode 100644 index 00000000000..56b37e98352 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-3-clause-jtag_1.yml @@ -0,0 +1,5 @@ +license_expression: bsd-3-clause-jtag +is_license_text: yes +relevance: 99 +notes: Minor differences with bsd-3-clause-jtag +minimum_coverage: 75 diff --git a/src/licensedcode/data/rules/bsd-3-clause-jtag_2.RULE b/src/licensedcode/data/rules/bsd-3-clause-jtag_2.RULE new file mode 100644 index 00000000000..0fdff69c662 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-3-clause-jtag_2.RULE @@ -0,0 +1,24 @@ +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 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. + * Neither the name of the Regents nor the names of its contributors + may be used to endorse or promote products derived from this + software without specific prior written permission. + +IN NO EVENT SHALL REGENTS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, +SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, +ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF +REGENTS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +REGENTS SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE SOFTWARE AND ACCOMPANYING DOCUMENTATION, IF ANY, PROVIDED +HEREUNDER IS PROVIDED "AS IS". REGENTS HAS NO OBLIGATION TO PROVIDE +MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-3-clause-jtag_2.yml b/src/licensedcode/data/rules/bsd-3-clause-jtag_2.yml new file mode 100644 index 00000000000..a4032091f1b --- /dev/null +++ b/src/licensedcode/data/rules/bsd-3-clause-jtag_2.yml @@ -0,0 +1,4 @@ +license_expression: bsd-3-clause-jtag +is_license_text: yes +relevance: 99 +notes: Minor differences with bsd-3-clause-jtag diff --git a/src/licensedcode/data/rules/bsd-new_1008.RULE b/src/licensedcode/data/rules/bsd-new_1008.RULE new file mode 100644 index 00000000000..c94c46269d0 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1008.RULE @@ -0,0 +1,21 @@ +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 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. +* Neither the name of the 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 BY ''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 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/bsd-new_1008.yml b/src/licensedcode/data/rules/bsd-new_1008.yml new file mode 100644 index 00000000000..646f0f05a97 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1008.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_1009.RULE b/src/licensedcode/data/rules/bsd-new_1009.RULE new file mode 100644 index 00000000000..b9aa1bf2d60 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1009.RULE @@ -0,0 +1,26 @@ +# 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 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. + # + # Neither the name Myanmar Karen Word Lists, 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 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/bsd-new_1009.yml b/src/licensedcode/data/rules/bsd-new_1009.yml new file mode 100644 index 00000000000..646f0f05a97 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1009.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_1010.RULE b/src/licensedcode/data/rules/bsd-new_1010.RULE new file mode 100644 index 00000000000..d58d78bf44a --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1010.RULE @@ -0,0 +1,26 @@ +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. + 3. Neither the name of the OpenBLAS project 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 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 OWNER 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/bsd-new_1010.yml b/src/licensedcode/data/rules/bsd-new_1010.yml new file mode 100644 index 00000000000..646f0f05a97 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1010.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_1011.RULE b/src/licensedcode/data/rules/bsd-new_1011.RULE new file mode 100644 index 00000000000..9de8a4cd398 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1011.RULE @@ -0,0 +1,23 @@ +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 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. +- Neither the name of the libjpeg-turbo Project 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 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 HOLDERS 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/bsd-new_1011.yml b/src/licensedcode/data/rules/bsd-new_1011.yml new file mode 100644 index 00000000000..646f0f05a97 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1011.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_1012.RULE b/src/licensedcode/data/rules/bsd-new_1012.RULE new file mode 100644 index 00000000000..5f1156622f2 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1012.RULE @@ -0,0 +1,19 @@ +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 must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * The name of the copyright holders may not be used to endorse or promote products + derived from this software without specific prior written permission. + +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 Intel Corporation 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/bsd-new_1012.yml b/src/licensedcode/data/rules/bsd-new_1012.yml new file mode 100644 index 00000000000..af8905153f2 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1012.yml @@ -0,0 +1,4 @@ +license_expression: bsd-new +is_license_text: yes +relevance: 100 +notes: seen in https://github.com/MegEngine/MegEngine/blob/af62cf6f051255a9f9b9789b2c917ac13ae5f10e/dnn/src/x86/simd_macro/sse_helper_typedef.h#L1 diff --git a/src/licensedcode/data/rules/bsd-new_1013.RULE b/src/licensedcode/data/rules/bsd-new_1013.RULE new file mode 100644 index 00000000000..eccd001dd31 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1013.RULE @@ -0,0 +1,25 @@ +IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. + +By downloading, copying, installing or using the software you agree to this license. +If you do not agree to this license, do not download, install, copy or use the software. + + License Agreement +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 must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * The name of the copyright holders may not be used to endorse or promote products + derived from this software without specific prior written permission. + +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 Intel Corporation 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/bsd-new_1013.yml b/src/licensedcode/data/rules/bsd-new_1013.yml new file mode 100644 index 00000000000..af8905153f2 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1013.yml @@ -0,0 +1,4 @@ +license_expression: bsd-new +is_license_text: yes +relevance: 100 +notes: seen in https://github.com/MegEngine/MegEngine/blob/af62cf6f051255a9f9b9789b2c917ac13ae5f10e/dnn/src/x86/simd_macro/sse_helper_typedef.h#L1 diff --git a/src/licensedcode/data/rules/bsd-new_1014.RULE b/src/licensedcode/data/rules/bsd-new_1014.RULE new file mode 100644 index 00000000000..b0163b9c67a --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1014.RULE @@ -0,0 +1,22 @@ +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 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. + * Neither the name of Google Inc. nor the names of any other + contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY GOOGLE INC. ``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 GOOGLE 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/bsd-new_1014.yml b/src/licensedcode/data/rules/bsd-new_1014.yml new file mode 100644 index 00000000000..646f0f05a97 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1014.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_1015.RULE b/src/licensedcode/data/rules/bsd-new_1015.RULE new file mode 100644 index 00000000000..0ecad5fec61 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1015.RULE @@ -0,0 +1,26 @@ +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 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. + +- Neither the name of the Xiph.org Foundation 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 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 FOUNDATION 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/bsd-new_1015.yml b/src/licensedcode/data/rules/bsd-new_1015.yml new file mode 100644 index 00000000000..d61f2039c6e --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1015.yml @@ -0,0 +1,4 @@ +license_expression: bsd-new +is_license_text: yes +relevance: 100 +notes: Seen in flac diff --git a/src/licensedcode/data/rules/bsd-new_1016.RULE b/src/licensedcode/data/rules/bsd-new_1016.RULE new file mode 100644 index 00000000000..f59a3bfb5ac --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1016.RULE @@ -0,0 +1 @@ +License: BSDish \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1016.yml b/src/licensedcode/data/rules/bsd-new_1016.yml new file mode 100644 index 00000000000..a9782d20a54 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1016.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_tag: yes +relevance: 90 diff --git a/src/licensedcode/data/rules/bsd-new_1017.RULE b/src/licensedcode/data/rules/bsd-new_1017.RULE new file mode 100644 index 00000000000..24e360404e9 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1017.RULE @@ -0,0 +1 @@ +license = '3-Clause BSD License' \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1017.yml b/src/licensedcode/data/rules/bsd-new_1017.yml new file mode 100644 index 00000000000..c22575d962c --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1017.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_tag: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_1018.RULE b/src/licensedcode/data/rules/bsd-new_1018.RULE new file mode 100644 index 00000000000..4eddf24c3fb --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1018.RULE @@ -0,0 +1 @@ +license = { :type => 'BSD-Like' } \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1018.yml b/src/licensedcode/data/rules/bsd-new_1018.yml new file mode 100644 index 00000000000..a9782d20a54 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1018.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_tag: yes +relevance: 90 diff --git a/src/licensedcode/data/rules/bsd-new_1019.RULE b/src/licensedcode/data/rules/bsd-new_1019.RULE new file mode 100644 index 00000000000..fc0682dbb55 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1019.RULE @@ -0,0 +1 @@ +project is now BSD \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1019.yml b/src/licensedcode/data/rules/bsd-new_1019.yml new file mode 100644 index 00000000000..e55e499970e --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1019.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 99 diff --git a/src/licensedcode/data/rules/bsd-new_1020.RULE b/src/licensedcode/data/rules/bsd-new_1020.RULE new file mode 100644 index 00000000000..71517f492df --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1020.RULE @@ -0,0 +1,2 @@ +This software is provided under under the BSD 3-Clause License. +See the accompanying LICENSE file for more information. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1020.yml b/src/licensedcode/data/rules/bsd-new_1020.yml new file mode 100644 index 00000000000..77fbef666ba --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1020.yml @@ -0,0 +1,5 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE diff --git a/src/licensedcode/data/rules/bsd-new_1021.RULE b/src/licensedcode/data/rules/bsd-new_1021.RULE new file mode 100644 index 00000000000..61083983988 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1021.RULE @@ -0,0 +1 @@ +provided under a BSD-style license \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1021.yml b/src/licensedcode/data/rules/bsd-new_1021.yml new file mode 100644 index 00000000000..60b23857636 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1021.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 90 diff --git a/src/licensedcode/data/rules/bsd-new_1022.RULE b/src/licensedcode/data/rules/bsd-new_1022.RULE new file mode 100644 index 00000000000..4e9a7cb3398 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1022.RULE @@ -0,0 +1 @@ +released under BSD style licenses \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1022.yml b/src/licensedcode/data/rules/bsd-new_1022.yml new file mode 100644 index 00000000000..60b23857636 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1022.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 90 diff --git a/src/licensedcode/data/rules/bsd-new_1023.RULE b/src/licensedcode/data/rules/bsd-new_1023.RULE new file mode 100644 index 00000000000..234c5f5f521 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1023.RULE @@ -0,0 +1 @@ +under BSD style licenses \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1023.yml b/src/licensedcode/data/rules/bsd-new_1023.yml new file mode 100644 index 00000000000..60b23857636 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1023.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 90 diff --git a/src/licensedcode/data/rules/bsd-new_1024.RULE b/src/licensedcode/data/rules/bsd-new_1024.RULE new file mode 100644 index 00000000000..ff0504dbe5b --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1024.RULE @@ -0,0 +1 @@ +BSD licenses \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1024.yml b/src/licensedcode/data/rules/bsd-new_1024.yml new file mode 100644 index 00000000000..ac2f9af367d --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1024.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_reference: yes +relevance: 90 diff --git a/src/licensedcode/data/rules/bsd-new_1025.RULE b/src/licensedcode/data/rules/bsd-new_1025.RULE new file mode 100644 index 00000000000..2788408331c --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1025.RULE @@ -0,0 +1 @@ +released under the 3-clause New BSD license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1025.yml b/src/licensedcode/data/rules/bsd-new_1025.yml new file mode 100644 index 00000000000..67d99f838ff --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1025.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_1026.RULE b/src/licensedcode/data/rules/bsd-new_1026.RULE new file mode 100644 index 00000000000..ac4048f97ea --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1026.RULE @@ -0,0 +1 @@ +released under the New BSD License: http://www.opensource.org/licenses/bsd-license.php \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1026.yml b/src/licensedcode/data/rules/bsd-new_1026.yml new file mode 100644 index 00000000000..1a6b1a6d080 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1026.yml @@ -0,0 +1,5 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 100 +ignorable_urls: + - http://www.opensource.org/licenses/bsd-license.php diff --git a/src/licensedcode/data/rules/bsd-new_1027.RULE b/src/licensedcode/data/rules/bsd-new_1027.RULE new file mode 100644 index 00000000000..723500d4384 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1027.RULE @@ -0,0 +1 @@ +under the BSD license, as shown in that file. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1027.yml b/src/licensedcode/data/rules/bsd-new_1027.yml new file mode 100644 index 00000000000..e55e499970e --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1027.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 99 diff --git a/src/licensedcode/data/rules/bsd-new_1028.RULE b/src/licensedcode/data/rules/bsd-new_1028.RULE new file mode 100644 index 00000000000..04419310e47 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1028.RULE @@ -0,0 +1 @@ +This software is distributed under the terms of the BSD license. BSD LICENSE \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1028.yml b/src/licensedcode/data/rules/bsd-new_1028.yml new file mode 100644 index 00000000000..e55e499970e --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1028.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 99 diff --git a/src/licensedcode/data/rules/bsd-new_1029.RULE b/src/licensedcode/data/rules/bsd-new_1029.RULE new file mode 100644 index 00000000000..b75505108a2 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1029.RULE @@ -0,0 +1,3 @@ +it may be distributed under the Xiph.Org license, which is the least +restrictive of those mentioned above. See the file COPYING.Xiph in this +distribution. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1029.yml b/src/licensedcode/data/rules/bsd-new_1029.yml new file mode 100644 index 00000000000..08fa9f82c04 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1029.yml @@ -0,0 +1,5 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING.Xiph diff --git a/src/licensedcode/data/rules/bsd-new_1030.RULE b/src/licensedcode/data/rules/bsd-new_1030.RULE new file mode 100644 index 00000000000..d5a36180e82 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1030.RULE @@ -0,0 +1 @@ +Xiph.Org license \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1030.yml b/src/licensedcode/data/rules/bsd-new_1030.yml new file mode 100644 index 00000000000..1ea4dba5170 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1030.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_1031.RULE b/src/licensedcode/data/rules/bsd-new_1031.RULE new file mode 100644 index 00000000000..a9589f882c0 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1031.RULE @@ -0,0 +1,25 @@ +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 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. + * Neither the name of Google Inc. 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 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 THE COPYRIGHT +OWNER 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/bsd-new_1031.yml b/src/licensedcode/data/rules/bsd-new_1031.yml new file mode 100644 index 00000000000..dd984467943 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1031.yml @@ -0,0 +1,4 @@ +license_expression: bsd-new +is_license_text: yes +relevance: 100 +notes: mildly damaged text diff --git a/src/licensedcode/data/rules/bsd-new_1032.RULE b/src/licensedcode/data/rules/bsd-new_1032.RULE new file mode 100644 index 00000000000..b3db30c3934 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1032.RULE @@ -0,0 +1,2 @@ +License +All contributions released under the `BSD 3-Clause License `_. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1032.yml b/src/licensedcode/data/rules/bsd-new_1032.yml new file mode 100644 index 00000000000..c3e5d658602 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1032.yml @@ -0,0 +1,5 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://opensource.org/licenses/BSD-3-Clause diff --git a/src/licensedcode/data/rules/bsd-new_1033.RULE b/src/licensedcode/data/rules/bsd-new_1033.RULE new file mode 100644 index 00000000000..090936dbd1f --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1033.RULE @@ -0,0 +1 @@ +All contributions released under the `BSD 3-Clause License \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1033.yml b/src/licensedcode/data/rules/bsd-new_1033.yml new file mode 100644 index 00000000000..67d99f838ff --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1033.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_1034.RULE b/src/licensedcode/data/rules/bsd-new_1034.RULE new file mode 100644 index 00000000000..4ab5db0a17e --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1034.RULE @@ -0,0 +1 @@ +All contributions released under the `BSD 3-Clause License `_. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1034.yml b/src/licensedcode/data/rules/bsd-new_1034.yml new file mode 100644 index 00000000000..c3e5d658602 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1034.yml @@ -0,0 +1,5 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://opensource.org/licenses/BSD-3-Clause diff --git a/src/licensedcode/data/rules/bsd-new_1035.RULE b/src/licensedcode/data/rules/bsd-new_1035.RULE new file mode 100644 index 00000000000..a95b41717f7 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1035.RULE @@ -0,0 +1,21 @@ +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 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. + * Neither the name of the authors 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 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 OWNER 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 \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1035.yml b/src/licensedcode/data/rules/bsd-new_1035.yml new file mode 100644 index 00000000000..2c6852d6a2f --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1035.yml @@ -0,0 +1,4 @@ +license_expression: bsd-new +is_license_text: yes +relevance: 100 +notes: A truncated bsd-new missing parts of the disclaimer See in https://github.com/gweis/isodate/blob/27cebc56a0f6a900eeb897512879d545095f410b/src/isodate/duration.py diff --git a/src/licensedcode/data/rules/bsd-new_1036.RULE b/src/licensedcode/data/rules/bsd-new_1036.RULE new file mode 100644 index 00000000000..80dba106265 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1036.RULE @@ -0,0 +1,13 @@ +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. + 3. Neither the name of The DragonFly Project nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific, prior written permission. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1036.yml b/src/licensedcode/data/rules/bsd-new_1036.yml new file mode 100644 index 00000000000..735705fcc89 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1036.yml @@ -0,0 +1,4 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 90 +notes: truncated text diff --git a/src/licensedcode/data/rules/bsd-new_and_gpl-2.0_and_gfdl-1.2_1.RULE b/src/licensedcode/data/rules/bsd-new_and_gpl-2.0_and_gfdl-1.2_1.RULE new file mode 100644 index 00000000000..67793e58820 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_gpl-2.0_and_gfdl-1.2_1.RULE @@ -0,0 +1,13 @@ +FLAC is comprised of several +components distributed under different licenses. The codec libraries +are distributed under Xiph.Org's BSD-like license (see the file +COPYING.Xiph in this distribution). All other programs, libraries, and +plugins are distributed under the GPL (see COPYING.GPL). The documentation +is distributed under the Gnu FDL (see COPYING.FDL). Each file in the +FLAC distribution contains at the top the terms under which it may be +distributed. + +Since this particular file is relevant to all components of FLAC, +it may be distributed under the Xiph.Org license, which is the least +restrictive of those mentioned above. See the file COPYING.Xiph in this +distribution. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_and_gpl-2.0_and_gfdl-1.2_1.yml b/src/licensedcode/data/rules/bsd-new_and_gpl-2.0_and_gfdl-1.2_1.yml new file mode 100644 index 00000000000..0d7f374a879 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_gpl-2.0_and_gfdl-1.2_1.yml @@ -0,0 +1,7 @@ +license_expression: bsd-new AND gpl-2.0 AND gfdl-1.2 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING.Xiph + - COPYING.GPL + - COPYING.FDL diff --git a/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_1.RULE b/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_1.RULE new file mode 100644 index 00000000000..626b1aba156 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_1.RULE @@ -0,0 +1,2 @@ +libjpeg-turbo +For a summary of these license terms, see LICENSE.md. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_1.yml b/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_1.yml new file mode 100644 index 00000000000..d4f8db26466 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_1.yml @@ -0,0 +1,5 @@ +license_expression: bsd-new AND ijg AND zlib +is_license_reference: yes +relevance: 100 +referenced_filenames: + - LICENSE.md diff --git a/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_2.RULE b/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_2.RULE new file mode 100644 index 00000000000..5575e8f7ff4 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_2.RULE @@ -0,0 +1 @@ +libjpeg-turbo license \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_2.yml b/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_2.yml new file mode 100644 index 00000000000..6abb85300b4 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_2.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new AND ijg AND zlib +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_1.RULE b/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_1.RULE new file mode 100644 index 00000000000..3ab50a2da7a --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_1.RULE @@ -0,0 +1,13 @@ +This file is part the FLAC project. FLAC is comprised of several +components distributed under different licenses. The codec libraries +are distributed under Xiph.Org's BSD-like license (see the file +COPYING.Xiph in this distribution). All other programs, libraries, and +plugins are distributed under the GPL (see COPYING.GPL). The documentation +is distributed under the Gnu FDL (see COPYING.FDL). Each file in the +FLAC distribution contains at the top the terms under which it may be +distributed. + +Since this particular file is relevant to all components of FLAC, +it may be distributed under the Xiph.Org license, which is the least +restrictive of those mentioned above. See the file COPYING.Xiph in this +distribution. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_1.yml b/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_1.yml new file mode 100644 index 00000000000..b479123be99 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_1.yml @@ -0,0 +1,8 @@ +license_expression: bsd-new AND lgpl-2.1 AND gpl-2.0 AND gfdl-1.2 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING.Xiph + - COPYING.GPL + - COPYING.FDL +notes: in flak makefile.in diff --git a/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_2.RULE b/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_2.RULE new file mode 100644 index 00000000000..29bd09da9ac --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_2.RULE @@ -0,0 +1,13 @@ +This file is part the FLAC project. FLAC is comprised of several + components distributed under different licenses. The codec libraries + are distributed under Xiph.Org's BSD-like license (see the file + COPYING.Xiph in this distribution). All other programs, libraries, and + plugins are distributed under the LGPL or GPL (see COPYING.LGPL and + COPYING.GPL). The documentation is distributed under the Gnu FDL (see + COPYING.FDL). Each file in the FLAC distribution contains at the top the + terms under which it may be distributed. + + Since this particular file is relevant to all components of FLAC, + it may be distributed under the Xiph.Org license, which is the least + restrictive of those mentioned above. See the file COPYING.Xiph in this + distribution. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_2.yml b/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_2.yml new file mode 100644 index 00000000000..d9b8bd012de --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_2.yml @@ -0,0 +1,8 @@ +license_expression: bsd-new AND lgpl-2.1 AND gpl-2.0 AND gfdl-1.2 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING.Xiph + - COPYING.LGPL + - COPYING.GPL + - COPYING.FDL diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_31.RULE b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_31.RULE new file mode 100644 index 00000000000..0da4dbfce2e --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_31.RULE @@ -0,0 +1,5 @@ +This source code is licensed under both the BSD-style license (found in the +LICENSE file in the root directory of https://github.com/facebook/zstd) and +the GPLv2 (found in the COPYING file in the root directory of +https://github.com/facebook/zstd). You may select, at your option, one of the +above-listed licenses. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_31.yml b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_31.yml new file mode 100644 index 00000000000..564a1f5af49 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_31.yml @@ -0,0 +1,8 @@ +license_expression: bsd-new OR gpl-2.0 +is_license_notice: yes +relevance: 99 +referenced_filenames: + - LICENSE + - COPYING +ignorable_urls: + - https://github.com/facebook/zstd diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_32.RULE b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_32.RULE new file mode 100644 index 00000000000..3b82412a655 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_32.RULE @@ -0,0 +1,3 @@ +This source code is licensed under both the BSD-style license (found in the +LICENSE file in the root directory of this source tree) and the GPLv2 (found +in the COPYING file in the root directory of this source tree). \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_32.yml b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_32.yml new file mode 100644 index 00000000000..6e7c6785c1f --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_32.yml @@ -0,0 +1,6 @@ +license_expression: bsd-new OR gpl-2.0 +is_license_notice: yes +relevance: 99 +referenced_filenames: + - LICENSE + - COPYING diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_33.RULE b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_33.RULE new file mode 100644 index 00000000000..4f323cfc96f --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_33.RULE @@ -0,0 +1 @@ +license to BSD + GPLv2 \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_33.yml b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_33.yml new file mode 100644 index 00000000000..027bb9b1afb --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_33.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new OR gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_34.RULE b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_34.RULE new file mode 100644 index 00000000000..7f9dd52f39b --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_34.RULE @@ -0,0 +1 @@ +license: BSD + GPLv2 \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_34.yml b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_34.yml new file mode 100644 index 00000000000..027bb9b1afb --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_34.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new OR gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_35.RULE b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_35.RULE new file mode 100644 index 00000000000..7106a614c65 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_35.RULE @@ -0,0 +1 @@ +provided as an open-source dual [BSD](LICENSE) and [GPLv2](COPYING) licensed \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_35.yml b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_35.yml new file mode 100644 index 00000000000..e62223465a6 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_35.yml @@ -0,0 +1,6 @@ +license_expression: bsd-new OR gpl-2.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE + - COPYING diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_36.RULE b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_36.RULE new file mode 100644 index 00000000000..7a7981ffaf4 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_36.RULE @@ -0,0 +1 @@ +provided as an open-source dual BSD and GPLv2 \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_36.yml b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_36.yml new file mode 100644 index 00000000000..027bb9b1afb --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_36.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new OR gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_37.RULE b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_37.RULE new file mode 100644 index 00000000000..f8c3f9d532b --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_37.RULE @@ -0,0 +1 @@ +dual BSD and GPLv2 \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_37.yml b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_37.yml new file mode 100644 index 00000000000..027bb9b1afb --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_37.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new OR gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_and_generic-cla_1.RULE b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_and_generic-cla_1.RULE new file mode 100644 index 00000000000..9173f9af9a9 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_and_generic-cla_1.RULE @@ -0,0 +1,3 @@ +License +By contributing to Zstandard, you agree that your contributions will be licensed +under both the [LICENSE](LICENSE) file and the [COPYING](COPYING) file in the root directory of this source tree. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_and_generic-cla_1.yml b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_and_generic-cla_1.yml new file mode 100644 index 00000000000..0b63eda683b --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_and_generic-cla_1.yml @@ -0,0 +1,7 @@ +license_expression: (bsd-new OR gpl-2.0) AND generic-cla +is_license_notice: yes +relevance: 100 +minimum_coverage: 100 +referenced_filenames: + - LICENSE + - COPYING diff --git a/src/licensedcode/data/rules/bsd-original_57.RULE b/src/licensedcode/data/rules/bsd-original_57.RULE new file mode 100644 index 00000000000..97945735dc8 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-original_57.RULE @@ -0,0 +1,28 @@ +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. + +3. All advertising materials mentioning features or use of this software must + display the following acknowledgement: This product includes software + developed by the the organization . + +4. Neither the name of the copyright holder 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 BY COPYRIGHT HOLDER "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 COPYRIGHT HOLDER 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/bsd-original_57.yml b/src/licensedcode/data/rules/bsd-original_57.yml new file mode 100644 index 00000000000..5876e905edc --- /dev/null +++ b/src/licensedcode/data/rules/bsd-original_57.yml @@ -0,0 +1,4 @@ +license_expression: bsd-original +is_license_text: yes +relevance: 100 +notes: SDPX damaged text diff --git a/src/licensedcode/data/rules/bsd-simplified_265.RULE b/src/licensedcode/data/rules/bsd-simplified_265.RULE new file mode 100644 index 00000000000..3e43028e1db --- /dev/null +++ b/src/licensedcode/data/rules/bsd-simplified_265.RULE @@ -0,0 +1,21 @@ +- 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 ANY + - 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/bsd-simplified_265.yml b/src/licensedcode/data/rules/bsd-simplified_265.yml new file mode 100644 index 00000000000..d7f3625b73c --- /dev/null +++ b/src/licensedcode/data/rules/bsd-simplified_265.yml @@ -0,0 +1,3 @@ +license_expression: bsd-simplified +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-simplified_266.RULE b/src/licensedcode/data/rules/bsd-simplified_266.RULE new file mode 100644 index 00000000000..795ee97e2cd --- /dev/null +++ b/src/licensedcode/data/rules/bsd-simplified_266.RULE @@ -0,0 +1,20 @@ +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 HOLDER AND ITS 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 ITS +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/bsd-simplified_266.yml b/src/licensedcode/data/rules/bsd-simplified_266.yml new file mode 100644 index 00000000000..d479878a254 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-simplified_266.yml @@ -0,0 +1,4 @@ +license_expression: bsd-simplified +is_license_text: yes +relevance: 100 +notes: found in libdnf diff --git a/src/licensedcode/data/rules/bsd-simplified_267.RULE b/src/licensedcode/data/rules/bsd-simplified_267.RULE new file mode 100644 index 00000000000..fcf57024035 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-simplified_267.RULE @@ -0,0 +1,21 @@ +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 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. + +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 OWNER 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. + +http://opensource.org/licenses/bsd-license.php \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-simplified_267.yml b/src/licensedcode/data/rules/bsd-simplified_267.yml new file mode 100644 index 00000000000..ac725e45757 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-simplified_267.yml @@ -0,0 +1,5 @@ +license_expression: bsd-simplified +is_license_text: yes +relevance: 100 +ignorable_urls: + - http://opensource.org/licenses/bsd-license.php diff --git a/src/licensedcode/data/rules/bsd-source-code_7.RULE b/src/licensedcode/data/rules/bsd-source-code_7.RULE new file mode 100644 index 00000000000..e9171f731c0 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-source-code_7.RULE @@ -0,0 +1,21 @@ +Redistribution and use of this software in source and binary forms, +with or without modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above +copyright notice, this list of conditions and the +following disclaimer. + +* Neither the name of Deusty nor the names of its +contributors may be used to endorse or promote products +derived from this software without specific prior +written permission of Deusty, LLC. + +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 OWNER 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/bsd-source-code_7.yml b/src/licensedcode/data/rules/bsd-source-code_7.yml new file mode 100644 index 00000000000..d2d24e7e04d --- /dev/null +++ b/src/licensedcode/data/rules/bsd-source-code_7.yml @@ -0,0 +1,3 @@ +license_expression: bsd-source-code +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cc-by-3.0_108.RULE b/src/licensedcode/data/rules/cc-by-3.0_108.RULE new file mode 100644 index 00000000000..06016e4822d --- /dev/null +++ b/src/licensedcode/data/rules/cc-by-3.0_108.RULE @@ -0,0 +1 @@ +under a CC Attribution 3.0 License \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc-by-3.0_108.yml b/src/licensedcode/data/rules/cc-by-3.0_108.yml new file mode 100644 index 00000000000..1efc1c1f174 --- /dev/null +++ b/src/licensedcode/data/rules/cc-by-3.0_108.yml @@ -0,0 +1,3 @@ +license_expression: cc-by-3.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cc-by-4.0_93.RULE b/src/licensedcode/data/rules/cc-by-4.0_93.RULE new file mode 100644 index 00000000000..d96f5de3c7f --- /dev/null +++ b/src/licensedcode/data/rules/cc-by-4.0_93.RULE @@ -0,0 +1 @@ +provided under a Creative Commons Attribution 4.0 International (CC BY 4.0) license (https://creativecommons.org/licenses/by/4.0/). \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc-by-4.0_93.yml b/src/licensedcode/data/rules/cc-by-4.0_93.yml new file mode 100644 index 00000000000..e1db67e4357 --- /dev/null +++ b/src/licensedcode/data/rules/cc-by-4.0_93.yml @@ -0,0 +1,5 @@ +license_expression: cc-by-4.0 +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://creativecommons.org/licenses/by/4.0 diff --git a/src/licensedcode/data/rules/cc-by-4.0_94.RULE b/src/licensedcode/data/rules/cc-by-4.0_94.RULE new file mode 100644 index 00000000000..1911f9d2efa --- /dev/null +++ b/src/licensedcode/data/rules/cc-by-4.0_94.RULE @@ -0,0 +1 @@ +provided under a Creative Commons Attribution 4.0 International (CC BY 4.0) \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc-by-4.0_94.yml b/src/licensedcode/data/rules/cc-by-4.0_94.yml new file mode 100644 index 00000000000..adecd60c4a6 --- /dev/null +++ b/src/licensedcode/data/rules/cc-by-4.0_94.yml @@ -0,0 +1,3 @@ +license_expression: cc-by-4.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cc0-1.0_133.RULE b/src/licensedcode/data/rules/cc0-1.0_133.RULE new file mode 100644 index 00000000000..8c4a8f2f487 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_133.RULE @@ -0,0 +1 @@ +released under a CC0 license \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc0-1.0_133.yml b/src/licensedcode/data/rules/cc0-1.0_133.yml new file mode 100644 index 00000000000..d763d670a35 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_133.yml @@ -0,0 +1,3 @@ +license_expression: cc0-1.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cc0-1.0_134.RULE b/src/licensedcode/data/rules/cc0-1.0_134.RULE new file mode 100644 index 00000000000..5c74f3964e6 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_134.RULE @@ -0,0 +1 @@ +CC0 license/Public Domain \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc0-1.0_134.yml b/src/licensedcode/data/rules/cc0-1.0_134.yml new file mode 100644 index 00000000000..49414157743 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_134.yml @@ -0,0 +1,3 @@ +license_expression: cc0-1.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cc0-1.0_135.RULE b/src/licensedcode/data/rules/cc0-1.0_135.RULE new file mode 100644 index 00000000000..faf24458fc5 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_135.RULE @@ -0,0 +1 @@ +released under a CC0 license/Public Domain \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc0-1.0_135.yml b/src/licensedcode/data/rules/cc0-1.0_135.yml new file mode 100644 index 00000000000..d763d670a35 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_135.yml @@ -0,0 +1,3 @@ +license_expression: cc0-1.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cc0-1.0_136.RULE b/src/licensedcode/data/rules/cc0-1.0_136.RULE new file mode 100644 index 00000000000..e48baa8bcb7 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_136.RULE @@ -0,0 +1 @@ +this script is released under a CC0 license/Public Domain \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc0-1.0_136.yml b/src/licensedcode/data/rules/cc0-1.0_136.yml new file mode 100644 index 00000000000..d763d670a35 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_136.yml @@ -0,0 +1,3 @@ +license_expression: cc0-1.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cc0-1.0_137.RULE b/src/licensedcode/data/rules/cc0-1.0_137.RULE new file mode 100644 index 00000000000..2aa18a20c2c --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_137.RULE @@ -0,0 +1,4 @@ +* This file is part of . It is subject to the license terms in the LICENSE file found in the top-level + * directory of this distribution and at http://creativecommons.org/publicdomain/zero/1.0/. No part of , + * including this file, may be copied, modified, propagated, or distributed except according to the terms contained + * in the LICENSE file. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc0-1.0_137.yml b/src/licensedcode/data/rules/cc0-1.0_137.yml new file mode 100644 index 00000000000..f5578f626e3 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_137.yml @@ -0,0 +1,7 @@ +license_expression: cc0-1.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE +ignorable_urls: + - http://creativecommons.org/publicdomain/zero/1.0 diff --git a/src/licensedcode/data/rules/cc0-1.0_or_public-domain_1.RULE b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_1.RULE new file mode 100644 index 00000000000..9833974d4d5 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_1.RULE @@ -0,0 +1,2 @@ +The example files in this directory are released under a [Creative Commons Zero license] +(https://creativecommons.org/publicdomain/zero/1.0/) (or Public Domain, whichever is applicable in your jurisdiction). \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc0-1.0_or_public-domain_1.yml b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_1.yml new file mode 100644 index 00000000000..50d96068943 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_1.yml @@ -0,0 +1,5 @@ +license_expression: cc0-1.0 OR public-domain +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://creativecommons.org/publicdomain/zero/1.0 diff --git a/src/licensedcode/data/rules/cc0-1.0_or_public-domain_2.RULE b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_2.RULE new file mode 100644 index 00000000000..7251e54b7b4 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_2.RULE @@ -0,0 +1,2 @@ +released under a [Creative Commons Zero license] +(https://creativecommons.org/publicdomain/zero/1.0/) (or Public Domain, whichever is applicable in your jurisdiction). \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc0-1.0_or_public-domain_2.yml b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_2.yml new file mode 100644 index 00000000000..50d96068943 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_2.yml @@ -0,0 +1,5 @@ +license_expression: cc0-1.0 OR public-domain +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://creativecommons.org/publicdomain/zero/1.0 diff --git a/src/licensedcode/data/rules/cc0-1.0_or_public-domain_3.RULE b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_3.RULE new file mode 100644 index 00000000000..5fdfecd6d60 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_3.RULE @@ -0,0 +1,2 @@ +released under a [Creative Commons Zero license] +(https://creativecommons.org/publicdomain/zero/1.0/) (or Public Domain) \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc0-1.0_or_public-domain_3.yml b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_3.yml new file mode 100644 index 00000000000..50d96068943 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_3.yml @@ -0,0 +1,5 @@ +license_expression: cc0-1.0 OR public-domain +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://creativecommons.org/publicdomain/zero/1.0 diff --git a/src/licensedcode/data/rules/generic-cla_10.RULE b/src/licensedcode/data/rules/generic-cla_10.RULE new file mode 100644 index 00000000000..d153243e1b3 --- /dev/null +++ b/src/licensedcode/data/rules/generic-cla_10.RULE @@ -0,0 +1,6 @@ +Contributor License Agreement + +Contributions to this project must be accompanied by a Contributor License +Agreement (CLA). You (or your employer) retain the copyright to your +contribution, this simply gives us permission to use and redistribute your +contributions as part of the project. \ No newline at end of file diff --git a/src/licensedcode/data/rules/generic-cla_10.yml b/src/licensedcode/data/rules/generic-cla_10.yml new file mode 100644 index 00000000000..747ea46ff05 --- /dev/null +++ b/src/licensedcode/data/rules/generic-cla_10.yml @@ -0,0 +1,3 @@ +license_expression: generic-cla +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/generic-cla_11.RULE b/src/licensedcode/data/rules/generic-cla_11.RULE new file mode 100644 index 00000000000..4fc5839b411 --- /dev/null +++ b/src/licensedcode/data/rules/generic-cla_11.RULE @@ -0,0 +1,3 @@ +you agree that your contributions will be licensed +under both the [LICENSE](LICENSE) file and the [COPYING](COPYING) file +in the root directory of this source tree. \ No newline at end of file diff --git a/src/licensedcode/data/rules/generic-cla_11.yml b/src/licensedcode/data/rules/generic-cla_11.yml new file mode 100644 index 00000000000..5f24cac0310 --- /dev/null +++ b/src/licensedcode/data/rules/generic-cla_11.yml @@ -0,0 +1,7 @@ +license_expression: generic-cla +is_license_notice: yes +relevance: 100 +minimum_coverage: 99 +referenced_filenames: + - LICENSE + - COPYING diff --git a/src/licensedcode/data/rules/generic-cla_12.RULE b/src/licensedcode/data/rules/generic-cla_12.RULE new file mode 100644 index 00000000000..438c9d94351 --- /dev/null +++ b/src/licensedcode/data/rules/generic-cla_12.RULE @@ -0,0 +1,2 @@ +Contributions are licensed to the GENIVI Alliance under one or more +Contributor License Agreements. \ No newline at end of file diff --git a/src/licensedcode/data/rules/generic-cla_12.yml b/src/licensedcode/data/rules/generic-cla_12.yml new file mode 100644 index 00000000000..747ea46ff05 --- /dev/null +++ b/src/licensedcode/data/rules/generic-cla_12.yml @@ -0,0 +1,3 @@ +license_expression: generic-cla +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/historical_24.RULE b/src/licensedcode/data/rules/historical_24.RULE new file mode 100644 index 00000000000..c759a717588 --- /dev/null +++ b/src/licensedcode/data/rules/historical_24.RULE @@ -0,0 +1,15 @@ +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name Wyse not be +used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. + +WYSE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING +ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL +DIGITAL BE LIABLE FOR ANY SPECIAL, 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 THIS +SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/historical_24.yml b/src/licensedcode/data/rules/historical_24.yml new file mode 100644 index 00000000000..3ab3078a7cd --- /dev/null +++ b/src/licensedcode/data/rules/historical_24.yml @@ -0,0 +1,4 @@ +license_expression: historical +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/historical_25.RULE b/src/licensedcode/data/rules/historical_25.RULE new file mode 100644 index 00000000000..5cd446736ba --- /dev/null +++ b/src/licensedcode/data/rules/historical_25.RULE @@ -0,0 +1,15 @@ +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name Digital not be +used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. + +DIGITAL AND WYSE DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +EVENT SHALL DIGITAL OR WYSE BE LIABLE FOR ANY SPECIAL, 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 THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/historical_25.yml b/src/licensedcode/data/rules/historical_25.yml new file mode 100644 index 00000000000..3ab3078a7cd --- /dev/null +++ b/src/licensedcode/data/rules/historical_25.yml @@ -0,0 +1,4 @@ +license_expression: historical +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/historical_26.RULE b/src/licensedcode/data/rules/historical_26.RULE new file mode 100644 index 00000000000..217c7c82591 --- /dev/null +++ b/src/licensedcode/data/rules/historical_26.RULE @@ -0,0 +1,17 @@ +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, provided +that the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the name of TOSHIBA not be used in advertising +or publicity pertaining to distribution of the software without specific, +written prior permission. TOSHIBA make no representations about the +suitability of this software for any purpose. It is provided "as is" +without express or implied warranty. + +TOSHIBA DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING +ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL +TOSHIBA BE LIABLE FOR ANY SPECIAL, 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 THIS +SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/historical_26.yml b/src/licensedcode/data/rules/historical_26.yml new file mode 100644 index 00000000000..3ab3078a7cd --- /dev/null +++ b/src/licensedcode/data/rules/historical_26.yml @@ -0,0 +1,4 @@ +license_expression: historical +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/historical_27.RULE b/src/licensedcode/data/rules/historical_27.RULE new file mode 100644 index 00000000000..1ffc30b95ca --- /dev/null +++ b/src/licensedcode/data/rules/historical_27.RULE @@ -0,0 +1,16 @@ +License to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of IBM not be +used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. + +IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING +ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS, AND +NONINFRINGEMENT OF THIRD PARTY RIGHTS, IN NO EVENT SHALL +IBM BE LIABLE FOR ANY SPECIAL, 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 THIS +SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/historical_27.yml b/src/licensedcode/data/rules/historical_27.yml new file mode 100644 index 00000000000..d16edb1f130 --- /dev/null +++ b/src/licensedcode/data/rules/historical_27.yml @@ -0,0 +1,4 @@ +license_expression: historical +is_license_text: yes +relevance: 99 +notes: in x11 diff --git a/src/licensedcode/data/rules/ijg_29.RULE b/src/licensedcode/data/rules/ijg_29.RULE new file mode 100644 index 00000000000..a29e739546d --- /dev/null +++ b/src/licensedcode/data/rules/ijg_29.RULE @@ -0,0 +1,58 @@ +libjpeg license, Independent JPEG Group + + This license applies to the libjpeg API library and associated programs + (any code inherited from libjpeg, and any modifications to that code.) + +The authors make NO WARRANTY or representation, either express or implied, +with respect to this software, its quality, accuracy, merchantability, or +fitness for a particular purpose. This software is provided "AS IS", and you, +its user, assume the entire risk as to its quality and accuracy. + +This software is copyright (C) 1991-2016, Thomas G. Lane, Guido Vollbeding. +All Rights Reserved except as specified below. + +Permission is hereby granted to use, copy, modify, and distribute this +software (or portions thereof) for any purpose, without fee, subject to these +conditions: +(1) If any part of the source code for this software is distributed, then this +README file must be included, with this copyright and no-warranty notice +unaltered; and any additions, deletions, or changes to the original files +must be clearly indicated in accompanying documentation. +(2) If only executable code is distributed, then the accompanying +documentation must state that "this software is based in part on the work of +the Independent JPEG Group". +(3) Permission for use of this software is granted only if the user accepts +full responsibility for any undesirable consequences; the authors accept +NO LIABILITY for damages of any kind. + +These conditions apply to any software derived from or based on the IJG code, +not just to the unmodified library. If you use our work, you ought to +acknowledge us. + +Permission is NOT granted for the use of any IJG author's name or company name +in advertising or publicity relating to this software or products derived from +it. This software may be referred to only as "the Independent JPEG Group's +software". + +We specifically permit and encourage the use of this software as the basis of +commercial products, provided that all warranty or liability claims are +assumed by the product vendor. + + +The Unix configuration script "configure" was produced with GNU Autoconf. +It is copyright by the Free Software Foundation but is freely distributable. +The same holds for its supporting scripts (config.guess, config.sub, +ltmain.sh). Another support script, install-sh, is copyright by X Consortium +but is also freely distributable. + +The IJG distribution formerly included code to read and write GIF files. +To avoid entanglement with the Unisys LZW patent (now expired), GIF reading +support has been removed altogether, and the GIF writer has been simplified +to produce "uncompressed GIFs". This technique does not use the LZW +algorithm; the resulting GIF files are larger than usual, but are readable +by all standard GIF decoders. + +We are required to state that + "The Graphics Interchange Format(c) is the Copyright property of + CompuServe Incorporated. GIF(sm) is a Service Mark property of + CompuServe Incorporated." \ No newline at end of file diff --git a/src/licensedcode/data/rules/ijg_29.yml b/src/licensedcode/data/rules/ijg_29.yml new file mode 100644 index 00000000000..2fbf86bfb95 --- /dev/null +++ b/src/licensedcode/data/rules/ijg_29.yml @@ -0,0 +1,13 @@ +license_expression: ijg +is_license_text: yes +relevance: 100 +ignorable_copyrights: + - Copyright property of CompuServe Incorporated + - copyright (c) 1991-2016, Thomas G. Lane, Guido Vollbeding + - copyright by X Consortium + - copyright by the Free Software Foundation +ignorable_holders: + - CompuServe Incorporated + - Thomas G. Lane, Guido Vollbeding + - X Consortium + - the Free Software Foundation diff --git a/src/licensedcode/data/rules/info-zip-2009-01_1.RULE b/src/licensedcode/data/rules/info-zip-2009-01_1.RULE new file mode 100644 index 00000000000..cf90c1f9f47 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_1.RULE @@ -0,0 +1,2 @@ +The product "Pocket UnZip" itself is property of the +author and cannot be altered in any way without written consent from. \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_1.yml b/src/licensedcode/data/rules/info-zip-2009-01_1.yml new file mode 100644 index 00000000000..4325cc5ecd8 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_1.yml @@ -0,0 +1,6 @@ +license_expression: info-zip-2009-01 +is_license_text: yes +relevance: 100 +minimum_coverage: 99 +notes: Seen in Info-Zip with a notice "copyrighted 1997 by Steve P. Miller. Relicensed to Info-Zip + terms per Info-Zip documentation" diff --git a/src/licensedcode/data/rules/info-zip-2009-01_10.RULE b/src/licensedcode/data/rules/info-zip-2009-01_10.RULE new file mode 100644 index 00000000000..3ee3a8e4b83 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_10.RULE @@ -0,0 +1 @@ +covered by the new Info-ZIP license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_10.yml b/src/licensedcode/data/rules/info-zip-2009-01_10.yml new file mode 100644 index 00000000000..eba3060a5d5 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_10.yml @@ -0,0 +1,3 @@ +license_expression: info-zip-2009-01 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/info-zip-2009-01_11.RULE b/src/licensedcode/data/rules/info-zip-2009-01_11.RULE new file mode 100644 index 00000000000..50ccebdb576 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_11.RULE @@ -0,0 +1,4 @@ +See the accompanying file LICENSE, version 2000-Apr-09 or later + (the contents of which are also included in zip.h) for terms of use. + If, for some reason, all these files are missing, the Info-ZIP license + also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_11.yml b/src/licensedcode/data/rules/info-zip-2009-01_11.yml new file mode 100644 index 00000000000..3884cc22466 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_11.yml @@ -0,0 +1,9 @@ +license_expression: info-zip-2009-01 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE + - zip.h +ignorable_urls: + - ftp://ftp.info-zip.org/pub/infozip/license.html + diff --git a/src/licensedcode/data/rules/info-zip-2009-01_4.RULE b/src/licensedcode/data/rules/info-zip-2009-01_4.RULE new file mode 100644 index 00000000000..f011382c253 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_4.RULE @@ -0,0 +1,2 @@ +This copyright note does not contain any usage terms. So, we assume + that this code is freely reusable until we are proved wrong... \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_4.yml b/src/licensedcode/data/rules/info-zip-2009-01_4.yml new file mode 100644 index 00000000000..2aa7bba22a8 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_4.yml @@ -0,0 +1,19 @@ +license_expression: info-zip-2009-01 +is_license_notice: yes +relevance: 99 +minimum_coverage: 99 +notes: | + Seen in Info-zip this note: + * MacBinaryIII.h + * + * Copyright 1997 Christopher Evans (cevans@poppybank.com) + * + * Basic encoding and decoding of Macintosh files to the + * MacBinary III spec. + + * This source is copyrighted by Christopher Evans (cevans@poppybank.com) + * (available at ftp://ftp.lazerware.com/MacBinaryIII_src_C.sit + * homepage of Leonard Rosenthol leonardr@netcom.com) + + This copyright note does not contain any usage terms. So, we assume + that this code is freely reusable until we are proved wrong... diff --git a/src/licensedcode/data/rules/info-zip-2009-01_5.RULE b/src/licensedcode/data/rules/info-zip-2009-01_5.RULE new file mode 100644 index 00000000000..9c21c420fb6 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_5.RULE @@ -0,0 +1 @@ +covered by the Info-ZIP Licence \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_5.yml b/src/licensedcode/data/rules/info-zip-2009-01_5.yml new file mode 100644 index 00000000000..0565c342726 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_5.yml @@ -0,0 +1,3 @@ +license_expression: info-zip-2009-01 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/info-zip-2009-01_6.RULE b/src/licensedcode/data/rules/info-zip-2009-01_6.RULE new file mode 100644 index 00000000000..8e38e135c58 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_6.RULE @@ -0,0 +1 @@ +complete core code is now covered by the Info-ZIP Licence \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_6.yml b/src/licensedcode/data/rules/info-zip-2009-01_6.yml new file mode 100644 index 00000000000..0565c342726 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_6.yml @@ -0,0 +1,3 @@ +license_expression: info-zip-2009-01 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/info-zip-2009-01_7.RULE b/src/licensedcode/data/rules/info-zip-2009-01_7.RULE new file mode 100644 index 00000000000..43f3c3ed0b5 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_7.RULE @@ -0,0 +1,3 @@ +previously put into the public domain). All these +Info-ZIP contributors (or "primary" authors) have permitted us to +replace their copyright notes by the Info-ZIP License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_7.yml b/src/licensedcode/data/rules/info-zip-2009-01_7.yml new file mode 100644 index 00000000000..b8a72913c0e --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_7.yml @@ -0,0 +1,4 @@ +license_expression: info-zip-2009-01 +is_license_reference: yes +relevance: 100 +minimum_coverage: 99 diff --git a/src/licensedcode/data/rules/info-zip-2009-01_8.RULE b/src/licensedcode/data/rules/info-zip-2009-01_8.RULE new file mode 100644 index 00000000000..fc4b92963ec --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_8.RULE @@ -0,0 +1,3 @@ +The remaining copyright notes have been superseeded by the new + Info-ZIP license, with explicit permission from the respective + original authors. \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_8.yml b/src/licensedcode/data/rules/info-zip-2009-01_8.yml new file mode 100644 index 00000000000..0565c342726 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_8.yml @@ -0,0 +1,3 @@ +license_expression: info-zip-2009-01 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/info-zip-2009-01_9.RULE b/src/licensedcode/data/rules/info-zip-2009-01_9.RULE new file mode 100644 index 00000000000..9f7575d3afe --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_9.RULE @@ -0,0 +1 @@ +Info-ZIP license \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_9.yml b/src/licensedcode/data/rules/info-zip-2009-01_9.yml new file mode 100644 index 00000000000..0565c342726 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_9.yml @@ -0,0 +1,3 @@ +license_expression: info-zip-2009-01 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_1.RULE b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_1.RULE new file mode 100644 index 00000000000..94bb223b0c5 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_1.RULE @@ -0,0 +1,4 @@ +Permission is granted to any individual or institution to use, +copy, or redistribute this software so long as all of the original +files are included, that it is not sold for profit, and that this +copyright notice is retained. \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_1.yml b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_1.yml new file mode 100644 index 00000000000..85b77a65819 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_1.yml @@ -0,0 +1,6 @@ +license_expression: info-zip-2009-01 AND other-permissive +is_license_text: yes +relevance: 100 +minimum_coverage: 99 +notes: Seen in Info-Zip with a notice Copyright (c) 1996 Mike White. Relicensed to Info-Zip + terms per Info-Zip documentation diff --git a/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_2.RULE b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_2.RULE new file mode 100644 index 00000000000..32f5cb41f6e --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_2.RULE @@ -0,0 +1,8 @@ +Permission is granted to any individual/institution/corporate +entity to use, copy, redistribute or modify this software for +any purpose whatsoever, subject to the conditions noted in the +Frequently Asked Questions section below, plus one additional +condition: namely, that my name not be removed from the source +code. (Other names may, of course, be added as modifications +are made.) Corporate legal staff (like at IBM :-) ) who have +problems understanding this can contact me through Zip-Bugs... \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_2.yml b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_2.yml new file mode 100644 index 00000000000..261ea674059 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_2.yml @@ -0,0 +1,6 @@ +license_expression: info-zip-2009-01 AND other-permissive +is_license_text: yes +relevance: 100 +minimum_coverage: 99 +notes: Seen in Info-Zip with a notice Copyright (c) 1994 Greg Roelofs. Relicensed to Info-Zip + terms per Info-Zip documentation diff --git a/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_3.RULE b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_3.RULE new file mode 100644 index 00000000000..0e42bb74e64 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_3.RULE @@ -0,0 +1,3 @@ +Permission is granted to any individual or institution to use, copy, +or redistribute this software so long as all of the original files +are included unmodified and that this copyright notice is retained. \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_3.yml b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_3.yml new file mode 100644 index 00000000000..a15ee20ee5e --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_3.yml @@ -0,0 +1,6 @@ +license_expression: info-zip-2009-01 AND other-permissive +is_license_text: yes +relevance: 100 +minimum_coverage: 99 +notes: Seen in Info-Zip with a notice Copyright (c) 1992-93 Igor Mandrichenko. Relicensed to + Info-Zip terms per Info-Zip documentation diff --git a/src/licensedcode/data/rules/isc_85.RULE b/src/licensedcode/data/rules/isc_85.RULE new file mode 100644 index 00000000000..d3bc66a2c0c --- /dev/null +++ b/src/licensedcode/data/rules/isc_85.RULE @@ -0,0 +1,4 @@ +ISC LICENSE + + This license is approved by the OSI and FSF as GPL-compatible. + http://opensource.org/licenses/isc-license.txt \ No newline at end of file diff --git a/src/licensedcode/data/rules/isc_85.yml b/src/licensedcode/data/rules/isc_85.yml new file mode 100644 index 00000000000..0225e00a600 --- /dev/null +++ b/src/licensedcode/data/rules/isc_85.yml @@ -0,0 +1,6 @@ +license_expression: isc +is_license_notice: yes +relevance: 100 +notes: Seen in ptyprocess-0.6.0 +ignorable_urls: + - http://opensource.org/licenses/isc-license.txt diff --git a/src/licensedcode/data/rules/isc_86.RULE b/src/licensedcode/data/rules/isc_86.RULE new file mode 100644 index 00000000000..42e602e745f --- /dev/null +++ b/src/licensedcode/data/rules/isc_86.RULE @@ -0,0 +1 @@ +ISC license used for completely new code \ No newline at end of file diff --git a/src/licensedcode/data/rules/isc_86.yml b/src/licensedcode/data/rules/isc_86.yml new file mode 100644 index 00000000000..4dbad09f4dc --- /dev/null +++ b/src/licensedcode/data/rules/isc_86.yml @@ -0,0 +1,3 @@ +license_expression: isc +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/libpng_30.RULE b/src/licensedcode/data/rules/libpng_30.RULE new file mode 100644 index 00000000000..07f647968d2 --- /dev/null +++ b/src/licensedcode/data/rules/libpng_30.RULE @@ -0,0 +1,24 @@ +The software is supplied "as is", without warranty of any kind, +express or implied, including, without limitation, the warranties +of merchantability, fitness for a particular purpose, title, and +non-infringement. In no event shall the Copyright owners, or +anyone distributing the software, be liable for any damages or +other liability, whether in contract, tort or otherwise, arising +from, out of, or in connection with the software, or the use or +other dealings in the software, even if advised of the possibility +of such damage. + +Permission is hereby granted to use, copy, modify, and distribute +this software, or portions hereof, for any purpose, without fee, +subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you + must not claim that you wrote the original software. If you + use this software in a product, an acknowledgment in the product + documentation would be appreciated, but is not required. + + 2. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 3. This Copyright notice may not be removed or altered from any + source or altered source distribution. \ No newline at end of file diff --git a/src/licensedcode/data/rules/libpng_30.yml b/src/licensedcode/data/rules/libpng_30.yml new file mode 100644 index 00000000000..62d012df47c --- /dev/null +++ b/src/licensedcode/data/rules/libpng_30.yml @@ -0,0 +1,3 @@ +license_expression: libpng +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/libpng_31.RULE b/src/licensedcode/data/rules/libpng_31.RULE new file mode 100644 index 00000000000..b63632ef38e --- /dev/null +++ b/src/licensedcode/data/rules/libpng_31.RULE @@ -0,0 +1,93 @@ +libpng versions 1.0.7, July 1, 2000, through 1.6.35, July 15, 2018 are +Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson, are +derived from libpng-1.0.6, and are distributed according to the same +disclaimer and license as libpng-1.0.6 with the following individuals +added to the list of Contributing Authors: + + Simon-Pierre Cadieux + Eric S. Raymond + Mans Rullgard + Cosmin Truta + Gilles Vollant + James Yu + Mandar Sahastrabuddhe + Google Inc. + Vadim Barkov + +and with the following additions to the disclaimer: + + There is no warranty against interference with your enjoyment of + the library or against infringement. There is no warranty that our + efforts or the library will fulfill any of your particular purposes + or needs. This library is provided with all faults, and the entire + risk of satisfactory quality, performance, accuracy, and effort is + with the user. + +Some files in the "contrib" directory and some configure-generated +files that are distributed with libpng have other copyright owners, and +are released under other open source licenses. + +libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are +Copyright (c) 1998-2000 Glenn Randers-Pehrson, are derived from +libpng-0.96, and are distributed according to the same disclaimer and +license as libpng-0.96, with the following individuals added to the +list of Contributing Authors: + + Tom Lane + Glenn Randers-Pehrson + Willem van Schaik + +libpng versions 0.89, June 1996, through 0.96, May 1997, are +Copyright (c) 1996-1997 Andreas Dilger, are derived from libpng-0.88, +and are distributed according to the same disclaimer and license as +libpng-0.88, with the following individuals added to the list of +Contributing Authors: + + John Bowler + Kevin Bracey + Sam Bushell + Magnus Holmgren + Greg Roelofs + Tom Tanner + +Some files in the "scripts" directory have other copyright owners, +but are released under this license. + +libpng versions 0.5, May 1995, through 0.88, January 1996, are +Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. + +For the purposes of this copyright and license, "Contributing Authors" +is defined as the following set of individuals: + + Andreas Dilger + Dave Martindale + Guy Eric Schalnat + Paul Schmidt + Tim Wegner + +The PNG Reference Library is supplied "AS IS". The Contributing +Authors and Group 42, Inc. disclaim all warranties, expressed or +implied, including, without limitation, the warranties of +merchantability and of fitness for any purpose. The Contributing +Authors and Group 42, Inc. assume no liability for direct, indirect, +incidental, special, exemplary, or consequential damages, which may +result from the use of the PNG Reference Library, even if advised of +the possibility of such damage. + +Permission is hereby granted to use, copy, modify, and distribute this +source code, or portions hereof, for any purpose, without fee, subject +to the following restrictions: + + 1. The origin of this source code must not be misrepresented. + + 2. Altered versions must be plainly marked as such and must not + be misrepresented as being the original source. + + 3. This Copyright notice may not be removed or altered from any + source or altered source distribution. + +The Contributing Authors and Group 42, Inc. specifically permit, +without fee, and encourage the use of this source code as a component +to supporting the PNG file format in commercial products. If you use +this source code in a product, acknowledgment is not required but would +be appreciated. \ No newline at end of file diff --git a/src/licensedcode/data/rules/libpng_31.yml b/src/licensedcode/data/rules/libpng_31.yml new file mode 100644 index 00000000000..c7794b6a430 --- /dev/null +++ b/src/licensedcode/data/rules/libpng_31.yml @@ -0,0 +1,12 @@ +license_expression: libpng +is_license_text: yes +relevance: 100 +ignorable_copyrights: + - Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. + - Copyright (c) 1996-1997 Andreas Dilger + - Copyright (c) 1998-2000 Glenn Randers-Pehrson + - Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson +ignorable_holders: + - Andreas Dilger + - Glenn Randers-Pehrson + - Guy Eric Schalnat, Group 42, Inc. diff --git a/src/licensedcode/data/rules/lppl-1.3c_17.RULE b/src/licensedcode/data/rules/lppl-1.3c_17.RULE new file mode 100644 index 00000000000..99683867f57 --- /dev/null +++ b/src/licensedcode/data/rules/lppl-1.3c_17.RULE @@ -0,0 +1,6 @@ +Permission is granted to copy, +distribute and/or modify this software under the terms of the LaTeX +Project Public License (LPPL), version 1.3. This software is provided +'as is', without warranty of any kind, either expressed or implied, +including, but not limited to, the implied warranties of +merchantability and fitness for a particular purpose. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lppl-1.3c_17.yml b/src/licensedcode/data/rules/lppl-1.3c_17.yml new file mode 100644 index 00000000000..9e9062d687d --- /dev/null +++ b/src/licensedcode/data/rules/lppl-1.3c_17.yml @@ -0,0 +1,3 @@ +license_expression: lppl-1.3c +is_license_notice: yes +relevance: 99 diff --git a/src/licensedcode/data/rules/lppl-1.3c_18.RULE b/src/licensedcode/data/rules/lppl-1.3c_18.RULE new file mode 100644 index 00000000000..56118d47e1c --- /dev/null +++ b/src/licensedcode/data/rules/lppl-1.3c_18.RULE @@ -0,0 +1,9 @@ +Licence + +This work may be distributed and/or modified under the conditions of the LaTeX +Project Public License, either version 1.3 of this license or (at your option) any later version. + +The latest version of the license is in https://www.latex-project.org/lppl.txt +and version 1.3 or later is part of all distributions of LaTeX version 2003/06/01 or later. + +This work has the LPPL maintenance status "maintained". \ No newline at end of file diff --git a/src/licensedcode/data/rules/lppl-1.3c_18.yml b/src/licensedcode/data/rules/lppl-1.3c_18.yml new file mode 100644 index 00000000000..e1f6de690c3 --- /dev/null +++ b/src/licensedcode/data/rules/lppl-1.3c_18.yml @@ -0,0 +1,6 @@ +license_expression: lppl-1.3c +is_license_notice: yes +relevance: 99 +notes: See in https://github.com/plk/biblatex +ignorable_urls: + - https://www.latex-project.org/lppl.txt diff --git a/src/licensedcode/data/rules/lppl-1.3c_19.RULE b/src/licensedcode/data/rules/lppl-1.3c_19.RULE new file mode 100644 index 00000000000..01c16e7ee7e --- /dev/null +++ b/src/licensedcode/data/rules/lppl-1.3c_19.RULE @@ -0,0 +1,2 @@ +This work may be distributed and/or modified under the conditions of the LaTeX +Project Public License, either version 1.3 of this license or (at your option) any later version. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lppl-1.3c_19.yml b/src/licensedcode/data/rules/lppl-1.3c_19.yml new file mode 100644 index 00000000000..4984810da08 --- /dev/null +++ b/src/licensedcode/data/rules/lppl-1.3c_19.yml @@ -0,0 +1,4 @@ +license_expression: lppl-1.3c +is_license_notice: yes +relevance: 99 +notes: See in https://github.com/plk/biblatex diff --git a/src/licensedcode/data/rules/mit-old-style-no-advert_14.RULE b/src/licensedcode/data/rules/mit-old-style-no-advert_14.RULE new file mode 100644 index 00000000000..03163797772 --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style-no-advert_14.RULE @@ -0,0 +1,9 @@ +Permission to use, copy, modify and distribute this documentation for +any purpose and without fee is hereby granted, provided that the above +copyright notice appears in all copies and that both that copyright notice +and this permission notice appear in all copies, and that the names of +Digital and Tektronix not be used in in advertising or publicity pertaining +to this documentation without specific, written prior permission. +Digital and Tektronix makes no representations about the suitability +of this documentation for any purpose. +It is provided ``as is'' without express or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit-old-style-no-advert_14.yml b/src/licensedcode/data/rules/mit-old-style-no-advert_14.yml new file mode 100644 index 00000000000..7c0ea2be70d --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style-no-advert_14.yml @@ -0,0 +1,4 @@ +license_expression: mit-old-style-no-advert +is_license_text: yes +relevance: 99 +notes: in x11 legacy diff --git a/src/licensedcode/data/rules/mit-old-style-no-advert_15.RULE b/src/licensedcode/data/rules/mit-old-style-no-advert_15.RULE new file mode 100644 index 00000000000..fed27464bff --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style-no-advert_15.RULE @@ -0,0 +1,8 @@ +Permission to use, copy, modify, and distribute this software and its documentation +for any purpose and without fee is hereby granted, provided that the above copyright +notice appear in all copies and that both that copyright notice and this permission +notice appear in supporting documentation, and that the name of the author not be +used in advertising or publicity pertaining to distribution of the software without +specific, written prior permission. The author makes no representations about the +suitability of this software for any purpose. It is provided "as is" without +express or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit-old-style-no-advert_15.yml b/src/licensedcode/data/rules/mit-old-style-no-advert_15.yml new file mode 100644 index 00000000000..9d7aa85fc61 --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style-no-advert_15.yml @@ -0,0 +1,4 @@ +license_expression: mit-old-style-no-advert +is_license_text: yes +relevance: 100 +notes: Seen in pgpool-ii diff --git a/src/licensedcode/data/rules/mit-old-style_18.RULE b/src/licensedcode/data/rules/mit-old-style_18.RULE new file mode 100644 index 00000000000..ee1fdf07c7e --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_18.RULE @@ -0,0 +1,7 @@ +Permission to use, copy, modify, distribute and sell this array, the + associated software, and its documentation for any purpose is hereby + granted without fee, provided that the above copyright notice appears + in all copies and that both that copyright notice and this permission + notice appear in supporting documentation. Benjamin Titze makes no + representations about the suitability of this array for any + purpose. It is provided "as is" without express or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit-old-style_18.yml b/src/licensedcode/data/rules/mit-old-style_18.yml new file mode 100644 index 00000000000..72c5211c875 --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_18.yml @@ -0,0 +1,4 @@ +license_expression: mit-old-style +is_license_text: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/mit-old-style_19.RULE b/src/licensedcode/data/rules/mit-old-style_19.RULE new file mode 100644 index 00000000000..4640389ea44 --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_19.RULE @@ -0,0 +1,8 @@ +The following restriction is placed on the use of this publication: + if The UK Advanced Cryptics Dictionary is used in a software package + or redistributed in any form, the copyright notice must be + prominently displayed and the text of this document must be included + verbatim. + + There are no other restrictions: I would like to see the list + distributed as widely as possible. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit-old-style_19.yml b/src/licensedcode/data/rules/mit-old-style_19.yml new file mode 100644 index 00000000000..46c931d793d --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_19.yml @@ -0,0 +1,4 @@ +license_expression: mit-old-style +is_license_text: yes +relevance: 99 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/mit-old-style_20.RULE b/src/licensedcode/data/rules/mit-old-style_20.RULE new file mode 100644 index 00000000000..f41ff577358 --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_20.RULE @@ -0,0 +1,8 @@ +Permission to use, copy, modify, distribute and sell these word + lists, the associated scripts, the output created from the scripts, + and its documentation for any purpose is hereby granted without fee, + provided that the above copyright notice appears in all copies and + that both that copyright notice and this permission notice appear in + supporting documentation. Kevin Atkinson makes no representations + about the suitability of this array for any purpose. It is provided + "as is" without express or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit-old-style_20.yml b/src/licensedcode/data/rules/mit-old-style_20.yml new file mode 100644 index 00000000000..46c931d793d --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_20.yml @@ -0,0 +1,4 @@ +license_expression: mit-old-style +is_license_text: yes +relevance: 99 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/mit-old-style_21.RULE b/src/licensedcode/data/rules/mit-old-style_21.RULE new file mode 100644 index 00000000000..24586d63aaf --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_21.RULE @@ -0,0 +1,7 @@ +Permission to use, copy, modify, distribute and sell this array, the +associated software, and its documentation for any purpose is hereby +granted without fee, provided that the above copyright notice appears +in all copies and that both that copyright notice and this permission +notice appear in supporting documentation. makes no +representations about the suitability of this array for any +purpose. It is provided "as is" without express or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit-old-style_21.yml b/src/licensedcode/data/rules/mit-old-style_21.yml new file mode 100644 index 00000000000..eb2656dfda3 --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_21.yml @@ -0,0 +1,4 @@ +license_expression: mit-old-style +is_license_text: yes +relevance: 99 +notes: seen in Scowl and hunspell diff --git a/src/licensedcode/data/rules/mit-old-style_22.RULE b/src/licensedcode/data/rules/mit-old-style_22.RULE new file mode 100644 index 00000000000..024d650cd01 --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_22.RULE @@ -0,0 +1,8 @@ +Permission to use, copy, modify, distribute and sell these word +lists, the associated scripts, the output created from the scripts, +and its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appears in all copies and +that both that copyright notice and this permission notice appear in +supporting documentation. makes no representations +about the suitability of this array for any purpose. It is provided +"as is" without express or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit-old-style_22.yml b/src/licensedcode/data/rules/mit-old-style_22.yml new file mode 100644 index 00000000000..eb2656dfda3 --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_22.yml @@ -0,0 +1,4 @@ +license_expression: mit-old-style +is_license_text: yes +relevance: 99 +notes: seen in Scowl and hunspell diff --git a/src/licensedcode/data/rules/mit-old-style_23.RULE b/src/licensedcode/data/rules/mit-old-style_23.RULE new file mode 100644 index 00000000000..6f776a9c84e --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_23.RULE @@ -0,0 +1,5 @@ +Permission to use, copy, modify, distribute, and sell this file for any +purpose is hereby granted without fee, provided that the above copyright +and this permission notice appear in all copies. No representations are +made about the suitability of this software for any purpose. It is +provided "as is" without express or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit-old-style_23.yml b/src/licensedcode/data/rules/mit-old-style_23.yml new file mode 100644 index 00000000000..92a828d272a --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_23.yml @@ -0,0 +1,4 @@ +license_expression: mit-old-style +is_license_text: yes +relevance: 99 +notes: This is a minor variant of this license. Seen in FLAC build scripts diff --git a/src/licensedcode/data/rules/mit_1044.RULE b/src/licensedcode/data/rules/mit_1044.RULE new file mode 100644 index 00000000000..ba59c5f0bb5 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1044.RULE @@ -0,0 +1,18 @@ +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1044.yml b/src/licensedcode/data/rules/mit_1044.yml new file mode 100644 index 00000000000..84a885508aa --- /dev/null +++ b/src/licensedcode/data/rules/mit_1044.yml @@ -0,0 +1,4 @@ +license_expression: mit +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/mit_1045.RULE b/src/licensedcode/data/rules/mit_1045.RULE new file mode 100644 index 00000000000..7c72c3654c6 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1045.RULE @@ -0,0 +1,4 @@ +The following is the 'standard copyright' agreed upon by most contributors, +and is currently the canonical license preferred by the X.Org Foundation. +This is a slight variant of the common MIT license form published by the +Open Source Initiative at http://www.opensource.org/licenses/mit-license.php \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1045.yml b/src/licensedcode/data/rules/mit_1045.yml new file mode 100644 index 00000000000..0834c612223 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1045.yml @@ -0,0 +1,6 @@ +license_expression: mit +is_license_notice: yes +relevance: 100 +notes: in x11 +ignorable_urls: + - http://www.opensource.org/licenses/mit-license.php diff --git a/src/licensedcode/data/rules/mit_1046.RULE b/src/licensedcode/data/rules/mit_1046.RULE new file mode 100644 index 00000000000..376063ce171 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1046.RULE @@ -0,0 +1 @@ +manual pages are released under the MIT License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1046.yml b/src/licensedcode/data/rules/mit_1046.yml new file mode 100644 index 00000000000..2aaf29d7607 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1046.yml @@ -0,0 +1,3 @@ +license_expression: mit +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mit_1047.RULE b/src/licensedcode/data/rules/mit_1047.RULE new file mode 100644 index 00000000000..78d2268e0b8 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1047.RULE @@ -0,0 +1 @@ +licensed using the MIT license (see COPYRIGHT.MIT). \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1047.yml b/src/licensedcode/data/rules/mit_1047.yml new file mode 100644 index 00000000000..d1657db642b --- /dev/null +++ b/src/licensedcode/data/rules/mit_1047.yml @@ -0,0 +1,6 @@ +license_expression: mit +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYRIGHT.MIT +notes: Seen in https://github.com/Wind4/vlmcsd/blob/65228e5c7916acd947ffb53be18abadafbc1be56/src/tap-windows.h diff --git a/src/licensedcode/data/rules/mit_1048.RULE b/src/licensedcode/data/rules/mit_1048.RULE new file mode 100644 index 00000000000..de6f6bb6e29 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1048.RULE @@ -0,0 +1 @@ +@license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE file) \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1048.yml b/src/licensedcode/data/rules/mit_1048.yml new file mode 100644 index 00000000000..ee4cff19187 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1048.yml @@ -0,0 +1,7 @@ +license_expression: mit +is_license_tag: yes +relevance: 100 +referenced_filenames: + - LICENSE +ignorable_urls: + - http://www.opensource.org/licenses/mit-license.php diff --git a/src/licensedcode/data/rules/mit_1049.RULE b/src/licensedcode/data/rules/mit_1049.RULE new file mode 100644 index 00000000000..285ab9ad49b --- /dev/null +++ b/src/licensedcode/data/rules/mit_1049.RULE @@ -0,0 +1,7 @@ +X11 License + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1049.yml b/src/licensedcode/data/rules/mit_1049.yml new file mode 100644 index 00000000000..2a71f567f8f --- /dev/null +++ b/src/licensedcode/data/rules/mit_1049.yml @@ -0,0 +1,4 @@ +license_expression: mit +is_license_text: yes +relevance: 100 +minimum_coverage: 100 diff --git a/src/licensedcode/data/rules/mit_1050.RULE b/src/licensedcode/data/rules/mit_1050.RULE new file mode 100644 index 00000000000..2b1df527a31 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1050.RULE @@ -0,0 +1 @@ +Other files in this repo are under the MIT license below. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1050.yml b/src/licensedcode/data/rules/mit_1050.yml new file mode 100644 index 00000000000..2aaf29d7607 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1050.yml @@ -0,0 +1,3 @@ +license_expression: mit +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mit_1051.RULE b/src/licensedcode/data/rules/mit_1051.RULE new file mode 100644 index 00000000000..95c65e89737 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1051.RULE @@ -0,0 +1,2 @@ +LICENSE +is made available under the MIT License. For more details, see `LICENSE.txt \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1051.yml b/src/licensedcode/data/rules/mit_1051.yml new file mode 100644 index 00000000000..d7ae89792e8 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1051.yml @@ -0,0 +1,5 @@ +license_expression: mit +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE.txt diff --git a/src/licensedcode/data/rules/mit_1052.RULE b/src/licensedcode/data/rules/mit_1052.RULE new file mode 100644 index 00000000000..6f152b49ec9 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1052.RULE @@ -0,0 +1 @@ +made available under the MIT License. For more details, see `LICENSE.txt \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1052.yml b/src/licensedcode/data/rules/mit_1052.yml new file mode 100644 index 00000000000..d7ae89792e8 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1052.yml @@ -0,0 +1,5 @@ +license_expression: mit +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE.txt diff --git a/src/licensedcode/data/rules/mit_1053.RULE b/src/licensedcode/data/rules/mit_1053.RULE new file mode 100644 index 00000000000..7dda6b2af70 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1053.RULE @@ -0,0 +1,18 @@ +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of the Software, +and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGE- +MENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1053.yml b/src/licensedcode/data/rules/mit_1053.yml new file mode 100644 index 00000000000..4da8fa28964 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1053.yml @@ -0,0 +1,4 @@ +license_expression: mit +is_license_text: yes +relevance: 100 +notes: some words are hyphenated. Seen in https://raw.githubusercontent.com/lua-stdlib/lua-stdlib/master/LICENSE.md diff --git a/src/licensedcode/data/rules/mit_1054.RULE b/src/licensedcode/data/rules/mit_1054.RULE new file mode 100644 index 00000000000..a2f3ecad89e --- /dev/null +++ b/src/licensedcode/data/rules/mit_1054.RULE @@ -0,0 +1 @@ +The code is published under the MIT open-source license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1054.yml b/src/licensedcode/data/rules/mit_1054.yml new file mode 100644 index 00000000000..2aaf29d7607 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1054.yml @@ -0,0 +1,3 @@ +license_expression: mit +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_18.RULE b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_18.RULE new file mode 100644 index 00000000000..8dfab6cf0ef --- /dev/null +++ b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_18.RULE @@ -0,0 +1,2 @@ +The compiler source code is released under the terms of the +MIT X11 or GNU GPL licenses \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_18.yml b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_18.yml new file mode 100644 index 00000000000..dc862909809 --- /dev/null +++ b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_18.yml @@ -0,0 +1,3 @@ +license_expression: mit OR gpl-1.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_19.RULE b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_19.RULE new file mode 100644 index 00000000000..a79e83380fc --- /dev/null +++ b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_19.RULE @@ -0,0 +1 @@ +released under the terms of the MIT X11 or GNU GPL licenses \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_19.yml b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_19.yml new file mode 100644 index 00000000000..dc862909809 --- /dev/null +++ b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_19.yml @@ -0,0 +1,3 @@ +license_expression: mit OR gpl-1.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_20.RULE b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_20.RULE new file mode 100644 index 00000000000..cdafcad4a2d --- /dev/null +++ b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_20.RULE @@ -0,0 +1 @@ +MIT X11 or GNU GPL \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_20.yml b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_20.yml new file mode 100644 index 00000000000..ab51e7e6b50 --- /dev/null +++ b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_20.yml @@ -0,0 +1,3 @@ +license_expression: mit OR gpl-1.0-plus +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/ofl-1.1_67.RULE b/src/licensedcode/data/rules/ofl-1.1_67.RULE new file mode 100644 index 00000000000..ca70014437e --- /dev/null +++ b/src/licensedcode/data/rules/ofl-1.1_67.RULE @@ -0,0 +1,3 @@ +License + +This Font Software is licensed under the SIL Open Font License, Version 1.1. \ No newline at end of file diff --git a/src/licensedcode/data/rules/ofl-1.1_67.yml b/src/licensedcode/data/rules/ofl-1.1_67.yml new file mode 100644 index 00000000000..cecbfc34a84 --- /dev/null +++ b/src/licensedcode/data/rules/ofl-1.1_67.yml @@ -0,0 +1,3 @@ +license_expression: ofl-1.1 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/ofl-1.1_68.RULE b/src/licensedcode/data/rules/ofl-1.1_68.RULE new file mode 100644 index 00000000000..04fc57e41ad --- /dev/null +++ b/src/licensedcode/data/rules/ofl-1.1_68.RULE @@ -0,0 +1,5 @@ +License + +This Font Software is licensed under the SIL Open Font License, Version 1.1. + +Please read file "LICENSE" for details. \ No newline at end of file diff --git a/src/licensedcode/data/rules/ofl-1.1_68.yml b/src/licensedcode/data/rules/ofl-1.1_68.yml new file mode 100644 index 00000000000..7779d954a4b --- /dev/null +++ b/src/licensedcode/data/rules/ofl-1.1_68.yml @@ -0,0 +1,5 @@ +license_expression: ofl-1.1 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE diff --git a/src/licensedcode/data/rules/openssl-ssleay_57.RULE b/src/licensedcode/data/rules/openssl-ssleay_57.RULE new file mode 100644 index 00000000000..74224939964 --- /dev/null +++ b/src/licensedcode/data/rules/openssl-ssleay_57.RULE @@ -0,0 +1 @@ +the conditions of the OpenSSL License and the original SSLeay license apply \ No newline at end of file diff --git a/src/licensedcode/data/rules/openssl-ssleay_57.yml b/src/licensedcode/data/rules/openssl-ssleay_57.yml new file mode 100644 index 00000000000..5ef942e21ae --- /dev/null +++ b/src/licensedcode/data/rules/openssl-ssleay_57.yml @@ -0,0 +1,3 @@ +license_expression: openssl-ssleay +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/openssl-ssleay_and_isc_1.RULE b/src/licensedcode/data/rules/openssl-ssleay_and_isc_1.RULE new file mode 100644 index 00000000000..0a7638c71e1 --- /dev/null +++ b/src/licensedcode/data/rules/openssl-ssleay_and_isc_1.RULE @@ -0,0 +1 @@ +large parts of it fall under OpenSSL licensing. Files that are completely new have a Google copyright and an ISC license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/openssl-ssleay_and_isc_1.yml b/src/licensedcode/data/rules/openssl-ssleay_and_isc_1.yml new file mode 100644 index 00000000000..b67095fcc19 --- /dev/null +++ b/src/licensedcode/data/rules/openssl-ssleay_and_isc_1.yml @@ -0,0 +1,3 @@ +license_expression: openssl-ssleay AND isc +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/osf-1990_6.RULE b/src/licensedcode/data/rules/osf-1990_6.RULE new file mode 100644 index 00000000000..73a53b1c465 --- /dev/null +++ b/src/licensedcode/data/rules/osf-1990_6.RULE @@ -0,0 +1,12 @@ +To anyone who acknowledges that this file is provided "AS IS" +without any express or implied warranty: permission to use, copy, +modify, and distribute this file for any purpose is hereby +granted without fee, provided that the above copyright notices and +this notice appears in all source code copies, and that none of +the names of Open Software Foundation, Inc., Hewlett-Packard +Company, Microsoft, or Digital Equipment Corporation be used in +advertising or publicity pertaining to distribution of the software +without specific, written prior permission. Neither Open Software +Foundation, Inc., Hewlett-Packard Company, Microsoft, nor Digital +Equipment Corporation makes any representations about the +suitability of this software for any purpose. \ No newline at end of file diff --git a/src/licensedcode/data/rules/osf-1990_6.yml b/src/licensedcode/data/rules/osf-1990_6.yml new file mode 100644 index 00000000000..5ab8dcd3e4e --- /dev/null +++ b/src/licensedcode/data/rules/osf-1990_6.yml @@ -0,0 +1,4 @@ +license_expression: osf-1990 +is_license_text: yes +relevance: 100 +notes: seen in https://metacpan.org/release/RJBS/Data-UUID-1.226/source/LICENSE diff --git a/src/licensedcode/data/rules/osf-1990_7.RULE b/src/licensedcode/data/rules/osf-1990_7.RULE new file mode 100644 index 00000000000..7c693491beb --- /dev/null +++ b/src/licensedcode/data/rules/osf-1990_7.RULE @@ -0,0 +1,14 @@ +To anyone who acknowledges that this file is provided "AS IS" +without any express or implied warranty: permission to use, copy, +modify, and distribute this file for any purpose is hereby +granted without fee, provided that the above copyright notices and +this notice appears in all source code copies, and that none of +the names of Open Software Foundation, Inc., Hewlett-Packard +Company, Microsoft, or Digital Equipment Corporation be used in +advertising or publicity pertaining to distribution of the software +without specific, written prior permission. Neither Open Software +Foundation, Inc., Hewlett-Packard Company, Microsoft, nor Digital +Equipment Corporation makes any representations about the +suitability of this software for any purpose. + +The same terms apply to this code. \ No newline at end of file diff --git a/src/licensedcode/data/rules/osf-1990_7.yml b/src/licensedcode/data/rules/osf-1990_7.yml new file mode 100644 index 00000000000..e354371961d --- /dev/null +++ b/src/licensedcode/data/rules/osf-1990_7.yml @@ -0,0 +1,3 @@ +license_expression: osf-1990 +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/other-copyleft_and_other-permissive_1.RULE b/src/licensedcode/data/rules/other-copyleft_and_other-permissive_1.RULE new file mode 100644 index 00000000000..2eb86ff67d1 --- /dev/null +++ b/src/licensedcode/data/rules/other-copyleft_and_other-permissive_1.RULE @@ -0,0 +1 @@ +GPL v2 compatible licenses. \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-copyleft_and_other-permissive_1.yml b/src/licensedcode/data/rules/other-copyleft_and_other-permissive_1.yml new file mode 100644 index 00000000000..d48fa85705c --- /dev/null +++ b/src/licensedcode/data/rules/other-copyleft_and_other-permissive_1.yml @@ -0,0 +1,3 @@ +license_expression: other-copyleft AND other-permissive +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/other-permissive_281.RULE b/src/licensedcode/data/rules/other-permissive_281.RULE new file mode 100644 index 00000000000..e6cbf78d922 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_281.RULE @@ -0,0 +1,27 @@ +Permission is hereby granted to use, copy, +modify, sell, and otherwise distribute this software and its +documentation for any purpose and without fee, provided that: + +1. This copyright, permission, and disclaimer notice is reproduced in + all copies of this software and any modification thereof and in + supporting documentation; +2. Any color-handling application which displays TekHVC color + cooordinates identifies these as TekHVC color coordinates in any + interface that displays these coordinates and in any associated + documentation; +3. The term "TekHVC" is always used, and is only used, in association + with the mathematical derivations of the TekHVC Color Space, + including those provided in this file and any equivalent pathways and + mathematical derivations, regardless of digital (e.g., floating point + or integer) representation. + +Tektronix makes no representation about the suitability of this software +for any purpose. It is provided "as is" and with all faults. + +TEKTRONIX DISCLAIMS ALL WARRANTIES APPLICABLE TO THIS SOFTWARE, +INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE. IN NO EVENT SHALL TEKTRONIX BE LIABLE FOR ANY +SPECIAL, 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 THE PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-permissive_281.yml b/src/licensedcode/data/rules/other-permissive_281.yml new file mode 100644 index 00000000000..9850275bc9a --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_281.yml @@ -0,0 +1,4 @@ +license_expression: other-permissive +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/other-permissive_282.RULE b/src/licensedcode/data/rules/other-permissive_282.RULE new file mode 100644 index 00000000000..a59618ba17b --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_282.RULE @@ -0,0 +1,2 @@ +This is source code modified by FUJITSU LIMITED under the Joint +Development Agreement for the CDE/Motif PST. \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-permissive_282.yml b/src/licensedcode/data/rules/other-permissive_282.yml new file mode 100644 index 00000000000..1268aa69642 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_282.yml @@ -0,0 +1,8 @@ +license_expression: other-permissive +is_license_reference: yes +relevance: 100 +minimum_coverage: 100 +notes: in x11 legacy +ignorable_authors: + - FUJITSU LIMITED + diff --git a/src/licensedcode/data/rules/other-permissive_283.RULE b/src/licensedcode/data/rules/other-permissive_283.RULE new file mode 100644 index 00000000000..e0a5be8c81b --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_283.RULE @@ -0,0 +1,29 @@ +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. + 3. All modifications to the source code must be clearly marked as + such. Binary redistributions based on modified source code + must be clearly marked as modified versions in the documentation + and/or other materials provided with the distribution. + (clause 4 removed with permission from Geoff Kuenning) + 5. The name of Geoff Kuenning may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING 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 GEOFF KUENNING 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/other-permissive_283.yml b/src/licensedcode/data/rules/other-permissive_283.yml new file mode 100644 index 00000000000..67013219457 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_283.yml @@ -0,0 +1,4 @@ +license_expression: other-permissive +is_license_text: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/other-permissive_284.RULE b/src/licensedcode/data/rules/other-permissive_284.RULE new file mode 100644 index 00000000000..aaea8929ca4 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_284.RULE @@ -0,0 +1,15 @@ +The ENABLE master word list, WORD.LST, is herewith formally released + into the Public Domain. Anyone is free to use it or distribute it in + any manner they see fit. No fee or registration is required for its + use nor are "contributions" solicited (if you feel you absolutely + must contribute something for your own peace of mind, the authors of + the ENABLE list ask that you make a donation on their behalf to your + favorite charity). This word list is our gift to the Scrabble + community, as an alternate to "official" word lists. Game designers + may feel free to incorporate the WORD.LST into their games. Please + mention the source and credit us as originators of the list. Note + that if you, as a game designer, use the WORD.LST in your product, + you may still copyright and protect your product, but you may *not* + legally copyright or in any way restrict redistribution of the + WORD.LST portion of your product. This *may* under law restrict your + rights to restrict your users' rights, but that is only fair. \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-permissive_284.yml b/src/licensedcode/data/rules/other-permissive_284.yml new file mode 100644 index 00000000000..67013219457 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_284.yml @@ -0,0 +1,4 @@ +license_expression: other-permissive +is_license_text: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/other-permissive_285.RULE b/src/licensedcode/data/rules/other-permissive_285.RULE new file mode 100644 index 00000000000..6547502d2be --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_285.RULE @@ -0,0 +1,8 @@ +Use, modification and redistribution of this software is hereby granted, +provided that this entire copyright notice is included on any copies of +this software and applications and derivations thereof. + +This software is provided on an "as is" basis, without warranty of any +kind, either expressed or implied, as to any matter including, but not +limited to warranty of fitness of purpose, or merchantability, or +results obtained from use of this software. \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-permissive_285.yml b/src/licensedcode/data/rules/other-permissive_285.yml new file mode 100644 index 00000000000..aa4a48d965e --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_285.yml @@ -0,0 +1,4 @@ +license_expression: other-permissive +is_license_text: yes +relevance: 100 +notes: Seen in https://github.com/tats/w3m/blob/master/COPYING diff --git a/src/licensedcode/data/rules/other-permissive_286.RULE b/src/licensedcode/data/rules/other-permissive_286.RULE new file mode 100644 index 00000000000..9ec527b2e6a --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_286.RULE @@ -0,0 +1,6 @@ +Permission is granted to anyone to use, distribute and modify +this file in any way, provided that the above copyright notice +is left intact and the author of the modification summarizes +the changes in this header. + +This file is distributed without any expressed or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-permissive_286.yml b/src/licensedcode/data/rules/other-permissive_286.yml new file mode 100644 index 00000000000..e0199925473 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_286.yml @@ -0,0 +1,7 @@ +license_expression: other-permissive +is_license_text: yes +relevance: 100 +minimum_coverage: 90 +notes: | + Seen in xkb/symbols/hu + aka XKB layout for some widely used Hungarian keyboard layouts diff --git a/src/licensedcode/data/rules/other-permissive_287.RULE b/src/licensedcode/data/rules/other-permissive_287.RULE new file mode 100644 index 00000000000..64381d8a2e4 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_287.RULE @@ -0,0 +1,13 @@ +distributed under the following license terms: + +"You may incorporate this sample code into your + applications without restriction, though the + sample code has been provided "AS IS" and the + responsibility for its operation is 100% yours. + However, what you are not permitted to do is to + redistribute the source as "DSC Sample Code" after + having made changes. If you're going to + redistribute the source, we require that you make + it clear in the source that the code was descended + from Apple Sample Code, but that you've made + changes." \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-permissive_287.yml b/src/licensedcode/data/rules/other-permissive_287.yml new file mode 100644 index 00000000000..7f26142f318 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_287.yml @@ -0,0 +1,4 @@ +license_expression: other-permissive +is_license_text: yes +relevance: 100 +notes: Found in old Info-zip diff --git a/src/licensedcode/data/rules/other-permissive_288.RULE b/src/licensedcode/data/rules/other-permissive_288.RULE new file mode 100644 index 00000000000..27f7933d040 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_288.RULE @@ -0,0 +1,11 @@ +"You may incorporate this sample code into your + applications without restriction, though the + sample code has been provided "AS IS" and the + responsibility for its operation is 100% yours. + However, what you are not permitted to do is to + redistribute the source as "DSC Sample Code" after + having made changes. If you're going to + redistribute the source, we require that you make + it clear in the source that the code was descended + from Apple Sample Code, but that you've made + changes." \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-permissive_288.yml b/src/licensedcode/data/rules/other-permissive_288.yml new file mode 100644 index 00000000000..7f26142f318 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_288.yml @@ -0,0 +1,4 @@ +license_expression: other-permissive +is_license_text: yes +relevance: 100 +notes: Found in old Info-zip diff --git a/src/licensedcode/data/rules/other-permissive_289.RULE b/src/licensedcode/data/rules/other-permissive_289.RULE new file mode 100644 index 00000000000..09fe3fa67f1 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_289.RULE @@ -0,0 +1,11 @@ +THIS DOCUMENT IS PROVIDED "AS IS" WITH NO WARRANTIES WHATSOEVER, INCLUDING ANY +WARRANTY OF MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR ANY PARTICULAR +PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR +SAMPLE. + +The information in this document is furnished for informational use only, and +Intel Corporation assumes no responsibility or liability for any errors or +inaccuracies that may appear herein or in any software that may be provided in +association with this document. Intel Corporation disclaims all liability, +including liability for infringement of any proprietary rights, relating to use +of information herein. \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-permissive_289.yml b/src/licensedcode/data/rules/other-permissive_289.yml new file mode 100644 index 00000000000..73ee4285531 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_289.yml @@ -0,0 +1,6 @@ +license_expression: other-permissive +is_license_text: yes +relevance: 100 +notes: Rare Intel notice, derived from X11-like licenses. Seen in Michael E. Kounavis and Frank + L. Berry document titled "A Systematic Approach to Building High Performance, Software-based, + CRC Generators" diff --git a/src/licensedcode/data/rules/other-permissive_and_info-zip-2009-01_1.RULE b/src/licensedcode/data/rules/other-permissive_and_info-zip-2009-01_1.RULE new file mode 100644 index 00000000000..7d84b984eda --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_and_info-zip-2009-01_1.RULE @@ -0,0 +1,16 @@ +distributed under the following license terms: + +"You may incorporate this sample code into your + applications without restriction, though the + sample code has been provided "AS IS" and the + responsibility for its operation is 100% yours. + However, what you are not permitted to do is to + redistribute the source as "DSC Sample Code" after + having made changes. If you're going to + redistribute the source, we require that you make + it clear in the source that the code was descended + from Apple Sample Code, but that you've made + changes." + + The usage terms of this copyright note are compatible with the + Info-ZIP license, they do not add further restrictions. \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-permissive_and_info-zip-2009-01_1.yml b/src/licensedcode/data/rules/other-permissive_and_info-zip-2009-01_1.yml new file mode 100644 index 00000000000..f5e36f00302 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_and_info-zip-2009-01_1.yml @@ -0,0 +1,4 @@ +license_expression: other-permissive AND info-zip-2009-01 +is_license_notice: yes +relevance: 100 +notes: Found in old Info-zip diff --git a/src/licensedcode/data/rules/patent-disclaimer_1.RULE b/src/licensedcode/data/rules/patent-disclaimer_1.RULE new file mode 100644 index 00000000000..3ff61a5b507 --- /dev/null +++ b/src/licensedcode/data/rules/patent-disclaimer_1.RULE @@ -0,0 +1 @@ +is the subject of U.S. Patent \ No newline at end of file diff --git a/src/licensedcode/data/rules/patent-disclaimer_1.yml b/src/licensedcode/data/rules/patent-disclaimer_1.yml new file mode 100644 index 00000000000..9a5747a4a5e --- /dev/null +++ b/src/licensedcode/data/rules/patent-disclaimer_1.yml @@ -0,0 +1,4 @@ +license_expression: patent-disclaimer +is_license_notice: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/public-domain-disclaimer_67.RULE b/src/licensedcode/data/rules/public-domain-disclaimer_67.RULE new file mode 100644 index 00000000000..e51a209be23 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain-disclaimer_67.RULE @@ -0,0 +1,12 @@ +I am the author of this software and its documentation and +permanently abandon all copyright and other intellectual property rights in +them, including the right to be identified as the author. +I am fairly certain that this software does what the documentation says it +does, but I cannot guarantee that it does, or that it does what you think it +should, and I cannot guarantee that it will not have undesirable side effects. +You are free to use, modify and distribute this software as you please, but +you do so at your own risk. If you remove or hide this warning then you are +responsible for any problems encountered by people that you make the software +available to. +Before modifying or distributing this software I ask that you would please +read http://www.purposeful.co.uk/tfl/ \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain-disclaimer_67.yml b/src/licensedcode/data/rules/public-domain-disclaimer_67.yml new file mode 100644 index 00000000000..7580c7e8151 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain-disclaimer_67.yml @@ -0,0 +1,7 @@ +license_expression: public-domain-disclaimer +is_license_text: yes +relevance: 100 +notes: http://www.purposeful.co.uk/tfl/ +ignorable_urls: + - http://www.purposeful.co.uk/tfl/ + diff --git a/src/licensedcode/data/rules/public-domain-disclaimer_68.RULE b/src/licensedcode/data/rules/public-domain-disclaimer_68.RULE new file mode 100644 index 00000000000..26c9a34b601 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain-disclaimer_68.RULE @@ -0,0 +1 @@ +Licence This is truly free software. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain-disclaimer_68.yml b/src/licensedcode/data/rules/public-domain-disclaimer_68.yml new file mode 100644 index 00000000000..a9b98374737 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain-disclaimer_68.yml @@ -0,0 +1,4 @@ +license_expression: public-domain-disclaimer +is_license_notice: yes +relevance: 100 +notes: http://www.purposeful.co.uk/tfl/ diff --git a/src/licensedcode/data/rules/public-domain-disclaimer_69.RULE b/src/licensedcode/data/rules/public-domain-disclaimer_69.RULE new file mode 100644 index 00000000000..66d0d475618 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain-disclaimer_69.RULE @@ -0,0 +1 @@ +http://www.purposeful.co.uk/tfl/ \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain-disclaimer_69.yml b/src/licensedcode/data/rules/public-domain-disclaimer_69.yml new file mode 100644 index 00000000000..eaa6624a678 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain-disclaimer_69.yml @@ -0,0 +1,6 @@ +license_expression: public-domain-disclaimer +is_license_reference: yes +relevance: 100 +ignorable_urls: + - http://www.purposeful.co.uk/tfl/ + diff --git a/src/licensedcode/data/rules/public-domain_363.RULE b/src/licensedcode/data/rules/public-domain_363.RULE new file mode 100644 index 00000000000..9a8a8986181 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_363.RULE @@ -0,0 +1,2 @@ +AT&T Public License +Code given out at the 1985 UNIFORUM conference in Dallas. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_363.yml b/src/licensedcode/data/rules/public-domain_363.yml new file mode 100644 index 00000000000..1fd6a33e163 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_363.yml @@ -0,0 +1,5 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 100 +notes: Seen in https://web.archive.org/web/20210724101640/https://www.linux.co.cr/unix-source-code/review/1985/1103.html + and https://github.com/Wind4/vlmcsd/blob/65228e5c7916acd947ffb53be18abadafbc1be56/src/wingetopt.h diff --git a/src/licensedcode/data/rules/public-domain_364.RULE b/src/licensedcode/data/rules/public-domain_364.RULE new file mode 100644 index 00000000000..9a42813456d --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_364.RULE @@ -0,0 +1 @@ +All of which is in the Public Domain. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_364.yml b/src/licensedcode/data/rules/public-domain_364.yml new file mode 100644 index 00000000000..7248c1eb1f1 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_364.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/public-domain_365.RULE b/src/licensedcode/data/rules/public-domain_365.RULE new file mode 100644 index 00000000000..1a2abefc319 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_365.RULE @@ -0,0 +1 @@ +also in the public domain. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_365.yml b/src/licensedcode/data/rules/public-domain_365.yml new file mode 100644 index 00000000000..7248c1eb1f1 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_365.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/public-domain_366.RULE b/src/licensedcode/data/rules/public-domain_366.RULE new file mode 100644 index 00000000000..044c1b9141e --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_366.RULE @@ -0,0 +1 @@ +package which is in the public domain. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_366.yml b/src/licensedcode/data/rules/public-domain_366.yml new file mode 100644 index 00000000000..7248c1eb1f1 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_366.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/public-domain_367.RULE b/src/licensedcode/data/rules/public-domain_367.RULE new file mode 100644 index 00000000000..e5dc4063393 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_367.RULE @@ -0,0 +1,2 @@ +The name files form the Census report is a government document which I +don't think can be copyrighted. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_367.yml b/src/licensedcode/data/rules/public-domain_367.yml new file mode 100644 index 00000000000..4e2a49efb96 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_367.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 90 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/public-domain_368.RULE b/src/licensedcode/data/rules/public-domain_368.RULE new file mode 100644 index 00000000000..4627e6cb6c8 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_368.RULE @@ -0,0 +1,2 @@ +list is also in the +public domain. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_368.yml b/src/licensedcode/data/rules/public-domain_368.yml new file mode 100644 index 00000000000..7248c1eb1f1 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_368.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/public-domain_369.RULE b/src/licensedcode/data/rules/public-domain_369.RULE new file mode 100644 index 00000000000..6f7999e4d19 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_369.RULE @@ -0,0 +1 @@ +package and Supplement is in the Public Domain. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_369.yml b/src/licensedcode/data/rules/public-domain_369.yml new file mode 100644 index 00000000000..7248c1eb1f1 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_369.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/public-domain_370.RULE b/src/licensedcode/data/rules/public-domain_370.RULE new file mode 100644 index 00000000000..1b722eaaef6 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_370.RULE @@ -0,0 +1,2 @@ +So are you saying your word list is also in the public domain? + That is the intention. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_370.yml b/src/licensedcode/data/rules/public-domain_370.yml new file mode 100644 index 00000000000..7248c1eb1f1 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_370.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/public-domain_371.RULE b/src/licensedcode/data/rules/public-domain_371.RULE new file mode 100644 index 00000000000..ddcfff2482a --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_371.RULE @@ -0,0 +1,2 @@ +The "UK English Wordlist With Frequency Classification" is also in the +Public Domain: \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_371.yml b/src/licensedcode/data/rules/public-domain_371.yml new file mode 100644 index 00000000000..7248c1eb1f1 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_371.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/public-domain_372.RULE b/src/licensedcode/data/rules/public-domain_372.RULE new file mode 100644 index 00000000000..721356c027d --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_372.RULE @@ -0,0 +1,5 @@ +There were many many sources in total, but any text marked + "copyright" was avoided. Locally-written documentation was one + source. An earlier version of the list resided in a filespace called + PUBLIC on the University mainframe, because it was considered public + domain. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_372.yml b/src/licensedcode/data/rules/public-domain_372.yml new file mode 100644 index 00000000000..4e2a49efb96 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_372.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 90 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/public-domain_373.RULE b/src/licensedcode/data/rules/public-domain_373.RULE new file mode 100644 index 00000000000..7b5692d9a5d --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_373.RULE @@ -0,0 +1,11 @@ +package was explicitly placed in the public domain: + + The Moby lexicon project is complete and has + been place into the public domain. Use, sell, + rework, excerpt and use in any way on any platform. + + Placing this material on internal or public servers is + also encouraged. The compiler is not aware of any + export restrictions so freely distribute world-wide. + + You can verify the public domain status by contacting \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_373.yml b/src/licensedcode/data/rules/public-domain_373.yml new file mode 100644 index 00000000000..712812142d2 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_373.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_text: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/public-domain_374.RULE b/src/licensedcode/data/rules/public-domain_374.RULE new file mode 100644 index 00000000000..d7370c342c0 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_374.RULE @@ -0,0 +1 @@ +PUBLIC DOMAIN NOTICE \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_374.yml b/src/licensedcode/data/rules/public-domain_374.yml new file mode 100644 index 00000000000..bba87100644 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_374.yml @@ -0,0 +1,3 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/public-domain_375.RULE b/src/licensedcode/data/rules/public-domain_375.RULE new file mode 100644 index 00000000000..1fd8dd3d770 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_375.RULE @@ -0,0 +1 @@ +originally written by Mark Adler who submitted it as public domain code. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_375.yml b/src/licensedcode/data/rules/public-domain_375.yml new file mode 100644 index 00000000000..4a3a0c6aefa --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_375.yml @@ -0,0 +1,7 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 100 +notes: Seen in Info-Zip +ignorable_authors: + - Mark Adler + diff --git a/src/licensedcode/data/rules/public-domain_376.RULE b/src/licensedcode/data/rules/public-domain_376.RULE new file mode 100644 index 00000000000..7968761c55a --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_376.RULE @@ -0,0 +1 @@ +package was explicitly placed in the public domain \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_376.yml b/src/licensedcode/data/rules/public-domain_376.yml new file mode 100644 index 00000000000..95831078f5e --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_376.yml @@ -0,0 +1,3 @@ +license_expression: public-domain +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/public-domain_377.RULE b/src/licensedcode/data/rules/public-domain_377.RULE new file mode 100644 index 00000000000..47cfc4e43d3 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_377.RULE @@ -0,0 +1,11 @@ +The package was explicitly placed in the public domain: + + The lexicon project is complete and has + been place into the public domain. Use, sell, + rework, excerpt and use in any way on any platform. + + Placing this material on internal or public servers is + also encouraged. The compiler is not aware of any + export restrictions so freely distribute world-wide. + + You can verify the public domain status by contacting \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_377.yml b/src/licensedcode/data/rules/public-domain_377.yml new file mode 100644 index 00000000000..95831078f5e --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_377.yml @@ -0,0 +1,3 @@ +license_expression: public-domain +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/public-domain_378.RULE b/src/licensedcode/data/rules/public-domain_378.RULE new file mode 100644 index 00000000000..ef4f8de5c5c --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_378.RULE @@ -0,0 +1 @@ +is also in the public domain. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_378.yml b/src/licensedcode/data/rules/public-domain_378.yml new file mode 100644 index 00000000000..95831078f5e --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_378.yml @@ -0,0 +1,3 @@ +license_expression: public-domain +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/purdue-bsd_and_other-permissive_1.RULE b/src/licensedcode/data/rules/purdue-bsd_and_other-permissive_1.RULE new file mode 100644 index 00000000000..e8c6f10b76e --- /dev/null +++ b/src/licensedcode/data/rules/purdue-bsd_and_other-permissive_1.RULE @@ -0,0 +1,4 @@ +License +Lsof has no license. Its use and distribution are subject to these +terms and conditions, found in each lsof source file. (The copyright +year in or format of the notice may vary slightly.) \ No newline at end of file diff --git a/src/licensedcode/data/rules/purdue-bsd_and_other-permissive_1.yml b/src/licensedcode/data/rules/purdue-bsd_and_other-permissive_1.yml new file mode 100644 index 00000000000..79bccb06a5a --- /dev/null +++ b/src/licensedcode/data/rules/purdue-bsd_and_other-permissive_1.yml @@ -0,0 +1,5 @@ +license_expression: purdue-bsd AND other-permissive +is_license_notice: yes +relevance: 100 +minimum_coverage: 90 +notes: Seen in lsof diff --git a/src/licensedcode/data/rules/secret-labs-2011_6.RULE b/src/licensedcode/data/rules/secret-labs-2011_6.RULE new file mode 100644 index 00000000000..c5205a532d9 --- /dev/null +++ b/src/licensedcode/data/rules/secret-labs-2011_6.RULE @@ -0,0 +1,21 @@ +Like PIL, Pillow is licensed under the open source HPND License: + +By obtaining, using, and/or copying this software and/or its associated +documentation, you agree that you have read, understood, and will comply +with the following terms and conditions: + +Permission to use, copy, modify, and distribute this software and its +associated documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appears in all copies, and that +both that copyright notice and this permission notice appear in supporting +documentation, and that the name of Secret Labs AB or the author not be +used in advertising or publicity pertaining to distribution of the software +without specific, written prior permission. + +SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS +SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. +IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR ANY SPECIAL, +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 THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/secret-labs-2011_6.yml b/src/licensedcode/data/rules/secret-labs-2011_6.yml new file mode 100644 index 00000000000..32ed9e666ef --- /dev/null +++ b/src/licensedcode/data/rules/secret-labs-2011_6.yml @@ -0,0 +1,5 @@ +license_expression: secret-labs-2011 +is_license_text: yes +relevance: 100 +minimum_coverage: 95 +notes: pil license is not exactly the HPND per SPDX matching guidelines diff --git a/src/licensedcode/data/rules/shl-0.51_1.RULE b/src/licensedcode/data/rules/shl-0.51_1.RULE new file mode 100644 index 00000000000..6ee9fade1e0 --- /dev/null +++ b/src/licensedcode/data/rules/shl-0.51_1.RULE @@ -0,0 +1,174 @@ +SOLDERPAD HARDWARE LICENSE version 0.51 +This license is based closely on the Apache License Version 2.0, but is not +approved or endorsed by the Apache Foundation. A copy of the non-modified Apache +License 2.0 can be found at http://www.apache.org/licenses/LICENSE-2.0. + +As this license is not currently OSI or FSF approved, the Licensor permits any +Work licensed under this License, at the option of the Licensee, to be treated +as licensed under the Apache License Version 2.0 (which is so approved). + +This License is licensed under the terms of this License and in particular +clause 7 below (Disclaimer of Warranties) applies in relation to its use. + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +“License” shall mean the terms and conditions for use, reproduction, and +distribution as defined by Sections 1 through 9 of this document. + +“Licensor” shall mean the Rights owner or entity authorized by the Rights owner +that is granting the License. + +“Legal Entity” shall mean the union of the acting entity and all other entities +that control, are controlled by, or are under common control with that entity. +For the purposes of this definition, “control” means (i) the power, direct or +indirect, to cause the direction or management of such entity, whether by +contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the +outstanding shares, or (iii) beneficial ownership of such entity. + +“You” (or “Your”) shall mean an individual or Legal Entity exercising +permissions granted by this License. + +“Rights” means copyright and any similar right including design right (whether +registered or unregistered), semiconductor topography (mask) rights and database +rights (but excluding Patents and Trademarks). + +“Source” form shall mean the preferred form for making modifications, including +but not limited to source code, net lists, board layouts, CAD files, +documentation source, and configuration files. + +“Object” form shall mean any form resulting from mechanical transformation or +translation of a Source form, including but not limited to compiled object code, +generated documentation, the instantiation of a hardware design and conversions +to other media types, including intermediate forms such as bytecodes, FPGA +bitstreams, artwork and semiconductor topographies (mask works). + +“Work” shall mean the work of authorship, whether in Source form or other Object +form, made available under the License, as indicated by a Rights notice that is +included in or attached to the work (an example is provided in the Appendix +below). + +“Derivative Works” shall mean any work, whether in Source or Object form, that +is based on (or derived from) the Work and for which the editorial revisions, +annotations, elaborations, or other modifications represent, as a whole, an +original work of authorship. For the purposes of this License, Derivative Works +shall not include works that remain separable from, or merely link (or bind by +name) or physically connect to or interoperate with the interfaces of, the Work +and Derivative Works thereof. + +“Contribution” shall mean any design or work of authorship, including the +original version of the Work and any modifications or additions to that Work or +Derivative Works thereof, that is intentionally submitted to Licensor for +inclusion in the Work by the Rights owner or by an individual or Legal Entity +authorized to submit on behalf of the Rights owner. For the purposes of this +definition, “submitted” means any form of electronic, verbal, or written +communication sent to the Licensor or its representatives, including but not +limited to communication on electronic mailing lists, source code control +systems, and issue tracking systems that are managed by, or on behalf of, the +Licensor for the purpose of discussing and improving the Work, but excluding +communication that is conspicuously marked or otherwise designated in writing by +the Rights owner as “Not a Contribution.” + +“Contributor” shall mean Licensor and any individual or Legal Entity on behalf +of whom a Contribution has been received by Licensor and subsequently +incorporated within the Work. + +2. Grant of License. Subject to the terms and conditions of this License, each +Contributor hereby grants to You a perpetual, worldwide, non-exclusive, +no-charge, royalty-free, irrevocable license under the Rights to reproduce, +prepare Derivative Works of, publicly display, publicly perform, sublicense, and +distribute the Work and such Derivative Works in Source or Object form and do +anything in relation to the Work as if the Rights did not exist. + +3. Grant of Patent License. Subject to the terms and conditions of this License, +each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, +no-charge, royalty-free, irrevocable (except as stated in this section) patent +license to make, have made, use, offer to sell, sell, import, and otherwise +transfer the Work, where such license applies only to those patent claims +licensable by such Contributor that are necessarily infringed by their +Contribution(s) alone or by combination of their Contribution(s) with the Work +to which such Contribution(s) was submitted. If You institute patent litigation +against any entity (including a cross-claim or counterclaim in a lawsuit) +alleging that the Work or a Contribution incorporated within the Work +constitutes direct or contributory patent infringement, then any patent licenses +granted to You under this License for that Work shall terminate as of the date +such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the Work or +Derivative Works thereof in any medium, with or without modifications, and in +Source or Object form, provided that You meet the following conditions: + +You must give any other recipients of the Work or Derivative Works a copy of +this License; and + +You must cause any modified files to carry prominent notices stating that You +changed the files; and + +You must retain, in the Source form of any Derivative Works that You distribute, +all copyright, patent, trademark, and attribution notices from the Source form +of the Work, excluding those notices that do not pertain to any part of the +Derivative Works; and + +If the Work includes a “NOTICE” text file as part of its distribution, then any +Derivative Works that You distribute must include a readable copy of the +attribution notices contained within such NOTICE file, excluding those notices +that do not pertain to any part of the Derivative Works, in at least one of the +following places: within a NOTICE text file distributed as part of the +Derivative Works; within the Source form or documentation, if provided along +with the Derivative Works; or, within a display generated by the Derivative +Works, if and wherever such third-party notices normally appear. The contents of +the NOTICE file are for informational purposes only and do not modify the +License. You may add Your own attribution notices within Derivative Works that +You distribute, alongside or as an addendum to the NOTICE text from the Work, +provided that such additional attribution notices cannot be construed as +modifying the License. You may add Your own copyright statement to Your +modifications and may provide additional or different license terms and +conditions for use, reproduction, or distribution of Your modifications, or for +any such Derivative Works as a whole, provided Your use, reproduction, and +distribution of the Work otherwise complies with the conditions stated in this +License. + +5. Submission of Contributions. Unless You explicitly state otherwise, any +Contribution intentionally submitted for inclusion in the Work by You to the +Licensor shall be under the terms and conditions of this License, without any +additional terms or conditions. Notwithstanding the above, nothing herein shall +supersede or modify the terms of any separate license agreement you may have +executed with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade names, +trademarks, service marks, or product names of the Licensor, except as required +for reasonable and customary use in describing the origin of the Work and +reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or agreed to in +writing, Licensor provides the Work (and each Contributor provides its +Contributions) on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied, including, without limitation, any warranties +or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A +PARTICULAR PURPOSE. You are solely responsible for determining the +appropriateness of using or redistributing the Work and assume any risks +associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, whether in +tort (including negligence), contract, or otherwise, unless required by +applicable law (such as deliberate and grossly negligent acts) or agreed to in +writing, shall any Contributor be liable to You for damages, including any +direct, indirect, special, incidental, or consequential damages of any character +arising as a result of this License or out of the use or inability to use the +Work (including but not limited to damages for loss of goodwill, work stoppage, +computer failure or malfunction, or any and all other commercial damages or +losses), even if such Contributor has been advised of the possibility of such +damages. + +9. Accepting Warranty or Additional Liability. While redistributing the Work or +Derivative Works thereof, You may choose to offer, and charge a fee for, +acceptance of support, warranty, indemnity, or other liability obligations +and/or rights consistent with this License. However, in accepting such +obligations, You may act only on Your own behalf and on Your sole +responsibility, not on behalf of any other Contributor, and only if You agree to +indemnify, defend, and hold each Contributor harmless for any liability incurred +by, or claims asserted against, such Contributor by reason of your accepting any +such warranty or additional liability. + +END OF TERMS AND CONDITIONS \ No newline at end of file diff --git a/src/licensedcode/data/rules/shl-0.51_1.yml b/src/licensedcode/data/rules/shl-0.51_1.yml new file mode 100644 index 00000000000..f95d58b3798 --- /dev/null +++ b/src/licensedcode/data/rules/shl-0.51_1.yml @@ -0,0 +1,6 @@ +license_expression: shl-0.51 +is_license_text: yes +relevance: 100 +ignorable_urls: + - http://www.apache.org/licenses/LICENSE-2.0 + diff --git a/src/licensedcode/data/rules/ttyp0_1.RULE b/src/licensedcode/data/rules/ttyp0_1.RULE new file mode 100644 index 00000000000..158fa471662 --- /dev/null +++ b/src/licensedcode/data/rules/ttyp0_1.RULE @@ -0,0 +1 @@ +released under the ttyp0 License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/ttyp0_1.yml b/src/licensedcode/data/rules/ttyp0_1.yml new file mode 100644 index 00000000000..ceedaf6e080 --- /dev/null +++ b/src/licensedcode/data/rules/ttyp0_1.yml @@ -0,0 +1,3 @@ +license_expression: ttyp0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/tu-berlin-2.0_1.RULE b/src/licensedcode/data/rules/tu-berlin-2.0_1.RULE new file mode 100644 index 00000000000..53156b03f30 --- /dev/null +++ b/src/licensedcode/data/rules/tu-berlin-2.0_1.RULE @@ -0,0 +1,28 @@ +Any use of this software is permitted provided that this notice is not +removed and that neither the authors nor the Technische Universitaet Berlin +are deemed to have made any representations as to the suitability of this +software for any purpose nor are held responsible for any defects of +this software. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. + +As a matter of courtesy, the authors request to be informed about uses +this software has found, about bugs in this software, and about any +improvements that may be of general interest. + +Berlin, 28.11.1994 +Jutta Degener +Carsten Bormann + + oOo + +Since the original terms of 15 years ago maybe do not make our +intentions completely clear given today's refined usage of the legal +terms, we append this additional permission: + + Permission to use, copy, modify, and distribute this software + for any purpose with or without fee is hereby granted, + provided that this notice is not removed and that neither + the authors nor the Technische Universitaet Berlin are + deemed to have made any representations as to the suitability + of this software for any purpose nor are held responsible + for any defects of this software. THERE IS ABSOLUTELY NO + WARRANTY FOR THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/tu-berlin-2.0_1.yml b/src/licensedcode/data/rules/tu-berlin-2.0_1.yml new file mode 100644 index 00000000000..14de81090a3 --- /dev/null +++ b/src/licensedcode/data/rules/tu-berlin-2.0_1.yml @@ -0,0 +1,4 @@ +license_expression: tu-berlin-2.0 +is_license_text: yes +relevance: 100 +minimum_coverage: 90 diff --git a/src/licensedcode/data/rules/unicode-tou_8.RULE b/src/licensedcode/data/rules/unicode-tou_8.RULE new file mode 100644 index 00000000000..4168af5cf9b --- /dev/null +++ b/src/licensedcode/data/rules/unicode-tou_8.RULE @@ -0,0 +1,27 @@ +Terms of Use + Certain documents and files on this website contain a legend indicating that "Modification is permitted." Any person is hereby authorized, without fee, to modify such documents and files to create derivative works conforming to the Unicode® Standard, subject to Terms and Conditions herein. + Any person is hereby authorized, without fee, to view, use, reproduce, and distribute all documents and files, subject to the Terms and Conditions herein. + Further specifications of rights and restrictions pertaining to the use of the Unicode DATA FILES and SOFTWARE can be found in the Unicode Data Files and Software License. + Each version of the Unicode Standard has further specifications of rights and restrictions of use. For the book editions (Unicode 5.0 and earlier), these are found on the back of the title page. + The Unicode PDF online code charts carry specific restrictions. Those restrictions are incorporated as the first page of each PDF code chart. + All other files, including online documentation of the core specification for Unicode 6.0 and later, are covered under these general Terms of Use. + No license is granted to "mirror" the Unicode website where a fee is charged for access to the "mirror" site. + Modification is not permitted with respect to this document. All copies of this document must be verbatim. +Restricted Rights Legend + Any technical data or software which is licensed to the United States of America, its agencies and/or instrumentalities under this Agreement is commercial technical data or commercial computer software developed exclusively at private expense as defined in FAR 2.101, or DFARS 252.227-7014 (June 1995), as applicable. For technical data, use, duplication, or disclosure by the Government is subject to restrictions as set forth in DFARS 202.227-7015 Technical Data, Commercial and Items (Nov 1995) and this Agreement. For Software, in accordance with FAR 12-212 or DFARS 227-7202, as applicable, use, duplication or disclosure by the Government is subject to the restrictions set forth in this Agreement. +Warranties and Disclaimers + This publication and/or website may include technical or typographical errors or other inaccuracies. Changes are periodically added to the information herein; these changes will be incorporated in new editions of the publication and/or website. Unicode, Inc. may make improvements and/or changes in the product(s) and/or program(s) described in this publication and/or website at any time. + If this file has been purchased on magnetic or optical media from Unicode, Inc. the sole and exclusive remedy for any claim will be exchange of the defective media within ninety (90) days of original purchase. + EXCEPT AS PROVIDED IN SECTION E.2, THIS PUBLICATION AND/OR SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. UNICODE, INC. AND ITS LICENSORS ASSUME NO RESPONSIBILITY FOR ERRORS OR OMISSIONS IN THIS PUBLICATION AND/OR SOFTWARE OR OTHER DOCUMENTS WHICH ARE REFERENCED BY OR LINKED TO THIS PUBLICATION OR THE UNICODE WEBSITE. +Waiver of Damages + In no event shall Unicode, Inc. or its licensors be liable for any special, incidental, indirect or consequential damages of any kind, or any damages whatsoever, whether or not Unicode, Inc. was advised of the possibility of the damage, including, without limitation, those resulting from the following: loss of use, data or profits, in connection with the use, modification or distribution of this information or its derivatives. +Trademarks & Logos + The Unicode Word Mark and the Unicode Logo are trademarks of Unicode, Inc. “The Unicode Consortium” and “Unicode, Inc.” are trade names of Unicode, Inc. Use of the information and materials found on this website indicates your acknowledgement of Unicode, Inc.’s exclusive worldwide rights in the Unicode Word Mark, the Unicode Logo, and the Unicode trade names. + The Unicode Consortium Name and Trademark Usage Policy (“Trademark Policy”) are incorporated herein by reference and you agree to abide by the provisions of the Trademark Policy, which may be changed from time to time in the sole discretion of Unicode, Inc. + All third party trademarks referenced herein are the property of their respective owners. +Miscellaneous + Jurisdiction and Venue. This website is operated from a location in the State of California, United States of America. Unicode, Inc. makes no representation that the materials are appropriate for use in other locations. If you access this website from other locations, you are responsible for compliance with local laws. This Agreement, all use of this website and any claims and damages resulting from use of this website are governed solely by the laws of the State of California without regard to any principles which would apply the laws of a different jurisdiction. The user agrees that any disputes regarding this website shall be resolved solely in the courts located in Santa Clara County, California. The user agrees said courts have personal jurisdiction and agree to waive any right to transfer the dispute to any other forum. + Modification by Unicode, Inc. Unicode, Inc. shall have the right to modify this Agreement at any time by posting it to this website. The user may not assign any part of this Agreement without Unicode, Inc.’s prior written consent. + Taxes. The user agrees to pay any taxes arising from access to this website or use of the information herein, except for those based on Unicode’s net income. + Severability. If any provision of this Agreement is declared invalid or unenforceable, the remaining provisions of this Agreement shall remain in effect. + Entire Agreement. This Agreement constitutes the entire agreement between the parties. \ No newline at end of file diff --git a/src/licensedcode/data/rules/unicode-tou_8.yml b/src/licensedcode/data/rules/unicode-tou_8.yml new file mode 100644 index 00000000000..946ea694b53 --- /dev/null +++ b/src/licensedcode/data/rules/unicode-tou_8.yml @@ -0,0 +1,3 @@ +license_expression: unicode-tou +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/unicode_51.RULE b/src/licensedcode/data/rules/unicode_51.RULE new file mode 100644 index 00000000000..89fc1ab8ab9 --- /dev/null +++ b/src/licensedcode/data/rules/unicode_51.RULE @@ -0,0 +1,31 @@ +Distributed under the Terms of Use in +http://www.unicode.org/copyright.html. + +Permission is hereby granted, free of charge, to any person +obtaining a copy of the Unicode data files and any associated +documentation (the "Data Files") or Unicode software and any +associated documentation (the "Software") to deal in the Data +Files or Software without restriction, including without +limitation the rights to use, copy, modify, merge, publish, +distribute, and/or sell copies of the Data Files or Software, +and to permit persons to whom the Data Files or Software are +furnished to do so, provided that (a) the above copyright +notice(s) and this permission notice appear with all copies of +the Data Files or Software, (b) both the above copyright +notice(s) and this permission notice appear in associated +documentation, and (c) there is clear notice in each modified +Data File or in the Software as well as in the documentation +associated with the Data File(s) or Software that the data or +software has been modified. + +THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT +WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY +RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS +INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY +SPECIAL 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 DATA FILES OR SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/unicode_51.yml b/src/licensedcode/data/rules/unicode_51.yml new file mode 100644 index 00000000000..2f1db03cdd5 --- /dev/null +++ b/src/licensedcode/data/rules/unicode_51.yml @@ -0,0 +1,6 @@ +license_expression: unicode +is_license_text: yes +relevance: 100 +ignorable_urls: + - http://www.unicode.org/copyright.html + diff --git a/src/licensedcode/data/rules/unicode_52.RULE b/src/licensedcode/data/rules/unicode_52.RULE new file mode 100644 index 00000000000..c1c579bbb94 --- /dev/null +++ b/src/licensedcode/data/rules/unicode_52.RULE @@ -0,0 +1 @@ +ICU4J License \ No newline at end of file diff --git a/src/licensedcode/data/rules/unicode_52.yml b/src/licensedcode/data/rules/unicode_52.yml new file mode 100644 index 00000000000..3e6035e996b --- /dev/null +++ b/src/licensedcode/data/rules/unicode_52.yml @@ -0,0 +1,3 @@ +license_expression: unicode +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/unicode_53.RULE b/src/licensedcode/data/rules/unicode_53.RULE new file mode 100644 index 00000000000..6a38218253c --- /dev/null +++ b/src/licensedcode/data/rules/unicode_53.RULE @@ -0,0 +1 @@ +UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE \ No newline at end of file diff --git a/src/licensedcode/data/rules/unicode_53.yml b/src/licensedcode/data/rules/unicode_53.yml new file mode 100644 index 00000000000..3e6035e996b --- /dev/null +++ b/src/licensedcode/data/rules/unicode_53.yml @@ -0,0 +1,3 @@ +license_expression: unicode +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/unicode_54.RULE b/src/licensedcode/data/rules/unicode_54.RULE new file mode 100644 index 00000000000..0da1dbf5326 --- /dev/null +++ b/src/licensedcode/data/rules/unicode_54.RULE @@ -0,0 +1 @@ +UNICODE, INC. LICENSE AGREEMENT \ No newline at end of file diff --git a/src/licensedcode/data/rules/unicode_54.yml b/src/licensedcode/data/rules/unicode_54.yml new file mode 100644 index 00000000000..0074a9bc746 --- /dev/null +++ b/src/licensedcode/data/rules/unicode_54.yml @@ -0,0 +1,3 @@ +license_expression: unicode +is_license_reference: yes +relevance: 99 diff --git a/src/licensedcode/data/rules/unicode_55.RULE b/src/licensedcode/data/rules/unicode_55.RULE new file mode 100644 index 00000000000..9198b303406 --- /dev/null +++ b/src/licensedcode/data/rules/unicode_55.RULE @@ -0,0 +1,46 @@ +UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE + +See Terms of Use for definitions of Unicode Inc.'s +Data Files and Software. + +NOTICE TO USER: Carefully read the following legal agreement. +BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S +DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), +YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE +TERMS AND CONDITIONS OF THIS AGREEMENT. +IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE +THE DATA FILES OR SOFTWARE. + +COPYRIGHT AND PERMISSION NOTICE + +Copyright (c) Unicode, Inc. All rights reserved. +Distributed under the Terms of Use in https://www.unicode.org/copyright.html. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Unicode data files and any associated documentation +(the "Data Files") or Unicode software and any associated documentation +(the "Software") to deal in the Data Files or Software +without restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, and/or sell copies of +the Data Files or Software, and to permit persons to whom the Data Files +or Software are furnished to do so, provided that either +(a) this copyright and permission notice appear with all copies +of the Data Files or Software, or +(b) this copyright and permission notice appear in associated +Documentation. + +THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT OF THIRD PARTY RIGHTS. +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS +NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 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 DATA FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder +shall not be used in advertising or otherwise to promote the sale, +use or other dealings in these Data Files or Software without prior +written authorization of the copyright holder. \ No newline at end of file diff --git a/src/licensedcode/data/rules/unicode_55.yml b/src/licensedcode/data/rules/unicode_55.yml new file mode 100644 index 00000000000..abe4feba906 --- /dev/null +++ b/src/licensedcode/data/rules/unicode_55.yml @@ -0,0 +1,11 @@ +license_expression: unicode +is_license_text: yes +relevance: 100 +minimum_coverage: 90 +ignorable_copyrights: + - Copyright (c) Unicode, Inc. +ignorable_holders: + - Unicode, Inc. +ignorable_urls: + - https://www.unicode.org/copyright.html + diff --git a/src/licensedcode/data/rules/us-govt-public-domain_24.RULE b/src/licensedcode/data/rules/us-govt-public-domain_24.RULE new file mode 100644 index 00000000000..e9a0e229e2f --- /dev/null +++ b/src/licensedcode/data/rules/us-govt-public-domain_24.RULE @@ -0,0 +1,19 @@ +PUBLIC DOMAIN NOTICE + National Center for Biotechnology Information + +This software/database is a "United States Government Work" under the +terms of the United States Copyright Act. It was written as part of +the author's official duties as a United States Government employee and +thus cannot be copyrighted. This software/database is freely available +to the public for use. The National Library of Medicine and the U.S. +Government have not placed any restriction on its use or reproduction. + +Although all reasonable efforts have been taken to ensure the accuracy +and reliability of the software and data, the NLM and the U.S. +Government do not and cannot warrant the performance or results that +may be obtained by using this software or data. The NLM and the U.S. +Government disclaim all warranties, express or implied, including +warranties of performance, merchantability or fitness for any particular +purpose. + +Please cite the author in any work or product based on this material. \ No newline at end of file diff --git a/src/licensedcode/data/rules/us-govt-public-domain_24.yml b/src/licensedcode/data/rules/us-govt-public-domain_24.yml new file mode 100644 index 00000000000..3cfcc92dfef --- /dev/null +++ b/src/licensedcode/data/rules/us-govt-public-domain_24.yml @@ -0,0 +1,4 @@ +license_expression: us-govt-public-domain +is_license_text: yes +relevance: 100 +notes: Seen in BLAST diff --git a/src/licensedcode/data/rules/us-govt-public-domain_25.RULE b/src/licensedcode/data/rules/us-govt-public-domain_25.RULE new file mode 100644 index 00000000000..28962678f56 --- /dev/null +++ b/src/licensedcode/data/rules/us-govt-public-domain_25.RULE @@ -0,0 +1,16 @@ +This software/database is a "United States Government Work" under the +terms of the United States Copyright Act. It was written as part of +the author's official duties as a United States Government employee and +thus cannot be copyrighted. This software/database is freely available +to the public for use. The National Library of Medicine and the U.S. +Government have not placed any restriction on its use or reproduction. + +Although all reasonable efforts have been taken to ensure the accuracy +and reliability of the software and data, the NLM and the U.S. +Government do not and cannot warrant the performance or results that +may be obtained by using this software or data. The NLM and the U.S. +Government disclaim all warranties, express or implied, including +warranties of performance, merchantability or fitness for any particular +purpose. + +Please cite the author in any work or product based on this material. \ No newline at end of file diff --git a/src/licensedcode/data/rules/us-govt-public-domain_25.yml b/src/licensedcode/data/rules/us-govt-public-domain_25.yml new file mode 100644 index 00000000000..3cfcc92dfef --- /dev/null +++ b/src/licensedcode/data/rules/us-govt-public-domain_25.yml @@ -0,0 +1,4 @@ +license_expression: us-govt-public-domain +is_license_text: yes +relevance: 100 +notes: Seen in BLAST diff --git a/src/licensedcode/data/rules/warranty-disclaimer_66.RULE b/src/licensedcode/data/rules/warranty-disclaimer_66.RULE new file mode 100644 index 00000000000..a6c9866b44f --- /dev/null +++ b/src/licensedcode/data/rules/warranty-disclaimer_66.RULE @@ -0,0 +1,3 @@ +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. \ No newline at end of file diff --git a/src/licensedcode/data/rules/warranty-disclaimer_66.yml b/src/licensedcode/data/rules/warranty-disclaimer_66.yml new file mode 100644 index 00000000000..3bf0969221d --- /dev/null +++ b/src/licensedcode/data/rules/warranty-disclaimer_66.yml @@ -0,0 +1,3 @@ +license_expression: warranty-disclaimer +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/warranty-disclaimer_67.RULE b/src/licensedcode/data/rules/warranty-disclaimer_67.RULE new file mode 100644 index 00000000000..84a64a0a7da --- /dev/null +++ b/src/licensedcode/data/rules/warranty-disclaimer_67.RULE @@ -0,0 +1 @@ +distributed without any expressed or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/warranty-disclaimer_67.yml b/src/licensedcode/data/rules/warranty-disclaimer_67.yml new file mode 100644 index 00000000000..3bf0969221d --- /dev/null +++ b/src/licensedcode/data/rules/warranty-disclaimer_67.yml @@ -0,0 +1,3 @@ +license_expression: warranty-disclaimer +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/warranty-disclaimer_68.RULE b/src/licensedcode/data/rules/warranty-disclaimer_68.RULE new file mode 100644 index 00000000000..5c99bc70042 --- /dev/null +++ b/src/licensedcode/data/rules/warranty-disclaimer_68.RULE @@ -0,0 +1 @@ +This file is distributed without any expressed or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/warranty-disclaimer_68.yml b/src/licensedcode/data/rules/warranty-disclaimer_68.yml new file mode 100644 index 00000000000..3bf0969221d --- /dev/null +++ b/src/licensedcode/data/rules/warranty-disclaimer_68.yml @@ -0,0 +1,3 @@ +license_expression: warranty-disclaimer +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/wordnet_4.RULE b/src/licensedcode/data/rules/wordnet_4.RULE new file mode 100644 index 00000000000..4b4bdf2f3f0 --- /dev/null +++ b/src/licensedcode/data/rules/wordnet_4.RULE @@ -0,0 +1,30 @@ +This software and database is being provided to you, the LICENSEE, + by Princeton University under the following license. By obtaining, + using and/or copying this software and database, you agree that you + have read, understood, and will comply with these terms and + conditions.: + + Permission to use, copy, modify and distribute this software and + database and its documentation for any purpose and without fee or + royalty is hereby granted, provided that you agree to comply with + the following copyright notice and statements, including the + disclaimer, and that the same appear on ALL copies of the software, + database and documentation, including modifications that you make + for internal use or for distribution. + + WordNet 1.6 Copyright 1997 by Princeton University. All rights + reserved. + + THIS SOFTWARE AND DATABASE IS PROVIDED "AS IS" AND PRINCETON + UNIVERSITY MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR + IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PRINCETON + UNIVERSITY MAKES NO REPRESENTATIONS OR WARRANTIES OF MERCHANT- + ABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE + LICENSED SOFTWARE, DATABASE OR DOCUMENTATION WILL NOT INFRINGE ANY + THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + + The name of Princeton University or Princeton may not be used in + advertising or publicity pertaining to distribution of the software + and/or database. Title to copyright in this software, database and + any associated documentation shall at all times remain with + Princeton University and LICENSEE agrees to preserve same. \ No newline at end of file diff --git a/src/licensedcode/data/rules/wordnet_4.yml b/src/licensedcode/data/rules/wordnet_4.yml new file mode 100644 index 00000000000..8b2c6e2e994 --- /dev/null +++ b/src/licensedcode/data/rules/wordnet_4.yml @@ -0,0 +1,9 @@ +license_expression: wordnet +is_license_text: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip +ignorable_copyrights: + - Copyright 1997 by Princeton University +ignorable_holders: + - Princeton University + diff --git a/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_1.RULE b/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_1.RULE new file mode 100644 index 00000000000..ed085346d20 --- /dev/null +++ b/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_1.RULE @@ -0,0 +1,2 @@ +The English dictionaries come directly from SCOWL +and is thus under the same copyright of SCOWL. \ No newline at end of file diff --git a/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_1.yml b/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_1.yml new file mode 100644 index 00000000000..cd9512edd10 --- /dev/null +++ b/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_1.yml @@ -0,0 +1,10 @@ +license_expression: wordnet AND public-domain AND other-permissive +is_license_notice: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip + and https://web.archive.org/web/20140610003726/http://wordlist.aspell.net/scowl-readme +ignorable_copyrights: + - copyright of SCOWL. +ignorable_holders: + - SCOWL. + diff --git a/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_2.RULE b/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_2.RULE new file mode 100644 index 00000000000..9fe16ed314e --- /dev/null +++ b/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_2.RULE @@ -0,0 +1 @@ +dictionaries derived from SCOWL. \ No newline at end of file diff --git a/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_2.yml b/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_2.yml new file mode 100644 index 00000000000..d225f6be746 --- /dev/null +++ b/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_2.yml @@ -0,0 +1,5 @@ +license_expression: wordnet AND public-domain AND other-permissive +is_license_notice: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip + and https://web.archive.org/web/20140610003726/http://wordlist.aspell.net/scowl-readme diff --git a/src/licensedcode/data/rules/wtfpl-2.0_29.RULE b/src/licensedcode/data/rules/wtfpl-2.0_29.RULE new file mode 100644 index 00000000000..6246a6df583 --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_29.RULE @@ -0,0 +1 @@ +Free to use under the WTFPL license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/wtfpl-2.0_29.yml b/src/licensedcode/data/rules/wtfpl-2.0_29.yml new file mode 100644 index 00000000000..670ce4722ac --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_29.yml @@ -0,0 +1,3 @@ +license_expression: wtfpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/wtfpl-2.0_30.RULE b/src/licensedcode/data/rules/wtfpl-2.0_30.RULE new file mode 100644 index 00000000000..8890923ce6b --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_30.RULE @@ -0,0 +1,2 @@ +Free to use under the WTFPL license. +http://www.wtfpl.net/ \ No newline at end of file diff --git a/src/licensedcode/data/rules/wtfpl-2.0_30.yml b/src/licensedcode/data/rules/wtfpl-2.0_30.yml new file mode 100644 index 00000000000..8e8f885f8cf --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_30.yml @@ -0,0 +1,6 @@ +license_expression: wtfpl-2.0 +is_license_notice: yes +relevance: 100 +ignorable_urls: + - http://www.wtfpl.net/ + diff --git a/src/licensedcode/data/rules/wtfpl-2.0_31.RULE b/src/licensedcode/data/rules/wtfpl-2.0_31.RULE new file mode 100644 index 00000000000..facb1abb5b7 --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_31.RULE @@ -0,0 +1,2 @@ +Free to use under the WTFPL license. +https://www.wtfpl.net/ \ No newline at end of file diff --git a/src/licensedcode/data/rules/wtfpl-2.0_31.yml b/src/licensedcode/data/rules/wtfpl-2.0_31.yml new file mode 100644 index 00000000000..a6dec546157 --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_31.yml @@ -0,0 +1,6 @@ +license_expression: wtfpl-2.0 +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://www.wtfpl.net/ + diff --git a/src/licensedcode/data/rules/wtfpl-2.0_32.RULE b/src/licensedcode/data/rules/wtfpl-2.0_32.RULE new file mode 100644 index 00000000000..f3a2677301b --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_32.RULE @@ -0,0 +1 @@ +https://www.wtfpl.net/ \ No newline at end of file diff --git a/src/licensedcode/data/rules/wtfpl-2.0_32.yml b/src/licensedcode/data/rules/wtfpl-2.0_32.yml new file mode 100644 index 00000000000..2c2487ce61f --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_32.yml @@ -0,0 +1,6 @@ +license_expression: wtfpl-2.0 +is_license_reference: yes +relevance: 100 +ignorable_urls: + - https://www.wtfpl.net/ + diff --git a/src/licensedcode/data/rules/wtfpl-2.0_33.RULE b/src/licensedcode/data/rules/wtfpl-2.0_33.RULE new file mode 100644 index 00000000000..a2ebcc5bae6 --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_33.RULE @@ -0,0 +1 @@ +LICENSE-WTFPL \ No newline at end of file diff --git a/src/licensedcode/data/rules/wtfpl-2.0_33.yml b/src/licensedcode/data/rules/wtfpl-2.0_33.yml new file mode 100644 index 00000000000..d3a79279db8 --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_33.yml @@ -0,0 +1,6 @@ +license_expression: wtfpl-2.0 +is_license_reference: yes +relevance: 100 +referenced_filenames: + - LICENSE-WTFPL + diff --git a/src/licensedcode/data/rules/wtfpl-2.0_or_mit_1.RULE b/src/licensedcode/data/rules/wtfpl-2.0_or_mit_1.RULE new file mode 100644 index 00000000000..f4a68ef7fd8 --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_or_mit_1.RULE @@ -0,0 +1 @@ +Free to use under either the WTFPL license or the MIT license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/wtfpl-2.0_or_mit_1.yml b/src/licensedcode/data/rules/wtfpl-2.0_or_mit_1.yml new file mode 100644 index 00000000000..686f89ba7af --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_or_mit_1.yml @@ -0,0 +1,3 @@ +license_expression: wtfpl-2.0 OR mit +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/wtfpl-2.0_or_mit_2.RULE b/src/licensedcode/data/rules/wtfpl-2.0_or_mit_2.RULE new file mode 100644 index 00000000000..90c23efc286 --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_or_mit_2.RULE @@ -0,0 +1,3 @@ +Free to use under either the WTFPL license or the MIT license. +https://raw.githubusercontent.com/gionkunz/chartist-js/master/LICENSE-WTFPL +https://raw.githubusercontent.com/gionkunz/chartist-js/master/LICENSE-MIT \ No newline at end of file diff --git a/src/licensedcode/data/rules/wtfpl-2.0_or_mit_2.yml b/src/licensedcode/data/rules/wtfpl-2.0_or_mit_2.yml new file mode 100644 index 00000000000..00665accade --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_or_mit_2.yml @@ -0,0 +1,8 @@ +license_expression: wtfpl-2.0 OR mit +is_license_notice: yes +relevance: 100 +minimum_coverage: 99 +ignorable_urls: + - https://raw.githubusercontent.com/gionkunz/chartist-js/master/LICENSE-MIT + - https://raw.githubusercontent.com/gionkunz/chartist-js/master/LICENSE-WTFPL + diff --git a/src/licensedcode/data/rules/x11-dec1_3.RULE b/src/licensedcode/data/rules/x11-dec1_3.RULE new file mode 100644 index 00000000000..b4925d54220 --- /dev/null +++ b/src/licensedcode/data/rules/x11-dec1_3.RULE @@ -0,0 +1,17 @@ +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the names of Digital, FUJITSU +LIMITED and Sony Corporation not be used in advertising or publicity +pertaining to distribution of the software without specific, written +prior permission. + +DIGITAL, FUJITSU LIMITED AND SONY CORPORATION DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL DIGITAL, FUJITSU LIMITED +AND SONY CORPORATION BE LIABLE FOR ANY SPECIAL, 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 THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-dec1_3.yml b/src/licensedcode/data/rules/x11-dec1_3.yml new file mode 100644 index 00000000000..1447a3e53cb --- /dev/null +++ b/src/licensedcode/data/rules/x11-dec1_3.yml @@ -0,0 +1,4 @@ +license_expression: x11-dec1 +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-doc_1.RULE b/src/licensedcode/data/rules/x11-doc_1.RULE new file mode 100644 index 00000000000..306264272d9 --- /dev/null +++ b/src/licensedcode/data/rules/x11-doc_1.RULE @@ -0,0 +1,6 @@ +Permission to use, copy, modify, distribute, and sell this documentation +for any purpose and without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. +Chris Lee makes no representations about the suitability for any purpose +of the information in this document. It is provided \`\`as-is'' without +express or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-doc_1.yml b/src/licensedcode/data/rules/x11-doc_1.yml new file mode 100644 index 00000000000..22a62bd764f --- /dev/null +++ b/src/licensedcode/data/rules/x11-doc_1.yml @@ -0,0 +1,4 @@ +license_expression: x11-doc +is_license_text: yes +relevance: 99 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_10.RULE b/src/licensedcode/data/rules/x11-keith-packard_10.RULE new file mode 100644 index 00000000000..977953ebcde --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_10.RULE @@ -0,0 +1,17 @@ +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the name OMRON not be used in +advertising or publicity pertaining to distribution of the software without +specific, written prior permission. OMRON makes no representations +about the suitability of this software for any purpose. It is provided +"as is" without express or implied warranty. + +OMRON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +EVENT SHALL OMRON BE LIABLE FOR ANY SPECIAL, 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 +TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_10.yml b/src/licensedcode/data/rules/x11-keith-packard_10.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_10.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_11.RULE b/src/licensedcode/data/rules/x11-keith-packard_11.RULE new file mode 100644 index 00000000000..01f43506577 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_11.RULE @@ -0,0 +1,18 @@ +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the name of Open Software Foundation +not be used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. Open Software +Foundation makes no representations about the suitability of this +software for any purpose. It is provided "as is" without express or +implied warranty. + +OPEN SOFTWARE FOUNDATION DISCLAIMS ALL WARRANTIES WITH REGARD TO +THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS, IN NO EVENT SHALL OPEN SOFTWARE FOUNDATIONN BE +LIABLE FOR ANY SPECIAL, 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 THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_11.yml b/src/licensedcode/data/rules/x11-keith-packard_11.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_11.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_13.RULE b/src/licensedcode/data/rules/x11-keith-packard_13.RULE new file mode 100644 index 00000000000..53c583ec240 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_13.RULE @@ -0,0 +1,18 @@ +Permission to use, copy, modify, distribute, and sell this software and +its documentation for any purpose is hereby granted without fee, provided +that the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the name of FUJITSU LIMITED and Sony Corporation +not be used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. FUJITSU LIMITED and +Sony Corporation makes no representations about the suitability of this +software for any purpose. It is provided "as is" without express or +implied warranty. + +FUJITSU LIMITED AND SONY CORPORATION DISCLAIMS ALL WARRANTIES WITH REGARD +TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS, IN NO EVENT SHALL FUJITSU LIMITED OR SONY CORPORATION BE LIABLE +FOR ANY SPECIAL, 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 THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_13.yml b/src/licensedcode/data/rules/x11-keith-packard_13.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_13.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_14.RULE b/src/licensedcode/data/rules/x11-keith-packard_14.RULE new file mode 100644 index 00000000000..d9a2d03604c --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_14.RULE @@ -0,0 +1,21 @@ +Permission to use, copy, modify, distribute, and sell this software +and its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of FUJITSU LIMITED and +Digital Equipment Corporation not be used in advertising or publicity +pertaining to distribution of the software without specific, written +prior permission. FUJITSU LIMITED and Digital Equipment Corporation +makes no representations about the suitability of this software for +any purpose. It is provided "as is" without express or implied +warranty. + +FUJITSU LIMITED AND DIGITAL EQUIPMENT CORPORATION DISCLAIM ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL +FUJITSU LIMITED AND DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR +ANY SPECIAL, 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 +THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_14.yml b/src/licensedcode/data/rules/x11-keith-packard_14.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_14.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_15.RULE b/src/licensedcode/data/rules/x11-keith-packard_15.RULE new file mode 100644 index 00000000000..f6eaad0cdbd --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_15.RULE @@ -0,0 +1,22 @@ +Permission to use, copy, modify, distribute and sell this software +and its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appear in all copies and +that both that copyright notice and this permission notice appear +in supporting documentation, and that the name of FUJITSU LIMITED, +Fujitsu Open Systems Solutions, Inc. and Sony Corporation not be +used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. +FUJITSU LIMITED, Fujitsu Open Systems Solutions, Inc. and +Sony Corporation make no representations about the suitability of +this software for any purpose. It is provided "as is" without +express or implied warranty. + +FUJITSU LIMITED, FUJITSU OPEN SYSTEMS SOLUTIONS, INC. AND SONY +CORPORATION DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, +IN NO EVENT SHALL FUJITSU OPEN SYSTEMS SOLUTIONS, INC., FUJITSU LIMITED +AND SONY CORPORATION BE LIABLE FOR ANY SPECIAL, 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 THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_15.yml b/src/licensedcode/data/rules/x11-keith-packard_15.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_15.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_16.RULE b/src/licensedcode/data/rules/x11-keith-packard_16.RULE new file mode 100644 index 00000000000..128ff4a8715 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_16.RULE @@ -0,0 +1,18 @@ +Permission to use, copy, modify, distribute, and sell this software +and its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appear in all copies and +that both that copyright notice and this permission notice appear +in supporting documentation, and that the names of SunSoft, Inc. and +Bruno Haible not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior +permission. SunSoft, Inc. and Bruno Haible make no representations +about the suitability of this software for any purpose. It is +provided "as is" without express or implied warranty. + +SunSoft Inc. AND Bruno Haible DISCLAIM ALL WARRANTIES WITH REGARD +TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS, IN NO EVENT SHALL SunSoft, Inc. OR Bruno Haible BE LIABLE +FOR ANY SPECIAL, 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 THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_16.yml b/src/licensedcode/data/rules/x11-keith-packard_16.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_16.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_18.RULE b/src/licensedcode/data/rules/x11-keith-packard_18.RULE new file mode 100644 index 00000000000..d05c54cf36f --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_18.RULE @@ -0,0 +1,18 @@ +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the names of Open Software Foundation and TOSHIBA +not be used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. Open Software +Foundation and TOSHIBA make no representations about the suitability of this +software for any purpose. It is provided "as is" without express or +implied warranty. + +OPEN SOFTWARE FOUNDATION AND TOSHIBA DISCLAIM ALL WARRANTIES WITH REGARD TO +THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS, IN NO EVENT SHALL OPEN SOFTWARE FOUNDATIONN OR TOSHIBA BE +LIABLE FOR ANY SPECIAL, 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 THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_18.yml b/src/licensedcode/data/rules/x11-keith-packard_18.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_18.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_19.RULE b/src/licensedcode/data/rules/x11-keith-packard_19.RULE new file mode 100644 index 00000000000..77e2091e0b5 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_19.RULE @@ -0,0 +1,19 @@ +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the names of Open Software Foundation and +Sony Corporation not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior permission. +Open Software Foundation and Sony Corporation make no +representations about the suitability of this software for any purpose. +It is provided "as is" without express or implied warranty. + +OPEN SOFTWARE FOUNDATION AND SONY CORPORATION DISCLAIM ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL OPEN +SOFTWARE FOUNDATIONN OR SONY CORPORATION BE LIABLE FOR ANY SPECIAL, +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 THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_19.yml b/src/licensedcode/data/rules/x11-keith-packard_19.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_19.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_20.RULE b/src/licensedcode/data/rules/x11-keith-packard_20.RULE new file mode 100644 index 00000000000..c048acfb319 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_20.RULE @@ -0,0 +1,20 @@ +Permission to use, copy, modify, distribute and sell this software +and its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appear in all copies and +that both that copyright notice and this permission notice appear +in supporting documentation, and that the name of FUJITSU LIMITED and +Fujitsu Open Systems Solutions, Inc. not be used in advertising or +publicity pertaining to distribution of the software without specific, +written prior permission. +FUJITSU LIMITED and Fujitsu Open Systems Solutions, Inc. makes no +representations about the suitability of this software for any purpose. +It is provided "as is" without express or implied warranty. + +FUJITSU LIMITED AND FUJITSU OPEN SYSTEMS SOLUTIONS, INC. DISCLAIMS ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL FUJITSU OPEN SYSTEMS +SOLUTIONS, INC. AND FUJITSU LIMITED BE LIABLE FOR ANY SPECIAL, 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 THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_20.yml b/src/licensedcode/data/rules/x11-keith-packard_20.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_20.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_21.RULE b/src/licensedcode/data/rules/x11-keith-packard_21.RULE new file mode 100644 index 00000000000..e213e13276e --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_21.RULE @@ -0,0 +1,18 @@ +Permission to use, copy, modify, distribute, and sell this software +and its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appear in all copies and +that both that copyright notice and this permission notice appear +in supporting documentation, and that the name of Sony Corporation +not be used in advertising or publicity pertaining to distribution +of the software without specific, written prior permission. +Sony Corporation makes no representations about the suitability of +this software for any purpose. It is provided "as is" without +express or implied warranty. + +SONY CORPORATION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +EVENT SHALL SONY CORPORATION BE LIABLE FOR ANY SPECIAL, 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 THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_21.yml b/src/licensedcode/data/rules/x11-keith-packard_21.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_21.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_22.RULE b/src/licensedcode/data/rules/x11-keith-packard_22.RULE new file mode 100644 index 00000000000..08eeda9f1ba --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_22.RULE @@ -0,0 +1,20 @@ +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the names of OMRON, NTT Software, NTT, and +Open Software Foundation not be used in advertising or publicity +pertaining to distribution of the software without specific, +written prior permission. OMRON, NTT Software, NTT, and Open Software +Foundation make no representations about the suitability of this +software for any purpose. It is provided "as is" without express or +implied warranty. + +OMRON, NTT SOFTWARE, NTT, AND OPEN SOFTWARE FOUNDATION +DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING +ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT +SHALL OMRON, NTT SOFTWARE, NTT, OR OPEN SOFTWARE FOUNDATION BE +LIABLE FOR ANY SPECIAL, 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 THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_22.yml b/src/licensedcode/data/rules/x11-keith-packard_22.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_22.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_23.RULE b/src/licensedcode/data/rules/x11-keith-packard_23.RULE new file mode 100644 index 00000000000..991e27b1107 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_23.RULE @@ -0,0 +1,19 @@ +Permission to use, copy, modify, distribute, and sell this software +and its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appear in all copies and +that both that copyright notice and this permission notice appear +in supporting documentation, and that the name of Fuji Xerox, +FUJITSU LIMITED not be used in advertising or publicity pertaining +to distribution of the software without specific, written prior +permission. Fuji Xerox, FUJITSU LIMITED make no representations +about the suitability of this software for any purpose. +It is provided "as is" without express or implied warranty. + +FUJI XEROX, FUJITSU LIMITED DISCLAIM ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL FUJI XEROX, +FUJITSU LIMITED BE LIABLE FOR ANY SPECIAL, 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 THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_23.yml b/src/licensedcode/data/rules/x11-keith-packard_23.yml new file mode 100644 index 00000000000..6bed7c33aa8 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_23.yml @@ -0,0 +1,3 @@ +license_expression: x11-keith-packard +is_license_text: yes +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_24.RULE b/src/licensedcode/data/rules/x11-keith-packard_24.RULE new file mode 100644 index 00000000000..14690a0edcd --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_24.RULE @@ -0,0 +1,20 @@ +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the names of OMRON, NTT Software, NTT, Open +Software Foundation, and Sony Corporation not be used in advertising +or publicity pertaining to distribution of the software without specific, +written prior permission. OMRON, NTT Software, NTT, Open Software +Foundation, and Sony Corporation make no representations about the +suitability of this software for any purpose. It is provided "as is" +without express or implied warranty. + +OMRON, NTT SOFTWARE, NTT, OPEN SOFTWARE FOUNDATION, AND SONY +CORPORATION DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING +ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT +SHALL OMRON, NTT SOFTWARE, NTT, OPEN SOFTWARE FOUNDATION, OR SONY +CORPORATION BE LIABLE FOR ANY SPECIAL, 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 THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_24.yml b/src/licensedcode/data/rules/x11-keith-packard_24.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_24.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_25.RULE b/src/licensedcode/data/rules/x11-keith-packard_25.RULE new file mode 100644 index 00000000000..0ce1851946b --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_25.RULE @@ -0,0 +1,18 @@ +Permission to use, copy, modify, distribute, and sell this software +and its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appear in all copies and +that both that copyright notice and this permission notice appear +in supporting documentation, and that the name of Bruno Haible not +be used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. Bruno Haible +makes no representations about the suitability of this software for +any purpose. It is provided "as is" without express or implied +warranty. + +Bruno Haible DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN +NO EVENT SHALL Bruno Haible BE LIABLE FOR ANY SPECIAL, 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 THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_25.yml b/src/licensedcode/data/rules/x11-keith-packard_25.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_25.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_26.RULE b/src/licensedcode/data/rules/x11-keith-packard_26.RULE new file mode 100644 index 00000000000..34df02f0bdb --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_26.RULE @@ -0,0 +1,18 @@ +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the names of OMRON, NTT Software, and NTT +not be used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. OMRON, NTT Software, +and NTT make no representations about the suitability of this +software for any purpose. It is provided "as is" without express or +implied warranty. + +OMRON, NTT SOFTWARE, AND NTT, DISCLAIM ALL WARRANTIES WITH REGARD +TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS, IN NO EVENT SHALL OMRON, NTT SOFTWARE, OR NTT, BE +LIABLE FOR ANY SPECIAL, 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 THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_26.yml b/src/licensedcode/data/rules/x11-keith-packard_26.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_26.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_27.RULE b/src/licensedcode/data/rules/x11-keith-packard_27.RULE new file mode 100644 index 00000000000..bc5ffe28f7f --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_27.RULE @@ -0,0 +1,18 @@ +Permission to use, copy, modify, distribute, and sell this software +and its documentation for any purpose is hereby granted without +fee, provided that the above copyright notice appear in all copies +and that both that copyright notice and this permission notice +appear in supporting documentation, and that the name of +Intel not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior +permission. Intel makes no representations about the +suitability of this software for any purpose. It is provided "as +is" without express or implied warranty. + +INTEL CORPORATION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS +SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS, IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY SPECIAL, +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 THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_27.yml b/src/licensedcode/data/rules/x11-keith-packard_27.yml new file mode 100644 index 00000000000..540666b84b5 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_27.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 99 +notes: references Intel instead of Keith Packard. Seen in cairo. diff --git a/src/licensedcode/data/rules/x11-keith-packard_8.RULE b/src/licensedcode/data/rules/x11-keith-packard_8.RULE new file mode 100644 index 00000000000..cb3de8dd384 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_8.RULE @@ -0,0 +1,20 @@ +Permission to use, copy, modify, distribute, and sell this software +and its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appear in all copies and +that both that copyright notice and this permission notice appear +in supporting documentation, and that the name of Oki Technosystems +Laboratory and Fuji Xerox not be used in advertising or publicity +pertaining to distribution of the software without specific, written +prior permission. +Oki Technosystems Laboratory and Fuji Xerox make no representations +about the suitability of this software for any purpose. It is provided +"as is" without express or implied warranty. + +OKI TECHNOSYSTEMS LABORATORY AND FUJI XEROX DISCLAIM ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL OKI TECHNOSYSTEMS +LABORATORY AND FUJI XEROX BE LIABLE FOR ANY SPECIAL, 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 THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_8.yml b/src/licensedcode/data/rules/x11-keith-packard_8.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_8.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_9.RULE b/src/licensedcode/data/rules/x11-keith-packard_9.RULE new file mode 100644 index 00000000000..c5efcd5a889 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_9.RULE @@ -0,0 +1,18 @@ +Permission to use, copy, modify, distribute, and sell this software +and its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appear in all copies and +that both that copyright notice and this permission notice appear +in supporting documentation, and that the name of FUJITSU LIMITED +not be used in advertising or publicity pertaining to distribution +of the software without specific, written prior permission. +FUJITSU LIMITED makes no representations about the suitability of +this software for any purpose. +It is provided "as is" without express or implied warranty. + +FUJITSU LIMITED DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +EVENT SHALL FUJITSU LIMITED BE LIABLE FOR ANY SPECIAL, 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 THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_9.yml b/src/licensedcode/data/rules/x11-keith-packard_9.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_9.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-opengroup_9.RULE b/src/licensedcode/data/rules/x11-opengroup_9.RULE new file mode 100644 index 00000000000..ba5f5d9ff1e --- /dev/null +++ b/src/licensedcode/data/rules/x11-opengroup_9.RULE @@ -0,0 +1,21 @@ +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation. + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +X CONSORTIUM OR THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +Except as contained in this notice, the name of the X Consortium or of the +XFree86 Project shall not be used in advertising or otherwise to promote the +sale, use or other dealings in this Software without prior written +authorization from the X Consortium and the XFree86 Project. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-opengroup_9.yml b/src/licensedcode/data/rules/x11-opengroup_9.yml new file mode 100644 index 00000000000..1432f2f632c --- /dev/null +++ b/src/licensedcode/data/rules/x11-opengroup_9.yml @@ -0,0 +1,4 @@ +license_expression: x11-opengroup +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-xconsortium_23.RULE b/src/licensedcode/data/rules/x11-xconsortium_23.RULE new file mode 100644 index 00000000000..c0ccc9808b4 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_23.RULE @@ -0,0 +1,21 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +FREE SOFTWARE FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of the Free Software Foundation +shall not be used in advertising or otherwise to promote the sale, use or +other dealings in this Software without prior written authorization from the +Free Software Foundation. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-xconsortium_23.yml b/src/licensedcode/data/rules/x11-xconsortium_23.yml new file mode 100644 index 00000000000..d2b0b62e9c9 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_23.yml @@ -0,0 +1,4 @@ +license_expression: x11-xconsortium +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-xconsortium_24.RULE b/src/licensedcode/data/rules/x11-xconsortium_24.RULE new file mode 100644 index 00000000000..b7e97123894 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_24.RULE @@ -0,0 +1,23 @@ +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of shall +not be used in advertising or otherwise to promote the sale, use or +other dealings in this Software without prior written authorization +from \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-xconsortium_24.yml b/src/licensedcode/data/rules/x11-xconsortium_24.yml new file mode 100644 index 00000000000..d2b0b62e9c9 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_24.yml @@ -0,0 +1,4 @@ +license_expression: x11-xconsortium +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-xconsortium_25.RULE b/src/licensedcode/data/rules/x11-xconsortium_25.RULE new file mode 100644 index 00000000000..1d20ab564f1 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_25.RULE @@ -0,0 +1,23 @@ +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL DAVID E. BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of David E. shall +not be used in advertising or otherwise to promote the sale, use or +other dealings in this Software without prior written authorization +from David E. . \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-xconsortium_25.yml b/src/licensedcode/data/rules/x11-xconsortium_25.yml new file mode 100644 index 00000000000..d2b0b62e9c9 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_25.yml @@ -0,0 +1,4 @@ +license_expression: x11-xconsortium +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-xconsortium_26.RULE b/src/licensedcode/data/rules/x11-xconsortium_26.RULE new file mode 100644 index 00000000000..40960883956 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_26.RULE @@ -0,0 +1,22 @@ +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF +OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +Except as contained in this notice, the name of or +shall not be used in advertising or otherwise to promote the sale, use or other +dealings in this Software without prior written authorization from or +. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-xconsortium_26.yml b/src/licensedcode/data/rules/x11-xconsortium_26.yml new file mode 100644 index 00000000000..d2b0b62e9c9 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_26.yml @@ -0,0 +1,4 @@ +license_expression: x11-xconsortium +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-xconsortium_27.RULE b/src/licensedcode/data/rules/x11-xconsortium_27.RULE new file mode 100644 index 00000000000..5220d8ff47c --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_27.RULE @@ -0,0 +1,20 @@ +* Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to + * deal in the Software without restriction, including without limitation the + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * GROUPE BULL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * + * Except as contained in this notice, the name of GROUPE BULL shall not be + * used in advertising or otherwise to promote the sale, use or other dealings + * in this Software without prior written authorization from GROUPE BULL. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-xconsortium_27.yml b/src/licensedcode/data/rules/x11-xconsortium_27.yml new file mode 100644 index 00000000000..3bb301a71f6 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_27.yml @@ -0,0 +1,4 @@ +license_expression: x11-xconsortium +is_license_text: yes +relevance: 100 +notes: Seen in libXpm-3.5.13 diff --git a/src/licensedcode/data/rules/x11-xconsortium_28.RULE b/src/licensedcode/data/rules/x11-xconsortium_28.RULE new file mode 100644 index 00000000000..a1df9f23fb3 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_28.RULE @@ -0,0 +1 @@ +released under the X11 license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-xconsortium_28.yml b/src/licensedcode/data/rules/x11-xconsortium_28.yml new file mode 100644 index 00000000000..935c5d08cf0 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_28.yml @@ -0,0 +1,3 @@ +license_expression: x11-xconsortium +is_license_notice: yes +relevance: 95 diff --git a/src/licensedcode/data/rules/x11-xconsortium_29.RULE b/src/licensedcode/data/rules/x11-xconsortium_29.RULE new file mode 100644 index 00000000000..dc773362d05 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_29.RULE @@ -0,0 +1 @@ +available under the X11 license \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-xconsortium_29.yml b/src/licensedcode/data/rules/x11-xconsortium_29.yml new file mode 100644 index 00000000000..935c5d08cf0 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_29.yml @@ -0,0 +1,3 @@ +license_expression: x11-xconsortium +is_license_notice: yes +relevance: 95 diff --git a/src/licensedcode/data/rules/x11-xconsortium_30.RULE b/src/licensedcode/data/rules/x11-xconsortium_30.RULE new file mode 100644 index 00000000000..d3a49dde37a --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_30.RULE @@ -0,0 +1 @@ +under the X11 license \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-xconsortium_30.yml b/src/licensedcode/data/rules/x11-xconsortium_30.yml new file mode 100644 index 00000000000..935c5d08cf0 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_30.yml @@ -0,0 +1,3 @@ +license_expression: x11-xconsortium +is_license_notice: yes +relevance: 95 diff --git a/src/licensedcode/data/rules/x11-xconsortium_and_x11-keith-packard_and_historical_and_other-permissive_1.RULE b/src/licensedcode/data/rules/x11-xconsortium_and_x11-keith-packard_and_historical_and_other-permissive_1.RULE new file mode 100644 index 00000000000..d782aa803f2 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_and_x11-keith-packard_and_historical_and_other-permissive_1.RULE @@ -0,0 +1 @@ +The following licenses are 'legacy' - usually MIT/X11 licenses \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-xconsortium_and_x11-keith-packard_and_historical_and_other-permissive_1.yml b/src/licensedcode/data/rules/x11-xconsortium_and_x11-keith-packard_and_historical_and_other-permissive_1.yml new file mode 100644 index 00000000000..b11453bb0d7 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_and_x11-keith-packard_and_historical_and_other-permissive_1.yml @@ -0,0 +1,5 @@ +license_expression: x11-xconsortium AND x11-keith-packard AND historical AND other-permissive +is_license_text: yes +relevance: 100 +minimum_coverage: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11_14.RULE b/src/licensedcode/data/rules/x11_14.RULE new file mode 100644 index 00000000000..398af95d514 --- /dev/null +++ b/src/licensedcode/data/rules/x11_14.RULE @@ -0,0 +1 @@ +licensed under the ICU license (BSD variant) \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11_14.yml b/src/licensedcode/data/rules/x11_14.yml new file mode 100644 index 00000000000..3baa8f8f207 --- /dev/null +++ b/src/licensedcode/data/rules/x11_14.yml @@ -0,0 +1,3 @@ +license_expression: x11 +is_license_notice: yes +relevance: 99 diff --git a/src/licensedcode/data/rules/x11_15.RULE b/src/licensedcode/data/rules/x11_15.RULE new file mode 100644 index 00000000000..86532e3477b --- /dev/null +++ b/src/licensedcode/data/rules/x11_15.RULE @@ -0,0 +1 @@ +licensed under the ICU license \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11_15.yml b/src/licensedcode/data/rules/x11_15.yml new file mode 100644 index 00000000000..3baa8f8f207 --- /dev/null +++ b/src/licensedcode/data/rules/x11_15.yml @@ -0,0 +1,3 @@ +license_expression: x11 +is_license_notice: yes +relevance: 99 diff --git a/src/licensedcode/data/rules/zlib_86.RULE b/src/licensedcode/data/rules/zlib_86.RULE new file mode 100644 index 00000000000..f60fbffa31e --- /dev/null +++ b/src/licensedcode/data/rules/zlib_86.RULE @@ -0,0 +1 @@ +TinyXML license \ No newline at end of file diff --git a/src/licensedcode/data/rules/zlib_86.yml b/src/licensedcode/data/rules/zlib_86.yml new file mode 100644 index 00000000000..1eaf9c4b736 --- /dev/null +++ b/src/licensedcode/data/rules/zlib_86.yml @@ -0,0 +1,3 @@ +license_expression: zlib +is_license_reference: yes +relevance: 100 From 80670b13bd4a362aa9cae4e6e93afa5cac2c0519 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Fri, 30 Jul 2021 17:49:49 +0200 Subject: [PATCH 15/21] Add new misc. license detection rules Signed-off-by: Philippe Ombredanne --- src/licensedcode/data/rules/bsl-1.1_5.RULE | 29 + src/licensedcode/data/rules/bsl-1.1_5.yml | 7 + .../data/rules/cc-by-sa-3.0_82.RULE | 4 + .../data/rules/cc-by-sa-3.0_82.yml | 5 + .../data/rules/cc-sampling-plus-1.0_2.RULE | 2 + .../data/rules/cc-sampling-plus-1.0_2.yml | 5 + .../data/rules/cc-sampling-plus-1.0_3.RULE | 1 + .../data/rules/cc-sampling-plus-1.0_3.yml | 3 + .../data/rules/cc-sampling-plus-1.0_4.RULE | 6 + .../data/rules/cc-sampling-plus-1.0_4.yml | 5 + .../data/rules/cc-sampling-plus-1.0_5.RULE | 1 + .../data/rules/cc-sampling-plus-1.0_5.yml | 3 + .../data/rules/cc-sampling-plus-1.0_6.RULE | 2 + .../data/rules/cc-sampling-plus-1.0_6.yml | 3 + src/licensedcode/data/rules/cddl-1.0_62.RULE | 363 ++++++++++++ src/licensedcode/data/rules/cddl-1.0_62.yml | 3 + src/licensedcode/data/rules/cddl-1.0_63.RULE | 10 + src/licensedcode/data/rules/cddl-1.0_63.yml | 6 + src/licensedcode/data/rules/cddl-1.0_64.RULE | 1 + src/licensedcode/data/rules/cddl-1.0_64.yml | 3 + src/licensedcode/data/rules/cddl-1.0_65.RULE | 1 + src/licensedcode/data/rules/cddl-1.0_65.yml | 3 + .../data/rules/commercial-license_70.RULE | 1 + .../data/rules/commercial-license_70.yml | 3 + .../data/rules/commercial-license_71.RULE | 1 + .../data/rules/commercial-license_71.yml | 3 + .../data/rules/commercial-license_72.RULE | 1 + .../data/rules/commercial-license_72.yml | 3 + .../data/rules/commercial-license_73.RULE | 5 + .../data/rules/commercial-license_73.yml | 3 + .../data/rules/commercial-license_74.RULE | 2 + .../data/rules/commercial-license_74.yml | 3 + .../data/rules/commercial-license_75.RULE | 4 + .../data/rules/commercial-license_75.yml | 3 + src/licensedcode/data/rules/cpal-1.0_27.RULE | 28 + src/licensedcode/data/rules/cpal-1.0_27.yml | 3 + .../data/rules/false-positive_7372.RULE | 1 + .../data/rules/false-positive_7372.yml | 2 + .../data/rules/false-positive_7373.RULE | 2 + .../data/rules/false-positive_7373.yml | 2 + .../data/rules/false-positive_7374.RULE | 1 + .../data/rules/false-positive_7374.yml | 2 + .../data/rules/false-positive_7375.RULE | 1 + .../data/rules/false-positive_7375.yml | 2 + .../data/rules/false-positive_7376.RULE | 1 + .../data/rules/false-positive_7376.yml | 2 + .../data/rules/false-positive_7377.RULE | 1 + .../data/rules/false-positive_7377.yml | 2 + .../data/rules/false-positive_7378.RULE | 1 + .../data/rules/false-positive_7378.yml | 2 + .../data/rules/false-positive_7379.RULE | 1 + .../data/rules/false-positive_7379.yml | 2 + .../data/rules/false-positive_7380.RULE | 1 + .../data/rules/false-positive_7380.yml | 2 + .../data/rules/false-positive_7381.RULE | 1 + .../data/rules/false-positive_7381.yml | 2 + .../data/rules/false-positive_7382.RULE | 4 + .../data/rules/false-positive_7382.yml | 2 + .../data/rules/false-positive_7383.RULE | 1 + .../data/rules/false-positive_7383.yml | 2 + .../data/rules/license-intro_37.RULE | 2 + .../data/rules/license-intro_37.yml | 3 + .../data/rules/license-intro_38.RULE | 1 + .../data/rules/license-intro_38.yml | 3 + .../data/rules/license-intro_39.RULE | 1 + .../data/rules/license-intro_39.yml | 3 + .../data/rules/other-copyleft_25.RULE | 11 + .../data/rules/other-copyleft_25.yml | 9 + .../rules/polyform-noncommercial-1.0.0_2.RULE | 1 + .../rules/polyform-noncommercial-1.0.0_2.yml | 3 + .../rules/polyform-noncommercial-1.0.0_3.RULE | 1 + .../rules/polyform-noncommercial-1.0.0_3.yml | 3 + .../rules/polyform-noncommercial-1.0.0_4.RULE | 1 + .../rules/polyform-noncommercial-1.0.0_4.yml | 6 + .../rules/polyform-noncommercial-1.0.0_5.RULE | 1 + .../rules/polyform-noncommercial-1.0.0_5.yml | 3 + .../rules/polyform-noncommercial-1.0.0_6.RULE | 1 + .../rules/polyform-noncommercial-1.0.0_6.yml | 3 + .../rules/polyform-noncommercial-1.0.0_7.RULE | 1 + .../rules/polyform-noncommercial-1.0.0_7.yml | 6 + ...mercial-1.0.0_or_commercial-license_1.RULE | 1 + ...mmercial-1.0.0_or_commercial-license_1.yml | 3 + .../data/rules/proprietary-license_558.RULE | 536 ++++++++++++++++++ .../data/rules/proprietary-license_558.yml | 16 + .../data/rules/proprietary-license_559.RULE | 2 + .../data/rules/proprietary-license_559.yml | 7 + .../data/rules/proprietary-license_560.RULE | 2 + .../data/rules/proprietary-license_560.yml | 4 + .../data/rules/proprietary-license_561.RULE | 1 + .../data/rules/proprietary-license_561.yml | 4 + .../data/rules/proprietary-license_562.RULE | 1 + .../data/rules/proprietary-license_562.yml | 7 + .../data/rules/proprietary-license_563.RULE | 412 ++++++++++++++ .../data/rules/proprietary-license_563.yml | 4 + .../data/rules/proprietary-license_564.RULE | 482 ++++++++++++++++ .../data/rules/proprietary-license_564.yml | 4 + .../data/rules/proprietary-license_565.RULE | 159 ++++++ .../data/rules/proprietary-license_565.yml | 4 + .../data/rules/proprietary-license_566.RULE | 39 ++ .../data/rules/proprietary-license_566.yml | 3 + .../data/rules/proprietary-license_567.RULE | 51 ++ .../data/rules/proprietary-license_567.yml | 4 + .../data/rules/proprietary-license_568.RULE | 27 + .../data/rules/proprietary-license_568.yml | 5 + .../data/rules/proprietary-license_569.RULE | 3 + .../data/rules/proprietary-license_569.yml | 3 + .../data/rules/proprietary-license_570.RULE | 2 + .../data/rules/proprietary-license_570.yml | 3 + .../data/rules/proprietary-license_571.RULE | 1 + .../data/rules/proprietary-license_571.yml | 4 + .../data/rules/proprietary-license_572.RULE | 16 + .../data/rules/proprietary-license_572.yml | 4 + .../data/rules/proprietary-license_573.RULE | 1 + .../data/rules/proprietary-license_573.yml | 4 + .../data/rules/proprietary-license_574.RULE | 4 + .../data/rules/proprietary-license_574.yml | 17 + .../data/rules/proprietary-license_575.RULE | 7 + .../data/rules/proprietary-license_575.yml | 19 + .../data/rules/proprietary-license_576.RULE | 16 + .../data/rules/proprietary-license_576.yml | 6 + .../data/rules/proprietary-license_577.RULE | 19 + .../data/rules/proprietary-license_577.yml | 4 + .../data/rules/proprietary-license_578.RULE | 2 + .../data/rules/proprietary-license_578.yml | 3 + .../data/rules/proprietary-license_579.RULE | 1 + .../data/rules/proprietary-license_579.yml | 3 + .../data/rules/proprietary-license_580.RULE | 12 + .../data/rules/proprietary-license_580.yml | 4 + .../data/rules/proprietary-license_581.RULE | 14 + .../data/rules/proprietary-license_581.yml | 4 + .../rules/unknown-license-reference_316.RULE | 3 + .../rules/unknown-license-reference_316.yml | 5 + src/licensedcode/data/rules/unknown_6.RULE | 11 + src/licensedcode/data/rules/unknown_6.yml | 7 + 134 files changed, 2612 insertions(+) create mode 100644 src/licensedcode/data/rules/bsl-1.1_5.RULE create mode 100644 src/licensedcode/data/rules/bsl-1.1_5.yml create mode 100644 src/licensedcode/data/rules/cc-by-sa-3.0_82.RULE create mode 100644 src/licensedcode/data/rules/cc-by-sa-3.0_82.yml create mode 100644 src/licensedcode/data/rules/cc-sampling-plus-1.0_2.RULE create mode 100644 src/licensedcode/data/rules/cc-sampling-plus-1.0_2.yml create mode 100644 src/licensedcode/data/rules/cc-sampling-plus-1.0_3.RULE create mode 100644 src/licensedcode/data/rules/cc-sampling-plus-1.0_3.yml create mode 100644 src/licensedcode/data/rules/cc-sampling-plus-1.0_4.RULE create mode 100644 src/licensedcode/data/rules/cc-sampling-plus-1.0_4.yml create mode 100644 src/licensedcode/data/rules/cc-sampling-plus-1.0_5.RULE create mode 100644 src/licensedcode/data/rules/cc-sampling-plus-1.0_5.yml create mode 100644 src/licensedcode/data/rules/cc-sampling-plus-1.0_6.RULE create mode 100644 src/licensedcode/data/rules/cc-sampling-plus-1.0_6.yml create mode 100644 src/licensedcode/data/rules/cddl-1.0_62.RULE create mode 100644 src/licensedcode/data/rules/cddl-1.0_62.yml create mode 100644 src/licensedcode/data/rules/cddl-1.0_63.RULE create mode 100644 src/licensedcode/data/rules/cddl-1.0_63.yml create mode 100644 src/licensedcode/data/rules/cddl-1.0_64.RULE create mode 100644 src/licensedcode/data/rules/cddl-1.0_64.yml create mode 100644 src/licensedcode/data/rules/cddl-1.0_65.RULE create mode 100644 src/licensedcode/data/rules/cddl-1.0_65.yml create mode 100644 src/licensedcode/data/rules/commercial-license_70.RULE create mode 100644 src/licensedcode/data/rules/commercial-license_70.yml create mode 100644 src/licensedcode/data/rules/commercial-license_71.RULE create mode 100644 src/licensedcode/data/rules/commercial-license_71.yml create mode 100644 src/licensedcode/data/rules/commercial-license_72.RULE create mode 100644 src/licensedcode/data/rules/commercial-license_72.yml create mode 100644 src/licensedcode/data/rules/commercial-license_73.RULE create mode 100644 src/licensedcode/data/rules/commercial-license_73.yml create mode 100644 src/licensedcode/data/rules/commercial-license_74.RULE create mode 100644 src/licensedcode/data/rules/commercial-license_74.yml create mode 100644 src/licensedcode/data/rules/commercial-license_75.RULE create mode 100644 src/licensedcode/data/rules/commercial-license_75.yml create mode 100644 src/licensedcode/data/rules/cpal-1.0_27.RULE create mode 100644 src/licensedcode/data/rules/cpal-1.0_27.yml create mode 100644 src/licensedcode/data/rules/false-positive_7372.RULE create mode 100644 src/licensedcode/data/rules/false-positive_7372.yml create mode 100644 src/licensedcode/data/rules/false-positive_7373.RULE create mode 100644 src/licensedcode/data/rules/false-positive_7373.yml create mode 100644 src/licensedcode/data/rules/false-positive_7374.RULE create mode 100644 src/licensedcode/data/rules/false-positive_7374.yml create mode 100644 src/licensedcode/data/rules/false-positive_7375.RULE create mode 100644 src/licensedcode/data/rules/false-positive_7375.yml create mode 100644 src/licensedcode/data/rules/false-positive_7376.RULE create mode 100644 src/licensedcode/data/rules/false-positive_7376.yml create mode 100644 src/licensedcode/data/rules/false-positive_7377.RULE create mode 100644 src/licensedcode/data/rules/false-positive_7377.yml create mode 100644 src/licensedcode/data/rules/false-positive_7378.RULE create mode 100644 src/licensedcode/data/rules/false-positive_7378.yml create mode 100644 src/licensedcode/data/rules/false-positive_7379.RULE create mode 100644 src/licensedcode/data/rules/false-positive_7379.yml create mode 100644 src/licensedcode/data/rules/false-positive_7380.RULE create mode 100644 src/licensedcode/data/rules/false-positive_7380.yml create mode 100644 src/licensedcode/data/rules/false-positive_7381.RULE create mode 100644 src/licensedcode/data/rules/false-positive_7381.yml create mode 100644 src/licensedcode/data/rules/false-positive_7382.RULE create mode 100644 src/licensedcode/data/rules/false-positive_7382.yml create mode 100644 src/licensedcode/data/rules/false-positive_7383.RULE create mode 100644 src/licensedcode/data/rules/false-positive_7383.yml create mode 100644 src/licensedcode/data/rules/license-intro_37.RULE create mode 100644 src/licensedcode/data/rules/license-intro_37.yml create mode 100644 src/licensedcode/data/rules/license-intro_38.RULE create mode 100644 src/licensedcode/data/rules/license-intro_38.yml create mode 100644 src/licensedcode/data/rules/license-intro_39.RULE create mode 100644 src/licensedcode/data/rules/license-intro_39.yml create mode 100644 src/licensedcode/data/rules/other-copyleft_25.RULE create mode 100644 src/licensedcode/data/rules/other-copyleft_25.yml create mode 100644 src/licensedcode/data/rules/polyform-noncommercial-1.0.0_2.RULE create mode 100644 src/licensedcode/data/rules/polyform-noncommercial-1.0.0_2.yml create mode 100644 src/licensedcode/data/rules/polyform-noncommercial-1.0.0_3.RULE create mode 100644 src/licensedcode/data/rules/polyform-noncommercial-1.0.0_3.yml create mode 100644 src/licensedcode/data/rules/polyform-noncommercial-1.0.0_4.RULE create mode 100644 src/licensedcode/data/rules/polyform-noncommercial-1.0.0_4.yml create mode 100644 src/licensedcode/data/rules/polyform-noncommercial-1.0.0_5.RULE create mode 100644 src/licensedcode/data/rules/polyform-noncommercial-1.0.0_5.yml create mode 100644 src/licensedcode/data/rules/polyform-noncommercial-1.0.0_6.RULE create mode 100644 src/licensedcode/data/rules/polyform-noncommercial-1.0.0_6.yml create mode 100644 src/licensedcode/data/rules/polyform-noncommercial-1.0.0_7.RULE create mode 100644 src/licensedcode/data/rules/polyform-noncommercial-1.0.0_7.yml create mode 100644 src/licensedcode/data/rules/polyform-noncommercial-1.0.0_or_commercial-license_1.RULE create mode 100644 src/licensedcode/data/rules/polyform-noncommercial-1.0.0_or_commercial-license_1.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_558.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_558.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_559.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_559.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_560.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_560.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_561.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_561.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_562.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_562.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_563.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_563.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_564.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_564.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_565.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_565.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_566.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_566.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_567.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_567.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_568.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_568.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_569.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_569.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_570.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_570.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_571.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_571.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_572.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_572.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_573.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_573.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_574.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_574.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_575.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_575.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_576.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_576.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_577.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_577.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_578.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_578.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_579.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_579.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_580.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_580.yml create mode 100644 src/licensedcode/data/rules/proprietary-license_581.RULE create mode 100644 src/licensedcode/data/rules/proprietary-license_581.yml create mode 100644 src/licensedcode/data/rules/unknown-license-reference_316.RULE create mode 100644 src/licensedcode/data/rules/unknown-license-reference_316.yml create mode 100644 src/licensedcode/data/rules/unknown_6.RULE create mode 100644 src/licensedcode/data/rules/unknown_6.yml diff --git a/src/licensedcode/data/rules/bsl-1.1_5.RULE b/src/licensedcode/data/rules/bsl-1.1_5.RULE new file mode 100644 index 00000000000..4d802855eae --- /dev/null +++ b/src/licensedcode/data/rules/bsl-1.1_5.RULE @@ -0,0 +1,29 @@ +License text copyright © 2017 MariaDB Corporation Ab, All Rights Reserved. “Business Source License” is a trademark of MariaDB Corporation Ab. + +Terms +The Licensor hereby grants you the right to copy, modify, create derivative works, redistribute, and make non-production use of the Licensed Work. The Licensor may make an Additional Use Grant, above, permitting limited production use. + +Effective on the Change Date, or the fourth anniversary of the first publicly available distribution of a specific version of the Licensed Work under this License, whichever comes first, the Licensor hereby grants you rights under the terms of the Change License, and the rights granted in the paragraph above terminate. + +If your use of the Licensed Work does not comply with the requirements currently in effect as described in this License, you must purchase a commercial license from the Licensor, its affiliated entities, or authorized resellers, or you must refrain from using the Licensed Work. + +All copies of the original and modified Licensed Work, and derivative works of the Licensed Work, are subject to this License. This License applies separately for each version of the Licensed Work and the Change Date may vary for each version of the Licensed Work released by Licensor. + +You must conspicuously display this License on each original or modified copy of the Licensed Work. If you receive the Licensed Work in original or modified form from a third party, the terms and conditions set forth in this License apply to your use of that work. + +Any use of the Licensed Work in violation of this License will automatically terminate your rights under this License for the current and all other versions of the Licensed Work. + +This License does not grant you any right in any trademark or logo of Licensor or its affiliates (provided that you may use a trademark or logo of Licensor as expressly required by this License).TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND TITLE.MariaDB hereby grants you permission to use this License’s text to license your works, and to refer to it using the trademark “Business Source License”, as long as you comply with the Covenants of Licensor below. + +Covenants of Licensor +In consideration of the right to use this License’s text and the “Business Source License” name and trademark, Licensor covenants to MariaDB, and to all other recipients of the licensed work to be provided by Licensor: + +To specify as the Change License the GPL Version 2.0 or any later version, or a license that is compatible with GPL Version 2.0 or a later version, where “compatible” means that software provided under the Change License can be included in a program with software provided under GPL Version 2.0 or a later version. Licensor may specify additional Change Licenses without limitation. +To either: (a) specify an additional grant of rights to use that does not impose any additional restriction on the right granted in this License, as the Additional Use Grant; or (b) insert the text “None”. +To specify a Change Date. +Not to modify this License in any other way. + +Notice +The Business Source License (this document, or the “License”) is not an Open Source license. However, the Licensed Work will eventually be made available under an Open Source License, as stated in this License. + +For more information on the use of the Business Source License for MariaDB products, please visit the MariaDB Business Source License FAQ. For more information on the use of the Business Source License generally, please visit the Adopting and Developing Business Source License FAQ. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsl-1.1_5.yml b/src/licensedcode/data/rules/bsl-1.1_5.yml new file mode 100644 index 00000000000..2800f3f5825 --- /dev/null +++ b/src/licensedcode/data/rules/bsl-1.1_5.yml @@ -0,0 +1,7 @@ +license_expression: bsl-1.1 +is_license_text: yes +relevance: 100 +ignorable_copyrights: + - copyright (c) 2017 MariaDB Corporation Ab +ignorable_holders: + - MariaDB Corporation Ab diff --git a/src/licensedcode/data/rules/cc-by-sa-3.0_82.RULE b/src/licensedcode/data/rules/cc-by-sa-3.0_82.RULE new file mode 100644 index 00000000000..98e29309749 --- /dev/null +++ b/src/licensedcode/data/rules/cc-by-sa-3.0_82.RULE @@ -0,0 +1,4 @@ +This work is licensed under the Creative Commons Attribution-Share Alike 3.0 +Unported License. To view a copy of this license, visit +http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative +Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc-by-sa-3.0_82.yml b/src/licensedcode/data/rules/cc-by-sa-3.0_82.yml new file mode 100644 index 00000000000..de8c0143186 --- /dev/null +++ b/src/licensedcode/data/rules/cc-by-sa-3.0_82.yml @@ -0,0 +1,5 @@ +license_expression: cc-by-sa-3.0 +is_license_notice: yes +relevance: 100 +ignorable_urls: + - http://creativecommons.org/licenses/by-sa/3.0/ diff --git a/src/licensedcode/data/rules/cc-sampling-plus-1.0_2.RULE b/src/licensedcode/data/rules/cc-sampling-plus-1.0_2.RULE new file mode 100644 index 00000000000..36e6a1a72bc --- /dev/null +++ b/src/licensedcode/data/rules/cc-sampling-plus-1.0_2.RULE @@ -0,0 +1,2 @@ +licensed under the Creative Commons Sampling Plus 1.0 License. +You can find the full text in license.txt. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc-sampling-plus-1.0_2.yml b/src/licensedcode/data/rules/cc-sampling-plus-1.0_2.yml new file mode 100644 index 00000000000..c42c420981f --- /dev/null +++ b/src/licensedcode/data/rules/cc-sampling-plus-1.0_2.yml @@ -0,0 +1,5 @@ +license_expression: cc-sampling-plus-1.0 +is_license_notice: yes +referenced_filenames: + - license.txt +relevance: 100 diff --git a/src/licensedcode/data/rules/cc-sampling-plus-1.0_3.RULE b/src/licensedcode/data/rules/cc-sampling-plus-1.0_3.RULE new file mode 100644 index 00000000000..264b86645df --- /dev/null +++ b/src/licensedcode/data/rules/cc-sampling-plus-1.0_3.RULE @@ -0,0 +1 @@ +licensed under the Creative Commons Sampling Plus 1.0 License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc-sampling-plus-1.0_3.yml b/src/licensedcode/data/rules/cc-sampling-plus-1.0_3.yml new file mode 100644 index 00000000000..acc33c26c27 --- /dev/null +++ b/src/licensedcode/data/rules/cc-sampling-plus-1.0_3.yml @@ -0,0 +1,3 @@ +license_expression: cc-sampling-plus-1.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cc-sampling-plus-1.0_4.RULE b/src/licensedcode/data/rules/cc-sampling-plus-1.0_4.RULE new file mode 100644 index 00000000000..8a82fd681ab --- /dev/null +++ b/src/licensedcode/data/rules/cc-sampling-plus-1.0_4.RULE @@ -0,0 +1,6 @@ +licensed under the Creative Commons Sampling Plus 1.0 License. +You can find the full text in license.txt. + +This license has been chosen as the majority all of the original samples +are licensed under the Creative Commons Sampling Plus 1.0 License with +the exception of a single original sample under public domain. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc-sampling-plus-1.0_4.yml b/src/licensedcode/data/rules/cc-sampling-plus-1.0_4.yml new file mode 100644 index 00000000000..c42c420981f --- /dev/null +++ b/src/licensedcode/data/rules/cc-sampling-plus-1.0_4.yml @@ -0,0 +1,5 @@ +license_expression: cc-sampling-plus-1.0 +is_license_notice: yes +referenced_filenames: + - license.txt +relevance: 100 diff --git a/src/licensedcode/data/rules/cc-sampling-plus-1.0_5.RULE b/src/licensedcode/data/rules/cc-sampling-plus-1.0_5.RULE new file mode 100644 index 00000000000..1c1761abfdb --- /dev/null +++ b/src/licensedcode/data/rules/cc-sampling-plus-1.0_5.RULE @@ -0,0 +1 @@ +Creative Commons Sampling Plus 1.0 License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc-sampling-plus-1.0_5.yml b/src/licensedcode/data/rules/cc-sampling-plus-1.0_5.yml new file mode 100644 index 00000000000..143a90164cf --- /dev/null +++ b/src/licensedcode/data/rules/cc-sampling-plus-1.0_5.yml @@ -0,0 +1,3 @@ +license_expression: cc-sampling-plus-1.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cc-sampling-plus-1.0_6.RULE b/src/licensedcode/data/rules/cc-sampling-plus-1.0_6.RULE new file mode 100644 index 00000000000..531c9bc6328 --- /dev/null +++ b/src/licensedcode/data/rules/cc-sampling-plus-1.0_6.RULE @@ -0,0 +1,2 @@ +licensed under the Creative Commons Sampling Plus 1.0 License with +the exception of a single original sample under public domain. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc-sampling-plus-1.0_6.yml b/src/licensedcode/data/rules/cc-sampling-plus-1.0_6.yml new file mode 100644 index 00000000000..acc33c26c27 --- /dev/null +++ b/src/licensedcode/data/rules/cc-sampling-plus-1.0_6.yml @@ -0,0 +1,3 @@ +license_expression: cc-sampling-plus-1.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cddl-1.0_62.RULE b/src/licensedcode/data/rules/cddl-1.0_62.RULE new file mode 100644 index 00000000000..bbdb9aed909 --- /dev/null +++ b/src/licensedcode/data/rules/cddl-1.0_62.RULE @@ -0,0 +1,363 @@ +COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 + +1. Definitions. + + 1.1. "Contributor" means each individual or entity that creates + or contributes to the creation of Modifications. + + 1.2. "Contributor Version" means the combination of the Original + Software, prior Modifications used by a Contributor (if any), + and the Modifications made by that particular Contributor. + + 1.3. "Covered Software" means (a) the Original Software, or (b) + Modifications, or (c) the combination of files containing + Original Software with files containing Modifications, in + each case including portions thereof. + + 1.4. "Executable" means the Covered Software in any form other + than Source Code. + + 1.5. "Initial Developer" means the individual or entity that first + makes Original Software available under this License. + + 1.6. "Larger Work" means a work which combines Covered Software or + portions thereof with code not governed by the terms of this + License. + + 1.7. "License" means this document. + + 1.8. "Licensable" means having the right to grant, to the maximum + extent possible, whether at the time of the initial grant or + subsequently acquired, any and all of the rights conveyed + herein. + + 1.9. "Modifications" means the Source Code and Executable form of + any of the following: + + A. Any file that results from an addition to, deletion from or + modification of the contents of a file containing Original + Software or previous Modifications; + + B. Any new file that contains any part of the Original + Software or previous Modifications; or + + C. Any new file that is contributed or otherwise made + available under the terms of this License. + + 1.10. "Original Software" means the Source Code and Executable + form of computer software code that is originally released + under this License. + + 1.11. "Patent Claims" means any patent claim(s), now owned or + hereafter acquired, including without limitation, method, + process, and apparatus claims, in any patent Licensable by + grantor. + + 1.12. "Source Code" means (a) the common form of computer software + code in which modifications are made and (b) associated + documentation included in or with such code. + + 1.13. "You" (or "Your") means an individual or a legal entity + exercising rights under, and complying with all of the terms + of, this License. For legal entities, "You" includes any + entity which controls, is controlled by, or is under common + control with You. For purposes of this definition, + "control" means (a) the power, direct or indirect, to cause + the direction or management of such entity, whether by + contract or otherwise, or (b) ownership of more than fifty + percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants. + + 2.1. The Initial Developer Grant. + + Conditioned upon Your compliance with Section 3.1 below and + subject to third party intellectual property claims, the Initial + Developer hereby grants You a world-wide, royalty-free, + non-exclusive license: + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Initial Developer, to use, + reproduce, modify, display, perform, sublicense and + distribute the Original Software (or portions thereof), + with or without Modifications, and/or as part of a Larger + Work; and + + (b) under Patent Claims infringed by the making, using or + selling of Original Software, to make, have made, use, + practice, sell, and offer for sale, and/or otherwise + dispose of the Original Software (or portions thereof). + + (c) The licenses granted in Sections 2.1(a) and (b) are + effective on the date Initial Developer first distributes + or otherwise makes the Original Software available to a + third party under the terms of this License. + + (d) Notwithstanding Section 2.1(b) above, no patent license is + granted: (1) for code that You delete from the Original + Software, or (2) for infringements caused by: (i) the + modification of the Original Software, or (ii) the + combination of the Original Software with other software + or devices. + + 2.2. Contributor Grant. + + Conditioned upon Your compliance with Section 3.1 below and + subject to third party intellectual property claims, each + Contributor hereby grants You a world-wide, royalty-free, + non-exclusive license: + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Contributor to use, reproduce, + modify, display, perform, sublicense and distribute the + Modifications created by such Contributor (or portions + thereof), either on an unmodified basis, with other + Modifications, as Covered Software and/or as part of a + Larger Work; and + + (b) under Patent Claims infringed by the making, using, or + selling of Modifications made by that Contributor either + alone and/or in combination with its Contributor Version + (or portions of such combination), to make, use, sell, + offer for sale, have made, and/or otherwise dispose of: + (1) Modifications made by that Contributor (or portions + thereof); and (2) the combination of Modifications made by + that Contributor with its Contributor Version (or portions + of such combination). + + (c) The licenses granted in Sections 2.2(a) and 2.2(b) are + effective on the date Contributor first distributes or + otherwise makes the Modifications available to a third + party. + + (d) Notwithstanding Section 2.2(b) above, no patent license is + granted: (1) for any code that Contributor has deleted + from the Contributor Version; (2) for infringements caused + by: (i) third party modifications of Contributor Version, + or (ii) the combination of Modifications made by that + Contributor with other software (except as part of the + Contributor Version) or other devices; or (3) under Patent + Claims infringed by Covered Software in the absence of + Modifications made by that Contributor. + +3. Distribution Obligations. + + 3.1. Availability of Source Code. + + Any Covered Software that You distribute or otherwise make + available in Executable form must also be made available in Source + Code form and that Source Code form must be distributed only under + the terms of this License. You must include a copy of this + License with every copy of the Source Code form of the Covered + Software You distribute or otherwise make available. You must + inform recipients of any such Covered Software in Executable form + as to how they can obtain such Covered Software in Source Code + form in a reasonable manner on or through a medium customarily + used for software exchange. + + 3.2. Modifications. + + The Modifications that You create or to which You contribute are + governed by the terms of this License. You represent that You + believe Your Modifications are Your original creation(s) and/or + You have sufficient rights to grant the rights conveyed by this + License. + + 3.3. Required Notices. + + You must include a notice in each of Your Modifications that + identifies You as the Contributor of the Modification. You may + not remove or alter any copyright, patent or trademark notices + contained within the Covered Software, or any notices of licensing + or any descriptive text giving attribution to any Contributor or + the Initial Developer. + + 3.4. Application of Additional Terms. + + You may not offer or impose any terms on any Covered Software in + Source Code form that alters or restricts the applicable version + of this License or the recipients' rights hereunder. You may + choose to offer, and to charge a fee for, warranty, support, + indemnity or liability obligations to one or more recipients of + Covered Software. However, you may do so only on Your own behalf, + and not on behalf of the Initial Developer or any Contributor. + You must make it absolutely clear that any such warranty, support, + indemnity or liability obligation is offered by You alone, and You + hereby agree to indemnify the Initial Developer and every + Contributor for any liability incurred by the Initial Developer or + such Contributor as a result of warranty, support, indemnity or + liability terms You offer. + + 3.5. Distribution of Executable Versions. + + You may distribute the Executable form of the Covered Software + under the terms of this License or under the terms of a license of + Your choice, which may contain terms different from this License, + provided that You are in compliance with the terms of this License + and that the license for the Executable form does not attempt to + limit or alter the recipient's rights in the Source Code form from + the rights set forth in this License. If You distribute the + Covered Software in Executable form under a different license, You + must make it absolutely clear that any terms which differ from + this License are offered by You alone, not by the Initial + Developer or Contributor. You hereby agree to indemnify the + Initial Developer and every Contributor for any liability incurred + by the Initial Developer or such Contributor as a result of any + such terms You offer. + + 3.6. Larger Works. + + You may create a Larger Work by combining Covered Software with + other code not governed by the terms of this License and + distribute the Larger Work as a single product. In such a case, + You must make sure the requirements of this License are fulfilled + for the Covered Software. + +4. Versions of the License. + + 4.1. New Versions. + + Sun Microsystems, Inc. is the initial license steward and may + publish revised and/or new versions of this License from time to + time. Each version will be given a distinguishing version number. + Except as provided in Section 4.3, no one other than the license + steward has the right to modify this License. + + 4.2. Effect of New Versions. + + You may always continue to use, distribute or otherwise make the + Covered Software available under the terms of the version of the + License under which You originally received the Covered Software. + If the Initial Developer includes a notice in the Original + Software prohibiting it from being distributed or otherwise made + available under any subsequent version of the License, You must + distribute and make the Covered Software available under the terms + of the version of the License under which You originally received + the Covered Software. Otherwise, You may also choose to use, + distribute or otherwise make the Covered Software available under + the terms of any subsequent version of the License published by + the license steward. + + 4.3. Modified Versions. + + When You are an Initial Developer and You want to create a new + license for Your Original Software, You may create and use a + modified version of this License if You: (a) rename the license + and remove any references to the name of the license steward + (except to note that the license differs from this License); and + (b) otherwise make it clear that the license contains terms which + differ from this License. + +5. DISCLAIMER OF WARRANTY. + + COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" + BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, + INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED + SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR + PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND + PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY + COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE + INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY + NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF + WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF + ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS + DISCLAIMER. + +6. TERMINATION. + + 6.1. This License and the rights granted hereunder will terminate + automatically if You fail to comply with terms herein and fail to + cure such breach within 30 days of becoming aware of the breach. + Provisions which, by their nature, must remain in effect beyond + the termination of this License shall survive. + + 6.2. If You assert a patent infringement claim (excluding + declaratory judgment actions) against Initial Developer or a + Contributor (the Initial Developer or Contributor against whom You + assert such claim is referred to as "Participant") alleging that + the Participant Software (meaning the Contributor Version where + the Participant is a Contributor or the Original Software where + the Participant is the Initial Developer) directly or indirectly + infringes any patent, then any and all rights granted directly or + indirectly to You by such Participant, the Initial Developer (if + the Initial Developer is not the Participant) and all Contributors + under Sections 2.1 and/or 2.2 of this License shall, upon 60 days + notice from Participant terminate prospectively and automatically + at the expiration of such 60 day notice period, unless if within + such 60 day period You withdraw Your claim with respect to the + Participant Software against such Participant either unilaterally + or pursuant to a written agreement with Participant. + + 6.3. In the event of termination under Sections 6.1 or 6.2 above, + all end user licenses that have been validly granted by You or any + distributor hereunder prior to termination (excluding licenses + granted to You by any distributor) shall survive termination. + +7. LIMITATION OF LIABILITY. + + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE + INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF + COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE + LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR + CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT + LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK + STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER + COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN + INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF + LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL + INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT + APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO + NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR + CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT + APPLY TO YOU. + +8. U.S. GOVERNMENT END USERS. + + The Covered Software is a "commercial item," as that term is + defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial + computer software" (as that term is defined at 48 + C.F.R. 252.227-7014(a)(1)) and "commercial computer software + documentation" as such terms are used in 48 C.F.R. 12.212 + (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 + C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all + U.S. Government End Users acquire Covered Software with only those + rights set forth herein. This U.S. Government Rights clause is in + lieu of, and supersedes, any other FAR, DFAR, or other clause or + provision that addresses Government rights in computer software + under this License. + +9. MISCELLANEOUS. + + This License represents the complete agreement concerning subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. This License shall be governed + by the law of the jurisdiction specified in a notice contained + within the Original Software (except to the extent applicable law, + if any, provides otherwise), excluding such jurisdiction's + conflict-of-law provisions. Any litigation relating to this + License shall be subject to the jurisdiction of the courts located + in the jurisdiction and venue specified in a notice contained + within the Original Software, with the losing party responsible + for costs, including, without limitation, court costs and + reasonable attorneys' fees and expenses. The application of the + United Nations Convention on Contracts for the International Sale + of Goods is expressly excluded. Any law or regulation which + provides that the language of a contract shall be construed + against the drafter shall not apply to this License. You agree + that You alone are responsible for compliance with the United + States export administration regulations (and the export control + laws and regulation of any other countries) when You use, + distribute or otherwise make available any Covered Software. + +10. RESPONSIBILITY FOR CLAIMS. + + As between Initial Developer and the Contributors, each party is + responsible for claims and damages arising, directly or + indirectly, out of its utilization of rights under this License + and You agree to work with Initial Developer and Contributors to + distribute such responsibility on an equitable basis. Nothing + herein is intended or shall be deemed to constitute any admission + of liability. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cddl-1.0_62.yml b/src/licensedcode/data/rules/cddl-1.0_62.yml new file mode 100644 index 00000000000..779d34c6f71 --- /dev/null +++ b/src/licensedcode/data/rules/cddl-1.0_62.yml @@ -0,0 +1,3 @@ +license_expression: cddl-1.0 +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cddl-1.0_63.RULE b/src/licensedcode/data/rules/cddl-1.0_63.RULE new file mode 100644 index 00000000000..01243562f29 --- /dev/null +++ b/src/licensedcode/data/rules/cddl-1.0_63.RULE @@ -0,0 +1,10 @@ +* The contents of this file are subject to the terms of the Common + * Development and Distribution License (the "License") version 1.0 + * and no later version. You may not use this file except in + * compliance with the License. + * + * You can obtain a copy of the License at + * http://www.opensource.org/licenses/cddl1.php + * + * See the License for the specific language governing permissions + * and limitations under the License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cddl-1.0_63.yml b/src/licensedcode/data/rules/cddl-1.0_63.yml new file mode 100644 index 00000000000..7984a5f0b24 --- /dev/null +++ b/src/licensedcode/data/rules/cddl-1.0_63.yml @@ -0,0 +1,6 @@ +license_expression: cddl-1.0 +is_license_notice: yes +relevance: 100 +notes: CDDL worded like an Apache notice +ignorable_urls: + - http://www.opensource.org/licenses/cddl1.php diff --git a/src/licensedcode/data/rules/cddl-1.0_64.RULE b/src/licensedcode/data/rules/cddl-1.0_64.RULE new file mode 100644 index 00000000000..434eec4a296 --- /dev/null +++ b/src/licensedcode/data/rules/cddl-1.0_64.RULE @@ -0,0 +1 @@ +Driver is licensed under the CDDL 1.0. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cddl-1.0_64.yml b/src/licensedcode/data/rules/cddl-1.0_64.yml new file mode 100644 index 00000000000..29e623ee8f6 --- /dev/null +++ b/src/licensedcode/data/rules/cddl-1.0_64.yml @@ -0,0 +1,3 @@ +license_expression: cddl-1.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cddl-1.0_65.RULE b/src/licensedcode/data/rules/cddl-1.0_65.RULE new file mode 100644 index 00000000000..2055bf253e2 --- /dev/null +++ b/src/licensedcode/data/rules/cddl-1.0_65.RULE @@ -0,0 +1 @@ +licensed under the CDDL 1.0. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cddl-1.0_65.yml b/src/licensedcode/data/rules/cddl-1.0_65.yml new file mode 100644 index 00000000000..29e623ee8f6 --- /dev/null +++ b/src/licensedcode/data/rules/cddl-1.0_65.yml @@ -0,0 +1,3 @@ +license_expression: cddl-1.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/commercial-license_70.RULE b/src/licensedcode/data/rules/commercial-license_70.RULE new file mode 100644 index 00000000000..65984c16eef --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_70.RULE @@ -0,0 +1 @@ +require a commercial license to be used in a commercial business. \ No newline at end of file diff --git a/src/licensedcode/data/rules/commercial-license_70.yml b/src/licensedcode/data/rules/commercial-license_70.yml new file mode 100644 index 00000000000..d7cf75abec5 --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_70.yml @@ -0,0 +1,3 @@ +license_expression: commercial-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/commercial-license_71.RULE b/src/licensedcode/data/rules/commercial-license_71.RULE new file mode 100644 index 00000000000..8c0563946cc --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_71.RULE @@ -0,0 +1 @@ +require a commercial license to be used \ No newline at end of file diff --git a/src/licensedcode/data/rules/commercial-license_71.yml b/src/licensedcode/data/rules/commercial-license_71.yml new file mode 100644 index 00000000000..d7cf75abec5 --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_71.yml @@ -0,0 +1,3 @@ +license_expression: commercial-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/commercial-license_72.RULE b/src/licensedcode/data/rules/commercial-license_72.RULE new file mode 100644 index 00000000000..e0ec27bfde1 --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_72.RULE @@ -0,0 +1 @@ +Commercial licenses, which includes support, can be purchased \ No newline at end of file diff --git a/src/licensedcode/data/rules/commercial-license_72.yml b/src/licensedcode/data/rules/commercial-license_72.yml new file mode 100644 index 00000000000..d7cf75abec5 --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_72.yml @@ -0,0 +1,3 @@ +license_expression: commercial-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/commercial-license_73.RULE b/src/licensedcode/data/rules/commercial-license_73.RULE new file mode 100644 index 00000000000..ff81f1f6497 --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_73.RULE @@ -0,0 +1,5 @@ +* NOTICE OF LICENSE +* This source file is subject to a commercial license from +* Use, copy, modification or distribution of this source file without written +* license agreement from the ecommence is strictly forbidden. +* In order to obtain a license, please contact us: \ No newline at end of file diff --git a/src/licensedcode/data/rules/commercial-license_73.yml b/src/licensedcode/data/rules/commercial-license_73.yml new file mode 100644 index 00000000000..d7cf75abec5 --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_73.yml @@ -0,0 +1,3 @@ +license_expression: commercial-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/commercial-license_74.RULE b/src/licensedcode/data/rules/commercial-license_74.RULE new file mode 100644 index 00000000000..19202518d1b --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_74.RULE @@ -0,0 +1,2 @@ +* This source file is subject to a commercial license +* \ No newline at end of file diff --git a/src/licensedcode/data/rules/commercial-license_74.yml b/src/licensedcode/data/rules/commercial-license_74.yml new file mode 100644 index 00000000000..d7cf75abec5 --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_74.yml @@ -0,0 +1,3 @@ +license_expression: commercial-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/commercial-license_75.RULE b/src/licensedcode/data/rules/commercial-license_75.RULE new file mode 100644 index 00000000000..5ed536febf6 --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_75.RULE @@ -0,0 +1,4 @@ +* This source file is subject to a commercial license from +* Use, copy, modification or distribution of this source file without written +* license agreement from the is strictly forbidden. +* In order to obtain a license, please contact us: \ No newline at end of file diff --git a/src/licensedcode/data/rules/commercial-license_75.yml b/src/licensedcode/data/rules/commercial-license_75.yml new file mode 100644 index 00000000000..d7cf75abec5 --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_75.yml @@ -0,0 +1,3 @@ +license_expression: commercial-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cpal-1.0_27.RULE b/src/licensedcode/data/rules/cpal-1.0_27.RULE new file mode 100644 index 00000000000..64702ee6a73 --- /dev/null +++ b/src/licensedcode/data/rules/cpal-1.0_27.RULE @@ -0,0 +1,28 @@ +The contents of this file are subject to the Common Public Attribution License +Version 1.0 (the “License”); you may not use this file except in compliance with +the License. You may obtain a copy of the License at _____. The License is based +on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added +to cover use of software over a computer network and provide for limited +attribution for the Original Developer. In addition, Exhibit A has been modified +to be consistent with Exhibit B. + +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 Original Developer is not the Initial Developer and is _____ . If left +blank, the Original Developer is the Initial Developer. +The Initial Developer of the Original Code is _____ . All portions of the code +written by _____ are Copyright (c) _____ . All Rights Reserved. +Contributor _____ . + +Alternatively, the contents of this file may be used under the terms of the +_____ license (the [____] License), in which case the provisions of [____] +License are applicable instead of those above. If you wish to allow use of your +version of this file only under the terms of the [____] License and not to allow +others to use your version of this file under the CPAL, indicate your decision +by deleting the provisions above and replace them with the notice and other +provisions required by the [____] License. If you do not delete the provisions +above, a recipient may use your version of this file under either the CPAL or +the [____] License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cpal-1.0_27.yml b/src/licensedcode/data/rules/cpal-1.0_27.yml new file mode 100644 index 00000000000..589043c9574 --- /dev/null +++ b/src/licensedcode/data/rules/cpal-1.0_27.yml @@ -0,0 +1,3 @@ +license_expression: cpal-1.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/false-positive_7372.RULE b/src/licensedcode/data/rules/false-positive_7372.RULE new file mode 100644 index 00000000000..836d34f8f96 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7372.RULE @@ -0,0 +1 @@ +For `AutoIt `_ files. \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7372.yml b/src/licensedcode/data/rules/false-positive_7372.yml new file mode 100644 index 00000000000..c9419feb159 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7372.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: Note a license, but a comment about licenses. diff --git a/src/licensedcode/data/rules/false-positive_7373.RULE b/src/licensedcode/data/rules/false-positive_7373.RULE new file mode 100644 index 00000000000..388a23598eb --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7373.RULE @@ -0,0 +1,2 @@ +AutoIt is a freeware BASIC-like scripting language +designed for automating the Windows GUI and general scripting \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7373.yml b/src/licensedcode/data/rules/false-positive_7373.yml new file mode 100644 index 00000000000..c9419feb159 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7373.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: Note a license, but a comment about licenses. diff --git a/src/licensedcode/data/rules/false-positive_7374.RULE b/src/licensedcode/data/rules/false-positive_7374.RULE new file mode 100644 index 00000000000..576f28e4a50 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7374.RULE @@ -0,0 +1 @@ +https://licenses.nuget.org/{0} \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7374.yml b/src/licensedcode/data/rules/false-positive_7374.yml new file mode 100644 index 00000000000..af1565b090a --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7374.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: seen in nuget.exe diff --git a/src/licensedcode/data/rules/false-positive_7375.RULE b/src/licensedcode/data/rules/false-positive_7375.RULE new file mode 100644 index 00000000000..b5438489cfd --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7375.RULE @@ -0,0 +1 @@ +errors in public domain \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7375.yml b/src/licensedcode/data/rules/false-positive_7375.yml new file mode 100644 index 00000000000..720d0fe756c --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7375.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: not a public domain statement diff --git a/src/licensedcode/data/rules/false-positive_7376.RULE b/src/licensedcode/data/rules/false-positive_7376.RULE new file mode 100644 index 00000000000..cf300ed5592 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7376.RULE @@ -0,0 +1 @@ +in the public domain or a new error \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7376.yml b/src/licensedcode/data/rules/false-positive_7376.yml new file mode 100644 index 00000000000..720d0fe756c --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7376.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: not a public domain statement diff --git a/src/licensedcode/data/rules/false-positive_7377.RULE b/src/licensedcode/data/rules/false-positive_7377.RULE new file mode 100644 index 00000000000..931320cabfa --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7377.RULE @@ -0,0 +1 @@ +SsPl; D \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7377.yml b/src/licensedcode/data/rules/false-positive_7377.yml new file mode 100644 index 00000000000..bf91c215c3d --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7377.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: not an SSPL reference diff --git a/src/licensedcode/data/rules/false-positive_7378.RULE b/src/licensedcode/data/rules/false-positive_7378.RULE new file mode 100644 index 00000000000..5f9def58ae9 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7378.RULE @@ -0,0 +1 @@ +questions about the GPL, LGPL licenses \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7378.yml b/src/licensedcode/data/rules/false-positive_7378.yml new file mode 100644 index 00000000000..bd185ea4f64 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7378.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: comments about licenses seen in a README diff --git a/src/licensedcode/data/rules/false-positive_7379.RULE b/src/licensedcode/data/rules/false-positive_7379.RULE new file mode 100644 index 00000000000..fa73093793f --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7379.RULE @@ -0,0 +1 @@ +the Free Software Foundation's GPL FAQ \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7379.yml b/src/licensedcode/data/rules/false-positive_7379.yml new file mode 100644 index 00000000000..bd185ea4f64 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7379.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: comments about licenses seen in a README diff --git a/src/licensedcode/data/rules/false-positive_7380.RULE b/src/licensedcode/data/rules/false-positive_7380.RULE new file mode 100644 index 00000000000..83564557844 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7380.RULE @@ -0,0 +1 @@ +licenses like the X11, BSD licenses \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7380.yml b/src/licensedcode/data/rules/false-positive_7380.yml new file mode 100644 index 00000000000..bd185ea4f64 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7380.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: comments about licenses seen in a README diff --git a/src/licensedcode/data/rules/false-positive_7381.RULE b/src/licensedcode/data/rules/false-positive_7381.RULE new file mode 100644 index 00000000000..4cc5b3e1364 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7381.RULE @@ -0,0 +1 @@ +summarises some exceptions to the general BSD-like copyright \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7381.yml b/src/licensedcode/data/rules/false-positive_7381.yml new file mode 100644 index 00000000000..505fd369954 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7381.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: Seen in Unzip Info-ZIP file COPYING. A commentary about licenses. diff --git a/src/licensedcode/data/rules/false-positive_7382.RULE b/src/licensedcode/data/rules/false-positive_7382.RULE new file mode 100644 index 00000000000..8950d5da725 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7382.RULE @@ -0,0 +1,4 @@ +COPYING.FDL \ +COPYING.GPL \ +COPYING.LGPL \ +COPYING.Xiph \ \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7382.yml b/src/licensedcode/data/rules/false-positive_7382.yml new file mode 100644 index 00000000000..affea59e270 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7382.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: seen in some flac files diff --git a/src/licensedcode/data/rules/false-positive_7383.RULE b/src/licensedcode/data/rules/false-positive_7383.RULE new file mode 100644 index 00000000000..7020c58cd76 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7383.RULE @@ -0,0 +1 @@ +some License a Private \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7383.yml b/src/licensedcode/data/rules/false-positive_7383.yml new file mode 100644 index 00000000000..30fdf1ae40f --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7383.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: not a license diff --git a/src/licensedcode/data/rules/license-intro_37.RULE b/src/licensedcode/data/rules/license-intro_37.RULE new file mode 100644 index 00000000000..1e9471eeff3 --- /dev/null +++ b/src/licensedcode/data/rules/license-intro_37.RULE @@ -0,0 +1,2 @@ +The majority of the source code and the collective work is subject +to the following license: \ No newline at end of file diff --git a/src/licensedcode/data/rules/license-intro_37.yml b/src/licensedcode/data/rules/license-intro_37.yml new file mode 100644 index 00000000000..4254c8e2c41 --- /dev/null +++ b/src/licensedcode/data/rules/license-intro_37.yml @@ -0,0 +1,3 @@ +license_expression: unknown-license-reference +is_license_intro: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/license-intro_38.RULE b/src/licensedcode/data/rules/license-intro_38.RULE new file mode 100644 index 00000000000..84f84d6274d --- /dev/null +++ b/src/licensedcode/data/rules/license-intro_38.RULE @@ -0,0 +1 @@ +distributed under the following license terms: \ No newline at end of file diff --git a/src/licensedcode/data/rules/license-intro_38.yml b/src/licensedcode/data/rules/license-intro_38.yml new file mode 100644 index 00000000000..4254c8e2c41 --- /dev/null +++ b/src/licensedcode/data/rules/license-intro_38.yml @@ -0,0 +1,3 @@ +license_expression: unknown-license-reference +is_license_intro: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/license-intro_39.RULE b/src/licensedcode/data/rules/license-intro_39.RULE new file mode 100644 index 00000000000..9528055a26b --- /dev/null +++ b/src/licensedcode/data/rules/license-intro_39.RULE @@ -0,0 +1 @@ +released under the following license: \ No newline at end of file diff --git a/src/licensedcode/data/rules/license-intro_39.yml b/src/licensedcode/data/rules/license-intro_39.yml new file mode 100644 index 00000000000..4254c8e2c41 --- /dev/null +++ b/src/licensedcode/data/rules/license-intro_39.yml @@ -0,0 +1,3 @@ +license_expression: unknown-license-reference +is_license_intro: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/other-copyleft_25.RULE b/src/licensedcode/data/rules/other-copyleft_25.RULE new file mode 100644 index 00000000000..ce8361a4fff --- /dev/null +++ b/src/licensedcode/data/rules/other-copyleft_25.RULE @@ -0,0 +1,11 @@ +Additional permission under GNU GPL version 3 section 7 : + +If you modify this Program, or any covered work, by linking or combining it with other software covered by the terms of any of the licenses classified as free software license by the Free Software Foundation + + , + +or any of the Open Source Initiative approved licenses + + , + +the licensors of this Program grant you additional permission to convey the resulting work. Corresponding Source for a non-source form of such a combination shall include the source code for all other software used as well as that of the covered work. \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-copyleft_25.yml b/src/licensedcode/data/rules/other-copyleft_25.yml new file mode 100644 index 00000000000..7fca0e78e74 --- /dev/null +++ b/src/licensedcode/data/rules/other-copyleft_25.yml @@ -0,0 +1,9 @@ +license_expression: other-copyleft +is_license_notice: yes +relevance: 100 +notes: This exception-like notices is not really an exception and just allows to use GPL-licensed + code with other FOSS code as log as this other code is redistributed in source form too. + Seen in https://www.nexedi.com/jobs/NXD-License.FreeSoftware +ignorable_urls: + - http://opensource.org/licenses + - https://www.gnu.org/licenses/license-list.en.html diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_2.RULE b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_2.RULE new file mode 100644 index 00000000000..b972619cf81 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_2.RULE @@ -0,0 +1 @@ +PolyForm-Noncommercial-1.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_2.yml b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_2.yml new file mode 100644 index 00000000000..ed627fe563e --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_2.yml @@ -0,0 +1,3 @@ +license_expression: polyForm-noncommercial-1.0.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_3.RULE b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_3.RULE new file mode 100644 index 00000000000..538ee48fe26 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_3.RULE @@ -0,0 +1 @@ +PolyForm-Non-commercial-1.0.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_3.yml b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_3.yml new file mode 100644 index 00000000000..ed627fe563e --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_3.yml @@ -0,0 +1,3 @@ +license_expression: polyForm-noncommercial-1.0.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_4.RULE b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_4.RULE new file mode 100644 index 00000000000..f49cb5f4590 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_4.RULE @@ -0,0 +1 @@ +[Polyform Noncommercial 1.0.0](https://polyformproject.org/licenses/noncommercial/1.0.0/). \ No newline at end of file diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_4.yml b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_4.yml new file mode 100644 index 00000000000..1a92d5a07f7 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_4.yml @@ -0,0 +1,6 @@ +license_expression: polyform-noncommercial-1.0.0 +is_license_reference: yes +relevance: 100 +ignorable_urls: + - https://polyformproject.org/licenses/noncommercial/1.0.0 + diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_5.RULE b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_5.RULE new file mode 100644 index 00000000000..6b8339fb827 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_5.RULE @@ -0,0 +1 @@ +[Polyform Noncommercial] \ No newline at end of file diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_5.yml b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_5.yml new file mode 100644 index 00000000000..fea1a5d4af5 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_5.yml @@ -0,0 +1,3 @@ +license_expression: polyform-noncommercial-1.0.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_6.RULE b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_6.RULE new file mode 100644 index 00000000000..b1421aadf81 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_6.RULE @@ -0,0 +1 @@ +[Polyform Non commercial] \ No newline at end of file diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_6.yml b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_6.yml new file mode 100644 index 00000000000..fea1a5d4af5 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_6.yml @@ -0,0 +1,3 @@ +license_expression: polyform-noncommercial-1.0.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_7.RULE b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_7.RULE new file mode 100644 index 00000000000..8ba39672dc6 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_7.RULE @@ -0,0 +1 @@ +changed license from LGPL to [Polyform Noncommercial 1.0.0](https://polyformproject.org/licenses/noncommercial/1.0.0/). \ No newline at end of file diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_7.yml b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_7.yml new file mode 100644 index 00000000000..8bc1e8bd001 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_7.yml @@ -0,0 +1,6 @@ +license_expression: polyform-noncommercial-1.0.0 +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://polyformproject.org/licenses/noncommercial/1.0.0 + diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_or_commercial-license_1.RULE b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_or_commercial-license_1.RULE new file mode 100644 index 00000000000..efd4aebadf3 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_or_commercial-license_1.RULE @@ -0,0 +1 @@ +dual license, Polyform Non Commercial / Commercial license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_or_commercial-license_1.yml b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_or_commercial-license_1.yml new file mode 100644 index 00000000000..54f3e86a78f --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_or_commercial-license_1.yml @@ -0,0 +1,3 @@ +license_expression: polyform-noncommercial-1.0.0 OR commercial-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/proprietary-license_558.RULE b/src/licensedcode/data/rules/proprietary-license_558.RULE new file mode 100644 index 00000000000..4f17cc5a2dd --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_558.RULE @@ -0,0 +1,536 @@ +SystemC Open Source License Agreement +(Download, Use and Contribution License Agreement Version 3.3) + +PLEASE READ THIS LICENSE AGREEMENT CAREFULLY BEFORE CLICKING ON THE "ACCEPT" +BUTTON, AS BY CLICKING ON THE "ACCEPT" BUTTON YOU ACKNOWLEDGE THAT YOU +HAVE READ, UNDERSTOOD AND AGREE TO BE BOUND BY THIS LICENSE AGREEMENT AND +ALL OF ITS TERMS AND CONDITIONS. + +Accellera Systems Initiative + +The purpose of the following license agreement (the "Agreement") is to encourage interoperability and +development of a C++ modeling language known as "SystemC" for system simulation and design (the +"Purpose"). The SystemC software and other items licensed hereunder are licensed, without fee of any kind, +for use pursuant to the terms and conditions set forth in this Agreement. + +License Agreement + +THE CONTRIBUTORS ARE WILLING TO LICENSE THEIR RESPECTIVE CONTRIBUTIONS TO YOU ONLY +ON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS OF THIS LICENSE AGREEMENT. IF YOU +DO NOT AGREE TO ALL OF THE TERMS OF THIS LICENSE AGREEMENT, THEN NO RIGHTS ARE +GRANTED TO YOU HEREUNDER TO USE ANY CONTRIBUTIONS. NOTWITHSTANDING ANYTHING TO +CONTRARY, ANY USE, REPRODUCTION OR DISTRIBUTION OF ANY CONTRIBUTION CONSTITUTES +YOUR ACCEPTANCE OF THIS AGREEMENT. + +1. Definitions + +1.1 “Agreement” means this contract. +1.2 “Accellera” means Accellera Systems Initiative, a California nonprofit mutual benefit corporation. +1.3 “Accellera Documentation” means the SystemC language reference manual and any other materials +assigned to Accellera pursuant to the Copyright Agreement. +1.4 “Accellera Release” means a Contribution or combination of Contributions which is developed or +created through the Accellera working group process, and the final work approved for release by a Accellera +working group, approved for release by the Accellera steering group and approved for release by the board of +directors of Accellera. Examples of Accellera Releases include Accellera libraries and Accellera +specifications. Accellera Documentation shall be deemed to be included in the definition of Accellera +Release. +1.5 “Code Contribution” means any Contribution in the form of Source Code. +1.6 “Contribution” means any work of authorship that is deposited or contributed in accordance with +Section 3 in furtherance of the Purpose including, without limitation, libraries, programs, specifications +and User Documentation and Modifications. Without limiting the generality of the foregoing, a list of all +Contributions which were deposited or contributed on or before July 13, 2006 is set forth on Exhibit A +attached hereto and incorporated herein by reference, all of which are considered Contributions pursuant to +this Agreement. A list of all Contributions is available upon written request to Accellera and can also be +found on the Website. For purposes of clarification, all contributions licensed pursuant to that certain +SystemC Open Source License Agreement (Software Download and Use License Agreement Version 2.4) +shall constitute, and be treated as, Contributions pursuant to this Agreement. +1.7 “Copyright Agreement” means any LRM and Copyright Contribution Agreement entered into +between Accellera and the signatory thereto at any time prior to or after the date hereof. +1.8 “ Contribution Questionnaire” means the questionnaire attached hereto as Exhibit C. +1.9 “Contributor” means any person or entity that makes a Contribution pursuant to Section 3. For +purposes of clarification, any person or entity depositing or contributing, as part or all of a Contribution, a +Contribution which has previously been so deposited or contributed is not the Contributor of such re- +deposited Contribution for the purposes of this Agreement. A list of all Contributors is available upon written +request to Accellera and can also be found on the Website. +1.10 “Contributor's Necessary Patent Claims” means those claims of all patents owned or licensable by +Contributor throughout the world that: (1) Contributor has the right to license (within the scope set forth +herein) without the obligation to pay royalties or other consideration to third parties; and (2) are necessarily +and directly infringed solely by the portion of a computer program that either implements, or is compiled +from, either an unmodified Contribution or an Accellera Release. For clarity, Contributor’s Necessary Patent +Claims shall not include any claim directed towards a data structure, method, algorithm, process, technique, +circuit representation, or circuit implementation that is not completely and entirely described either in such +Contributor’s Contribution or in an Accellera Release. Further, a Contributor’s Necessary Patent Claims shall +not include any claim based upon the combination of any Contribution or an Accellera Release with other +works of authorship, to the extent that the Contributor’s Necessary Patent Claims are infringed as a result of +such combination. +1.11 “Copyright Rights” means worldwide statutory and common law rights associated solely with works +of authorship including copyrights, copyright applications, copyright registrations, and “moral rights”. For +purposes of clarification, patents are not included in Copyright Rights. +1.12 “Derivative” or “Derivative work” means a work based upon one or more preexisting works, such +as a translation, condensation, or any other form in which a work may be recast, transformed, or +adapted. A work consisting of editorial revisions, annotations, elaborations, or other modifications, which, +as a whole, represent an original work of authorship, is a “derivative work”. +1.13 “Distribute” means making a Distribution. +1.14 “Distribution” means any distribution, sublicensing or other transfer of a Contribution to any third +party. +1.15 “Documentation” means, collectively, all User Documentation and Accellera Documentation. +1.16 “Marks” means, collectively, the registered and unregistered marks and logos that Accellera has +licensed or otherwise authorized Recipient to use. All marks and logos are listed on Exhibit D, which list +may be amended from time to time by Accellera to add or delete any marks or logos. +1.17 “Modification” means any additions or deletions to any Contribution. +1.18 “Recipient” means any person or entity which receives any Contribution under this Agreement. For +legal entities, “Recipient” includes any entity that controls, is controlled by, or is under common control with +Recipient. For purposes of this Section 1.18, “control” means beneficial ownership of fifty percent (50%) or +more of the outstanding shares or similar interest of such entity entitled to vote for election of the board of +directors or similar managing authority. +1.19 “Source Code” means human readable text in an electronic form suitable for modification that +describe the functions and data structures, including C, C++, and other language modules, plus any associated +interface definition files, scripts used to control compilation and installation of a computer program, or a list +of source code differential comparisons. +1.20 “User Documentation” means all user guides, user manuals and other similar materials related to any +Contribution or an Accellera Release. +1.21 “Website” means Accellera’s internet website located at http://www.accellera.org. + +2. GRANT OF RIGHTS + +2.1 Subject to the terms of this Agreement, each Contributor hereby grants to each Recipient a non- +exclusive, worldwide, royalty-free license under such Contributor's Copyright Rights to do the following: +(a) Use, reproduce, prepare Derivative works of, publicly display, publicly perform and Distribute any +Contributions of such Contributor and Derivative works thereof; and +(b) Use the know-how, information and knowledge embedded in the Contribution, without any +obligation to keep the foregoing confidential so long as the Recipient does not otherwise violate this +Agreement. +2.2 Accellera hereby grants to each Recipient a non-exclusive, worldwide, royalty- free license under +Accellera's Copyright Rights to use, reproduce, prepare Derivative works of, publicly display, publicly +perform and distribute the Accellera Documentation and any Derivative works thereof, subject to the terms +and conditions of this Agreement. +2.3 Subject to the terms of this Agreement, each Contributor hereby grants to each Recipient, a worldwide, +royalty-free, non-exclusive license under such Contributor's Necessary Patent Claims to make, have made, +use, sell, offer for sale, or import: (a) such Contributor's Contributions; (b) those portions of a computer +program that either implements, or is compiled from, the Contributor’s unmodified Contribution; and (c) +those portions of a computer program that implement, or are compiled from, an Accellera Release. +2.4 Each Contributor represents that, to its knowledge, it has sufficient rights in and to each of its +Contributions to grant the licenses set forth in Sections 2.1 and 2.3. Accellera represents that, to its +knowledge, it has sufficient rights in the Accellera Documentation to grant the license set forth in Section +2.2. +2.5 Except as expressly stated in Sections 2.1, 2.2 and 2.3, Recipient receives no rights or licenses to the +intellectual property of any Contributor or Accellera under this Agreement, whether expressly, by implication, +estoppel or otherwise. All rights in and to any Contribution not expressly granted under this Agreement are +reserved. +2.6 Except as specifically set forth in any Copyright Agreement, Contributor shall ensure that transfers or +assignments of all or any part of its right, title, and interest in and to any Contributions contributed or +deposited by Contributor hereunder, including all Copyright Rights and patent rights embodied therein, +shall be subject to the rights expressly granted in this Agreement including, without limitation, the licenses +granted in Sections 2.1 and 2.3. Recipient shall not remove or alter any proprietary notices contained in +the Contributions licensed to Recipient hereunder and shall reproduce and include such notices on any copies +of the Contributions made by Recipient in any media. +2.7 License to Marks. +(a) Accellera shall retain all right, title and interest in and to the Marks worldwide, subject to the +limited license granted to Recipient in this Section 2.7. Accellera hereby grants Recipient a non- +exclusive, royalty-free, limited license to use the Marks solely in connection with its exercise of +the rights granted pursuant to this Agreement and to indicate that the products being marketed by +Recipient are compatible with, and meet the standards of, Accellera Releases. All uses of the Marks +shall be in accordance with Accellera’s trademark usage policy set forth in Exhibit D. +(b) Recipient shall assist Accellera to the extent reasonably necessary to protect and maintain the +Marks worldwide, including, but not limited to, giving prompt notice to Accellera of any known or +potential infringement of the Marks, and cooperating with Accellera in preparing and executing any +documents necessary to register the Marks, or as may be required by the laws or rules of any country +or jurisdiction. In its sole discretion, Accellera may commence, prosecute or defend any action or +claim concerning the Marks. Accellera shall have the right to control any such litigation, and +Recipient shall fully cooperate with Accellera in any such litigation. Accellera shall reimburse +Recipient for the reasonable costs associated with providing such assistance, except to the extent that +such costs result from Recipient’s breach of this Section 2.7. Recipient shall not commence any action +regarding the Marks without Accellera’s prior written consent. +(c) All goodwill with respect to the Marks shall accrue for the sole benefit of Accellera. +Recipient shall maintain the quality of any products, associated packaging, collateral and marketing +materials on which it uses any of the Marks in a manner consistent with all terms, conditions and +requirements set forth in this Section 2.7 and at a level that meets or exceeds Recipient’s overall +reputation for quality and that is at least commensurate with industry standards. +2.8 RECIPIENT UNDERSTANDS THAT ALTHOUGH EACH CONTRIBUTOR AND ACCELLERA GRANTS +THE LICENSES SET FORTH HEREIN, NO ASSURANCES ARE PROVIDED BY ANY CONTRIBUTOR OR +ACCELLERA THAT ANY ACCELLERA RELEASE OR ANY CONTRIBUTION, EITHER ALONE OR IN +COMBINATION WITH ANY OTHER CONTRIBUTION, DOES NOT INFRINGE THE PATENT OR OTHER +INTELLECTUAL PROPERTY RIGHTS OF ANY OTHER ENTITY. MOREOVER, NO ASSURANCES ARE +MADE THAT ANY CONTRIBUTION OF ONE CONTRIBUTOR DOES NOT INFRINGE THE INTELLECTUAL +PROPERTY RIGHTS OF ANOTHER CONTRIBUTOR. EACH CONTRIBUTOR AND ACCELLERA DISCLAIM +ANY LIABILITY TO RECIPIENT FOR CLAIMS BROUGHT BY ANY OTHER ENTITY BASED ON +INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS OR OTHERWISE. In addition, as a condition to +exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For example, if a third party patent license is +required to allow Recipient to distribute a computer program, then it is Recipient's responsibility to acquire +that license before Distributing such computer program. + +3. DESCRIPTION AND DEPOSIT OF CONTRIBUTIONS + +3.1 To the extent Recipient wishes to become a Contributor by making a Contribution, such +Contributor shall: +(a) (i) Deposit such Contribution at the Website according to the Contribution instructions found at +such Website, or (ii) disclose such Contribution at a meeting of any working group of Accellera; +(b) (i) Describe such Contribution in reasonable detail on Exhibit B (including the additions or +changes such Contributor made to create the Contribution and the date of any such changes or +additions), (ii) completing a Contribution Questionnaire with respect to such Contribution, and (iii) +delivering both documents to the Secretary of Accellera. All Contributions made after the date +hereof shall be effectuated by Contributor (x) amending Exhibit B and delivering such amended +Exhibit B to the Secretary of Accellera, which amended exhibit shall automatically replace the existing +Exhibit B, (y) completing a Contribution Questionnaire with respect to such Contribution, and (z) +delivering both documents to the Secretary of Accellera; +(c) Cause such Contribution to contain a file documenting such Contributor's name and contact +information, additions or changes such Contributor made to create the Contribution, and the date of +any such changes or additions; and +(d) Cause such Contribution to include in each file a prominent statement substantially similar to the +following: “Any code contained in this Contribution is derived, directly or indirectly, from the +SystemC source code. Copyright© 1996-[current year here] by all Contributors. All Rights reserved. +The contents of this file are subject to the restrictions and limitations set forth in the SystemC Open +Source License Version 3.1 (the “License”). You may not use this file except in compliance with such +restrictions and limitations. You may obtain instructions on how to receive a copy of the License at +http://www.accellera.org/. Software distributed by Contributors under the License is distributed +exclusively 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.” +3.2 Accellera may from time to time publish policies and procedures regarding the contribution or +depositing of Contributions as well as establish additional details regarding the contribution process. Without +limiting the foregoing, Accellera or the administrators of the Website shall have the right to remove any +Contribution from the Website at any time. + +4. REQUIREMENTS OF DISTRIBUTION + +4.1 A Recipient may choose to Distribute any Contribution or any compilation of multiple Contributions +(except for any Code Contributions) under its own license agreement provided that: +(a) Recipient complies with the terms and conditions of this Agreement; +(b) As between Recipient and any other Contributor, Recipient assumes all warranties and conditions, +express and implied, and all liability for damages arising out of its Distribution; and +(c) Recipient makes available to recipients of such Distribution then Source Code for such +Distributions, and informs them on how to obtain it in a reasonable manner on or through a medium +customarily used for software exchange. +4.2 If a Recipient chooses to Distribute any Code Contribution or compilations of Code Contributions +then: +(a) Such Code Contribution must be Distributed under this Agreement; and +(b) A copy of this Agreement must be included with each copy of such Code Contribution. +4.3 Each Recipient must include the following in a conspicuous location in the Code Contribution so +Distributed: “Copyright© 1996-[current year here], by all Contributors. All rights reserved.” +4.4 In addition, each Recipient that creates and Distributes or otherwise transfers a Modification whether +or not such Modification has been deposited pursuant to Section 3 must identify the originator of such +Modification in a manner that reasonably allows third parties to identify the originator of the Modification. +4.5 A Recipient may choose to Distribute the Accellera Documentation under its own license agreement, +provided that Recipient complies with the terms and conditions of this Agreement. Each Recipient must +include the following in a conspicuous location in the Accellera Documentation so Distributed or transferred: +“Copyright© 1996-[current year here], by Accellera Systems Initiative. All rights reserved.” +In addition, each Recipient that creates and Distributes a modification or Derivative work of the Accellera +Documentation, whether or not such modification or Derivative work has been contributed pursuant to a +Copyright Agreement must identify the originator of such modification or Derivative work in a manner that +reasonably allows third parties to identify the originator of the modification or derivative work. + +5. INDEMNIFICATION + +Any Recipient which Distributes any Contribution and/or Accellera Release (a “Distributor”) may accept +certain responsibilities with respect to end users, business partners and the like. While this license is +intended to facilitate the commercial use of Contributions Accellera Documentation and Accellera +Releases, a Distributor shall Distribute such Contributions, Accellera Documentation and Accellera Releases +in a manner which does not create potential liability for the Contributors. Therefore each Distributor hereby +agrees to defend and indemnify every Contributor (“Indemnified Contributor”) against any losses, +damages and costs (collectively “Losses”) arising from claims, lawsuits and other legal actions brought +by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such +Distributor, including but not limited to the terms and conditions under which Distributor offered such +Contributions, Accellera Documentation and/or Accellera Releases in connection with its Distribution thereof. +The obligations in this Section 5 do not apply to any claims or Losses relating to any actual or alleged +intellectual property infringement of any Contribution, Accellera Documentation or Accellera Release. In +order to qualify, an Indemnified Contributor must: (a) promptly notify the Distributor in writing of such +claim, and (b) allow the Distributor to control, and cooperate with the Distributor in, the defense and any +related settlement negotiations. The Indemnified Contributor may participate in the defense of any such claim +at its own expense. +For example, a Recipient might include a Contribution in a commercial product offering, Product X. That +Recipient is then a Distributor. If that Distributor then makes performance claims, or offers warranties, +support, or indemnity or any other license terms related to Product X, those performance claims, offers and +other terms are such Distributor's responsibility alone. Under this Section 5, the Distributor would have to +defend claims against the Contributors related to those performance claims, offers, and other terms, and if a +court requires any Contributor to pay any damages as a result, the Distributor must pay those damages. + +6. NO WARRANTY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, ALL CONTRIBUTIONS, ACCELLERA +DOCUMENTATION AND ACCELLERA RELEASES ARE PROVIDED EXCLUSIVELY ON AN “AS IS” BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, +WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, +MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. EACH RECIPIENT IS SOLELY +RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS OF ITS USE AND DISTRIBUTION OF ANY +CONTRIBUTION, ACCELLERA DOCUMENTATION AND ACCELLERA RELEASE AND ASSUMES ALL +RISKS ASSOCIATED WITH ITS EXERCISE OF RIGHTS UNDER THIS AGREEMENT, INCLUDING BUT NOT +LIMITED TO THE RISKS AND COSTS OF PROGRAM ERRORS, COMPLIANCE WITH APPLICABLE LAWS, +DAMAGE TO OR LOSS OF DATA, PROGRAMS OR EQUIPMENT, AND UNAVAILABILITY OR +INTERRUPTION OF OPERATIONS. THIS DISCLAIMER OR WARRANTY CONSTITUTES AN ESSENTIAL +PART OF THIS AGREEMENT. NO USE OF ANY CONTRIBUTION, ACCELLERA DOCUMENTATION OR +ACCELLERA RELEASE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +7. DISCLAIMER OF LIABILITY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NONE OF THE RECIPIENTS, CONTRIBUTORS +OR ACCELLERA SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, PUNITIVE, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST +PROFITS), 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 OR DISTRIBUTION OF ANY CONTRIBUTION, ACCELLERA DOCUMENTATION OR ACCELLERA +RELEASE OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + +8. U.S. GOVERNMENT USE + +If Recipient is licensing any computer program on behalf of any unit or agency of the United States +Government, then such computer program is commercial computer software, and, pursuant to FAR 12.212 or +DFARS 227.7202 and their successors, as applicable, shall be licensed to the Government under the terms and +conditions of this Agreement. + +9. PATENT CLAIMS + +If Recipient institutes patent litigation against any entity (including a cross-claim, counterclaim or declaratory +judgment claim in a lawsuit) alleging that any Contribution, Accellera Release or combination of +Contributions (excluding combinations of any Contribution with other software or hardware) infringes such +Recipient's patent(s), then the rights granted to Recipient by each Contributor under Section 2 shall terminate +as of the date such litigation is filed. + +10. TERMINATION + +All Recipient's rights under this Agreement shall terminate if Recipient fails to comply with any of the +material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If such occurs, Recipient shall cease all use and Distribution of +any Contributions of any other Contributor, Accellera Documentation and Accellera Releases based upon the +rights granted to Recipient under this Agreement as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by Recipient relating to any +Contributions shall survive such termination. + +11. LICENSE VERSIONS + +Accellera may publish new versions (including revisions) of this Agreement from time to time. Each +new version of the Agreement will be given a distinguishing version number. Any Contribution, Accellera +Documentation or Accellera Release may always be Distributed subject to the version of the Agreement under +which it was received. In addition, after a new version of the Agreement is published, Contributor may elect +to Distribute any Contribution, Accellera Documentation or Accellera Release under the new version. No +one other than Accellera, acting by a vote of at least seventy five percent (75%) of the members of its Board +of Directors, has the right to modify this Agreement; provided that Exhibit B and Exhibit C may be amended +as specifically set forth in Section 3.1(b), and Exhibit D may be amended as specifically set forth in Section +1.13. + +12. ELECTRONIC ACCEPTANCE + +This Agreement may be executed either electronically or on paper. If this Agreement is executed +electronically, by clicking on the “Accept” button, Recipient warrants that it agrees to all of the terms of this +Agreement, that Recipient is authorized to enter into this Agreement, and that this Agreement is legally +binding upon Recipient. If Recipient does not agree to be bound by this Agreement, then Recipient shall +click the “Decline” button and Recipient shall not receive any rights from the Contributors nor shall +Recipient download any Contributions, Accellera Documentation or Accellera Releases. + +13. GENERAL + +This Agreement represents the complete agreement concerning the subject matter hereof and supersedes all +prior agreements or representations, oral or written, regarding the subject matter hereof. If any provision of +this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or +enforceability of the remainder of the terms of this Agreement, and without further action by the parties +hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and +enforceable. This Agreement shall be executed in multiple counterparts (either electronically and/or on paper), +each of which shall be deemed to be an original, but all of which shall be one and the same Agreement. A +facsimile or other copy of the Agreement shall have the same force and effect as an originally executed copy +thereof. +This Agreement is governed by the laws of California, without reference to conflict of laws principles. Each +party waives its rights to a jury trial in any resulting litigation. Any litigation relating to this Agreement shall +be subject to the jurisdiction of the Federal Courts of the Northern District of California, with venue lying in +Santa Clara County, California, or the Santa Clara County Superior Court. The application of the United +Nations Convention on Contracts for the International Sale of Goods is expressly excluded. The provisions of +this Agreement shall be construed fairly in accordance with its terms and no rules of construction for or +against either party shall be applied in the interpreting this Agreement. Recipient shall not use any +Contribution, Accellera Documentation or Accellera Release in violation of local and other applicable laws +including, but not limited to, the export control laws of the United States. + + + +IN WITNESS WHEREOF, duly authorized representatives of the parties have executed and delivered this +Agreement as of the later of the dates set forth below. + +RECIPIENT: +By: +Name: +Its: +Date: +ACCELLERA SYSTEMS INITIATIVE: +By: +Name: +Its: +Date: + +EXHIBIT A +List of Contributions as of July 13, 2006 + +Number Contribution +1. Updated TLM Proposal +2. TLM Extensions +3. Abstract titled "Transaction Level Modeling in SystemC" +4. Code and related material entitled "SCE-API Example - Standard Co-emulation APO v1.8 Spec and Routed + Example" +5. Code and related material entitled "Simplebus v2.2 Example for SystemC v2.0. +6. Code and related material entitled "SystemC Generic Transaction Level Communication Channel." +7. Review of TLM API code and related documents. +8. SystemC Verification Library version 1.0; versions 1.1, 1.2, 2.0, 2.0.1 of the SystemC modeling language as + released by Accellera and which are, or were, available for download on the website prior to the + agreement; version 2.1 (beta 11) of the SystemC modeling language to be released and made available by + Open SystemC Initiative for download on the website. +9. Code and related material entitled "System Design with SystemC Examples." +10. Presentation document titled "Towards a SystemC Transaction Level Modeling Standard," dated June + 2004; presentation document titled "TLM Extensions," dated April 2004; presentation document titled + "Updated TLM Proposal," dated March 29, 2004; abstract titled "Transaction Level Modeling in System C." +11. Code and related material entitled "MP3 Decoder Example plus Performance Benchmark." +12. SystemC October 12 Library. +13. Source code modifications to the SystemC Library embodied in the October 12, 2004 kit + (system_2_z_lib.oct_12_2004.tgz). + Source code modifications to the SystemC Regression Test Suite embodied in the October 12, 2004 kit + (systemc_2_1_tests.oct_12_2004.tgz). +14. Synthesizable Subset 1.0. +15. TLM Contribution (Presentation documents; abstract; code; proposal dated 3/24/04). +16. Updated version of TLM kit +17. Code and related material “2.1 Beta Regression Tests” +18. Code and related material “OSCI SystemC 2.1 Beta” +19. SystemC 2.1 +20. Assorted recommendations for enhancements, bug fixes and improved cross-platform support, including + project files for Microsoft Visual C++ versions 6.0 and 7.1 that are contained within the files systemc- + 2.1.05may05.tgz and systemc_tests-2.105may05.tgz. +21. Minor modifications incorporated in SystemC 2.1 open source implementation dated July 14, 2005 to + permit port to Microsoft VC++ Version 7. +22. Numerous modifications incorporated in SystemC 2.1 open source implementation dated July 14, 2005. +23. A collection of interfaces and implementations in SystemC for analysis objects. + A collection of interfaces and implementations in SystemC for configuring components in a design. +24. Modifications to the most recent version of SCV which allow it to run under the SystemC-2.1v1 kit. +25. Set of header files intended to be included in the SystemC TLM Modeling library code. The API provides + for 1 interfaces: (a) “Atom at once (Variously called BA, PVT, CC) in which a single atom is transported at + once. +26. Modifications included in SystemC 2.2 library labeled “systemc-2.2.04feb06.tgz;” + Modifications included in SystemC 2.2 test suites labeled “systemc_tests-2.2.04feb06.tgz.” +27. Modifications to the SystemC 2.2 library to enable the port to gcc version 4; + Addition of compliance_1666 tests to the SystemC 2.2 regression test suite. +28. OSCI_TL3_2006_03_01.zip, including any updates of any of the foregoing, and + OSCI_SCML_Memory_and_Bitfield_2006_03_01.zip, including any updates of any of the foregoing. +29. C++/SystemC Code for Mentor’s SMI System PVT channel implementation; An example of a protocol + specific SystemC PVT channel implementation; Design examples using the above channel models; A + white-paper describing the channel implementations. + +EXHIBIT B +Form of Description of Contributions + +A. Description of Contributions +1. +2. + +The undersigned hereby makes the Contributions described above +pursuant to the term, conditions and limitations of the SystemC +License. +By: +Name: +Its: +Date: +Address: +Tel: +Fax: +Email: + +EXHIBIT C +Contribution Questionnaire +Contribution Number (see Exhibit B): +Date: +1. Is Contributor a member of Accellera Systems Initiative? +□ Yes +□ No +If Contributor is a member of Accellera Systems Initiative, please indicate Contributor’s membership status +and complete questions 2 or 3 (as applicable): +□ Corporate Member +□ Associate Member +If Contributor is not a member of Accellera Systems Initiative, please skip questions 2 and 3 and go to +question 4. + +2. If Contributor is a Corporate Member or Associate Member of Accellera Systems Initiative, please indicate the +name, title, and contact information for the person making this Contribution on behalf of such Corporate Member +or Associate Member: +Name: +Title: +Address: +Phone: +Fax: +Email: + +3. If Contributor is not a member of Accellera Systems Initiative, then please complete the following: +If the Contributor is a natural person, please indicate the name and address of Contributor’s employer +and the title of the position held at such employer: +Name of Employer: +Title with such Employer: +Address: +Phone: +Fax: +Email: +If Contributor is an entity (corporation, limited liability company, partnership), then please indicate the +name, title, and contact information for the person making this Contribution on behalf of such Contributor. +Entity Name: +Name: +Title: +Address: +Phone: +Fax: +Email: + +EXHIBIT D + +Trademark Usage Policy + +I. LIST OF MARKS +1. Open SystemC +2. Open SystemC Initiative +3. OSCI +4. SystemC +5. SystemC Initiative +6. All logos that incorporate the foregoing word marks + +II. PROPER USE OF MARKS +Trademarks and service marks function as adjectives and generally should not be used as nouns or verbs. +Accordingly, as often as possible, the Marks should be used as adjectives immediately preceding the generic +noun that refers to the service in question. For example: +The SystemC® software +The OSCI® LRM +No Possessives or Plurals. Since they are not nouns, the Marks should never be used in the possessive or +plural forms. For example, it is not appropriate to write “SystemC’s software.” +No Use as Verbs or as Puns. The Marks should never be used as verbs or as puns. + +III. PROPER ATTRIBUTION +Trademark ownership is attributed in two ways, with the use of a symbol (TM, SM, ®) after the mark and with a +legal legend, usually found at the end of a document following the copyright notice. Following are Accellera’s +rules for symbols and legends to attribute the Marks: +Symbols: +Which Symbol Do I Use? +The Marks generally function as trademarks rather than service marks. Unless you are specifically directed +otherwise, please use the ® symbol after the Marks. +Where Do I Place the ® Symbol? +The ® symbol is placed immediately after the mark, either in superscript or subscript. +When Do I Use the Symbol? +The ® symbol is to be used after the Marks in the following instances: +Most Prominent Uses: A ® symbol is required after prominent uses of the Marks, e.g., in the headlines and +large print text of web pages, advertisements, other promotional materials and press releases, except where +space limitations or specific style considerations prevent compliance with this requirement. +First Use in Text: A ® symbol is required after the first use of each Mark in text, e.g. advertising copy or the +body of press releases, even though the symbol may have already appeared in the headline or after another +prominent use of the mark in the same document. +All Logos: The ® symbol must appear after all logos incorporating the Marks. + +IV. LEGENDS +All Marks that appear on a web page or in a press release, advertisement or other written material (whether in +print or electronic form) must be attributed in an appropriate legend. The legend may be presented in +“mouseprint” but must be large enough to be read easily. Legends generally appear at the end of a document or +the bottom of a web page but may be placed elsewhere, e.g. the inside covers of documentation. +The Accellera Systems Initiative Legend: The following legend should be used in all materials in which any +of the Marks appear: +[Insert the Marks] are trademarks or registered trademarks of Accellera Systems Initiative, Inc. in the United +States and other countries and are used with permission. + +V. MARKS NEVER COMBINED +The Marks should never be combined with the marks of any business other than Accellera. The Marks should +always appear visually separate from any other marks appearing in the same materials such that each mark +creates a distinct commercial impression. It would, for instance, not be appropriate to superimpose the logo of +another business over any Accellera logo. + +VI. LOGOS +Logos incorporating the Marks can only be used in the format provided to you by Accellera for incorporation +into your materials or web pages. The logos provided to you by Accellera cannot be modified in any way +without Accellera’s prior written approval. Logos copied from Accellera web pages or other materials may not +to be used. Please contact info@accellera.org to obtain electronic files containing the Accellera logos and to +ask any question regarding the logos. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_558.yml b/src/licensedcode/data/rules/proprietary-license_558.yml new file mode 100644 index 00000000000..fef6a49a576 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_558.yml @@ -0,0 +1,16 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +notes: Seen in https://www.accellera.org/images/about/policies/SystemC_Open_Source_License_v3.3.pdf +ignorable_authors: + - through the Accellera working group process +ignorable_copyrights: + - (c) 1996- current + - Copyright (c) 1996- current year here by all Contributors +ignorable_emails: + - info@accellera.org +ignorable_holders: + - here by all Contributors +ignorable_urls: + - http://www.accellera.org/ + diff --git a/src/licensedcode/data/rules/proprietary-license_559.RULE b/src/licensedcode/data/rules/proprietary-license_559.RULE new file mode 100644 index 00000000000..68427ec5c58 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_559.RULE @@ -0,0 +1,2 @@ +Your use of Firebase is governed by the +[Terms of Service for Firebase Services](https://firebase.google.com/terms/). \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_559.yml b/src/licensedcode/data/rules/proprietary-license_559.yml new file mode 100644 index 00000000000..5625bd1ae39 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_559.yml @@ -0,0 +1,7 @@ +license_expression: proprietary-license +is_license_notice: yes +relevance: 100 +notes: See in Firebase iOS SDK +ignorable_urls: + - https://firebase.google.com/terms + diff --git a/src/licensedcode/data/rules/proprietary-license_560.RULE b/src/licensedcode/data/rules/proprietary-license_560.RULE new file mode 100644 index 00000000000..9b2e0d310b7 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_560.RULE @@ -0,0 +1,2 @@ +Your use of Firebase is governed by the +[Terms of Service for Firebase Services] \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_560.yml b/src/licensedcode/data/rules/proprietary-license_560.yml new file mode 100644 index 00000000000..fcc36d70e5d --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_560.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_notice: yes +relevance: 100 +notes: See in Firebase iOS SDK diff --git a/src/licensedcode/data/rules/proprietary-license_561.RULE b/src/licensedcode/data/rules/proprietary-license_561.RULE new file mode 100644 index 00000000000..9ceb82ecbb4 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_561.RULE @@ -0,0 +1 @@ +[Terms of Service for Firebase Services] \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_561.yml b/src/licensedcode/data/rules/proprietary-license_561.yml new file mode 100644 index 00000000000..0d0a3f6e968 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_561.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_reference: yes +relevance: 100 +notes: See in Firebase iOS SDK diff --git a/src/licensedcode/data/rules/proprietary-license_562.RULE b/src/licensedcode/data/rules/proprietary-license_562.RULE new file mode 100644 index 00000000000..7fb852e84a1 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_562.RULE @@ -0,0 +1 @@ +https://firebase.google.com/terms/ \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_562.yml b/src/licensedcode/data/rules/proprietary-license_562.yml new file mode 100644 index 00000000000..9a198094554 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_562.yml @@ -0,0 +1,7 @@ +license_expression: proprietary-license +is_license_reference: yes +relevance: 100 +notes: See in Firebase iOS SDK +ignorable_urls: + - https://firebase.google.com/terms/ + diff --git a/src/licensedcode/data/rules/proprietary-license_563.RULE b/src/licensedcode/data/rules/proprietary-license_563.RULE new file mode 100644 index 00000000000..48516c83589 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_563.RULE @@ -0,0 +1,412 @@ +COOPERATIVE SOFTWARE LICENSE + +THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS +COPYFARLEFT PUBLIC LICENSE ("LICENSE"). THE WORK IS PROTECTED BY +COPYRIGHT AND ALL OTHER APPLICABLE LAWS. ANY USE OF THE WORK OTHER THAN +AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. BY +EXERCISING ANY RIGHTS TO THE WORK PROVIDED IN THIS LICENSE, YOU AGREE +TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE +MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS +CONTAINED HERE IN AS CONSIDERATION FOR ACCEPTING THE TERMS AND +CONDITIONS OF THIS LICENSE AND FOR AGREEING TO BE BOUND BY THE TERMS +AND CONDITIONS OF THIS LICENSE. + +1. DEFINITIONS + + a. "Adaptation" means a work based upon the Work, or upon the + Work and other pre-existing works, such as a translation, + adaptation, derivative work, arrangement of music or other + alterations of a literary or artistic work, or phonogram or + performance and includes cinematographic adaptations or any + other form in which the Work may be recast, transformed, or + adapted including in any form recognizably derived from the + original, except that a work that constitutes a Collection will + not be considered an Adaptation for the purpose of this License. + For the avoidance of doubt, where the Work is a musical work, + performance or phonogram, the synchronization of the Work in + timed-relation with a moving image ("synching") will be + considered an Adaptation for the purpose of this License. + + b. "Collection" means a collection of literary or artistic + works, such as encyclopedias and anthologies, or performances, + phonograms or broadcasts, or other works or subject matter other + than works listed in Section 1(f) below, which, by reason of the + selection and arrangement of their contents, constitute + intellectual creations, in which the Work is included in its + entirety in unmodified form along with one or more other + contributions, each constituting separate and independent works + in themselves, which together are assembled into a collective + whole. A work that constitutes a Collection will not be + considered an Adaptation (as defined above) for the purposes of + this License. + + c. "Distribute" means to make available to the public the + original and copies of the Work or Adaptation, as appropriate, + through sale, gift or any other transfer of possession or + ownership. + + d. "Licensor" means the individual, individuals, entity or + entities that offer(s) the Work under the terms of this License. + + e. "Original Author" means, in the case of a literary or + artistic work, the individual, individuals, entity or entities + who created the Work or if no individual or entity can be + identified, the publisher; and in addition (i) in the case of a + performance the actors, singers, musicians, dancers, and other + persons who act, sing, deliver, declaim, play in, interpret or + otherwise perform literary or artistic works or expressions of + folklore; (ii) in the case of a phonogram the producer being the + person or legal entity who first fixes the sounds of a + performance or other sounds; and, (iii) in the case of + broadcasts, the organization that transmits the broadcast. + + f. "Work" means the literary and/or artistic work offered under + the terms of this License including without limitation any + production in the literary, scientific and artistic domain, + whatever may be the mode or form of its expression including + digital form, such as a book, pamphlet and other writing; a + lecture, address, sermon or other work of the same nature; a + dramatic or dramatico-musical work; a choreographic work or + entertainment in dumb show; a musical composition with or + without words; a cinematographic work to which are assimilated + works expressed by a process analogous to cinematography; a work + of drawing, painting, architecture, sculpture, engraving or + lithography; a photographic work to which are assimilated works + expressed by a process analogous to photography; a work of + applied art; an illustration, map, plan, sketch or + three-dimensional work relative to geography, topography, + architecture or science; a performance; a broadcast; a + phonogram; a compilation of data to the extent it is protected + as a copyrightable work; or a work performed by a variety or + circus performer to the extent it is not otherwise considered a + literary or artistic work. + + g. "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. + + h. "Publicly Perform" means to perform public recitations of the + Work and to communicate to the public those public recitations, + by any means or process, including by wire or wireless means or + public digital performances; to make available to the public + Works in such a way that members of the public may access these + Works from a place and at a place individually chosen by them; + to perform the Work to the public by any means or process and + the communication to the public of the performances of the Work, + including by public digital performance; to broadcast and + rebroadcast the Work by any means including signs, sounds or + images. + + i. "Reproduce" means to make copies of the Work by any means + including without limitation by sound or visual recordings and + the right of fixation and reproducing fixations of the Work, + including storage of a protected performance or phonogram in + digital form or other electronic medium. + + j. "Software" means any digital Work which, through use of a + third-party piece of Software or through the direct usage of + itself on a computer system, the memory of the computer is + modified dynamically or semi-dynamically. "Software", + secondly, processes or interprets information. + + k. "Source Code" means the human-readable form of Software + through which the Original Author and/or Distributor originally + created, derived, and/or modified it. + + l. "Web Service" means the use of a piece of Software to + interpret or modify information that is subsequently and directly + served to users over the Internet. + +2. FAIR DEALING RIGHTS + + Nothing in this License is intended to reduce, limit, or restrict any + uses free from copyright or rights arising from limitations or + exceptions that are provided for in connection with the copyright + protection 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: + + a. to Reproduce the Work, to incorporate the Work into one or + more Collections, and to Reproduce the Work as incorporated in + the Collections; + + b. to create and Reproduce Adaptations provided that any such + Adaptation, including any translation in any medium, takes + reasonable steps to clearly label, demarcate or otherwise + identify that changes were made to the original Work. For + example, a translation could be marked "The original work was + translated from English to Spanish," or a modification could + indicate "The original work has been modified."; + + c. to Distribute and Publicly Perform the Work including as + incorporated in Collections; and, + + d. to Distribute and Publicly Perform Adaptations. 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. Subject to + Section 8(g), all rights not expressly granted by Licensor are + hereby reserved, including but not limited to the rights set + forth in Section 4(h). + +4. RESTRICTIONS + + The license granted in Section 3 above is expressly made subject to and + limited by the following restrictions: + + a. You may Distribute or Publicly Perform the Work only under + the terms of this License. You must include a copy of, or the + Uniform Resource Identifier (URI) for, this License with every + copy of the Work You Distribute or Publicly Perform. You may not + offer or impose any terms on the Work that restrict the terms of + this License or the ability of the recipient of the Work to + exercise the rights granted to that recipient under the terms of + the License. You may not sublicense the Work. You must keep + intact all notices that refer to this License and to the + disclaimer of warranties with every copy of the Work You + Distribute or Publicly Perform. When You Distribute or Publicly + Perform the Work, You may not impose any effective technological + measures on the Work that restrict the ability of a recipient of + the Work from You to exercise the rights granted to that + recipient under the terms of the License. This Section 4(a) + applies to the Work as incorporated in a Collection, but this + does not require the Collection apart from the Work itself to be + made subject to the terms of this License. If You create a + Collection, upon notice from any Licensor You must, to the + extent practicable, remove from the Collection any credit as + required by Section 4(f), as requested. If You create an + Adaptation, upon notice from any Licensor You must, to the + extent practicable, remove from the Adaptation any credit as + required by Section 4(f), as requested. + + b. Subject to the exception in Section 4(e), you may not + exercise any of the rights granted to You in Section 3 above in + any manner that is primarily intended for or directed toward + commercial advantage or private monetary compensation. The + exchange of the Work for other copyrighted works by means of + digital file-sharing or otherwise shall not be considered to be + intended for or directed toward commercial advantage or private + monetary compensation, provided there is no payment of any + monetary compensation in connection with the exchange of + copyrighted works. + + c. If the Work meets the definition of Software, You may exercise + the rights granted in Section 3 only if You provide a copy of the + corresponding Source Code from which the Work was derived in digital + form, or You provide a URI for the corresponding Source Code of + the Work, to any recipients upon request. + + d. If the Work is used as or for a Web Service, You may exercise + the rights granted in Section 3 only if You provide a copy of the + corresponding Source Code from which the Work was derived in digital + form, or You provide a URI for the corresponding Source Code to the + Work, to any recipients of the data served or modified by the Web + Service. + + e. You may exercise the rights granted in Section 3 for + commercial purposes only if you satisfy any of the following: + + i. You are a worker-owned business or worker-owned + collective; and + ii. after tax, all financial gain, surplus, profits and + benefits produced by the business or collective are + distributed among the worker-owners + iii. You are not using such rights on behalf of a business + other than those specified in 4(e.i) and elaborated upon in + 4(e.ii), nor are using such rights as a proxy on behalf of a + business with the intent to circumvent the aforementioned + restrictions on such a business. + + f. Any use by a business that is privately owned and managed, + and that seeks to generate profit from the labor of employees + paid by salary or other wages, is not permitted under this + license. + + g. If You Distribute, or Publicly Perform the Work or any + Adaptations or Collections, You must, unless a request has been + made pursuant to Section 4(a), keep intact all copyright notices + for the Work and provide, reasonable to the medium or means You + are utilizing: (i) the name of the Original Author (or + pseudonym, if applicable) if supplied, and/or if the Original + Author and/or Licensor designate another party or parties (e.g., + a sponsor institute, publishing entity, journal) for attribution + ("Attribution Parties") in Licensor!s copyright notice, terms of + service or by other reasonable means, the name of such party or + parties; (ii) the title of the Work if supplied; (iii) to the + extent reasonably practicable, the URI, if any, that Licensor + specifies to be associated with the Work, unless such URI does + not refer to the copyright notice or licensing information for + the Work; and, (iv) consistent with Section 3(b), in the case of + an Adaptation, a credit identifying the use of the Work in the + Adaptation (e.g., "French translation of the Work by Original + Author," or "Screenplay based on original Work by Original + Author"). The credit required by this Section 4(f) may be + implemented in any reasonable manner; provided, however, that in + the case of a Adaptation or Collection, at a minimum such credit + will appear, if a credit for all contributing authors of the + Adaptation or Collection appears, then as part of these credits + and in a manner at least as prominent as the credits for the + other contributing authors. For the avoidance of doubt, You may + only use the credit required by this Section for the purpose of + attribution in the manner set out above and, by exercising Your + rights under this License, You may not implicitly or explicitly + assert or imply any connection with, sponsorship or endorsement + by the Original Author, Licensor and/or Attribution Parties, as + appropriate, of You or Your use of the Work, without the + separate, express prior written permission of the Original + Author, Licensor and/or Attribution Parties. + + h. For the avoidance of doubt: + + i. Non-waivable Compulsory License Schemes. In those + jurisdictions in which the right to collect royalties + through any statutory or compulsory licensing scheme + cannot be waived, the Licensor reserves the exclusive + right to collect such royalties for any exercise by You of + the rights granted under this License; + + ii. Waivable Compulsory License Schemes. In those + jurisdictions in which the right to collect royalties + through any statutory or compulsory licensing scheme can + be waived, the Licensor reserves the exclusive right to + collect such royalties for any exercise by You of the + rights granted under this License if Your exercise of such + rights is for a purpose or use which is otherwise than + noncommercial as permitted under Section 4(b) and + otherwise waives the right to collect royalties through + any statutory or compulsory licensing scheme; and, + iii.Voluntary License Schemes. The Licensor reserves the + right to collect royalties, whether individually or, in + the event that the Licensor is a member of a collecting + society that administers voluntary licensing schemes, via + that society, from any exercise by You of the rights + granted under this License that is for a purpose or use + which is otherwise than noncommercial as permitted under + Section 4(b). + + i. Except as otherwise agreed in writing by the Licensor or as + may be otherwise permitted by applicable law, if You Reproduce, + Distribute or Publicly Perform the Work either by itself or as + part of any Adaptations or Collections, You must not distort, + mutilate, modify or take other derogatory action in relation to + the Work which would be prejudicial to the Original Author's + honor or reputation. Licensor agrees that in those jurisdictions + (e.g. Japan), in which any exercise of the right granted in + Section 3(b) of this License (the right to make Adaptations) + would be deemed to be a distortion, mutilation, modification or + other derogatory action prejudicial to the Original Author's + honor and reputation, the Licensor will waive or not assert, as + appropriate, this Section, to the fullest extent permitted by + the applicable national law, to enable You to reasonably + exercise Your right under Section 3(b) of this License (right to + make Adaptations) but not otherwise. + +5. REPRESENTATIONS, WARRANTIES AND DISCLAIMER + + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR + OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY + KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, + INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, + FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF + LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF + ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW + THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO + YOU. + +6. LIMITATION ON LIABILITY + + EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, 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 + + a. 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 Adaptations + or Collections 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. + + b. 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 + + a. Each time You Distribute or Publicly Perform the Work or a + Collection, 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. + + b. Each time You Distribute or Publicly Perform an Adaptation, + 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. + + c. If the Work is classified as Software, each time You Distribute + or Publicly Perform an Adaptation, Licensor offers to the recipient + a copy and/or URI of the corresponding Source Code on the same + terms and conditions as the license granted to You under this License. + + d. If the Work is used as a Web Service, each time You Distribute + or Publicly Perform an Adaptation, or serve data derived from the + Software, the Licensor offers to any recipients of the data a copy + and/or URI of the corresponding Source Code on the same terms and + conditions as the license granted to You under this License. + + e. 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. + + f. 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. + + g. 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. + + h. The rights granted under, and the subject matter referenced, + in this License were drafted utilizing the terminology of the + Berne Convention for the Protection of Literary and Artistic + Works (as amended on September 28, 1979), the Rome Convention of + 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances + and Phonograms Treaty of 1996 and the Universal Copyright + Convention (as revised on July 24, 1971). These rights and + subject matter take effect in the relevant jurisdiction in which + the License terms are sought to be enforced according to the + corresponding provisions of the implementation of those treaty + provisions in the applicable national law. If the standard suite + of rights granted under applicable copyright law includes + additional rights not granted under this License, such + additional rights are deemed to be included in the License; this + License is not intended to restrict the license of any rights + under applicable law. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_563.yml b/src/licensedcode/data/rules/proprietary-license_563.yml new file mode 100644 index 00000000000..9cd7438b4b5 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_563.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +notes: Seen in https://lynnesbian.space/csl/plain/ diff --git a/src/licensedcode/data/rules/proprietary-license_564.RULE b/src/licensedcode/data/rules/proprietary-license_564.RULE new file mode 100644 index 00000000000..8d68d83cab0 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_564.RULE @@ -0,0 +1,482 @@ +This License grants rights to study, execute, modify and redistribute the +Software or its derivatives to any Licensee, but reserve the commercial use of +these rights to the only entities defined in Article 3. Any redistribution or +online interaction with the Software or its derivative must be done +accordingly to the License’s conditions. + +1. Definitions + +“This License” refers to the CoopCycle License. + +“Copyright” also means copyright-like laws that apply to other kinds of works, +such as semiconductor masks. + +“The Program” refers to any copyrightable work licensed under this License. +Each licensee is addressed as “you”. “Licensees” and “recipients” may be +individuals or organizations. + +To “modify” a work means to copy from or adapt all or part of the work in a +fashion requiring copyright permission, other than the making of an exact +copy. The resulting work is called a “modified version” of the earlier work or +a work “based on” the earlier work. + +A “covered work” means either the unmodified Program or a work based on the +Program. + +To “propagate” a work means to do anything with it that, without permission, +would make you directly or secondarily liable for infringement under +applicable copyright law, except executing it on a computer or modifying a +private copy. Propagation includes copying, distribution (with or without +modification), making available to the public, and in some countries other +activities as well. To “convey” a work means any kind of propagation that +enables other parties to make or receive copies. Mere interaction with a user +through a computer network, with no transfer of a copy, is not conveying. + +An interactive user interface displays “Appropriate Legal Notices” to the +extent that it includes a convenient and prominently visible feature that (1) +displays an appropriate copyright notice, and (2) tells the user that there is +no warranty for the work (except to the extent that warranties are provided), +that licensees may convey the work under this License, and how to view a copy +of this License. If the interface presents a list of user commands or options, +such as a menu, a prominent item in the list meets this criterion. + +2. Source Code + +The “source code” for a work means the preferred form of the work for making +modifications to it. “Object code” means any non-source form of a work. + +A “Standard Interface” means an interface that either is an official standard +defined by a recognized standards body, or, in the case of interfaces +specified for a particular programming language, one that is widely used among +developers working in that language. + +The “System Libraries” of an executable work include anything, other than the +work as a whole, that (a) is included in the normal form of packaging a Major +Component, but which is not part of that Major Component, and (b) serves only +to enable use of the work with that Major Component, or to implement a +Standard Interface for which an implementation is available to the public in +source code form. A “Major Component”, in this context, means a major +essential component (kernel, window system, and so on) of the specific +operating system (if any) on which the executable work runs, or a compiler +used to produce the work, or an object code interpreter used to run it. The +“Corresponding Source” for a work in object code form means all the source +code needed to generate, install, and (for an executable work) run the object +code and to modify the work, including scripts to control those activities. +However, it does not include the work's System Libraries, or general-purpose +tools or generally available free programs which are used unmodified in +performing those activities but which are not part of the work. For example, +Corresponding Source includes interface definition files associated with +source files for the work, and the source code for shared libraries and +dynamically linked subprograms that the work is specifically designed to +require, such as by intimate data communication or control flow between those +subprograms and other parts of the work. + +The Corresponding Source need not include anything that users can regenerate +automatically from other parts of the Corresponding Source. + +The Corresponding Source for a work in source code form is that same work. + +3. Commercial use + +Commercial use of the rights granted by this License is exclusively granted to +the entities satisfying the following : 1° Matching with the social and common +company’s criteria as define by their national law, or by the European +Commission in its October 25th, 2011 communication, or by default by the +Article 1 of the French law n°2014-856 of July 31st, 2014 “relative à +l’économie sociale et solidaire” 2° Using a cooperative model in which workers +are employees + +As an exception to point I.2° of this Article, the rights previously stated +are also granted to: individual workers using wage portage entities working +with such workers; if they don’t also work with sole proprietors or +freelancers. + +Form a commercial use of the rights to study, execute, modify or distribute +any use aiming to acquire an economical advantage or a financial compensation. + +Are also considered as commercial the following uses : any use of the software +by an entity which purpose is to make profits any trade, online or otherwise, +of the software against another work protected by IP rights, only if +advertising or sponsorship revenues are produced, directly or indirectly, or +if a payment of any nature is made in relation to this trade. + +4. Basic Permissions + +All rights granted under this License are granted for the term of copyright on +the Program, and are irrevocable provided the stated conditions are met. This +License explicitly affirms your unlimited permission to run the unmodified +Program. The output from running a covered work is covered by this License +only if the output, given its content, constitutes a covered work. This +License acknowledges your rights of fair use or other equivalent, as provided +by copyright law. + +You may make, run and propagate covered works that you do not convey, without +conditions so long as your license otherwise remains in force. You may convey +covered works to others for the sole purpose of having them make modifications +exclusively for you, or provide you with facilities for running those works, +provided that you comply with the terms of this License in conveying all +material for which you do not control copyright. Those thus making or running +the covered works for you must do so exclusively on your behalf, under your +direction and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + +Conveying under any other circumstances is permitted solely under the +conditions stated below. Sublicensing is not allowed; section 10 makes it +unnecessary. + +5. Protecting Users' Legal Rights From Anti-Circumvention Law + +No covered work shall be deemed part of an effective technological measure +under any applicable law fulfilling obligations under article 11 of the WIPO +copyright treaty adopted on 20 December 1996, or similar laws prohibiting or +restricting circumvention of such measures. + +When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention is +effected by exercising rights under this License with respect to the covered +work, and you disclaim any intention to limit operation or modification of the +work as a means of enforcing, against the work's users, your or third parties' +legal rights to forbid circumvention of technological measures. + +6. Conveying Verbatim Copies + +You may convey verbatim copies of the Program's source code as you receive it, +in any medium, provided that you conspicuously and appropriately publish on +each copy an appropriate copyright notice; keep intact all notices stating +that this License and any non-permissive terms added in accord with section 7 +apply to the code; keep intact all notices of the absence of any warranty; and +give all recipients a copy of this License along with the Program. + +You may charge any price or no price for each copy that you convey, and you +may offer support or warranty protection for a fee. + +7. Conveying Modified Source Versions + +You may convey a work based on the Program, or the modifications to produce it +from the Program, in the form of source code under the terms of section 4, +provided that you also meet all of these conditions: +• a) The work must carry prominent notices stating that you modified it, and +giving a relevant date. +• b) The work must carry prominent notices stating that it is released under +this License and any conditions added under section 7. This requirement +modifies the requirement in section 4 to “keep intact all notices”. +• c) You must license the entire work, as a whole, under this License to +anyone who comes into possession of a copy. This License will therefore apply, +along with any applicable section 7 additional terms, to the whole of the +work, and all its parts, regardless of how they are packaged. This License +gives no permission to license the work in any other way, but it does not +invalidate such permission if you have separately received it. +• d) If the work has interactive user interfaces, each must display +Appropriate Legal Notices; however, if the Program has interactive interfaces +that do not display Appropriate Legal Notices, your work need not make them do +so. + +A compilation of a covered work with other separate and independent works, +which are not by their nature extensions of the covered work, and which are +not combined with it such as to form a larger program, in or on a volume of a +storage or distribution medium, is called an “aggregate” if the compilation +and its resulting copyright are not used to limit the access or legal rights +of the compilation's users beyond what the individual works permit. Inclusion +of a covered work in an aggregate does not cause this License to apply to the +other parts of the aggregate. + +8. Conveying Non-Source Forms + +You may convey a covered work in object code form under the terms of sections +4 and 5, provided that you also convey the machine-readable Corresponding +Source under the terms of this License, in one of these ways: +• a) Convey the object code in, or embodied in, a physical product (including +a physical distribution medium), accompanied by the Corresponding Source fixed +on a durable physical medium customarily used for software interchange. +• b) Convey the object code in, or embodied in, a physical product (including +a physical distribution medium), accompanied by a written offer, valid for at +least three years and valid for as long as you offer spare parts or customer +support for +that product model, to give anyone who possesses the object code either (1) a +copy of the Corresponding Source for all the software in the product that is +covered by this License, on a durable physical medium customarily used for +software interchange, for a price no more than your reasonable cost of +physically performing this conveying of source, or (2) access to copy the +Corresponding Source from a network server at no charge. +• c) Convey individual copies of the object code with a copy of the written +offer to provide the Corresponding Source. This alternative is allowed only +occasionally and noncommercially, and only if you received the object code +with such an offer, in accord with subsection 6b. +• d) Convey the object code by offering access from a designated place (gratis +or for a charge), and offer equivalent access to the Corresponding Source in +the same way through the same place at no further charge. You need not require +recipients to copy the Corresponding Source along with the object code. If the +place to copy the object code is a network server, the Corresponding Source +may be on a different server (operated by you or a third party) that supports +equivalent copying facilities, provided you maintain clear directions next to +the object code saying where to find the Corresponding Source. Regardless of +what server hosts the Corresponding Source, you remain obligated to ensure +that it is available for as long as needed to satisfy these requirements. +• e) Convey the object code using peer-to-peer transmission, provided you +inform other peers where the object code and Corresponding Source of the work +are being offered to the general public at no charge under subsection 6d. + +A separable portion of the object code, whose source code is excluded from the +Corresponding Source as a System Library, need not be included in conveying +the object code work. + +A “User Product” is either (1) a “consumer product”, which means any tangible +personal property which is normally used for personal, family, or household +purposes, or (2) anything designed or sold for incorporation into a dwelling. +In determining whether a product is a consumer product, doubtful cases shall +be resolved in favor of coverage. For a particular product received by a +particular user, “normally used” refers to a typical or common use of that +class of product, regardless of the status of the particular user or of the +way in which the particular user actually uses, or expects or is expected to +use, the product. A product is a consumer product regardless of whether the +product has substantial commercial, industrial or non-consumer uses, unless +such uses represent the only significant mode of use of the product. + +“Installation Information” for a User Product means any methods, procedures, +authorization keys, or other information required to install and execute +modified versions of a covered work in that User Product from a modified +version of its Corresponding Source. The information must suffice to ensure +that the continued functioning of the modified object code is in no case +prevented or interfered with solely because modification has been made. + +If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as part of a +transaction in which the right of possession and use of the User Product is +transferred to the recipient in perpetuity or for a fixed term (regardless of +how the transaction is characterized), the Corresponding Source conveyed under +this section must be accompanied by the Installation Information. But this +requirement does not apply if neither you nor any third party retains the +ability to install modified object code on the User Product (for example, the +work has been installed in ROM). + +The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates for a +work that has been modified or installed by the recipient, or for the User +Product in which it has been modified or installed. Access to a network may be +denied when the modification itself materially and adversely affects the +operation of the network or violates the rules and protocols for communication +across the network. + +Corresponding Source conveyed, and Installation Information provided, in +accord with this section must be in a format that is publicly documented (and +with an implementation available to the public in source code form), and must +require no special password or key for unpacking, reading or copying. + +9. Additional Terms + +“Additional permissions” are terms that supplement the terms of this License +by making exceptions from one or more of its conditions. Additional +permissions that are applicable to the entire Program shall be treated as +though they were included in this License, to the extent that they are valid +under applicable law. If additional permissions apply only to part of the +Program, that part may be used separately under those permissions, but the +entire Program remains governed by this License without regard to the +additional permissions. + +When you convey a copy of a covered work, you may at your option remove any +additional permissions from that copy, or from any part of it. (Additional +permissions may be written to require their own removal in certain cases when +you modify the work.) You may place additional permissions on material, added +by you to a covered work, for which you have or can give appropriate copyright +permission. + +Notwithstanding any other provision of this License, for material you add to a +covered work, you may (if authorized by the copyright holders of that +material) supplement the terms of this License with terms: +• a) Disclaiming warranty or limiting liability differently from the terms of +sections 15 and 16 of this License; or +• b) Requiring preservation of specified reasonable legal notices or author +attributions in that material or in the Appropriate Legal Notices displayed by +works containing it; or +• c) Prohibiting misrepresentation of the origin of that material, or +requiring that modified versions of such material be marked in reasonable ways +as different from the original version; or +• d) Limiting the use for publicity purposes of names of licensors or authors +of the material; or +• e) Declining to grant rights under trademark law for use of some trade +names, trademarks, or service marks; or +• f) Requiring indemnification of licensors and authors of that material by +anyone who conveys the material (or modified versions of it) with contractual +assumptions of liability to the recipient, for any liability that these +contractual assumptions directly impose on those licensors and authors. + +All other non-permissive additional terms are considered “further +restrictions” within the meaning of section 10. If the Program as you received +it, or any part of it, contains a notice stating that it is governed by this +License along with a term that is a further restriction, you may remove that +term. If a license document contains a further restriction but permits +relicensing or conveying under this License, you may add to a covered work +material governed by the terms of that license document, provided that the +further restriction does not survive such relicensing or conveying. + +If you add terms to a covered work in accord with this section, you must +place, in the relevant source files, a statement of the additional terms that +apply to those files, or a notice indicating where to find the applicable +terms. + +Additional terms, permissive or non-permissive, may be stated in the form of a +separately written license, or stated as exceptions; the above requirements +apply either way. + +10. Termination + +You may not propagate or modify a covered work except as expressly provided +under this License. Any attempt otherwise to propagate or modify it is void, +and will automatically terminate your rights under this License (including any +patent licenses granted under the third paragraph of section 11). + +However, if you cease all violation of this License, then your license from a +particular copyright holder is reinstated (a) provisionally, unless and until +the copyright holder explicitly and finally terminates your license, and (b) +permanently, if the copyright holder fails to notify you of the violation by +some reasonable means prior to 60 days after the cessation. + +Moreover, your license from a particular copyright holder is reinstated +permanently if the copyright holder notifies you of the violation by some +reasonable means, this is the first time you have received notice of violation +of this License (for any work) from that copyright holder, and you cure the +violation prior to 30 days after your receipt of the notice. + +Termination of your rights under this section does not terminate the licenses +of parties who have received copies or rights from you under this License. If +your rights have been terminated and not permanently reinstated, you do not +qualify to receive new licenses for the same material under section 10. + +11. Acceptance Not Required for Having Copies + +You are not required to accept this License in order to receive or run a copy +of the Program. Ancillary propagation of a covered work occurring solely as a +consequence of using peer-to-peer transmission to receive a copy likewise does +not require acceptance. However, nothing other than this License grants you +permission to propagate or modify any covered work. These actions infringe +copyright if you do not accept this License. Therefore, by modifying or +propagating a covered work, you indicate your acceptance of this License to do +so. + +12. Automatic Licensing of Downstream Recipients + +Each time you convey a covered work, the recipient automatically receives a +license from the original licensors, to run, modify and propagate that work, +subject to this License. You are not responsible for enforcing compliance by +third parties with this License. An “entity transaction” is a transaction +transferring control of an organization, or substantially all assets of one, +or subdividing an organization, or merging organizations. If propagation of a +covered work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever licenses to +the work the party's predecessor in interest had or could give under the +previous paragraph, plus a right to possession of the Corresponding Source of +the work from the predecessor in interest, if the predecessor has it or can +get it with reasonable efforts. + +You may not impose any further restrictions on the exercise of the rights +granted or affirmed under this License. For example, you may not impose a +license fee, royalty, or other charge for exercise of rights granted under +this License, and you may not initiate litigation (including a cross-claim or +counterclaim in a lawsuit) alleging that any patent claim is infringed by +making, using, selling, offering for sale, or importing the Program or any +portion of it. + +13. Patents + +A “contributor” is a copyright holder who authorizes use under this License of +the Program or a work on which the Program is based. The work thus licensed is +called the contributor's “contributor version”. + +A contributor's “essential patent claims” are all patent claims owned or +controlled by the contributor, whether already acquired or hereafter acquired, +that would be infringed by some manner, permitted by this License, of making, +using, or selling its contributor version, but do not include claims that +would be infringed only as a consequence of further modification of the +contributor version. For purposes of this definition, “control” includes the +right to grant patent sublicenses in a manner consistent with the requirements +of this License. + +Each contributor grants you a non-exclusive, worldwide, royalty-free patent +license under the contributor's essential patent claims, to make, use, sell, +offer for sale, import and otherwise run, modify and propagate the contents of +its contributor version. + +In the following three paragraphs, a “patent license” is any express agreement +or commitment, however denominated, not to enforce a patent (such as an +express permission to practice a patent or covenant not to sue for patent +infringement). To “grant” such a patent license to a party means to make such +an agreement or commitment not to enforce a patent against the party. + +If you convey a covered work, knowingly relying on a patent license, and the +Corresponding Source of the work is not available for anyone to copy, free of +charge and under the terms of this License, through a publicly available +network server or other readily accessible means, then you must either (1) +cause the Corresponding Source to be so available, or (2) arrange to deprive +yourself of the benefit of the patent license for this particular work, or (3) +arrange, in a manner consistent with the requirements of this License, to +extend the patent license to downstream recipients. “Knowingly relying” means +you have actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work in a +country, would infringe one or more identifiable patents in that country that +you have reason to believe are valid. + +If, pursuant to or in connection with a single transaction or arrangement, you +convey, or propagate by procuring conveyance of, a covered work, and grant a +patent license to some of the parties receiving the covered work authorizing +them to use, propagate, modify or convey a specific copy of the covered work, +then the patent license you grant is automatically extended to all recipients +of the covered work and works based on it. A patent license is +“discriminatory” if it does not include within the scope of its coverage, +prohibits the exercise of, or is conditioned on the non-exercise of one or +more of the rights that are specifically granted under this License. You may +not convey a covered work if you are a party to an arrangement with a third +party that is in the business of distributing software, under which you make +payment to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the parties who +would receive the covered work from you, a discriminatory patent license (a) +in connection with copies of the covered work conveyed by you (or copies made +from those copies), or (b) primarily for and in connection with specific +products or compilations that contain the covered work, unless you entered +into that arrangement, or that patent license was granted, prior to 28 March +2007. + +Nothing in this License shall be construed as excluding or limiting any +implied license or other defenses to infringement that may otherwise be +available to you under applicable patent law. + +14. No Surrender of Others' Freedom + +If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not excuse +you from the conditions of this License. If you cannot convey a covered work +so as to satisfy simultaneously your obligations under this License and any +other pertinent obligations, then as a consequence you may not convey it at +all. For example, if you agree to terms that obligate you to collect a royalty +for further conveying from those to whom you convey the Program, the only way +you could satisfy both those terms and this License would be to refrain +entirely from conveying the Program. + +15. Disclaimer of Warranty + +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE +LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER +EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO +THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM +PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR +CORRECTION. + +16. Limitation of Liability + +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY +COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM +AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, +SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR +INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR +DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR +A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH +HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +17. Interpretation of Sections 15 and 16 + +If the disclaimer of warranty and limitation of liability provided above +cannot be given local legal effect according to their terms, reviewing courts +shall apply local law that most closely approximates an absolute waiver of all +civil liability in connection with the Program, unless a warranty or +assumption of liability accompanies a copy of the Program in return for a fee. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_564.yml b/src/licensedcode/data/rules/proprietary-license_564.yml new file mode 100644 index 00000000000..af27f19ef3a --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_564.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +notes: Seen in https://wiki.coopcycle.org/en:license and https://github.com/coopcycle/coopcycle-web/blob/master/LICENSE diff --git a/src/licensedcode/data/rules/proprietary-license_565.RULE b/src/licensedcode/data/rules/proprietary-license_565.RULE new file mode 100644 index 00000000000..830638b0b0c --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_565.RULE @@ -0,0 +1,159 @@ +This License grants rights to study, execute, modify and redistribute the Software or its derivatives to any Licensee, but reserve the commercial use of these rights to the only entities defined in Article 3. Any redistribution or online interaction with the Software or its derivative must be done accordingly to the License’s conditions. + +1. Definitions + +“This License” refers to the Coopyleft License. + +“Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. + +“The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations. + +To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work. + +A “covered work” means either the unmodified Program or a work based on the Program. + +To “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. + +An interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. + +2. Source Code + +The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work. + +A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. + +The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. + +The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. + +The Corresponding Source for a work in source code form is that same work. + +3. Commercial use + +I. Commercial use of the rights granted by this License is exclusively granted to the entities satisfying the following : + + Matching with the social and common company’s criteria as define by their national law, or by the European Commission in its October 25th, 2011 communication, or by default by the Article 1 of the French law n°2014-856 of July 31st, 2014 “relative à l’économie sociale et solidaire” + Using a cooperative model in which workers are employees + +As an exception to point I.2° of this Article, the rights previously stated are also granted to: + + individual workers using wage portage + entities working with such workers; if they don’t also work with sole proprietors or freelancers. + +II. Form a commercial use of the rights to study, execute, modify or distribute any use aiming to acquire an economical advantage or a financial compensation. Are always considered as commercial the following uses : + + any use of the software by an entity which purpose is to make profits + any trade, online or otherwise, of the software against another work protected by IP rights, only if advertising or sponsorship revenues are produced, directly or indirectly, or if a payment of any nature is made in relation to this trade. + +Exceptionally, the modification and distribution of the Software or its derivatives are permitted against payment when they have resulted in a service contract entered into for the benefit of a structure that meets the conditions of paragraph 1 of this article and providing for the assignment of the resulting property rights on the Software to the said structure. + + any use of the Software by an entity in connection with revenue generating activities; + any online or other exchange of the Software against another work protected by an intellectual property right but only when direct or indirect advertising or sponsorship revenues are generated, or any payment of any kind whatsoever takes place relationship with this exchange. + +4. Basic Permissions + +All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. + +You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. + +Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. + +5. Protecting Users' Legal Rights From Anti-Circumvention Law + +No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. + +When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. + +6. Conveying Verbatim Copies + +You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. + +You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. + +7. Conveying Modified Source Versions + +You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: • a) The work must carry prominent notices stating that you modified it, and giving a relevant date. • b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to “keep intact all notices”. • c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. • d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. + +A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. + +8. Conveying Non-Source Forms + +You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: • a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. • b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. • c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. • d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. • e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. + +A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. + +A “User Product” is either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, “normally used” refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. + +“Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. + +If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). + +The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. + +Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. + +9. Additional Terms + +“Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. + +When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. + +Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: • a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or • b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or • c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or • d) Limiting the use for publicity purposes of names of licensors or authors of the material; or • e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or • f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. + +All other non-permissive additional terms are considered “further restrictions” within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. + +If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. + +Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. + +10. Termination + +You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). + +However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. + +Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. + +Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. + +11. Acceptance Not Required for Having Copies + +You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. + +12. Automatic Licensing of Downstream Recipients + +Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An “entity transaction” is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. + +You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. + +13. Patents + +A “contributor” is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's “contributor version”. + +A contributor's “essential patent claims” are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, “control” includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. + +Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. + +In the following three paragraphs, a “patent license” is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To “grant” such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. + +If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. “Knowingly relying” means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. + +If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is “discriminatory” if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. + +Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. + +14. No Surrender of Others' Freedom + +If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. + +15. Disclaimer of Warranty + +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +16. Limitation of Liability + +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +17. Interpretation of Sections 15 and 16 + +If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_565.yml b/src/licensedcode/data/rules/proprietary-license_565.yml new file mode 100644 index 00000000000..af27f19ef3a --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_565.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +notes: Seen in https://wiki.coopcycle.org/en:license and https://github.com/coopcycle/coopcycle-web/blob/master/LICENSE diff --git a/src/licensedcode/data/rules/proprietary-license_566.RULE b/src/licensedcode/data/rules/proprietary-license_566.RULE new file mode 100644 index 00000000000..cb81d93c305 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_566.RULE @@ -0,0 +1,39 @@ +VirtualBox Extension Pack Personal Use and Evaluation License (PUEL) + +License version 11, 21 May 2020 + +PLEASE READ THE FOLLOWING ORACLE VM VIRTUALBOX EXTENSION PACK PERSONAL USE AND EVALUATION LICENSE CAREFULLY BEFORE DOWNLOADING OR USING THE ORACLE SOFTWARE. THESE TERMS AND CONDITIONS CONSTITUTE A LEGAL AGREEMENT BETWEEN YOU AND ORACLE. + +ORACLE AMERICA, INC. (“ORACLE”) IS WILLING TO LICENSE THE PRODUCT DEFINED IN SECTION 1 BELOW ONLY ON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS VIRTUALBOX EXTENSION PACK PERSONAL USE AND EVALUATION LICENSE AGREEMENT (“AGREEMENT”). + +IF YOU ARE AGREEING TO THIS LICENSE ON BEHALF OF AN ENTITY (RATHER THAN AS AN INDIVIDUAL HUMAN BEING), YOU REPRESENT THAT YOU HAVE THE APPROPRIATE AUTHORITY TO ACCEPT THESE TERMS AND CONDITIONS ON BEHALF OF SUCH ENTITY. + +§ 1 Subject of Agreement. This Agreement governs your use of the binary software package called “Oracle VM VirtualBox Extension Pack” (the “Product”), which contains a set of additional features for “Oracle VM VirtualBox” that enhance the operation of multiple virtual machines (“Guest Computers”) on a single physical computer (“Host Computer”). The Product consists of executable files in machine code, script files, data files, and all documentation and updates provided to You by Oracle. + +§ 2 Grant of license. Oracle grants you a personal, non-exclusive, non-transferable, limited license without fees to reproduce, install, execute, and use internally the Product on Host Computers for your Personal Use, Educational Use, or Evaluation. “Personal Use” is noncommercial use solely by the person downloading the Product from Oracle on a single Host Computer, provided that no more than one client or remote computer is connected to that Host Computer and that client or remote computer is used solely to remotely view the Guest Computer(s). “Educational Use” is any use by teachers or students in an academic institution (schools, colleges and universities) as part of the institution’s educational curriculum. “Evaluation” means testing the Product for up to thirty (30) days; after expiry of that term, you are no longer permitted to use the Product. Personal Use and/or Educational Use expressly exclude any use of the Product for commercial purposes or to operate, run, or act on behalf of or for the benefit of a business, organization, governmental organization, or educational institution. + +Oracle reserves all rights not expressly granted in this license. + +§ 3 Restrictions and Reservation of Rights. + +(1) The Product and copies thereof provided to you under this Agreement are copyrighted and licensed, not sold, to you by Oracle. + +(2) You may not do any of the following: (a) modify any part of the Product, except to the extent allowed in the documentation accompanying the Product; (b) rent, lease, lend, re-distribute, or encumber the Product; (c) remove or alter any proprietary legends or notices contained in the Product; or (d) decompile, or reverse engineer the Product (except to the extent permitted by applicable law). + +(3) The Product is not designed, licensed or intended for use in the design, construction, operation or maintenance of any nuclear facility and Oracle and its licensors disclaim any express or implied warranty of fitness for such uses. + +(4) No right, title or interest in or to any trademark, service mark, logo or trade name of Oracle or its licensors is granted under this Agreement. + +§ 4 Termination. The Agreement is effective on the date you receive the Product and remains effective until terminated. Your rights under this Agreement will terminate immediately without notice from Oracle if you materially breach it or take any action in derogation of Oracle's and/or its licensors' rights to the Product. Oracle may terminate this Agreement immediately should any part of the Product become or in Oracle's reasonable opinion likely to become the subject of a claim of intellectual property infringement or trade secret misappropriation. Upon termination, you will cease use of and destroy all copies of the Product under your control and confirm compliance in writing to Oracle. Neither termination of this Agreement nor any deletion or removal of the Product shall limit any obligations you may have to Oracle, or any rights and/or remedies that Oracle may have with respect to any past or future infringing use of the Product (including but not limited to any use of the Product outside the scope of the license provided in the Agreement). Sections 3-9, inclusive, will survive termination of the Agreement. + +§ 5 Disclaimer of Warranty. TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW, ORACLE PROVIDES THE PRODUCT “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT LIMITING THE FOREGOING, ORACLE SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT. The entire risk as to the quality and performance of the Product is with you. Should it prove defective, you assume the cost of all necessary servicing, repair, or correction. + +§ 6 Limitation of Liability. TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW, IN NO EVENT WILL ORACLE OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT, DATA, OR DATA USE, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF OR RELATED TO THE USE OF OR INABILITY TO USE THE PRODUCT, EVEN IF ORACLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will Oracle's liability to you, whether in contract, tort (including negligence), or otherwise, exceed the amount paid by you for the Product under this Agreement. + +§ 7 Separately Licensed Third Party Technology. The Product may contain or require the use of third party technology that is provided with the Product. Oracle may provide certain notices to you in the Product’s documentation, readmes or notice files in connection with such third party technology. Third party technology will be licensed to you either under the terms of this Agreement or, if specified in the documentation, readmes or notice files, under Separate Terms. Your rights to use Separately Licensed Third Party Technology under Separate Terms are not restricted in any way by this Agreement. However, for clarity, notwithstanding the existence of a notice, third party technology that is not Separately Licensed Third Party Technology shall be deemed part of the Product and is licensed to You under the terms of this Agreement. “Separate Terms” refers to separate license terms that are specified in the Product’s documentation, readmes or notice files and that apply to Separately Licensed Third Party Technology. “Separately Licensed Third Party Technology” refers to third party technology that is licensed under Separate Terms and not under the terms of this Agreement. + +§ 8 Export. Export laws and regulations of the United States and any other relevant local export laws and regulations apply to the Product. You agree that such export laws govern your use of the Product (including technical data) provided under this Agreement, and you agree to comply with all such export laws and regulations (including “deemed export” and “deemed re-export” regulations). You agree that no data, information, and/or Product (or direct product thereof) will be exported, directly or indirectly, in violation of these laws, or will be used for any purpose prohibited by these laws including, without limitation, nuclear, chemical, or biological weapons proliferation, or development of missile technology. + +§ 9 U.S. Government End Users. Oracle programs, including the Product, any operating system, integrated software, any programs installed on hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government. + +§ 10 Miscellaneous. This Agreement is the entire agreement between you and Oracle relating to its subject matter. It supersedes all prior or contemporaneous oral or written communications, proposals, representations and warranties and prevails over any conflicting or additional terms of any quote, order, acknowledgment, or other communication between the parties relating to its subject matter during the term of this Agreement. No modification of this Agreement will be binding, unless in writing and signed by an authorized representative of each party. If any provision of this Agreement is held to be unenforceable, this Agreement will remain in effect with the provision omitted, unless omission would frustrate the intent of the parties, in which case this Agreement will immediately terminate. This Agreement is governed by the laws of the State of California, USA, and you and Oracle agree to submit to the exclusive jurisdiction of, and venue in, the courts of San Francisco or Santa Clara counties in California in any dispute arising out of or relating to this Agreement. Upon 45 days written notice, Oracle may audit your use of the Product to confirm that you are in compliance with the terms of this Agreement. You agree to cooperate with Oracle’s audit and provide reasonable assistance and access to information. Any such audit shall not unreasonably interfere with your normal business operations. You agree to pay within 30 days of written notification any fees applicable to your unlicensed use of the Product. You agree that Oracle shall not be responsible for any of your costs incurred in cooperating with the audit. If a legal action or proceeding is commenced by either party in connection with the enforcement of this Agreement, the prevailing party shall be entitled to its costs and attorneys’ fees actually incurred in connection with such action or proceeding. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_566.yml b/src/licensedcode/data/rules/proprietary-license_566.yml new file mode 100644 index 00000000000..a68754d25dd --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_566.yml @@ -0,0 +1,3 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/proprietary-license_567.RULE b/src/licensedcode/data/rules/proprietary-license_567.RULE new file mode 100644 index 00000000000..0e17ee950bc --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_567.RULE @@ -0,0 +1,51 @@ +END-USER LICENSE AGREEMENT FOR THIS SOFTWARE + +This End-User License Agreement ("EULA") is a legal agreement between you (either an individual or a single entity) and the mentioned author of this Software for the software product identified above, which includes computer software and may include associated media, printed materials, and "online" or electronic documentation ("SOFTWARE PRODUCT"). By installing, copying, or otherwise using the SOFTWARE PRODUCT, you agree to be bound by the terms of this EULA. If you do not agree to the terms of this EULA, do not install or use the SOFTWARE PRODUCT. + + + +SOFTWARE PRODUCT LICENSE + +The SOFTWARE PRODUCT is protected by copyright laws and international copyright treaties, as well as other intellectual property laws and treaties. The SOFTWARE PRODUCT is licensed, not sold. + +The definition of SOFTWARE PRODUCT does not includes any files generated by the SOFTWARE PRODUCT, such as compiled script files in the form of standalone executables. + +1. GRANT OF LICENSE + +This EULA grants you the following rights: + +Installation and Use. You may install and use an unlimited number of copies of the SOFTWARE PRODUCT. + +Reproduction and Distribution. You may reproduce and distribute an unlimited number of copies of the SOFTWARE PRODUCT either in whole or in part; each copy should include all copyright and trademark notices, and shall be accompanied by a copy of this EULA. Copies of the SOFTWARE PRODUCT may be distributed as a standalone product or included with your own product. + +Commercial Use. You may use the SOFTWARE PRODUCT for commercial purposes. You may sell for profit and freely distribute scripts and/or compiled scripts that were created with the SOFTWARE PRODUCT. + +Reverse engineering. You may not reverse engineer or disassemble the SOFTWARE PRODUCT. + +2. COPYRIGHT + +All title and copyrights in and to the SOFTWARE PRODUCT (including but not limited to any images, photographs, animations, video, audio, music, text, and "applets" incorporated into the SOFTWARE PRODUCT), the accompanying printed materials, and any copies of the SOFTWARE PRODUCT are owned by the Author of this Software. The SOFTWARE PRODUCT is protected by copyright laws and international treaty provisions. Therefore, you must treat the SOFTWARE PRODUCT like any other copyrighted material. + + + +MISCELLANEOUS + +If you acquired this product in the United Kingdom, this EULA is governed by the laws of the United Kingdom. If this product was acquired outside the United Kingdom, then local law may apply. + +Should you have any questions concerning this EULA, or if you desire to contact the author of this Software for any reason, please contact him/her at the email address mentioned at the top of this EULA. + + + +LIMITED WARRANTY + +1. NO WARRANTIES + +The Author of this Software expressly disclaims any warranty for the SOFTWARE PRODUCT. The SOFTWARE PRODUCT and any related documentation is provided "as is" without warranty of any kind, either express or implied, including, without limitation, the implied warranties or merchantability, fitness for a particular purpose, or non-infringement. The entire risk arising out of use or performance of the SOFTWARE PRODUCT remains with you. + +2. NO LIABILITY FOR DAMAGES + +In no event shall the author of this Software be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or any other pecuniary loss) arising out of the use of or inability to use this product, even if the Author of this Software has been advised of the possibility of such damages. Because some states/jurisdictions do not allow the exclusion or limitation of liability for consequential or incidental damages, the above limitation may not apply to you. + + + +[END OF LICENSE] \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_567.yml b/src/licensedcode/data/rules/proprietary-license_567.yml new file mode 100644 index 00000000000..6e80e8653af --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_567.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +notes: from autoit diff --git a/src/licensedcode/data/rules/proprietary-license_568.RULE b/src/licensedcode/data/rules/proprietary-license_568.RULE new file mode 100644 index 00000000000..6c125131289 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_568.RULE @@ -0,0 +1,27 @@ +* 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. + * + * 3. The name of Atmel may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * 4. This software may only be redistributed and used in connection with an + * Atmel microcontroller product. + * + * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE + * EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL 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/proprietary-license_568.yml b/src/licensedcode/data/rules/proprietary-license_568.yml new file mode 100644 index 00000000000..23862a2adbe --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_568.yml @@ -0,0 +1,5 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +notes: BSD-looking but not really it See https://github.com/Joan93/MasterThesis/blob/275ee8c6fcd5b0883540f629e2755ab524904a73/openwsn/openwsn-fw/bsp/boards/samr21_xpro/drivers/src/cm0plus_interrupt.c + for exmaple diff --git a/src/licensedcode/data/rules/proprietary-license_569.RULE b/src/licensedcode/data/rules/proprietary-license_569.RULE new file mode 100644 index 00000000000..2ac6b46e935 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_569.RULE @@ -0,0 +1,3 @@ +This product is protected by U.S. and international copyright and +intellectual property laws. VMware products are covered by one or +more patents listed at \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_569.yml b/src/licensedcode/data/rules/proprietary-license_569.yml new file mode 100644 index 00000000000..e55fcc24a28 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_569.yml @@ -0,0 +1,3 @@ +license_expression: proprietary-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/proprietary-license_570.RULE b/src/licensedcode/data/rules/proprietary-license_570.RULE new file mode 100644 index 00000000000..d1fc93ff09a --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_570.RULE @@ -0,0 +1,2 @@ +This product is protected by U.S. and international copyright and +intellectual property laws. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_570.yml b/src/licensedcode/data/rules/proprietary-license_570.yml new file mode 100644 index 00000000000..e55fcc24a28 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_570.yml @@ -0,0 +1,3 @@ +license_expression: proprietary-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/proprietary-license_571.RULE b/src/licensedcode/data/rules/proprietary-license_571.RULE new file mode 100644 index 00000000000..8f220707685 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_571.RULE @@ -0,0 +1 @@ +“Interface-Protection Clause” License Condition v1.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_571.yml b/src/licensedcode/data/rules/proprietary-license_571.yml new file mode 100644 index 00000000000..199817b9410 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_571.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_reference: yes +relevance: 100 +notes: https://github.com/erezsh/Preql/blob/79cf536d88733f2e9ba9749691913db51b0f3ea6/LICENSE diff --git a/src/licensedcode/data/rules/proprietary-license_572.RULE b/src/licensedcode/data/rules/proprietary-license_572.RULE new file mode 100644 index 00000000000..66b2eda16cd --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_572.RULE @@ -0,0 +1,16 @@ +“Interface-Protection Clause” License Condition v1.0 + +The Software is provided to you by the Licensor under the License, as +defined below, subject to the following condition. + +Without limiting other conditions in the License, the grant of rights under the +License will not include, and the License does not grant to you, right to Sell +the Software. + +For purposes of the foregoing, “Sell” means practicing any or all of the rights +granted to you under the License to provide to third parties, for a fee or +other consideration (including without limitation fees for hosting the +Software), a product or service whose value depends, entirely or substantially, +on the third party having access to the interface of the Software. Any license +notice or attribution required by the License must also include this +Interface-Protection Clause License Condition notice. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_572.yml b/src/licensedcode/data/rules/proprietary-license_572.yml new file mode 100644 index 00000000000..a4daa632e0f --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_572.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +notes: https://github.com/erezsh/Preql/blob/79cf536d88733f2e9ba9749691913db51b0f3ea6/LICENSE diff --git a/src/licensedcode/data/rules/proprietary-license_573.RULE b/src/licensedcode/data/rules/proprietary-license_573.RULE new file mode 100644 index 00000000000..bc3299f022c --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_573.RULE @@ -0,0 +1 @@ +“Interface-Protection Clause” on top of the MIT license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_573.yml b/src/licensedcode/data/rules/proprietary-license_573.yml new file mode 100644 index 00000000000..1a196a1ac30 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_573.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_notice: yes +relevance: 100 +notes: https://github.com/erezsh/Preql/blob/79cf536d88733f2e9ba9749691913db51b0f3ea6/LICENSE diff --git a/src/licensedcode/data/rules/proprietary-license_574.RULE b/src/licensedcode/data/rules/proprietary-license_574.RULE new file mode 100644 index 00000000000..59d17c0c889 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_574.RULE @@ -0,0 +1,4 @@ +Do not distribute modified versions without my permission. +Do not remove or alter this notice or any other copyright notice. +If you use this in your own program you must distribute source code. +Do not use any of this in a commercial product. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_574.yml b/src/licensedcode/data/rules/proprietary-license_574.yml new file mode 100644 index 00000000000..06f37f0501e --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_574.yml @@ -0,0 +1,17 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +minimum_coverage: 99 +notes: | + Seen in Info-Zip with a notice + Copyright 1989 Samuel H. Smith; All rights reserved + Relicensed to Info-Zip terms per Info-Zip documentation + + Regarding the first stipulation, Mr. Smith was tracked down in southern + California some years back [Samuel H. Smith, The Tool Shop; as of mid- + May 1994, (213) 851-9969 (voice), (213) 887-2127(?) (subscription BBS), + 71150.2731@compuserve.com]: + + "He says that he thought that whoever contacted him understood that + he has no objection to the Info-ZIP group's inclusion of his code. + His primary concern is that it remain freely distributable, he said." diff --git a/src/licensedcode/data/rules/proprietary-license_575.RULE b/src/licensedcode/data/rules/proprietary-license_575.RULE new file mode 100644 index 00000000000..df1300fc648 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_575.RULE @@ -0,0 +1,7 @@ +* Do not distribute modified versions without my permission. + * Do not remove or alter this notice or any other copyright notice. + * If you use this in your own program you must distribute source code. + * Do not use any of this in a commercial product. + See the accompanying file "COPYING" in UnZip source and binary distributions + for further information. This code is NOT used unless USE_SMITH_CODE is + explicitly defined (==> COPYRIGHT_CLEAN is not defined). \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_575.yml b/src/licensedcode/data/rules/proprietary-license_575.yml new file mode 100644 index 00000000000..081abd61e6e --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_575.yml @@ -0,0 +1,19 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +minimum_coverage: 99 +referenced_filenames: + - COPYING +notes: | + Seen in Info-Zip with a + Copyright 1989 Samuel H. Smith; All rights reserved + Relicensed to Info-Zip terms per Info-Zip documentation + + Regarding the first stipulation, Mr. Smith was tracked down in southern + California some years back [Samuel H. Smith, The Tool Shop; as of mid- + May 1994, (213) 851-9969 (voice), (213) 887-2127(?) (subscription BBS), + 71150.2731@compuserve.com]: + + "He says that he thought that whoever contacted him understood that + he has no objection to the Info-ZIP group's inclusion of his code. + His primary concern is that it remain freely distributable, he said." diff --git a/src/licensedcode/data/rules/proprietary-license_576.RULE b/src/licensedcode/data/rules/proprietary-license_576.RULE new file mode 100644 index 00000000000..9b89ba7ff72 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_576.RULE @@ -0,0 +1,16 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_576.yml b/src/licensedcode/data/rules/proprietary-license_576.yml new file mode 100644 index 00000000000..e81e536f8ae --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_576.yml @@ -0,0 +1,6 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +minimum_coverage: 99 +notes: this deceving text looks like an MIT but is stripped from the right to "publish, distribute, + sublicense, and/or sell copies". Seen in https://github.com/M4cs/winfetch/blob/8c87b53c350dab6a40e345831987a48a9fd735b6/LICENSE diff --git a/src/licensedcode/data/rules/proprietary-license_577.RULE b/src/licensedcode/data/rules/proprietary-license_577.RULE new file mode 100644 index 00000000000..ca070eafd05 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_577.RULE @@ -0,0 +1,19 @@ +Information in this document is provided in connection with +Intel(R) products. No license, express or implied, by estoppel +or otherwise, to any intellectual property rights is granted +by this document. Intel assumes no liability whatsoever, +and Intel disclaims any express or implied warranty relating +to sale and/or use of Intel(R) products, including liability +or warranties relating to fitness for a particular purpose, +merchantability or infringement of any patent, copyright or +other intellectual property right. Intel(R) products are +not intended for use in medical, life saving, or +life-sustaining applications. + +Intel Corporation disclaims all warranties and liabilities +for the use of this document and the information contained +herein, and assumes no responsibility for any errors which +may appear in this document, nor does Intel make a +commitment to update the information contained herein. +Intel reserves the right to make changes to this document at +any time, without notice. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_577.yml b/src/licensedcode/data/rules/proprietary-license_577.yml new file mode 100644 index 00000000000..c1e565cfd01 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_577.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +notes: Seen in Intel proprietary drivers diff --git a/src/licensedcode/data/rules/proprietary-license_578.RULE b/src/licensedcode/data/rules/proprietary-license_578.RULE new file mode 100644 index 00000000000..e9f9681e5bf --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_578.RULE @@ -0,0 +1,2 @@ +Intellectual Property +Implementation of this specification requires a license \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_578.yml b/src/licensedcode/data/rules/proprietary-license_578.yml new file mode 100644 index 00000000000..e55fcc24a28 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_578.yml @@ -0,0 +1,3 @@ +license_expression: proprietary-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/proprietary-license_579.RULE b/src/licensedcode/data/rules/proprietary-license_579.RULE new file mode 100644 index 00000000000..a9a28744f39 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_579.RULE @@ -0,0 +1 @@ +Implementation of this specification requires a license \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_579.yml b/src/licensedcode/data/rules/proprietary-license_579.yml new file mode 100644 index 00000000000..e55fcc24a28 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_579.yml @@ -0,0 +1,3 @@ +license_expression: proprietary-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/proprietary-license_580.RULE b/src/licensedcode/data/rules/proprietary-license_580.RULE new file mode 100644 index 00000000000..e2dcdeb0de0 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_580.RULE @@ -0,0 +1,12 @@ +THIS DOCUMENT IS PROVIDED "AS IS" WITH NO WARRANTIES WHATSOEVER, INCLUDING +ANY WARRANTY OF MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR ANY +PARTICULAR PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY +PROPOSAL, SPECIFICATION OR SAMPLE. + +Intel Corporation disclaims all liability, including liability for infringement +of any proprietary rights, relating to use of information in this specification. +No license, express or implied, by estoppel or otherwise, to any intellectual +property rights is granted herein. + +The cryptographic functions described in this specification may be subject to +export control by the United States, Japanese, and/or other governments. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_580.yml b/src/licensedcode/data/rules/proprietary-license_580.yml new file mode 100644 index 00000000000..55a684915ac --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_580.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +notes: Seen in Intel documents diff --git a/src/licensedcode/data/rules/proprietary-license_581.RULE b/src/licensedcode/data/rules/proprietary-license_581.RULE new file mode 100644 index 00000000000..810867f28df --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_581.RULE @@ -0,0 +1,14 @@ +Intel is making no claims of usability, efficacy or warranty. +Information in this document is provided in connection with Intel products. No +license, express or implied, by estoppel or otherwise, to any intellectual +property rights is granted by this document. Intel assumes no liability +whatsoever, and Intel disclaims any express or implied warranty, relating to +sale and/or use of Intel products including liability or warranties relating to +fitness for a particular purpose, merchantability, or infringement of any +patent, copyright or other intellectual property right. Intel products are not +intended for use in medical, life saving, or life sustaining applications. +Intel Corporation disclaims all warranties and liabilities for the use of this +document and the information contained herein, and assumes no responsibility for +any errors which may appear in this document, nor does Intel make a commitment +to update the information contained herein. Intel reserves the right to make +changes to this document at any time, without notice. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_581.yml b/src/licensedcode/data/rules/proprietary-license_581.yml new file mode 100644 index 00000000000..c1e565cfd01 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_581.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +notes: Seen in Intel proprietary drivers diff --git a/src/licensedcode/data/rules/unknown-license-reference_316.RULE b/src/licensedcode/data/rules/unknown-license-reference_316.RULE new file mode 100644 index 00000000000..492d00c22a1 --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_316.RULE @@ -0,0 +1,3 @@ +License +For more information about the license used for this project, please refer to +[LICENSE]. \ No newline at end of file diff --git a/src/licensedcode/data/rules/unknown-license-reference_316.yml b/src/licensedcode/data/rules/unknown-license-reference_316.yml new file mode 100644 index 00000000000..d72e93d5daf --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_316.yml @@ -0,0 +1,5 @@ +license_expression: unknown-license-reference +is_license_reference: yes +relevance: 100 +referenced_filenames: + - LICENSE diff --git a/src/licensedcode/data/rules/unknown_6.RULE b/src/licensedcode/data/rules/unknown_6.RULE new file mode 100644 index 00000000000..ea517cd7a79 --- /dev/null +++ b/src/licensedcode/data/rules/unknown_6.RULE @@ -0,0 +1,11 @@ +Licensed under the Mirero License, Version 1.0 (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.mirero.co.kr/licenses/LICENSE-1.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/unknown_6.yml b/src/licensedcode/data/rules/unknown_6.yml new file mode 100644 index 00000000000..cf4311e0fc5 --- /dev/null +++ b/src/licensedcode/data/rules/unknown_6.yml @@ -0,0 +1,7 @@ +license_expression: unknown +is_license_notice: yes +relevance: 100 +notes: This looks like an apache but is unknown and has a dead link. See https://github.com/seungyongshim/lsbeat/blob/5dada3b7a697ef3b248e57f61421e950a58382d6/LICENSE.txt +ignorable_urls: + - http://www.mirero.co.kr/licenses/LICENSE-1.0 + From 3da3bb87fdc9b5b0cbd398a4405110e3cd295a2b Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Fri, 30 Jul 2021 22:34:07 +0200 Subject: [PATCH 16/21] Align tests expectation with latest license rules Signed-off-by: Philippe Ombredanne --- .../external/fossology-licenses/ascender-eula.txt.yml | 2 +- .../datadriven/external/fossology-tests/MPL/opl-1.0.txt.yml | 6 ++---- tests/licensedcode/data/datadriven/lic1/e2fsprogs_1.txt.yml | 3 +-- ...he_and_bsd-simplified_and_lgpl_and_mit_and_other.txt.yml | 4 +++- .../data/datadriven/lic4/gpl-2.0-plus_and_mpl-1.0.txt.yml | 4 +--- .../data/datadriven/lic4/no-license-with-stop-words.txt.yml | 1 + tests/licensedcode/test_detect.py | 4 ++-- tests/licensedcode/test_match.py | 4 +++- tests/licensedcode/test_query.py | 4 ---- 9 files changed, 14 insertions(+), 18 deletions(-) diff --git a/tests/licensedcode/data/datadriven/external/fossology-licenses/ascender-eula.txt.yml b/tests/licensedcode/data/datadriven/external/fossology-licenses/ascender-eula.txt.yml index eeddb895dda..91f65ab6844 100644 --- a/tests/licensedcode/data/datadriven/external/fossology-licenses/ascender-eula.txt.yml +++ b/tests/licensedcode/data/datadriven/external/fossology-licenses/ascender-eula.txt.yml @@ -1,4 +1,4 @@ license_expressions: - proprietary-license - - commercial-license + - proprietary-license notes: this is a license from fossology license reference Ascender-EULA (Ascender EULA) http://www.ascendercorp.com/services/licensing/eula-5/ diff --git a/tests/licensedcode/data/datadriven/external/fossology-tests/MPL/opl-1.0.txt.yml b/tests/licensedcode/data/datadriven/external/fossology-tests/MPL/opl-1.0.txt.yml index ee28cce51d6..ab0abca28bf 100644 --- a/tests/licensedcode/data/datadriven/external/fossology-tests/MPL/opl-1.0.txt.yml +++ b/tests/licensedcode/data/datadriven/external/fossology-tests/MPL/opl-1.0.txt.yml @@ -3,7 +3,5 @@ license_expressions: - mpl-1.1 - mpl-1.1 - open-public - - unknown-license-reference - - unknown - - unknown -notes: this is an mpl-1.1 deruvative... very rare. + - warranty-disclaimer +notes: this is an mpl-1.1 derivative which is very rare. diff --git a/tests/licensedcode/data/datadriven/lic1/e2fsprogs_1.txt.yml b/tests/licensedcode/data/datadriven/lic1/e2fsprogs_1.txt.yml index bb3e367a461..5e894dbe497 100644 --- a/tests/licensedcode/data/datadriven/lic1/e2fsprogs_1.txt.yml +++ b/tests/licensedcode/data/datadriven/lic1/e2fsprogs_1.txt.yml @@ -1,5 +1,4 @@ license_expressions: - - gpl-1.0-plus - - bsd-new + - gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit - gpl-2.0 - lgpl-2.0 diff --git a/tests/licensedcode/data/datadriven/lic2/apache_and_bsd-simplified_and_lgpl_and_mit_and_other.txt.yml b/tests/licensedcode/data/datadriven/lic2/apache_and_bsd-simplified_and_lgpl_and_mit_and_other.txt.yml index 42ebc9df560..9f2cbe7285f 100644 --- a/tests/licensedcode/data/datadriven/lic2/apache_and_bsd-simplified_and_lgpl_and_mit_and_other.txt.yml +++ b/tests/licensedcode/data/datadriven/lic2/apache_and_bsd-simplified_and_lgpl_and_mit_and_other.txt.yml @@ -3,7 +3,9 @@ license_expressions: - apache-2.0 - apache-1.1 - lgpl-2.0-plus + - bsd-new + - unicode - mit -notes: this is a notice listing quite a few licenses, normally referenced elsewhere There is +notes: this is a notice listing quite a few licenses, normally referenced elsewhere. There is a reference at the bottom to http://web.archive.org/web/20110319085845/http://pixel-mixer.com/cms-icon-set.zip which has some permission notice of sorts. This is the notice for OpenRefine from https://github.com/OpenRefine/OpenRefine/blob/aa65bc5c18ea7cd7582572b6d2fb1a7522016e4c/LICENSE.txt diff --git a/tests/licensedcode/data/datadriven/lic4/gpl-2.0-plus_and_mpl-1.0.txt.yml b/tests/licensedcode/data/datadriven/lic4/gpl-2.0-plus_and_mpl-1.0.txt.yml index 99821ae55da..a6582f81f59 100644 --- a/tests/licensedcode/data/datadriven/lic4/gpl-2.0-plus_and_mpl-1.0.txt.yml +++ b/tests/licensedcode/data/datadriven/lic4/gpl-2.0-plus_and_mpl-1.0.txt.yml @@ -1,4 +1,2 @@ license_expressions: - - mpl-1.0 - - gpl-1.0-plus - - gpl-2.0-plus + - mpl-1.0 OR gpl-2.0-plus diff --git a/tests/licensedcode/data/datadriven/lic4/no-license-with-stop-words.txt.yml b/tests/licensedcode/data/datadriven/lic4/no-license-with-stop-words.txt.yml index 1a7cb6bb77f..559e88d94a2 100644 --- a/tests/licensedcode/data/datadriven/lic4/no-license-with-stop-words.txt.yml +++ b/tests/licensedcode/data/datadriven/lic4/no-license-with-stop-words.txt.yml @@ -1,3 +1,4 @@ notes: nothing should be detected here as "License a Private" should NOT match "license Private" as there is a stopword inside and this is a short rule. +expected_failure: yes diff --git a/tests/licensedcode/test_detect.py b/tests/licensedcode/test_detect.py index 11062a8955f..7aa1bf73be3 100644 --- a/tests/licensedcode/test_detect.py +++ b/tests/licensedcode/test_detect.py @@ -1061,8 +1061,8 @@ def test_match_has_correct_line_positions_in_automake_perl_file(self): expected = [ # detected, match.lines(), match.qspan, (u'gpl-2.0-plus', (12, 25), Span(46, 155)), - (u'fsf-unlimited-no-warranty', (231, 238), Span(944, 1007)), - (u'free-unknown', (306, 307), Span(1313, 1335)), + (u'fsf-unlimited-no-warranty', (231, 238), Span(945, 1008)), + (u'free-unknown', (306, 307), Span(1314, 1336)), ] self.check_position('positions/automake.pl', expected) diff --git a/tests/licensedcode/test_match.py b/tests/licensedcode/test_match.py index 6c25222c531..cf368461919 100644 --- a/tests/licensedcode/test_match.py +++ b/tests/licensedcode/test_match.py @@ -1412,6 +1412,7 @@ def test_matched_text_is_collected_correctly_in_binary_ffmpeg_windows_whole_line '--enable-lzma --enable-decklink --enable-zlib', 'libswresample license: GPL version 3 or later', + '--enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc ' '--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r ' '--enable-gnutls --enable-iconv --enable-libass --enable-libbluray ' @@ -1426,6 +1427,7 @@ def test_matched_text_is_collected_correctly_in_binary_ffmpeg_windows_whole_line '--enable-lzma --enable-decklink --enable-zlib', 'libswscale license: GPL version 3 or later', + '--enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc ' '--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r ' '--enable-gnutls --enable-iconv --enable-libass --enable-libbluray ' @@ -1441,7 +1443,7 @@ def test_matched_text_is_collected_correctly_in_binary_ffmpeg_windows_whole_line 'libavutil license: GPL version 3 or later', - 'This software is derived from the GNU GPL XviD codec (1.3.0).' + 'This software is derived from the GNU GPL XviD codec (1.3.0).', ] self.check_matched_texts( diff --git a/tests/licensedcode/test_query.py b/tests/licensedcode/test_query.py index 2f4dd91c5b9..304ddeace1b 100644 --- a/tests/licensedcode/test_query.py +++ b/tests/licensedcode/test_query.py @@ -17,12 +17,9 @@ from licensedcode.models import Rule from licensedcode.query import Query - TEST_DATA_DIR = os.path.join(os.path.dirname(__file__), 'data') - - def check_result_equals_expected_json(result, expected, regen=False): """ Check equality between a result collection and an expected JSON file. @@ -142,7 +139,6 @@ def test_Query_known_and_unknown_positions(self): ] assert result == expected - def test_Query_tokenize_from_string(self): rule_text = 'Redistribution and use in source and binary forms with or without modification are permitted' idx = index.LicenseIndex([Rule(stored_text=rule_text, license_expression='bsd')]) From 3508cb57c306a344020af4d28d97137ff2e0b0b8 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Fri, 30 Jul 2021 22:34:53 +0200 Subject: [PATCH 17/21] Do not treat binary sociall for matched text Return whole lines based on requested option, not based on filetype Signed-off-by: Philippe Ombredanne --- src/licensedcode/match.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/licensedcode/match.py b/src/licensedcode/match.py index ed7a4820278..11d836c1c27 100644 --- a/src/licensedcode/match.py +++ b/src/licensedcode/match.py @@ -582,7 +582,7 @@ def matched_text( # this case should never exist except for tests! return u'' - if whole_lines and (query.has_long_lines or query.is_binary): + if whole_lines and query.has_long_lines: whole_lines = False return u''.join(get_full_matched_text( From 73a77bba2bc9085cd4bf9b5b6bf776abcf707e27 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Fri, 30 Jul 2021 22:35:05 +0200 Subject: [PATCH 18/21] Align tests expectation with latest license rules Signed-off-by: Philippe Ombredanne --- .../query/query_lines/yahoo-eula.txt.json | 358 +++++++++--------- 1 file changed, 179 insertions(+), 179 deletions(-) diff --git a/tests/licensedcode/data/query/query_lines/yahoo-eula.txt.json b/tests/licensedcode/data/query/query_lines/yahoo-eula.txt.json index 011d717a242..7e88d7c02f2 100644 --- a/tests/licensedcode/data/query/query_lines/yahoo-eula.txt.json +++ b/tests/licensedcode/data/query/query_lines/yahoo-eula.txt.json @@ -1,7 +1,7 @@ [ [ [ - 5676, + 5680, "software" ], [ @@ -12,47 +12,47 @@ [], [ [ - 9004, + 9012, "welcome" ], [ - 5931, + 5935, "to" ], [ - 5904, + 5908, "yahoo" ], [ - 5676, + 5680, "software" ], [ - 5929, + 5933, "the" ], [ - 5904, + 5908, "yahoo" ], [ - 5676, + 5680, "software" ], [ - 4681, + 4684, "by" ], [ - 6446, + 6450, "clicking" ], [ - 5929, + 5933, "the" ], [ - 5035, + 5038, "i" ], [ @@ -60,15 +60,15 @@ "agree" ], [ - 6674, + 6677, "button" ], [ - 6036, + 6040, "below" ], [ - 5928, + 5932, "you" ], [ @@ -76,15 +76,15 @@ "agree" ], [ - 5931, + 5935, "to" ], [ - 6261, + 6265, "these" ], [ - 5676, + 5680, "software" ], [ @@ -92,15 +92,15 @@ "license" ], [ - 5766, + 5770, "terms" ], [ - 5929, + 5933, "the" ], [ - 5676, + 5680, "software" ], [ @@ -108,67 +108,67 @@ "license" ], [ - 5983, + 5987, "that" ], [ - 5730, + 5734, "supplement" ], [ - 5929, + 5933, "the" ], [ - 5904, + 5908, "yahoo" ], [ - 5766, + 5770, "terms" ], [ - 5933, + 5937, "of" ], [ - 5635, + 5639, "service" ], [ - 5782, + 5786, "tos" ], [ - 6036, + 6040, "below" ], [ - 6314, + 6318, "also" ], [ - 6171, + 6175, "located" ], [ - 6048, + 6052, "at" ], [ - 6141, + 6145, "http" ], [ - 5064, + 5067, "info" ], [ - 5904, + 5908, "yahoo" ], [ - 4733, + 4736, "com" ], [ @@ -176,35 +176,35 @@ "legal" ], [ - 5813, + 5817, "us" ], [ - 5904, + 5908, "yahoo" ], [ - 20283, + 20549, "utos" ], [ - 20283, + 20549, "utos" ], [ - 8158, + 8160, "173" ], [ - 5980, + 5984, "html" ], [ - 5968, + 5972, "if" ], [ - 5928, + 5932, "you" ], [ @@ -212,39 +212,39 @@ "disagree" ], [ - 5877, + 5881, "with" ], [ - 5995, + 5999, "any" ], [ - 5933, + 5937, "of" ], [ - 5929, + 5933, "the" ], [ - 5766, + 5770, "terms" ], [ - 6036, + 6040, "below" ], [ - 5904, + 5908, "yahoo" ], [ - 6074, + 6078, "does" ], [ - 5936, + 5940, "not" ], [ @@ -252,7 +252,7 @@ "grant" ], [ - 5928, + 5932, "you" ], [ @@ -260,35 +260,35 @@ "license" ], [ - 5931, + 5935, "to" ], [ - 5815, + 5819, "use" ], [ - 5929, + 5933, "the" ], [ - 5904, + 5908, "yahoo" ], [ - 5676, + 5680, "software" ], [ - 4717, + 4720, "click" ], [ - 5929, + 5933, "the" ], [ - 5035, + 5038, "i" ], [ @@ -296,40 +296,40 @@ "disagree" ], [ - 5441, + 5445, "or" ], [ - 6900, + 6902, "cancel" ] ], [ [ - 6674, + 6677, "button" ], [ - 5931, + 5935, "to" ], [ - 13340, + 13578, "exit" ], [ - 5929, + 5933, "the" ], [ - 7005, + 7007, "installer" ] ], [], [ [ - 6221, + 6225, "information" ], [ @@ -337,47 +337,47 @@ "collected" ], [ - 5945, + 5949, "through" ], [ - 5904, + 5908, "yahoo" ], [ - 5676, + 5680, "software" ], [ - 4681, + 4684, "by" ], [ - 5904, + 5908, "yahoo" ], [ - 5088, + 5091, "is" ], [ - 5942, + 5946, "subject" ], [ - 5931, + 5935, "to" ], [ - 5929, + 5933, "the" ], [ - 6181, + 6185, "full" ], [ - 5904, + 5908, "yahoo" ], [ @@ -385,23 +385,23 @@ "privacy" ], [ - 5506, + 5510, "policy" ], [ - 6141, + 6145, "http" ], [ - 5064, + 5067, "info" ], [ - 5904, + 5908, "yahoo" ], [ - 4733, + 4736, "com" ], [ @@ -409,39 +409,39 @@ "privacy" ], [ - 5813, + 5817, "us" ], [ - 5904, + 5908, "yahoo" ], [ - 5931, + 5935, "to" ], [ - 6214, + 6218, "find" ], [ - 6009, + 6013, "out" ], [ - 6271, + 6275, "more" ], [ - 6191, + 6195, "about" ], [ - 7417, + 7419, "setting" ], [ - 5970, + 5974, "your" ], [ @@ -449,15 +449,15 @@ "preferences" ], [ - 5938, + 5942, "and" ], [ - 5929, + 5933, "the" ], [ - 6221, + 6225, "information" ], [ @@ -465,59 +465,59 @@ "collected" ], [ - 4681, + 4684, "by" ], [ - 5929, + 5933, "the" ], [ - 5904, + 5908, "yahoo" ], [ - 5676, + 5680, "software" ], [ - 5938, + 5942, "and" ], [ - 5966, + 5970, "used" ], [ - 4681, + 4684, "by" ], [ - 5904, + 5908, "yahoo" ], [ - 7089, + 7091, "go" ], [ - 5931, + 5935, "to" ], [ - 6141, + 6145, "http" ], [ - 5064, + 5067, "info" ], [ - 5904, + 5908, "yahoo" ], [ - 4733, + 4736, "com" ], [ @@ -525,30 +525,30 @@ "privacy" ], [ - 5813, + 5817, "us" ], [ - 5904, + 5908, "yahoo" ], [ - 20289, + 20555, "toolbar" ], [ - 6143, + 6147, "details" ], [ - 5980, + 5984, "html" ] ], [], [ [ - 5904, + 5908, "yahoo" ], [ @@ -556,51 +556,51 @@ "reserves" ], [ - 5929, + 5933, "the" ], [ - 5930, + 5934, "right" ], [ - 5931, + 5935, "to" ], [ - 7023, + 7025, "update" ], [ - 5938, + 5942, "and" ], [ - 4703, + 4706, "change" ], [ - 5958, + 5962, "from" ], [ - 6049, + 6053, "time" ], [ - 5931, + 5935, "to" ], [ - 6049, + 6053, "time" ], [ - 5934, + 5938, "this" ], [ - 5676, + 5680, "software" ], [ @@ -608,15 +608,15 @@ "license" ], [ - 5938, + 5942, "and" ], [ - 5965, + 5969, "all" ], [ - 6247, + 6251, "documents" ], [ @@ -624,55 +624,55 @@ "incorporated" ], [ - 4681, + 4684, "by" ], [ - 5569, + 5573, "reference" ], [ - 5928, + 5932, "you" ], [ - 4688, + 4691, "can" ], [ - 6950, + 6952, "always" ], [ - 6214, + 6218, "find" ], [ - 5929, + 5933, "the" ], [ - 6150, + 6154, "most" ], [ - 11441, + 11457, "recent" ], [ - 5971, + 5975, "version" ], [ - 5933, + 5937, "of" ], [ - 5934, + 5938, "this" ], [ - 5676, + 5680, "software" ], [ @@ -680,23 +680,23 @@ "license" ], [ - 6048, + 6052, "at" ], [ - 6141, + 6145, "http" ], [ - 5064, + 5067, "info" ], [ - 5904, + 5908, "yahoo" ], [ - 4733, + 4736, "com" ], [ @@ -704,15 +704,15 @@ "legal" ], [ - 5813, + 5817, "us" ], [ - 5904, + 5908, "yahoo" ], [ - 20289, + 20555, "toolbar" ], [ @@ -728,27 +728,27 @@ null ], [ - 5980, + 5984, "html" ], [ - 5904, + 5908, "yahoo" ], [ - 5954, + 5958, "may" ], [ - 4703, + 4706, "change" ], [ - 5934, + 5938, "this" ], [ - 5676, + 5680, "software" ], [ @@ -756,7 +756,7 @@ "license" ], [ - 4681, + 4684, "by" ], [ @@ -764,59 +764,59 @@ "posting" ], [ - 5345, + 5349, "new" ], [ - 5971, + 5975, "version" ], [ - 5959, + 5963, "without" ], [ - 5371, + 5375, "notice" ], [ - 5931, + 5935, "to" ], [ - 5928, + 5932, "you" ], [ - 5815, + 5819, "use" ], [ - 5933, + 5937, "of" ], [ - 5929, + 5933, "the" ], [ - 5904, + 5908, "yahoo" ], [ - 5676, + 5680, "software" ], [ - 6727, + 6729, "after" ], [ - 6012, + 6016, "such" ], [ - 4703, + 4706, "change" ], [ @@ -828,15 +828,15 @@ "acceptance" ], [ - 5933, + 5937, "of" ], [ - 6012, + 6016, "such" ], [ - 5963, + 5967, "changes" ] ] From 78bd540a99aa28d960db49adc21faaeeaa76fc52 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Sat, 31 Jul 2021 00:24:55 +0200 Subject: [PATCH 19/21] Align debian copyright tests with latest rules Signed-off-by: Philippe Ombredanne --- ...sck-static.copyright-detailed.expected.yml | 2 +- ...table_e2fsck-static.copyright.expected.yml | 2 +- ...progs-l10n.copyright-detailed.expected.yml | 2 +- ...able_e2fsprogs-l10n.copyright.expected.yml | 2 +- .../stable_copyright-detailed.expected.yml | 62 +++++++++---------- .../stable_copyright.expected.yml | 10 +-- .../stable_copyright-detailed.expected.yml | 14 ++--- .../ncbi-tools6/stable_copyright.expected.yml | 7 +-- .../stable_copyright-detailed.expected.yml | 11 ++-- .../x/xymon/stable_copyright.expected.yml | 6 +- 10 files changed, 57 insertions(+), 61 deletions(-) diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright-detailed.expected.yml index f9e8cf8919c..2043ba4b994 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright-detailed.expected.yml @@ -1,6 +1,6 @@ - - -- gpl-1.0-plus AND gpl-2.0 +- gpl-2.0 AND gpl-2.0 - | Copyright (c) 2003-2006 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright.expected.yml index f9e8cf8919c..7d07653eece 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright.expected.yml @@ -1,6 +1,6 @@ - - -- gpl-1.0-plus AND gpl-2.0 +- gpl-2.0 - | Copyright (c) 2003-2006 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright-detailed.expected.yml index f9e8cf8919c..2043ba4b994 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright-detailed.expected.yml @@ -1,6 +1,6 @@ - - -- gpl-1.0-plus AND gpl-2.0 +- gpl-2.0 AND gpl-2.0 - | Copyright (c) 2003-2006 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright.expected.yml index f9e8cf8919c..7d07653eece 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright.expected.yml @@ -1,6 +1,6 @@ - - -- gpl-1.0-plus AND gpl-2.0 +- gpl-2.0 - | Copyright (c) 2003-2006 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright-detailed.expected.yml index 783c05f67c7..9caf4736381 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright-detailed.expected.yml @@ -97,41 +97,41 @@ AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND other-copyleft AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND public-domain AND bsd-new AND bsd-new AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND - bsd-simplified AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.0 - AND lgpl-3.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) - AND bsd-simplified AND bsd-simplified AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND - lgpl-2.1) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND - (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND - gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND fsf-free AND (lgpl-2.0-plus AND lgpl-2.0-plus) + bsd-new AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.0 AND + lgpl-3.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) + AND bsd-new AND bsd-new AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND + (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 + AND gpl-2.0 AND gpl-1.0-plus) AND fsf-free AND (lgpl-2.0-plus AND lgpl-2.0-plus) AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus AND + gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND + gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND ((gpl-2.0 + AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND bsd-new) AND bsd-new AND bsd-new AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus - AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND ((gpl-2.0 - AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND bsd-simplified) AND bsd-new AND - bsd-new AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus - AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (lgpl-2.0-plus AND lgpl-2.0-plus) - AND (lgpl-2.0-plus AND lgpl-2.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND - gpl-1.0-plus) AND zlib AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) - AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (lgpl-2.0-plus AND - lgpl-2.0-plus) AND public-domain AND gpl-3.0-plus WITH bison-exception-2.2 AND gpl-2.0-plus - WITH bison-exception-2.2 AND gpl-3.0-plus WITH bison-exception-2.2 AND (gpl-2.0 AND gpl-2.0 - AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND bsd-simplified AND public-domain AND public-domain - AND bsd-new AND bsd-new AND bsd-simplified AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-1.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.1-plus - AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-1.0-plus) AND bsd-new AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) + AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (lgpl-2.0-plus AND lgpl-2.0-plus) AND (lgpl-2.0-plus + AND lgpl-2.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND + zlib AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 + AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (lgpl-2.0-plus AND lgpl-2.0-plus) AND public-domain + AND gpl-3.0-plus WITH bison-exception-2.2 AND gpl-2.0-plus WITH bison-exception-2.2 AND gpl-3.0-plus + WITH bison-exception-2.2 AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) + AND bsd-new AND public-domain AND public-domain AND bsd-new AND bsd-new AND bsd-new AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) + AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND bsd-new AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 + AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 - AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (lgpl-2.0-plus AND lgpl-2.0-plus) - AND (lgpl-2.0-plus AND lgpl-2.0-plus) AND stlport-4.5 AND public-domain AND (gpl-2.0 AND gpl-2.0 - AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND ((gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-1.0-plus) OR (artistic-2.0 AND artistic-perl-1.0)) AND public-domain AND bsd-new AND - (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus - AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-3.0-plus AND gpl-3.0-plus) AND (lgpl-2.1-plus - AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 - AND gpl-2.0 AND gpl-1.0-plus) AND (x11-xconsortium AND public-domain) AND bsd-new AND (gpl-2.0 + AND gpl-1.0-plus) AND (lgpl-2.0-plus AND lgpl-2.0-plus) AND (lgpl-2.0-plus AND lgpl-2.0-plus) + AND stlport-4.5 AND public-domain AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) + AND ((gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) OR (artistic-2.0 AND artistic-perl-1.0)) + AND public-domain AND bsd-new AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) + AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-3.0-plus + AND gpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (x11-xconsortium AND public-domain) + AND bsd-new AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) + AND gpl-2.0 AND gpl-1.0-plus) - | 2000-2016, Oracle and/or its affiliates. All rights reserved. 2008-2013 Monty Program AB diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright.expected.yml index dfc3b6589d4..036b759220d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright.expected.yml @@ -19,11 +19,11 @@ - MIT/X11 - Artistic - (gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus AND gpl-2.0 AND gpl-1.0-plus) AND gpl-2.0 AND - other-copyleft AND public-domain AND bsd-new AND (lgpl-2.1-plus AND lgpl-2.1) AND bsd-simplified - AND (lgpl-2.0 AND lgpl-3.0-plus) AND fsf-free AND lgpl-2.0-plus AND ((gpl-2.0 AND gpl-1.0-plus) - AND bsd-simplified) AND zlib AND gpl-3.0-plus WITH bison-exception-2.2 AND gpl-2.0-plus WITH - bison-exception-2.2 AND stlport-4.5 AND ((gpl-2.0 AND gpl-1.0-plus) OR (artistic-2.0 AND artistic-perl-1.0)) - AND gpl-3.0-plus AND (x11-xconsortium AND public-domain) + other-copyleft AND public-domain AND bsd-new AND (lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0 + AND lgpl-3.0-plus) AND fsf-free AND lgpl-2.0-plus AND ((gpl-2.0 AND gpl-1.0-plus) AND bsd-new) + AND zlib AND gpl-3.0-plus WITH bison-exception-2.2 AND gpl-2.0-plus WITH bison-exception-2.2 + AND stlport-4.5 AND ((gpl-2.0 AND gpl-1.0-plus) OR (artistic-2.0 AND artistic-perl-1.0)) AND + gpl-3.0-plus AND (x11-xconsortium AND public-domain) - | 2000-2016, Oracle and/or its affiliates. All rights reserved. 2008-2013 Monty Program AB diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright-detailed.expected.yml index 78649743ca8..021d2499337 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright-detailed.expected.yml @@ -1,4 +1,4 @@ -- public-domain AND us-govt-public-domain AND public-domain-disclaimer +- public-domain AND us-govt-public-domain - - public_domain - BSL-1.0 - MIT @@ -21,13 +21,11 @@ - NCSA - BSD-3-Clause - GPL-2+ -- (public-domain AND public-domain AND us-govt-public-domain AND public-domain-disclaimer) AND - boost-1.0 AND (mit-old-style-no-advert AND mit-veillard-variant AND proprietary-license) AND - public-domain AND flex-2.5 AND flex-2.5 AND flex-2.5 AND flex-2.5 AND flex-2.5 AND mit AND - (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) AND (public-domain AND - public-domain AND us-govt-public-domain AND public-domain-disclaimer) AND (public-domain AND - public-domain AND us-govt-public-domain AND public-domain-disclaimer) AND (public-domain AND - public-domain AND us-govt-public-domain AND public-domain-disclaimer) +- (public-domain AND us-govt-public-domain) AND boost-1.0 AND (mit-old-style-no-advert AND mit-veillard-variant + AND proprietary-license) AND public-domain AND flex-2.5 AND flex-2.5 AND flex-2.5 AND flex-2.5 + AND flex-2.5 AND mit AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) + AND (public-domain AND us-govt-public-domain) AND (public-domain AND us-govt-public-domain) + AND (public-domain AND us-govt-public-domain) - | 1996-2017 NCBI 2006 John Maddock diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright.expected.yml index fccfbed74ac..f71833497c4 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright.expected.yml @@ -1,4 +1,4 @@ -- public-domain AND us-govt-public-domain AND public-domain-disclaimer +- public-domain AND us-govt-public-domain - - public_domain - BSL-1.0 - MIT @@ -6,9 +6,8 @@ - BSD-3-Clause - Expat - GPL-2+ -- (public-domain AND us-govt-public-domain AND public-domain-disclaimer) AND boost-1.0 AND (mit-old-style-no-advert - AND mit-veillard-variant AND proprietary-license) AND public-domain AND flex-2.5 AND mit AND - gpl-2.0-plus +- (public-domain AND us-govt-public-domain) AND boost-1.0 AND (mit-old-style-no-advert AND mit-veillard-variant + AND proprietary-license) AND public-domain AND flex-2.5 AND mit AND gpl-2.0-plus - | 1996-2017 NCBI 2006 John Maddock diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright-detailed.expected.yml index 7d86ad0bf5b..22af5f5e4fb 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright-detailed.expected.yml @@ -15,12 +15,11 @@ - GPL - Zlib - BSD-3-Clause -- (gpl-1.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-1.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 - AND gpl-1.0-plus AND gfdl-1.2 AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-1.0-plus - AND gfdl-1.2 AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0-plus - AND gpl-1.0-plus AND gpl-2.0) AND (zlib AND (gpl-1.0-plus AND gpl-1.0-plus AND gfdl-1.2 AND - gpl-2.0 AND gpl-1.0-plus)) AND (gpl-1.0-plus AND zlib) AND ssleay-windows AND public-domain - AND bsd-new AND mit-old-style-no-advert +- (gpl-1.0-plus AND gpl-2.0) AND (gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-1.0-plus AND + gpl-2.0) AND (gpl-2.0 AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-1.0-plus AND + gpl-2.0-plus AND gpl-2.0) AND (zlib AND (gpl-1.0-plus AND gpl-1.0-plus AND gfdl-1.2 AND gpl-2.0 + AND gpl-1.0-plus)) AND (gpl-1.0-plus AND zlib) AND ssleay-windows AND public-domain AND bsd-new + AND mit-old-style-no-advert - | 2002-2016 Henrik Størner 2005-2007 Henrik Størner diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright.expected.yml index 2cf4e22b826..e6f480a0b85 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright.expected.yml @@ -9,9 +9,9 @@ - BSD-ish - GPL - Zlib -- (gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-1.0-plus AND gfdl-1.2 AND gpl-2.0-plus) AND - (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (zlib AND (gpl-1.0-plus AND gfdl-1.2 AND gpl-2.0)) - AND (gpl-1.0-plus AND zlib) AND ssleay-windows AND public-domain AND bsd-new AND mit-old-style-no-advert +- (gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus AND gpl-1.0-plus + AND gpl-2.0) AND (zlib AND (gpl-1.0-plus AND gfdl-1.2 AND gpl-2.0)) AND (gpl-1.0-plus AND + zlib) AND ssleay-windows AND public-domain AND bsd-new AND mit-old-style-no-advert - | 2002-2016 Henrik Størner 2005-2011 Henrik Størner From 23c4b6efbad9c3526ddd8ae5d9c07896b6676785 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Sat, 31 Jul 2021 00:25:09 +0200 Subject: [PATCH 20/21] Format code Signed-off-by: Philippe Ombredanne --- src/packagedcode/debian_copyright.py | 116 ++++++++++++++++----------- 1 file changed, 68 insertions(+), 48 deletions(-) diff --git a/src/packagedcode/debian_copyright.py b/src/packagedcode/debian_copyright.py index d715f82a796..d25d5fc1c52 100644 --- a/src/packagedcode/debian_copyright.py +++ b/src/packagedcode/debian_copyright.py @@ -11,26 +11,22 @@ from itertools import chain import attr - from debian_inspector.copyright import DebianCopyright from debian_inspector.copyright import CatchAllParagraph from debian_inspector.copyright import CopyrightFilesParagraph from debian_inspector.copyright import CopyrightLicenseParagraph from debian_inspector.copyright import CopyrightHeaderParagraph - from license_expression import Licensing from license_expression import ExpressionError from license_expression import LicenseSymbolLike -from packagedcode.utils import combine_expressions - from licensedcode.models import Rule from licensedcode.match import LicenseMatch from licensedcode.query import Query from licensedcode.spans import Span from licensedcode.cache import get_index from licensedcode.match import set_lines - +from packagedcode.utils import combine_expressions from textcode.analysis import unicode_text """ @@ -65,8 +61,8 @@ def parse_copyright_file(location, check_consistency=False): Return a DebianDetector Object containing copyright and license detections extracted from the debain copyright file at `location`. - If `check_consistency` is True, check if debian copyright file is consistently - structured according to the guidelines specified at + If `check_consistency` is True, check if debian copyright file is + consistently structured according to the guidelines specified at https://www.debian.org/doc/packaging-manuals/copyright-format/1.0 """ if not location or not location.endswith('copyright'): @@ -100,14 +96,18 @@ def parse_copyright_file(location, check_consistency=False): @attr.s class DebianDetector: """ - Base class for `UnstructuredCopyrightProcessor` and `StructuredCopyrightProcessor` - classes, defining the common functions and attributes. + Base class for `UnstructuredCopyrightProcessor` and + `StructuredCopyrightProcessor` classes, defining the common functions and + attributes. + + An instance can scan ONLY one copyright file; it cannot be reused. """ # Absolute location of this copyright file location = attr.ib() - # List of consistency error messages if the debian copyright file is not consistent - # This is populated if the `check_consistency` flag in `parse_copyright_file` is set to True. + # List of consistency error messages if the debian copyright file is not + # consistent. This is populated if the `check_consistency` flag in + # `parse_copyright_file` is set to True. consistency_errors = attr.ib(default=attr.Factory(list)) @classmethod @@ -125,13 +125,15 @@ def get_copyright(self, *args, **kwargs): def get_license_expression(self, *args, **kwargs): """ - Return a license expression string suitable to use as a DebianPackage.license_expression. + Return a license expression string suitable to use as a + DebianPackage.license_expression. """ return NotImplementedError def get_declared_license(self, *args, **kwargs): """ - Return a list of declared license string suitable to use as a DebianPackage.declared_license. + Return a list of declared license string suitable to use as a + DebianPackage.declared_license. """ return NotImplementedError @@ -147,8 +149,9 @@ class UnstructuredCopyrightProcessor(DebianDetector): @classmethod def from_file(cls, location, check_consistency=False): """ - Returns a UnstructuredCopyrightProcessor object created from a unstructured - debian copyright file, after detecting license and copyrights. + Returns a UnstructuredCopyrightProcessor object created from a + unstructured debian copyright file, after detecting license and + copyrights. If `check_consistency` is True, will always add a consistency error as unstructured copyright files are not consistent. @@ -168,8 +171,8 @@ def from_file(cls, location, check_consistency=False): @property def primary_license(self): """ - Returns None as primary license cannot be detected in an unstructured debian - copyright file. + Returns None as primary license cannot be detected in an unstructured + debian copyright file. """ return None @@ -186,10 +189,11 @@ def get_license_expression( *args, **kwargs ): """ - Returns a license expression string for the corresponding debian copyright file. + Returns a license expression string for the corresponding debian + copyright file. - If simplify_licenses is True, uses Licensing.dedup() to simplify the license - expression. + If simplify_licenses is True, uses Licensing.dedup() to simplify the + license expression. """ matches = self.license_matches detected_expressions = [match.rule.license_expression for match in matches] @@ -202,15 +206,16 @@ def get_license_expression( def get_copyright(self, *args, **kwargs): """ - Returns a copyright string, each in a line, with all the copyright detections - in a unstrucutred debian copyright file. + Returns a copyright string, each in a line, with all the copyright + detections in a unstrucutred debian copyright file. """ return '\n'.join(self.detected_copyrights) def detect_license(self, query_string): """ - Return a list of LicenseMatch objects which has the detected license matches - in `query_string`, or has an UnknownMatch if no license is detected. + Return a list of LicenseMatch objects which has the detected license + matches in `query_string`, or has an UnknownMatch if no license is + detected. """ license_matches = remove_known_license_intros( license_matches=get_license_matches(query_string=query_string) @@ -240,11 +245,11 @@ class StructuredCopyrightProcessor(DebianDetector): @classmethod def from_file(cls, location, check_consistency=False): """ - Return a DebianCopyrightFileProcessor object built from debian copyright file at - ``location``, or None if this is not a debian copyright file. + Return a DebianCopyrightFileProcessor object built from debian copyright + file at ``location``, or None if this is not a debian copyright file. - If `check_consistency` is True, check if debian copyright file is consistently - structured according to debian guidelines. + If `check_consistency` is True, check if debian copyright file is + consistently structured according to debian guidelines. """ if not location or not location.endswith('copyright'): return @@ -264,7 +269,8 @@ def from_file(cls, location, check_consistency=False): @property def license_matches(self): """ - Get a list of all LicenseMatch objects which are detected in the copyright file. + Get a list of all LicenseMatch objects which are detected in the + copyright file. """ matches = ( ld.license_matches @@ -275,11 +281,11 @@ def license_matches(self): def get_primary_license(self): """ - Returns a license expression string which is the primary license for the debian - copyright file. + Returns a license expression string which is the primary license for the + debian copyright file. - A primary license in a debian copyright file is the license in the Header - paragraph or the `Files: *` paragraph. + A primary license in a debian copyright file is the license in the + Header paragraph or the `Files: *` paragraph. """ expressions = [] has_header_license = False @@ -306,11 +312,12 @@ def get_declared_license( self, filter_duplicates=False, skip_debian_packaging=False, *args, **kwargs ): """ - Return a list of declared license strings (`License: `) from the all paragraphs. + Return a list of declared license strings (`License: `) from the + all paragraphs. - If `filter_duplicates` is True, only unique declared licenses are returned. - If `skip_debian_packaging` is True, skips the declared license for `Files: debian/*` - paragraph. + If `filter_duplicates` is True, only unique declared licenses are + returned. If `skip_debian_packaging` is True, skips the declared license + for `Files: debian/*` paragraph. """ declarable_paragraphs = [ para @@ -325,30 +332,42 @@ def get_declared_license( if not is_paragraph_debian_packaging(para) ] - declared_licenses = [paragraph.license.name for paragraph in declarable_paragraphs] + declared_licenses = [ + paragraph.license.name for paragraph in declarable_paragraphs + ] if filter_duplicates: return filter_duplicate_strings(declared_licenses) else: return declared_licenses - def get_copyright(self, skip_debian_packaging=False, unique_copyrights=False, *args, **kwarg): + def get_copyright( + self, + skip_debian_packaging=False, + unique_copyrights=False, + *args, **kwarg, + ): """ Return copyrights collected from a structured file. If `unique_copyrights` is True, only unique copyrights are returned. - If `skip_debian_packaging` is True, skips the declared license for `Files: debian/*` - paragraph. + If `skip_debian_packaging` is True, skips the declared license for + `Files: debian/*` paragraph. """ declarable_copyrights = [] seen_copyrights = set() # TODO: Only Unique Holders (copyright without years) should be reported for copyright_detection in self.copyright_detections: - if is_paragraph_debian_packaging(copyright_detection.paragraph) and skip_debian_packaging: + if ( + skip_debian_packaging + and is_paragraph_debian_packaging(copyright_detection.paragraph) + ): continue + if not isinstance( - copyright_detection.paragraph, (CopyrightHeaderParagraph, CopyrightFilesParagraph) + copyright_detection.paragraph, + (CopyrightHeaderParagraph, CopyrightFilesParagraph) ): continue @@ -358,6 +377,7 @@ def get_copyright(self, skip_debian_packaging=False, unique_copyrights=False, *a if any(x in copyrght for x in ('unknown', 'none',)): continue seen_copyrights.add(copyrght) + declarable_copyrights.append(copyrght) continue @@ -401,12 +421,13 @@ def get_license_expression( *args, **kwargs ): """ - Return a license expression string as built from available license detections. + Return a license expression string as built from available license + detections. If `simplify_licenses` is True, license expressions are deduplicated by Licensing.dedup() and then returned. - If `skip_debian_packaging` is True, skips the declared license for `Files: debian/*` - paragraph. + If `skip_debian_packaging` is True, skips the declared license for + `Files: debian/*` paragraph. """ if not self.license_detections: raise_no_license_found_error(location=self.location) @@ -634,7 +655,7 @@ class LicenseDetection: """ paragraph = attr.ib() license_expression_object = attr.ib() - license_matches = attr.ib() + license_matches = attr.ib(default=attr.Factory(list)) def is_detection_declarable(self): """ @@ -1453,4 +1474,3 @@ def is_paragraph_primary_license(paragraph): return isinstance( paragraph, CopyrightFilesParagraph ) and paragraph.files.values == ['*'] - From 5ca96d10511e26068bda502072f70c48038d2a04 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Sat, 31 Jul 2021 00:26:06 +0200 Subject: [PATCH 21/21] Test Debian copyright for full match details The Debian copyright tests expected data were just a list of items without an attribute name telling what each item was. This fixes this by making the expected YAML results a dictionary rather than a list. It also adds the full match details to the expected results such that we can better assess what failed and how and can better update the tests as we improve license detection. Signed-off-by: Philippe Ombredanne --- .../stable_copyright-detailed.expected.yml | 44 +- .../a/acme-tiny/stable_copyright.expected.yml | 44 +- .../stable_copyright-detailed.expected.yml | 650 ++- .../a/apache2/stable_copyright.expected.yml | 644 ++- ...m_0.12.5-1_copyright-detailed.expected.yml | 130 +- .../appstream_0.12.5-1_copyright.expected.yml | 120 +- .../stable_copyright-detailed.expected.yml | 1045 +++- .../a/asterisk/stable_copyright.expected.yml | 1045 +++- .../stable_copyright-detailed.expected.yml | 46 +- .../stable_copyright.expected.yml | 46 +- .../stable_copyright-detailed.expected.yml | 2348 +++++++- .../c/clamav/stable_copyright.expected.yml | 2370 +++++++- .../stable_copyright-detailed.expected.yml | 287 +- .../cryptsetup/stable_copyright.expected.yml | 283 +- .../stable_copyright-detailed.expected.yml | 264 +- .../main/c/cups/stable_copyright.expected.yml | 263 +- .../stable_copyright-detailed.expected.yml | 236 +- .../stable_copyright.expected.yml | 236 +- .../stable_copyright-detailed.expected.yml | 676 ++- .../devscripts/stable_copyright.expected.yml | 665 ++- .../stable_copyright-detailed.expected.yml | 104 +- .../main/d/dma/stable_copyright.expected.yml | 102 +- .../stable_copyright-detailed.expected.yml | 415 +- .../d/dovecot/stable_copyright.expected.yml | 407 +- .../stable_copyright-detailed.expected.yml | 236 +- .../main/d/dpdk/stable_copyright.expected.yml | 234 +- .../stable_copyright-detailed.expected.yml | 110 +- .../e/e2fsprogs/stable_copyright.expected.yml | 110 +- ...sck-static.copyright-detailed.expected.yml | 45 +- ...table_e2fsck-static.copyright.expected.yml | 45 +- ...progs-l10n.copyright-detailed.expected.yml | 45 +- ...able_e2fsprogs-l10n.copyright.expected.yml | 45 +- ...e_libblkid.copyright-detailed.expected.yml | 27 +- .../stable_libblkid.copyright.expected.yml | 27 +- ...ibcom-err2.copyright-detailed.expected.yml | 38 +- .../stable_libcom-err2.copyright.expected.yml | 38 +- ...ble_libss2.copyright-detailed.expected.yml | 38 +- .../stable_libss2.copyright.expected.yml | 38 +- ...e_libuuid1.copyright-detailed.expected.yml | 41 +- .../stable_libuuid1.copyright.expected.yml | 41 +- ...e_uuid-dev.copyright-detailed.expected.yml | 41 +- .../stable_uuid-dev.copyright.expected.yml | 41 +- ...id-runtime.copyright-detailed.expected.yml | 41 +- ...stable_uuid-runtime.copyright.expected.yml | 41 +- .../stable_copyright-detailed.expected.yml | 543 +- .../e/enigmail/stable_copyright.expected.yml | 541 +- .../stable_copyright-detailed.expected.yml | 1028 +++- .../stable_copyright.expected.yml | 1022 +++- .../stable_copyright-detailed.expected.yml | 56 +- .../stable_copyright.expected.yml | 56 +- .../stable_copyright-detailed.expected.yml | 184 +- .../f/fig2dev/stable_copyright.expected.yml | 182 +- .../stable_copyright-detailed.expected.yml | 798 ++- .../f/freeorion/stable_copyright.expected.yml | 793 ++- .../stable_copyright-detailed.expected.yml | 99 +- .../stable_copyright.expected.yml | 96 +- .../stable_copyright-detailed.expected.yml | 436 +- .../stable_copyright.expected.yml | 430 +- .../stable_copyright-detailed.expected.yml | 2294 +++++++- .../ghostscript/stable_copyright.expected.yml | 2278 +++++++- .../stable_copyright-detailed.expected.yml | 210 +- .../g/glib2.0/stable_copyright.expected.yml | 208 +- .../stable_copyright-detailed.expected.yml | 106 +- .../stable_copyright.expected.yml | 104 +- .../stable_copyright-detailed.expected.yml | 222 +- .../stable_copyright.expected.yml | 222 +- .../stable_copyright-detailed.expected.yml | 470 +- .../g/gnupg2/stable_copyright.expected.yml | 458 +- .../stable_copyright-detailed.expected.yml | 711 ++- .../golang-1.11/stable_copyright.expected.yml | 713 ++- .../stable_copyright-detailed.expected.yml | 49 +- .../l/lacme/stable_copyright.expected.yml | 49 +- .../stable_copyright-detailed.expected.yml | 303 +- .../stable_copyright.expected.yml | 301 +- .../stable_copyright-detailed.expected.yml | 303 +- .../stable_copyright.expected.yml | 301 +- .../stable_copyright-detailed.expected.yml | 303 +- .../stable_copyright.expected.yml | 301 +- .../stable_copyright-detailed.expected.yml | 303 +- .../l/linux/stable_copyright.expected.yml | 301 +- .../stable_copyright-detailed.expected.yml | 151 +- .../stable_copyright.expected.yml | 149 +- .../stable_copyright-detailed.expected.yml | 85 +- .../libtk-img/stable_copyright.expected.yml | 85 +- .../stable_copyright-detailed.expected.yml | 69 +- .../libxslt/stable_copyright.expected.yml | 69 +- .../stable_copyright-detailed.expected.yml | 937 ++- .../stable_copyright.expected.yml | 933 ++- .../stable_copyright-detailed.expected.yml | 313 +- .../ncbi-tools6/stable_copyright.expected.yml | 310 +- .../stable_copyright-detailed.expected.yml | 133 +- .../n/ncurses/stable_copyright.expected.yml | 133 +- .../stable_copyright-detailed.expected.yml | 221 +- .../n/newsboat/stable_copyright.expected.yml | 219 +- .../stable_copyright-detailed.expected.yml | 612 +- .../stable_copyright.expected.yml | 600 +- .../stable_copyright-detailed.expected.yml | 164 +- .../n/nginx/stable_copyright.expected.yml | 158 +- .../stable_copyright-detailed.expected.yml | 145 +- .../node-lodash/stable_copyright.expected.yml | 145 +- .../stable_copyright-detailed.expected.yml | 86 +- .../stable_copyright.expected.yml | 86 +- .../stable_copyright-detailed.expected.yml | 343 +- .../stable_copyright.expected.yml | 341 +- .../stable_copyright-detailed.expected.yml | 562 +- .../o/openldap/stable_copyright.expected.yml | 560 +- .../stable_copyright-detailed.expected.yml | 104 +- .../o/osmpbf/stable_copyright.expected.yml | 104 +- .../stable_copyright-detailed.expected.yml | 292 +- .../p/pam-u2f/stable_copyright.expected.yml | 288 +- .../stable_copyright-detailed.expected.yml | 245 +- .../p/pango1.0/stable_copyright.expected.yml | 240 +- .../p/perl/copyright-detailed.expected.yml | 5024 +++++++++++++++- .../main/p/perl/copyright.expected.yml | 5054 ++++++++++++++++- .../stable_copyright-detailed.expected.yml | 1410 ++++- .../pulseaudio/stable_copyright.expected.yml | 1400 ++++- .../stable_copyright-detailed.expected.yml | 267 +- .../stable_copyright.expected.yml | 263 +- .../stable_copyright-detailed.expected.yml | 111 +- .../r/reportbug/stable_copyright.expected.yml | 111 +- .../stable_copyright-detailed.expected.yml | 44 +- .../stable_copyright.expected.yml | 44 +- .../stable_copyright-detailed.expected.yml | 107 +- .../s/sendmail/stable_copyright.expected.yml | 107 +- .../stable_copyright-detailed.expected.yml | 336 +- .../slirp4netns/stable_copyright.expected.yml | 332 +- .../stable_copyright-detailed.expected.yml | 559 +- .../subversion/stable_copyright.expected.yml | 557 +- .../stable_copyright-detailed.expected.yml | 314 +- .../s/systemd/stable_copyright.expected.yml | 307 +- .../stable_copyright-detailed.expected.yml | 25 +- .../t/tzdata/stable_copyright.expected.yml | 25 +- .../stable_copyright-detailed.expected.yml | 68 +- .../u/unzip/stable_copyright.expected.yml | 68 +- .../stable_copyright-detailed.expected.yml | 1098 +++- .../webkit2gtk/stable_copyright.expected.yml | 1094 +++- .../stable_copyright-detailed.expected.yml | 88 +- .../stable_copyright.expected.yml | 88 +- .../stable_copyright-detailed.expected.yml | 503 +- .../x/xymon/stable_copyright.expected.yml | 499 +- .../z3/stable_copyright-detailed.expected.yml | 90 +- .../main/z/z3/stable_copyright.expected.yml | 90 +- ...rmware-adi.copyright-detailed.expected.yml | 51 +- ...stable_firmware-adi.copyright.expected.yml | 51 +- ...d-graphics.copyright-detailed.expected.yml | 109 +- ...rmware-amd-graphics.copyright.expected.yml | 109 +- ...re-atheros.copyright-detailed.expected.yml | 319 +- ...le_firmware-atheros.copyright.expected.yml | 319 +- ...mware-bnx2.copyright-detailed.expected.yml | 28 +- ...table_firmware-bnx2.copyright.expected.yml | 28 +- ...ware-bnx2x.copyright-detailed.expected.yml | 46 +- ...able_firmware-bnx2x.copyright.expected.yml | 46 +- ...-brcm80211.copyright-detailed.expected.yml | 160 +- ..._firmware-brcm80211.copyright.expected.yml | 160 +- ...are-cavium.copyright-detailed.expected.yml | 68 +- ...ble_firmware-cavium.copyright.expected.yml | 68 +- ...ntel-sound.copyright-detailed.expected.yml | 1435 ++++- ...irmware-intel-sound.copyright.expected.yml | 1429 ++++- ...intelwimax.copyright-detailed.expected.yml | 46 +- ...firmware-intelwimax.copyright.expected.yml | 46 +- ...re-ipw2x00.copyright-detailed.expected.yml | 254 +- ...le_firmware-ipw2x00.copyright.expected.yml | 254 +- ...mware-ivtv.copyright-detailed.expected.yml | 122 +- ...table_firmware-ivtv.copyright.expected.yml | 122 +- ...re-iwlwifi.copyright-detailed.expected.yml | 48 +- ...le_firmware-iwlwifi.copyright.expected.yml | 48 +- ...e-libertas.copyright-detailed.expected.yml | 110 +- ...e_firmware-libertas.copyright.expected.yml | 110 +- ...ux-nonfree.copyright-detailed.expected.yml | 51 +- ...mware-linux-nonfree.copyright.expected.yml | 51 +- ...ware-linux.copyright-detailed.expected.yml | 51 +- ...able_firmware-linux.copyright.expected.yml | 51 +- ...sc-nonfree.copyright-detailed.expected.yml | 1290 ++++- ...rmware-misc-nonfree.copyright.expected.yml | 1280 ++++- ...re-myricom.copyright-detailed.expected.yml | 41 +- ...le_firmware-myricom.copyright.expected.yml | 41 +- ...-netronome.copyright-detailed.expected.yml | 25 +- ..._firmware-netronome.copyright.expected.yml | 25 +- ...are-netxen.copyright-detailed.expected.yml | 42 +- ...ble_firmware-netxen.copyright.expected.yml | 42 +- ...qcom-media.copyright-detailed.expected.yml | 603 +- ...firmware-qcom-media.copyright.expected.yml | 600 +- ...are-qlogic.copyright-detailed.expected.yml | 198 +- ...ble_firmware-qlogic.copyright.expected.yml | 198 +- ...are-ralink.copyright-detailed.expected.yml | 51 +- ...ble_firmware-ralink.copyright.expected.yml | 51 +- ...re-realtek.copyright-detailed.expected.yml | 81 +- ...le_firmware-realtek.copyright.expected.yml | 81 +- ...re-samsung.copyright-detailed.expected.yml | 30 +- ...le_firmware-samsung.copyright.expected.yml | 30 +- ...ware-siano.copyright-detailed.expected.yml | 40 +- ...able_firmware-siano.copyright.expected.yml | 40 +- ...nnectivity.copyright-detailed.expected.yml | 59 +- ...are-ti-connectivity.copyright.expected.yml | 59 +- .../copyright-detailed.expected.yml | 26 +- .../mongodb-org-mongos/copyright.expected.yml | 26 +- .../copyright-detailed.expected.yml | 26 +- .../mongodb-org-server/copyright.expected.yml | 26 +- .../copyright-detailed.expected.yml | 26 +- .../mongodb-org-shell/copyright.expected.yml | 26 +- .../copyright-detailed.expected.yml | 26 +- .../mongodb-org-tools/copyright.expected.yml | 26 +- .../copyright-detailed.expected.yml | 26 +- .../mongodb-org/copyright.expected.yml | 26 +- .../stable_copyright-detailed.expected.yml | 247 +- .../stable_copyright.expected.yml | 247 +- .../zlib1g/copyright-detailed.expected.yml | 70 +- .../share/doc/zlib1g/copyright.expected.yml | 70 +- .../adduser/copyright-detailed.expected.yml | 35 +- .../share/doc/adduser/copyright.expected.yml | 35 +- .../doc/apt/copyright-detailed.expected.yml | 51 +- .../usr/share/doc/apt/copyright.expected.yml | 51 +- .../copyright-detailed.expected.yml | 48 +- .../doc/base-files/copyright.expected.yml | 48 +- .../copyright-detailed.expected.yml | 77 +- .../doc/base-passwd/copyright.expected.yml | 76 +- .../doc/bash/copyright-detailed.expected.yml | 351 +- .../usr/share/doc/bash/copyright.expected.yml | 349 +- .../bsdutils/copyright-detailed.expected.yml | 594 +- .../share/doc/bsdutils/copyright.expected.yml | 586 +- .../coreutils/copyright-detailed.expected.yml | 369 +- .../doc/coreutils/copyright.expected.yml | 365 +- .../doc/dash/copyright-detailed.expected.yml | 215 +- .../usr/share/doc/dash/copyright.expected.yml | 210 +- .../debconf/copyright-detailed.expected.yml | 48 +- .../share/doc/debconf/copyright.expected.yml | 46 +- .../copyright-detailed.expected.yml | 38 +- .../copyright.expected.yml | 38 +- .../copyright-detailed.expected.yml | 131 +- .../doc/debianutils/copyright.expected.yml | 131 +- .../diffutils/copyright-detailed.expected.yml | 52 +- .../doc/diffutils/copyright.expected.yml | 52 +- .../doc/dpkg/copyright-detailed.expected.yml | 277 +- .../usr/share/doc/dpkg/copyright.expected.yml | 274 +- .../e2fsprogs/copyright-detailed.expected.yml | 110 +- .../doc/e2fsprogs/copyright.expected.yml | 110 +- .../findutils/copyright-detailed.expected.yml | 56 +- .../doc/findutils/copyright.expected.yml | 56 +- .../copyright-detailed.expected.yml | 1940 ++++++- .../doc/gcc-10-base/copyright.expected.yml | 1932 ++++++- .../copyright-detailed.expected.yml | 2169 ++++++- .../doc/gcc-9-base/copyright.expected.yml | 2165 ++++++- .../doc/gpgv/copyright-detailed.expected.yml | 470 +- .../usr/share/doc/gpgv/copyright.expected.yml | 458 +- .../doc/grep/copyright-detailed.expected.yml | 75 +- .../usr/share/doc/grep/copyright.expected.yml | 74 +- .../doc/gzip/copyright-detailed.expected.yml | 132 +- .../usr/share/doc/gzip/copyright.expected.yml | 130 +- .../hostname/copyright-detailed.expected.yml | 34 +- .../share/doc/hostname/copyright.expected.yml | 34 +- .../copyright-detailed.expected.yml | 100 +- .../copyright.expected.yml | 98 +- .../libacl1/copyright-detailed.expected.yml | 248 +- .../share/doc/libacl1/copyright.expected.yml | 246 +- .../copyright-detailed.expected.yml | 51 +- .../doc/libapt-pkg6.0/copyright.expected.yml | 51 +- .../libattr1/copyright-detailed.expected.yml | 248 +- .../share/doc/libattr1/copyright.expected.yml | 246 +- .../copyright-detailed.expected.yml | 123 +- .../libaudit-common/copyright.expected.yml | 121 +- .../libblkid1/copyright-detailed.expected.yml | 594 +- .../doc/libblkid1/copyright.expected.yml | 586 +- .../copyright-detailed.expected.yml | 104 +- .../doc/libbz2-1.0/copyright.expected.yml | 104 +- .../libc-bin/copyright-detailed.expected.yml | 657 ++- .../share/doc/libc-bin/copyright.expected.yml | 653 ++- .../doc/libc6/copyright-detailed.expected.yml | 657 ++- .../share/doc/libc6/copyright.expected.yml | 653 ++- .../copyright-detailed.expected.yml | 84 +- .../doc/libcap-ng0/copyright.expected.yml | 84 +- .../copyright-detailed.expected.yml | 38 +- .../doc/libcom-err2/copyright.expected.yml | 38 +- .../libcrypt1/copyright-detailed.expected.yml | 322 +- .../doc/libcrypt1/copyright.expected.yml | 318 +- .../libdb5.3/copyright-detailed.expected.yml | 192 +- .../share/doc/libdb5.3/copyright.expected.yml | 192 +- .../copyright-detailed.expected.yml | 55 +- .../libdebconfclient0/copyright.expected.yml | 55 +- .../copyright-detailed.expected.yml | 110 +- .../doc/libext2fs2/copyright.expected.yml | 110 +- .../libffi7/copyright-detailed.expected.yml | 131 +- .../share/doc/libffi7/copyright.expected.yml | 130 +- .../copyright-detailed.expected.yml | 535 +- .../doc/libgcrypt20/copyright.expected.yml | 531 +- .../libgmp10/copyright-detailed.expected.yml | 139 +- .../share/doc/libgmp10/copyright.expected.yml | 139 +- .../copyright-detailed.expected.yml | 1911 ++++++- .../doc/libgnutls30/copyright.expected.yml | 1895 +++++- .../copyright-detailed.expected.yml | 202 +- .../doc/libgpg-error0/copyright.expected.yml | 200 +- .../copyright-detailed.expected.yml | 1302 ++++- .../libgssapi-krb5-2/copyright.expected.yml | 1290 ++++- .../copyright-detailed.expected.yml | 572 +- .../doc/libhogweed6/copyright.expected.yml | 553 +- .../libidn2-0/copyright-detailed.expected.yml | 248 +- .../doc/libidn2-0/copyright.expected.yml | 244 +- .../copyright-detailed.expected.yml | 1302 ++++- .../doc/libk5crypto3/copyright.expected.yml | 1290 ++++- .../copyright-detailed.expected.yml | 150 +- .../doc/libkeyutils1/copyright.expected.yml | 148 +- .../libkrb5-3/copyright-detailed.expected.yml | 1302 ++++- .../doc/libkrb5-3/copyright.expected.yml | 1290 ++++- .../liblz4-1/copyright-detailed.expected.yml | 192 +- .../share/doc/liblz4-1/copyright.expected.yml | 184 +- .../liblzma5/copyright-detailed.expected.yml | 992 +++- .../share/doc/liblzma5/copyright.expected.yml | 978 +++- .../libmount1/copyright-detailed.expected.yml | 594 +- .../doc/libmount1/copyright.expected.yml | 586 +- .../copyright-detailed.expected.yml | 572 +- .../doc/libnettle8/copyright.expected.yml | 553 +- .../libnsl2/copyright-detailed.expected.yml | 504 +- .../share/doc/libnsl2/copyright.expected.yml | 496 +- .../copyright-detailed.expected.yml | 230 +- .../doc/libp11-kit0/copyright.expected.yml | 227 +- .../copyright-detailed.expected.yml | 66 +- .../doc/libpam-modules/copyright.expected.yml | 66 +- .../copyright-detailed.expected.yml | 106 +- .../doc/libpcre2-8-0/copyright.expected.yml | 106 +- .../libpcre3/copyright-detailed.expected.yml | 93 +- .../share/doc/libpcre3/copyright.expected.yml | 93 +- .../copyright-detailed.expected.yml | 58 +- .../doc/libseccomp2/copyright.expected.yml | 56 +- .../copyright-detailed.expected.yml | 98 +- .../doc/libselinux1/copyright.expected.yml | 98 +- .../copyright-detailed.expected.yml | 56 +- .../libsemanage-common/copyright.expected.yml | 56 +- .../libsepol1/copyright-detailed.expected.yml | 56 +- .../doc/libsepol1/copyright.expected.yml | 56 +- .../copyright-detailed.expected.yml | 594 +- .../doc/libsmartcols1/copyright.expected.yml | 586 +- .../libss2/copyright-detailed.expected.yml | 38 +- .../share/doc/libss2/copyright.expected.yml | 38 +- .../libssl1.1/copyright-detailed.expected.yml | 98 +- .../doc/libssl1.1/copyright.expected.yml | 98 +- .../copyright-detailed.expected.yml | 403 +- .../doc/libsystemd0/copyright.expected.yml | 398 +- .../copyright-detailed.expected.yml | 168 +- .../doc/libtasn1-6/copyright.expected.yml | 167 +- .../libtinfo6/copyright-detailed.expected.yml | 125 +- .../doc/libtinfo6/copyright.expected.yml | 125 +- .../copyright-detailed.expected.yml | 280 +- .../libtirpc-common/copyright.expected.yml | 278 +- .../libudev1/copyright-detailed.expected.yml | 403 +- .../share/doc/libudev1/copyright.expected.yml | 398 +- .../copyright-detailed.expected.yml | 367 +- .../doc/libunistring2/copyright.expected.yml | 369 +- .../libuuid1/copyright-detailed.expected.yml | 594 +- .../share/doc/libuuid1/copyright.expected.yml | 586 +- .../copyright-detailed.expected.yml | 109 +- .../doc/libxxhash0/copyright.expected.yml | 107 +- .../libzstd1/copyright-detailed.expected.yml | 177 +- .../share/doc/libzstd1/copyright.expected.yml | 175 +- .../doc/login/copyright-detailed.expected.yml | 87 +- .../share/doc/login/copyright.expected.yml | 87 +- .../logsave/copyright-detailed.expected.yml | 110 +- .../share/doc/logsave/copyright.expected.yml | 110 +- .../lsb-base/copyright-detailed.expected.yml | 100 +- .../share/doc/lsb-base/copyright.expected.yml | 100 +- .../doc/mawk/copyright-detailed.expected.yml | 33 +- .../usr/share/doc/mawk/copyright.expected.yml | 33 +- .../doc/mount/copyright-detailed.expected.yml | 594 +- .../share/doc/mount/copyright.expected.yml | 586 +- .../copyright-detailed.expected.yml | 125 +- .../doc/ncurses-base/copyright.expected.yml | 125 +- .../passwd/copyright-detailed.expected.yml | 87 +- .../share/doc/passwd/copyright.expected.yml | 87 +- .../perl-base/copyright-detailed.expected.yml | 4785 +++++++++++++++- .../doc/perl-base/copyright.expected.yml | 4828 +++++++++++++++- .../doc/sed/copyright-detailed.expected.yml | 49 +- .../usr/share/doc/sed/copyright.expected.yml | 49 +- .../copyright-detailed.expected.yml | 57 +- .../doc/sysvinit-utils/copyright.expected.yml | 57 +- .../doc/tar/copyright-detailed.expected.yml | 65 +- .../usr/share/doc/tar/copyright.expected.yml | 65 +- .../copyright-detailed.expected.yml | 594 +- .../doc/util-linux/copyright.expected.yml | 586 +- .../zlib1g/copyright-detailed.expected.yml | 44 +- .../share/doc/zlib1g/copyright.expected.yml | 44 +- tests/packagedcode/test_debian_copyright.py | 88 +- 379 files changed, 133585 insertions(+), 2099 deletions(-) diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/acme-tiny/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/acme-tiny/stable_copyright-detailed.expected.yml index 36451ba6365..16fe30b9d9a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/acme-tiny/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/acme-tiny/stable_copyright-detailed.expected.yml @@ -1,10 +1,46 @@ -- mit -- - MIT +primary_license: mit +declared_license: - MIT - MIT -- mit AND mit -- | + - MIT +license_expression: mit AND mit +copyright: | 2015 Daniel Roesler 2016-2017 Jeremías Casteglione 2017-2018 Sebastien Badia 2019 Samuel Henrique +matches: + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/acme-tiny/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/acme-tiny/stable_copyright.expected.yml index 6652b07f7ba..9ceaec3675f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/acme-tiny/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/acme-tiny/stable_copyright.expected.yml @@ -1,4 +1,40 @@ -- mit -- - MIT -- mit -- 2015 Daniel Roesler +primary_license: mit +declared_license: + - MIT +license_expression: mit +copyright: 2015 Daniel Roesler +matches: + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/apache2/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/apache2/stable_copyright-detailed.expected.yml index 9c1dcc9d5e4..e975bbfbc7f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/apache2/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/apache2/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- apache-2.0 -- - Apache-2.0 +primary_license: apache-2.0 +declared_license: + - Apache-2.0 - Apache-2.0 and BSD-3-clause-Cambridge - PCRE - GPL-3+ or Custom @@ -26,15 +27,15 @@ - BSD-3-clause-Cambridge - Custom - Expat -- (apache-2.0 AND apache-2.0 AND apache-2.0) AND ((apache-2.0 AND apache-2.0 AND apache-2.0) - AND bsd-new) AND bsd-new AND ((gpl-3.0-plus AND gpl-3.0-plus AND gpl-2.0 AND gpl-3.0) OR bison-exception-2.2) - AND bsd-unchanged AND ((apache-2.0 AND apache-2.0 AND apache-2.0) AND (apache-2.0 AND hs-regexp)) - AND (apache-2.0 AND apache-2.0 AND apache-2.0) AND bsd-simplified-darwin AND ((apache-2.0 - AND apache-2.0 AND apache-2.0) AND public-domain) AND ((apache-2.0 AND apache-2.0 AND apache-2.0) - AND (x11-keith-packard AND historical)) AND ((apache-2.0 AND apache-2.0 AND apache-2.0) AND - zeusbench) AND ((apache-2.0 AND apache-2.0 AND apache-2.0) OR (gpl-2.0-plus AND gpl-2.0-plus - AND gpl-2.0 AND gpl-2.0)) AND mit AND (apache-2.0 AND apache-2.0 AND apache-2.0) -- | +license_expression: (apache-2.0 AND apache-2.0 AND apache-2.0) AND ((apache-2.0 AND apache-2.0 + AND apache-2.0) AND bsd-new) AND bsd-new AND ((gpl-3.0-plus AND gpl-3.0-plus AND gpl-2.0 AND + gpl-3.0) OR bison-exception-2.2) AND bsd-unchanged AND ((apache-2.0 AND apache-2.0 AND apache-2.0) + AND (apache-2.0 AND hs-regexp)) AND (apache-2.0 AND apache-2.0 AND apache-2.0) AND bsd-simplified-darwin + AND ((apache-2.0 AND apache-2.0 AND apache-2.0) AND public-domain) AND ((apache-2.0 AND apache-2.0 + AND apache-2.0) AND (x11-keith-packard AND historical)) AND ((apache-2.0 AND apache-2.0 AND + apache-2.0) AND zeusbench) AND ((apache-2.0 AND apache-2.0 AND apache-2.0) OR (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0)) AND mit AND (apache-2.0 AND apache-2.0 AND apache-2.0) +copyright: | Copyright 2019 The Apache Software Foundation 2019 The Apache Software Foundation Copyright: 1997-2004 University of Cambridge @@ -59,3 +60,630 @@ 2012 Arno Töll 2012 Arno Töll 2008 Stefan Fritsch +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 14 + matcher: 2-aho + rule_length: 119 + matched_length: 119 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_663.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + - score: '100.0' + start_line: 16 + end_line: 17 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_664.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the full text of the Apache Software License version 2 can + be found in the file `/usr/share/common-licenses/Apache-2.0'. + - score: '100.0' + start_line: 4 + end_line: 13 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zeusbench_1.RULE + license_expression: zeusbench + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided "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 + Zeus Technology Ltd. be liable for any direct, indirect, incidental, special, + exemplary, or consequential damaged (including, but not limited to, + procurement of substitute good or services; loss of use, data, or profits; + or business interruption) however caused and on 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 + - score: '100.0' + start_line: 13 + end_line: 37 + matcher: 2-aho + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_879.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + * Neither the name of the University of Cambridge 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 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 OWNER 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. + - score: '100.0' + start_line: 27 + end_line: 46 + matcher: 2-aho + rule_length: 168 + matched_length: 168 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-keith-packard3.RULE + license_expression: x11-keith-packard + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this software + and its documentation for any purpose is hereby granted without + fee, provided that the above copyright notice appear in all copies + and that both that copyright notice and this permission notice + appear in supporting documentation, and that the name of Carnegie + Mellon University not be used in advertising or publicity + pertaining to distribution of the software without specific, + written prior permission. Carnegie Mellon University makes no + representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied + warranty. + + CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO + THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE + FOR ANY SPECIAL, 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 THIS + SOFTWARE. + - score: '100.0' + start_line: 52 + end_line: 61 + matcher: 2-aho + rule_length: 87 + matched_length: 87 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_9.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this material + for any purpose and without fee is hereby granted, provided + that the above copyright notice and this permission notice + appear in all copies, and that the name of Bellcore not be + used in advertising or publicity pertaining to this + material without the specific, prior written permission + of an authorized representative of Bellcore. BELLCORE + MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY + OF THIS MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS", + WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_96.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '33.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_90.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 33 + matcher: 1-hash + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_361.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This imagemap module started as a port of the original imagemap.c + written by Rob McCool (11/13/93 robm@ncsa.uiuc.edu). + This version includes the mapping algorithms found in version 1.3 + of imagemap.c. + + Contributors to this code include: + + Kevin Hughes, kevinh@pulua.hcc.hawaii.edu + + Eric Haines, erich@eye.com + "macmartinized" polygon code copyright 1992 by Eric Haines, erich@eye.com + + Randy Terbush, randy@zyzzyva.com + port to Apache module format, "base_uri" and support for relative URLs + + James H. Cloos, Jr., cloos@jhcloos.com + Added point datatype, using code in NCSA's version 1.8 imagemap.c + program, as distributed with version 1.4.1 of their server. + The point code is originally added by Craig Milo Rogers, Rogers@ISI.Edu + + Nathan Kurz, nate@tripod.com + Rewrite/reorganization. New handling of default, base and relative URLs. + New Configuration directives: + ImapMenu {none, formatted, semiformatted, unformatted} + ImapDefault {error, nocontent, referer, menu, URL} + ImapBase {map, referer, URL} + Support for creating non-graphical menu added. (backwards compatible): + Old: directive URL [x,y ...] + New: directive URL "Menu text" [x,y ...] + or: directive URL x,y ... "Menu text" + Map format and menu concept courtesy Joshua Bell, jsbell@acs.ucalgary.ca. + + Mark Cox, mark@ukweb.com, Allow relative URLs even when no base specified + - score: '100.0' + start_line: 4 + end_line: 27 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified-darwin.LICENSE + license_expression: bsd-simplified-darwin + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is not subject to any export provision of the United States + Department of Commerce, and may be exported to any country or planet. + + 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 immediately at the beginning of the file, without modification, + 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 AUTHOR 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 AUTHOR 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. + - score: '95.56' + start_line: 1 + end_line: 4 + matcher: 3-seq + rule_length: 45 + matched_length: 43 + match_coverage: '95.56' + rule_relevance: 100 + identifier: apache-2.0_44.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software was submitted by Cisco Systems to the Apache [Software] [Foundation] in July + 1997. Future revisions and derivatives of this source code must + acknowledge Cisco Systems as the original contributor of this module. + All other licensing and usage conditions are those of the Apache + - score: '100.0' + start_line: 12 + end_line: 30 + matcher: 2-aho + rule_length: 148 + matched_length: 148 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hs-regexp_1.RULE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is not subject to any license of the American Telephone and + Telegraph Company or of the Regents of the University of California. + + Permission is granted to anyone to use this software for any purpose on any + computer system, and to alter it and redistribute it freely, subject to + the following restrictions: + + 1. The author is not responsible for the consequences of use of this + software, no matter how awful, even if they arise from flaws in it. + + 2. The origin of this software must not be misrepresented, either by + explicit claim or by omission. Since few users ever read sources, credits + must appear in the documentation. + + 3. Altered versions must be plainly marked as such, and must not be + misrepresented as being the original software. Since few users ever read + sources, credits must appear in the documentation. + + 4. This notice may not be removed or altered. + - score: '99.52' + start_line: 1 + end_line: 22 + matcher: 3-seq + rule_length: 208 + matched_length: 207 + match_coverage: '99.52' + rule_relevance: 100 + identifier: bsd-unchanged_1.RULE + license_expression: bsd-unchanged + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 + in this position and unchanged. + 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. + 3. The name of the author may not be used to endorse or promote products + derived from this software [withough] specific prior written permission + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_879.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + * Neither the name of the University of Cambridge 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 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 OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bison-exception-2.2.LICENSE + license_expression: bison-exception-2.2 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + . + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. */ + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of + the Software, and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/apache2/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/apache2/stable_copyright.expected.yml index 4cf3cff4b13..b813fbc09a9 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/apache2/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/apache2/stable_copyright.expected.yml @@ -1,5 +1,6 @@ -- apache-2.0 -- - Apache-2.0 +primary_license: apache-2.0 +declared_license: + - Apache-2.0 - Apache-2.0 and BSD-3-clause-Cambridge - PCRE - GPL-3+ or Custom @@ -19,12 +20,12 @@ - Cisco - BSD-3-clause-Cambridge - Custom -- apache-2.0 AND (apache-2.0 AND bsd-new) AND bsd-new AND ((gpl-3.0-plus AND gpl-2.0 AND gpl-3.0) - OR bison-exception-2.2) AND bsd-unchanged AND (apache-2.0 AND (apache-2.0 AND hs-regexp)) - AND bsd-simplified-darwin AND (apache-2.0 AND public-domain) AND (apache-2.0 AND (x11-keith-packard - AND historical)) AND (apache-2.0 AND zeusbench) AND (apache-2.0 OR (gpl-2.0-plus AND gpl-2.0)) - AND mit -- | +license_expression: apache-2.0 AND (apache-2.0 AND bsd-new) AND bsd-new AND ((gpl-3.0-plus AND + gpl-2.0 AND gpl-3.0) OR bison-exception-2.2) AND bsd-unchanged AND (apache-2.0 AND (apache-2.0 + AND hs-regexp)) AND bsd-simplified-darwin AND (apache-2.0 AND public-domain) AND (apache-2.0 + AND (x11-keith-packard AND historical)) AND (apache-2.0 AND zeusbench) AND (apache-2.0 OR + (gpl-2.0-plus AND gpl-2.0)) AND mit +copyright: | Copyright 2019 The Apache Software Foundation 2019 The Apache Software Foundation Copyright: 1997-2004 University of Cambridge @@ -43,3 +44,630 @@ 1996 by Zeus Technology Ltd. http://www.zeustech.net/ 2012 Arno Töll 2008 Stefan Fritsch +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 14 + matcher: 2-aho + rule_length: 119 + matched_length: 119 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_663.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + - score: '100.0' + start_line: 16 + end_line: 17 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_664.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the full text of the Apache Software License version 2 can + be found in the file `/usr/share/common-licenses/Apache-2.0'. + - score: '100.0' + start_line: 4 + end_line: 13 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zeusbench_1.RULE + license_expression: zeusbench + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided "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 + Zeus Technology Ltd. be liable for any direct, indirect, incidental, special, + exemplary, or consequential damaged (including, but not limited to, + procurement of substitute good or services; loss of use, data, or profits; + or business interruption) however caused and on 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 + - score: '100.0' + start_line: 13 + end_line: 37 + matcher: 2-aho + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_879.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + * Neither the name of the University of Cambridge 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 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 OWNER 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. + - score: '100.0' + start_line: 27 + end_line: 46 + matcher: 2-aho + rule_length: 168 + matched_length: 168 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-keith-packard3.RULE + license_expression: x11-keith-packard + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this software + and its documentation for any purpose is hereby granted without + fee, provided that the above copyright notice appear in all copies + and that both that copyright notice and this permission notice + appear in supporting documentation, and that the name of Carnegie + Mellon University not be used in advertising or publicity + pertaining to distribution of the software without specific, + written prior permission. Carnegie Mellon University makes no + representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied + warranty. + + CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO + THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE + FOR ANY SPECIAL, 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 THIS + SOFTWARE. + - score: '100.0' + start_line: 52 + end_line: 61 + matcher: 2-aho + rule_length: 87 + matched_length: 87 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_9.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this material + for any purpose and without fee is hereby granted, provided + that the above copyright notice and this permission notice + appear in all copies, and that the name of Bellcore not be + used in advertising or publicity pertaining to this + material without the specific, prior written permission + of an authorized representative of Bellcore. BELLCORE + MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY + OF THIS MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS", + WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_96.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '33.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_90.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 33 + matcher: 1-hash + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_361.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This imagemap module started as a port of the original imagemap.c + written by Rob McCool (11/13/93 robm@ncsa.uiuc.edu). + This version includes the mapping algorithms found in version 1.3 + of imagemap.c. + + Contributors to this code include: + + Kevin Hughes, kevinh@pulua.hcc.hawaii.edu + + Eric Haines, erich@eye.com + "macmartinized" polygon code copyright 1992 by Eric Haines, erich@eye.com + + Randy Terbush, randy@zyzzyva.com + port to Apache module format, "base_uri" and support for relative URLs + + James H. Cloos, Jr., cloos@jhcloos.com + Added point datatype, using code in NCSA's version 1.8 imagemap.c + program, as distributed with version 1.4.1 of their server. + The point code is originally added by Craig Milo Rogers, Rogers@ISI.Edu + + Nathan Kurz, nate@tripod.com + Rewrite/reorganization. New handling of default, base and relative URLs. + New Configuration directives: + ImapMenu {none, formatted, semiformatted, unformatted} + ImapDefault {error, nocontent, referer, menu, URL} + ImapBase {map, referer, URL} + Support for creating non-graphical menu added. (backwards compatible): + Old: directive URL [x,y ...] + New: directive URL "Menu text" [x,y ...] + or: directive URL x,y ... "Menu text" + Map format and menu concept courtesy Joshua Bell, jsbell@acs.ucalgary.ca. + + Mark Cox, mark@ukweb.com, Allow relative URLs even when no base specified + - score: '100.0' + start_line: 4 + end_line: 27 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified-darwin.LICENSE + license_expression: bsd-simplified-darwin + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is not subject to any export provision of the United States + Department of Commerce, and may be exported to any country or planet. + + 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 immediately at the beginning of the file, without modification, + 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 AUTHOR 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 AUTHOR 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. + - score: '95.56' + start_line: 1 + end_line: 4 + matcher: 3-seq + rule_length: 45 + matched_length: 43 + match_coverage: '95.56' + rule_relevance: 100 + identifier: apache-2.0_44.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software was submitted by Cisco Systems to the Apache [Software] [Foundation] in July + 1997. Future revisions and derivatives of this source code must + acknowledge Cisco Systems as the original contributor of this module. + All other licensing and usage conditions are those of the Apache + - score: '100.0' + start_line: 12 + end_line: 30 + matcher: 2-aho + rule_length: 148 + matched_length: 148 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hs-regexp_1.RULE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is not subject to any license of the American Telephone and + Telegraph Company or of the Regents of the University of California. + + Permission is granted to anyone to use this software for any purpose on any + computer system, and to alter it and redistribute it freely, subject to + the following restrictions: + + 1. The author is not responsible for the consequences of use of this + software, no matter how awful, even if they arise from flaws in it. + + 2. The origin of this software must not be misrepresented, either by + explicit claim or by omission. Since few users ever read sources, credits + must appear in the documentation. + + 3. Altered versions must be plainly marked as such, and must not be + misrepresented as being the original software. Since few users ever read + sources, credits must appear in the documentation. + + 4. This notice may not be removed or altered. + - score: '99.52' + start_line: 1 + end_line: 22 + matcher: 3-seq + rule_length: 208 + matched_length: 207 + match_coverage: '99.52' + rule_relevance: 100 + identifier: bsd-unchanged_1.RULE + license_expression: bsd-unchanged + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 + in this position and unchanged. + 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. + 3. The name of the author may not be used to endorse or promote products + derived from this software [withough] specific prior written permission + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_879.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + * Neither the name of the University of Cambridge 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 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 OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bison-exception-2.2.LICENSE + license_expression: bison-exception-2.2 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + . + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. */ + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of + the Software, and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/appstream/appstream_0.12.5-1_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/appstream/appstream_0.12.5-1_copyright-detailed.expected.yml index 9db4d9c46b1..2210b92dfb4 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/appstream/appstream_0.12.5-1_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/appstream/appstream_0.12.5-1_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND (lgpl-2.1-plus AND lgpl-2.1) -- - GPL-2+ and LGPL-2.1+ +primary_license: gpl-2.0-plus AND (lgpl-2.1-plus AND lgpl-2.1) +declared_license: + - GPL-2+ and LGPL-2.1+ - LGPL-2.1+ - LGPL-2.1+ - GPL-2+ @@ -11,13 +12,14 @@ - LGPL-2.1+ - GPL-2+ - LGPL-2.1+ -- ((gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1)) AND (lgpl-2.1-plus - AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-2.0-plus - AND gpl-2.0-plus) AND ((gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus - AND lgpl-2.1)) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus - AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus - AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) -- | +license_expression: ((gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND + lgpl-2.1)) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-2.0-plus AND gpl-2.0-plus) AND ((gpl-2.0-plus AND gpl-2.0-plus) AND + (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1)) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) + AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND + lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) +copyright: | 2012-2018, Matthias Klumpp Richard Hughes 2012-2018, Matthias Klumpp @@ -35,3 +37,113 @@ 2014, Richard Hughes 2017, Matthias Klumpp 2016, Lucas Moura +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '98.41' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 124 + match_coverage: '98.41' + rule_relevance: 100 + identifier: gpl-2.0-plus_38.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_36.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2.1 of the License, or + (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this library. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General + Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/appstream/appstream_0.12.5-1_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/appstream/appstream_0.12.5-1_copyright.expected.yml index c86702596b1..4e33eb7801e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/appstream/appstream_0.12.5-1_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/appstream/appstream_0.12.5-1_copyright.expected.yml @@ -1,9 +1,11 @@ -- gpl-2.0-plus AND (lgpl-2.1-plus AND lgpl-2.1) -- - GPL-2+ and LGPL-2.1+ +primary_license: gpl-2.0-plus AND (lgpl-2.1-plus AND lgpl-2.1) +declared_license: + - GPL-2+ and LGPL-2.1+ - LGPL-2.1+ - GPL-2+ -- (gpl-2.0-plus AND (lgpl-2.1-plus AND lgpl-2.1)) AND (lgpl-2.1-plus AND lgpl-2.1) AND gpl-2.0-plus -- | +license_expression: (gpl-2.0-plus AND (lgpl-2.1-plus AND lgpl-2.1)) AND (lgpl-2.1-plus AND lgpl-2.1) + AND gpl-2.0-plus +copyright: | 2012-2018, Matthias Klumpp Richard Hughes 2016-2018, Aleix Pol Gonzalez @@ -19,3 +21,113 @@ 2014, Richard Hughes 2017, Matthias Klumpp 2016, Lucas Moura +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '98.41' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 124 + match_coverage: '98.41' + rule_relevance: 100 + identifier: gpl-2.0-plus_38.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_36.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2.1 of the License, or + (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this library. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General + Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/asterisk/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/asterisk/stable_copyright-detailed.expected.yml index ee3f835ca47..6ba2dd5a0fc 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/asterisk/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/asterisk/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0 -- - GPL-2-Asterisk +primary_license: gpl-2.0 +declared_license: + - GPL-2-Asterisk - FSFUL - GPL-2+ with Autoconf exception - MIT @@ -51,17 +52,17 @@ - ISC - WOL - FSFUL -- gpl-2.0 AND gpl-2.0 AND gpl-3.0 AND fsf-free AND autoconf-simple-exception-2.0 AND gpl-2.0-plus - AND mit-old-style-no-advert AND gpl-2.0 AND gpl-1.0-plus AND gpl-2.0 AND gpl-1.0-plus AND - unknown AND bsd-original-uc AND gpl-2.0 AND free-unknown AND tu-berlin AND bsd-new AND bsd-new - AND bsd-original AND gpl-2.0-plus AND public-domain AND unknown AND public-domain AND gpl-2.0 - AND (gpl-1.0-plus AND lgpl-2.0-plus AND gpl-1.0-plus) AND public-domain AND other-permissive +license_expression: gpl-2.0 AND gpl-2.0 AND gpl-3.0 AND fsf-free AND autoconf-simple-exception-2.0 + AND gpl-2.0-plus AND mit-old-style-no-advert AND gpl-2.0 AND gpl-1.0-plus AND gpl-2.0 AND + gpl-1.0-plus AND unknown AND bsd-original-uc AND gpl-2.0 AND free-unknown AND tu-berlin AND + bsd-new AND bsd-new AND bsd-original AND gpl-2.0-plus AND public-domain AND unknown AND public-domain + AND gpl-2.0 AND (gpl-1.0-plus AND lgpl-2.0-plus AND gpl-1.0-plus) AND public-domain AND other-permissive AND (mit AND gpl-2.0) AND gpl-2.0-plus AND gpl-2.0-plus AND public-domain AND (bsd-original-uc AND isc AND gpl-2.0) AND gpl-3.0 AND bsd-original-uc AND bison-exception-2.2 AND gpl-3.0-plus AND bsd-new AND gpl-2.0 AND gpl-1.0-plus AND (wol AND gpl-2.0) AND gpl-3.0 AND (lgpl-2.1 OR gpl-2.0) AND lgpl-2.0-plus AND (gpl-3.0 AND lgpl-2.0-plus) AND public-domain AND isc AND brian-clapper AND lgpl-2.1 AND lgpl-2.0-plus AND mit-0 AND mit AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus -- | +copyright: | 1999-2006, Brett Bryant 1999-2006, Mark Spencer 1999-2006, Oleksiy Krivoshey @@ -184,3 +185,1031 @@ 2005-2008, Sam Stephenson 2007, Russell Bryant 2014, Lorenzo Miniero +matches: + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: autoconf-simple-exception-2.0.LICENSE + license_expression: autoconf-simple-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a configuration + script generated by Autoconf, you may include it under the same + distribution terms that you use for the rest of that program. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_41.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is in the public domain, so clarified as of + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_205.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: released into public domain + - score: '66.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 66 + identifier: other-permissive_2.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This code is released by the author with no restrictions on usage. + - score: '50.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: public-domain_357.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is distributed with no restrictions on usage or + redistribution. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 90 + matched_length: 90 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bison-exception-2.2_2.RULE + license_expression: bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, you may create a larger work that contains part + or all of the Bison parser skeleton and distribute that work under + terms of your choice, so long as that work isn't itself a parser + generator using the skeleton or a modified version thereof as a parser + skeleton. Alternatively, if you modify or redistribute the parser + skeleton itself, you may (at your option) remove this special + exception, which will cause the skeleton and the resulting Bison output + files to be licensed under the GNU General Public License without this + special exception. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_303.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This code was written by Colin Plumb in 1993, no copyright is claimed. + This code is in the public domain; do with it what you wish. + - score: '96.07' + start_line: 1 + end_line: 46 + matcher: 3-seq + rule_length: 356 + matched_length: 342 + match_coverage: '96.07' + rule_relevance: 100 + identifier: gpl-2.0_1121.RULE + license_expression: gpl-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is distributed under the GNU General Public License version 2 + and is also available under alternative licenses negotiated directly + with [Digium], [Inc]. If you obtained [Asterisk] under the GPL, then the GPL + applies to all loadable [Asterisk] modules used on your system as well, + except as defined below. The GPL (version 2) is included in this + source tree in the file COPYING. + + This package also includes various components that are not part of + [Asterisk] itself; these components are in the 'contrib' directory + and its subdirectories. These components are also distributed under the + GPL version 2 as well. + + [Digium], [Inc]. ([formerly] [Linux] [Support] [Services]) holds copyright + and/or sufficient licenses to all components of the [Asterisk] + package, and therefore can grant, at its sole discretion, the ability + for companies, individuals, or organizations to create proprietary or + Open Source (even if not GPL) modules which may be dynamically linked at + runtime with the portions of [Asterisk] which fall under our + copyright/license umbrella, or are distributed under more flexible + licenses than GPL. + + If you wish to use our code in other GPL programs, don't worry -- + there is no requirement that you provide the same exception in your + GPL'd products (although if you've written a module for [Asterisk] we + would strongly encourage you to make the same exception that we do). + + Specific permission is also granted to link [Asterisk] [with] [OpenSSL], [OpenH323] + [and]/[or] [the] [UW] [IMAP] [Toolkit] and distribute the resulting binary files. + + In addition, [Asterisk] [implements] [two] [management]/[control] [protocols]: [the] + [Asterisk] [Manager] [Interface] ([AMI]) [and] [the] [Asterisk] [Gateway] [Interface] + ([AGI]). [It] [is] [our] [belief] [that] [applications] [using] [these] [protocols] [to] + [manage] [or] [control] [an] [Asterisk] instance do not have to be licensed + under the GPL or a compatible license, as we believe these protocols + do not create a 'derivative work' as referred to in the GPL. However, + should any court or other judiciary body find that these protocols do + fall under the terms of the GPL, then we hereby grant you a license to + use these protocols in combination with [Asterisk] in external + applications licensed under any license you wish. + + The '[Asterisk]' name and logos are trademarks owned by [Digium], [Inc]., + and use of them is subject to our trademark licensing policies. If you + wish to use these trademarks for purposes other than simple + redistribution of [Asterisk] source code obtained from [Digium], you + should contact our licensing department to determine the necessary + steps you must take. + - score: '80.0' + start_line: 1 + end_line: 10 + matcher: 1-hash + rule_length: 86 + matched_length: 86 + match_coverage: '100.0' + rule_relevance: 80 + identifier: mit_17.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-0_7.RULE + license_expression: mit-0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 96 + matched_length: 96 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_3.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this software and + its documentation for any purpose is hereby granted without fee, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the name of M.I.T. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. M.I.T. makes no + representations about the suitability of this software for any purpose. + It is provided "as is" without express or implied warranty. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_1015.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + - Neither the name of the Xiph.org Foundation 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 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 FOUNDATION 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. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 216 + matched_length: 216 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_49.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + - Neither the name of Internet Society, IETF or IETF Trust, nor the + names of specific contributors, may be used to endorse or promote + products derived from this software without specific prior written + permission. + + 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 + OWNER 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. + - score: '99.18' + start_line: 1 + end_line: 28 + matcher: 3-seq + rule_length: 243 + matched_length: 241 + match_coverage: '99.18' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this + software must display the following acknowledgement: This product + includes software developed by the University of California, + Berkeley and its contributors. + 4. Neither the name of the University nor the names of [itscontributors] + may be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 29 + matcher: 1-hash + rule_length: 245 + matched_length: 245 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_32.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this + software must display the following acknowledgement: This product + includes software developed by the NetBSD Foundation, Inc. and its + contributors. + 4. Neither the name of The NetBSD Foundation 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 BY THE NETBSD FOUNDATION, 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 THE + FOUNDATION 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. + - score: '68.89' + start_line: 1 + end_line: 21 + matcher: 3-seq + rule_length: 180 + matched_length: 124 + match_coverage: '68.89' + rule_relevance: 100 + identifier: brian-clapper.LICENSE + license_expression: brian-clapper + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + provided that: + + (1) source distributions retain this entire copyright notice and + comment; + + (2) modifications made to the software are prominently mentioned, and a + copy of the original software (or a pointer to its location) are + included; and + + (3) distributions including binaries display the following + acknowledgement: "This product includes software developed by Brian + M. Clapper " in the documentation or other + materials provided with the distribution. + + The name of the author 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. + - score: '100.0' + start_line: 1 + end_line: 10 + matcher: 1-hash + rule_length: 90 + matched_length: 90 + match_coverage: '100.0' + rule_relevance: 100 + identifier: tu-berlin.LICENSE + license_expression: tu-berlin + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Any use of this software is permitted provided that this notice is not + removed and that neither the authors nor the Technische Universitaet + Berlin are deemed to have made any representations as to the + suitability of this software for any purpose nor are held responsible + for any defects of this software. THERE IS ABSOLUTELY NO WARRANTY FOR + THIS SOFTWARE. + + As a matter of courtesy, the authors request to be informed about uses + this software has found, about bugs in this software, and about any + improvements that may be of general interest. + - score: '99.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 33 + matched_length: 33 + match_coverage: '100.0' + rule_relevance: 99 + identifier: isc_truncated.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + - score: '90.77' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 65 + matched_length: 59 + match_coverage: '90.77' + rule_relevance: 100 + identifier: wol.LICENSE + license_expression: wol + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The Wide Open License (WOL) + + Permission to use, copy, modify, distribute and sell this software and + its documentation for any purpose is hereby granted without fee, + provided that the above copyright notice and this license appear in all + source copies. THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR + IMPLIED WARRANTY OF ANY KIND. See http://www.dspguru.com/ + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free.LICENSE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_620.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPL-2 + - score: '63.64' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 33 + matched_length: 21 + match_coverage: '63.64' + rule_relevance: 100 + identifier: gpl-3.0_290.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + distributed under the terms of the GNU + [General] Public License Version [2]. See the LICENSE file at the top of + the source tree. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_165.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_125.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + under the terms of the GNU + General Public License + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_125.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the terms of the GNU General Public License + - score: '11.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: unknown_9.RULE + license_expression: unknown + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: none' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 44 + matched_length: 44 + match_coverage: '100.0' + rule_relevance: 100 + identifier: free-unknown_109.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is furnished under an open source license and may be used + and copied only in accordance with the terms of this license. The text + of the license may generally be found in the root directory of this + installation in the COPYING file. + - score: '11.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: unknown_9.RULE + license_expression: unknown + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: none' + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 145 + matched_length: 145 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_362.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + File lacks copyright and licensing, but contains the comment + "Conversion routines derived from code by guido@sienanet.it" which + might be interpreted as a copyright holder not granting a license. + More likely, however, the header file is considered non-copyrightable + header with merely a remark about origin of inspiration: + + * File was introduced in Asterisk 0.1.1 (according to git sources), + together with file format_wav_gsm.c containing same comment but + also explicit copyright and licensing: + . + + * Asterisk 0.1.1 was released in 1999 (according to git sources), + at about which time Guido Giorgetti released + audio-related Delphi 3 code as "Freeware": + + + . + + See also . + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_72.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + license + > (GPL? + - score: '75.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 75 + identifier: lgpl_bare_single_word.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL? + - score: '50.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2 of the License, or (at your + option) any later version. + - score: '63.64' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 33 + matched_length: 21 + match_coverage: '63.64' + rule_relevance: 100 + identifier: gpl-3.0_290.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + distributed under the terms of the GNU + [General] Public License Version [2]. See the LICENSE file at the top of + the source tree. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_7.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl_70.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under GPL + - score: '63.64' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 33 + matched_length: 21 + match_coverage: '63.64' + rule_relevance: 100 + identifier: gpl-3.0_290.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + distributed under the terms of the GNU + [General] Public License Version [2]. See the LICENSE file at the top of + the source tree. + - score: '99.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 99 + identifier: lgpl_33.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL license + - score: '63.64' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 33 + matched_length: 21 + match_coverage: '63.64' + rule_relevance: 100 + identifier: gpl-3.0_290.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + distributed under the terms of the GNU + [General] Public License Version [2]. See the LICENSE file at the top of + the source tree. + - score: '100.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl_48.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GNU LGPL + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_86.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software, distributed under the terms of + the GNU Lesser (Library) General Public License + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_723.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + freely distributable under the terms of an MIT-style + license. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_125.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the terms of the GNU General Public License diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/asterisk/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/asterisk/stable_copyright.expected.yml index d38b48eebe4..07cc736ffc2 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/asterisk/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/asterisk/stable_copyright.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0 -- - GPL-2-Asterisk +primary_license: gpl-2.0 +declared_license: + - GPL-2-Asterisk - FSFUL - GPL-2+ with Autoconf exception - MIT @@ -26,13 +27,13 @@ - Expat~disclaimer - Expat - WOL -- gpl-2.0 AND gpl-3.0 AND fsf-free AND autoconf-simple-exception-2.0 AND gpl-2.0-plus AND mit-old-style-no-advert - AND gpl-1.0-plus AND unknown AND bsd-original-uc AND free-unknown AND tu-berlin AND bsd-new - AND bsd-original AND public-domain AND (gpl-1.0-plus AND lgpl-2.0-plus) AND other-permissive - AND (mit AND gpl-2.0) AND (bsd-original-uc AND isc AND gpl-2.0) AND bison-exception-2.2 AND - gpl-3.0-plus AND (wol AND gpl-2.0) AND (lgpl-2.1 OR gpl-2.0) AND lgpl-2.0-plus AND (gpl-3.0 +license_expression: gpl-2.0 AND gpl-3.0 AND fsf-free AND autoconf-simple-exception-2.0 AND gpl-2.0-plus + AND mit-old-style-no-advert AND gpl-1.0-plus AND unknown AND bsd-original-uc AND free-unknown + AND tu-berlin AND bsd-new AND bsd-original AND public-domain AND (gpl-1.0-plus AND lgpl-2.0-plus) + AND other-permissive AND (mit AND gpl-2.0) AND (bsd-original-uc AND isc AND gpl-2.0) AND bison-exception-2.2 + AND gpl-3.0-plus AND (wol AND gpl-2.0) AND (lgpl-2.1 OR gpl-2.0) AND lgpl-2.0-plus AND (gpl-3.0 AND lgpl-2.0-plus) AND isc AND brian-clapper AND lgpl-2.1 AND mit-0 AND mit -- | +copyright: | 1999-2006, Brett Bryant 1999-2006, Mark Spencer 1999-2006, Oleksiy Krivoshey @@ -150,3 +151,1031 @@ 2005-2008, Sam Stephenson 2007, Russell Bryant 2014, Lorenzo Miniero +matches: + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: autoconf-simple-exception-2.0.LICENSE + license_expression: autoconf-simple-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a configuration + script generated by Autoconf, you may include it under the same + distribution terms that you use for the rest of that program. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_41.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is in the public domain, so clarified as of + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_205.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: released into public domain + - score: '66.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 66 + identifier: other-permissive_2.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This code is released by the author with no restrictions on usage. + - score: '50.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: public-domain_357.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is distributed with no restrictions on usage or + redistribution. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 90 + matched_length: 90 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bison-exception-2.2_2.RULE + license_expression: bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, you may create a larger work that contains part + or all of the Bison parser skeleton and distribute that work under + terms of your choice, so long as that work isn't itself a parser + generator using the skeleton or a modified version thereof as a parser + skeleton. Alternatively, if you modify or redistribute the parser + skeleton itself, you may (at your option) remove this special + exception, which will cause the skeleton and the resulting Bison output + files to be licensed under the GNU General Public License without this + special exception. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_303.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This code was written by Colin Plumb in 1993, no copyright is claimed. + This code is in the public domain; do with it what you wish. + - score: '96.07' + start_line: 1 + end_line: 46 + matcher: 3-seq + rule_length: 356 + matched_length: 342 + match_coverage: '96.07' + rule_relevance: 100 + identifier: gpl-2.0_1121.RULE + license_expression: gpl-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is distributed under the GNU General Public License version 2 + and is also available under alternative licenses negotiated directly + with [Digium], [Inc]. If you obtained [Asterisk] under the GPL, then the GPL + applies to all loadable [Asterisk] modules used on your system as well, + except as defined below. The GPL (version 2) is included in this + source tree in the file COPYING. + + This package also includes various components that are not part of + [Asterisk] itself; these components are in the 'contrib' directory + and its subdirectories. These components are also distributed under the + GPL version 2 as well. + + [Digium], [Inc]. ([formerly] [Linux] [Support] [Services]) holds copyright + and/or sufficient licenses to all components of the [Asterisk] + package, and therefore can grant, at its sole discretion, the ability + for companies, individuals, or organizations to create proprietary or + Open Source (even if not GPL) modules which may be dynamically linked at + runtime with the portions of [Asterisk] which fall under our + copyright/license umbrella, or are distributed under more flexible + licenses than GPL. + + If you wish to use our code in other GPL programs, don't worry -- + there is no requirement that you provide the same exception in your + GPL'd products (although if you've written a module for [Asterisk] we + would strongly encourage you to make the same exception that we do). + + Specific permission is also granted to link [Asterisk] [with] [OpenSSL], [OpenH323] + [and]/[or] [the] [UW] [IMAP] [Toolkit] and distribute the resulting binary files. + + In addition, [Asterisk] [implements] [two] [management]/[control] [protocols]: [the] + [Asterisk] [Manager] [Interface] ([AMI]) [and] [the] [Asterisk] [Gateway] [Interface] + ([AGI]). [It] [is] [our] [belief] [that] [applications] [using] [these] [protocols] [to] + [manage] [or] [control] [an] [Asterisk] instance do not have to be licensed + under the GPL or a compatible license, as we believe these protocols + do not create a 'derivative work' as referred to in the GPL. However, + should any court or other judiciary body find that these protocols do + fall under the terms of the GPL, then we hereby grant you a license to + use these protocols in combination with [Asterisk] in external + applications licensed under any license you wish. + + The '[Asterisk]' name and logos are trademarks owned by [Digium], [Inc]., + and use of them is subject to our trademark licensing policies. If you + wish to use these trademarks for purposes other than simple + redistribution of [Asterisk] source code obtained from [Digium], you + should contact our licensing department to determine the necessary + steps you must take. + - score: '80.0' + start_line: 1 + end_line: 10 + matcher: 1-hash + rule_length: 86 + matched_length: 86 + match_coverage: '100.0' + rule_relevance: 80 + identifier: mit_17.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-0_7.RULE + license_expression: mit-0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 96 + matched_length: 96 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_3.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this software and + its documentation for any purpose is hereby granted without fee, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the name of M.I.T. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. M.I.T. makes no + representations about the suitability of this software for any purpose. + It is provided "as is" without express or implied warranty. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_1015.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + - Neither the name of the Xiph.org Foundation 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 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 FOUNDATION 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. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 216 + matched_length: 216 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_49.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + - Neither the name of Internet Society, IETF or IETF Trust, nor the + names of specific contributors, may be used to endorse or promote + products derived from this software without specific prior written + permission. + + 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 + OWNER 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. + - score: '99.18' + start_line: 1 + end_line: 28 + matcher: 3-seq + rule_length: 243 + matched_length: 241 + match_coverage: '99.18' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this + software must display the following acknowledgement: This product + includes software developed by the University of California, + Berkeley and its contributors. + 4. Neither the name of the University nor the names of [itscontributors] + may be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 29 + matcher: 1-hash + rule_length: 245 + matched_length: 245 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_32.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this + software must display the following acknowledgement: This product + includes software developed by the NetBSD Foundation, Inc. and its + contributors. + 4. Neither the name of The NetBSD Foundation 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 BY THE NETBSD FOUNDATION, 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 THE + FOUNDATION 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. + - score: '68.89' + start_line: 1 + end_line: 21 + matcher: 3-seq + rule_length: 180 + matched_length: 124 + match_coverage: '68.89' + rule_relevance: 100 + identifier: brian-clapper.LICENSE + license_expression: brian-clapper + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + provided that: + + (1) source distributions retain this entire copyright notice and + comment; + + (2) modifications made to the software are prominently mentioned, and a + copy of the original software (or a pointer to its location) are + included; and + + (3) distributions including binaries display the following + acknowledgement: "This product includes software developed by Brian + M. Clapper " in the documentation or other + materials provided with the distribution. + + The name of the author 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. + - score: '100.0' + start_line: 1 + end_line: 10 + matcher: 1-hash + rule_length: 90 + matched_length: 90 + match_coverage: '100.0' + rule_relevance: 100 + identifier: tu-berlin.LICENSE + license_expression: tu-berlin + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Any use of this software is permitted provided that this notice is not + removed and that neither the authors nor the Technische Universitaet + Berlin are deemed to have made any representations as to the + suitability of this software for any purpose nor are held responsible + for any defects of this software. THERE IS ABSOLUTELY NO WARRANTY FOR + THIS SOFTWARE. + + As a matter of courtesy, the authors request to be informed about uses + this software has found, about bugs in this software, and about any + improvements that may be of general interest. + - score: '99.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 33 + matched_length: 33 + match_coverage: '100.0' + rule_relevance: 99 + identifier: isc_truncated.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + - score: '90.77' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 65 + matched_length: 59 + match_coverage: '90.77' + rule_relevance: 100 + identifier: wol.LICENSE + license_expression: wol + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The Wide Open License (WOL) + + Permission to use, copy, modify, distribute and sell this software and + its documentation for any purpose is hereby granted without fee, + provided that the above copyright notice and this license appear in all + source copies. THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR + IMPLIED WARRANTY OF ANY KIND. See http://www.dspguru.com/ + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free.LICENSE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_620.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPL-2 + - score: '63.64' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 33 + matched_length: 21 + match_coverage: '63.64' + rule_relevance: 100 + identifier: gpl-3.0_290.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + distributed under the terms of the GNU + [General] Public License Version [2]. See the LICENSE file at the top of + the source tree. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_165.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_125.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + under the terms of the GNU + General Public License + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_125.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the terms of the GNU General Public License + - score: '11.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: unknown_9.RULE + license_expression: unknown + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: none' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 44 + matched_length: 44 + match_coverage: '100.0' + rule_relevance: 100 + identifier: free-unknown_109.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is furnished under an open source license and may be used + and copied only in accordance with the terms of this license. The text + of the license may generally be found in the root directory of this + installation in the COPYING file. + - score: '11.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: unknown_9.RULE + license_expression: unknown + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: none' + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 145 + matched_length: 145 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_362.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + File lacks copyright and licensing, but contains the comment + "Conversion routines derived from code by guido@sienanet.it" which + might be interpreted as a copyright holder not granting a license. + More likely, however, the header file is considered non-copyrightable + header with merely a remark about origin of inspiration: + + * File was introduced in Asterisk 0.1.1 (according to git sources), + together with file format_wav_gsm.c containing same comment but + also explicit copyright and licensing: + . + + * Asterisk 0.1.1 was released in 1999 (according to git sources), + at about which time Guido Giorgetti released + audio-related Delphi 3 code as "Freeware": + + + . + + See also . + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_72.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + license + > (GPL? + - score: '75.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 75 + identifier: lgpl_bare_single_word.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL? + - score: '50.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2 of the License, or (at your + option) any later version. + - score: '63.64' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 33 + matched_length: 21 + match_coverage: '63.64' + rule_relevance: 100 + identifier: gpl-3.0_290.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + distributed under the terms of the GNU + [General] Public License Version [2]. See the LICENSE file at the top of + the source tree. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_7.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl_70.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under GPL + - score: '63.64' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 33 + matched_length: 21 + match_coverage: '63.64' + rule_relevance: 100 + identifier: gpl-3.0_290.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + distributed under the terms of the GNU + [General] Public License Version [2]. See the LICENSE file at the top of + the source tree. + - score: '99.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 99 + identifier: lgpl_33.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL license + - score: '63.64' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 33 + matched_length: 21 + match_coverage: '63.64' + rule_relevance: 100 + identifier: gpl-3.0_290.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + distributed under the terms of the GNU + [General] Public License Version [2]. See the LICENSE file at the top of + the source tree. + - score: '100.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl_48.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GNU LGPL + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_86.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software, distributed under the terms of + the GNU Lesser (Library) General Public License + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_723.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + freely distributable under the terms of an MIT-style + license. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_125.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the terms of the GNU General Public License diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/b/backup-manager/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/b/backup-manager/stable_copyright-detailed.expected.yml index de6aa9311d8..9a6d4814a40 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/b/backup-manager/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/b/backup-manager/stable_copyright-detailed.expected.yml @@ -1,9 +1,47 @@ -- -- -- gpl-2.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0 +copyright: | Copyright 2003-2010 Alexis Sukrieh Copyright 2005 Alexis Sukrieh Debianization Copyright 2005-2009 Alexis Sukrieh Copyright 2009-2012 Sven Joachim Copyright 2011-2012 Georgios M. Zarkadas +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_434.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This program is free software; you can redistribute it and/or\n\ + \ modify it under the terms of the GNU General Public License\n as published by the Free\ + \ Software Foundation; either version 2\n of the License, or (at your option) any later\ + \ version." + - score: '100.0' + start_line: 25 + end_line: 26 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2`. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/b/backup-manager/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/b/backup-manager/stable_copyright.expected.yml index de6aa9311d8..9a6d4814a40 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/b/backup-manager/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/b/backup-manager/stable_copyright.expected.yml @@ -1,9 +1,47 @@ -- -- -- gpl-2.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0 +copyright: | Copyright 2003-2010 Alexis Sukrieh Copyright 2005 Alexis Sukrieh Debianization Copyright 2005-2009 Alexis Sukrieh Copyright 2009-2012 Sven Joachim Copyright 2011-2012 Georgios M. Zarkadas +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_434.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This program is free software; you can redistribute it and/or\n\ + \ modify it under the terms of the GNU General Public License\n as published by the Free\ + \ Software Foundation; either version 2\n of the License, or (at your option) any later\ + \ version." + - score: '100.0' + start_line: 25 + end_line: 26 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2`. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/clamav/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/clamav/stable_copyright-detailed.expected.yml index 2aa4423febf..42b5deab589 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/clamav/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/clamav/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0 AND gpl-1.0-plus AND other-copyleft -- - GPL-2 +primary_license: gpl-2.0 AND gpl-1.0-plus AND other-copyleft +declared_license: + - GPL-2 - GPL-2 with OpenSSL exception - GPL-2+ - GPL-2+ @@ -38,8 +39,8 @@ - BSD-2-clause - BSD-3-clause - Zlib -- (gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus AND other-copyleft AND gpl-2.0 AND gpl-2.0) AND (gpl-1.0-plus - AND other-copyleft AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND openssl-exception-gpl-3.0-plus +license_expression: (gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus AND other-copyleft AND gpl-2.0 AND + gpl-2.0) AND (gpl-1.0-plus AND other-copyleft AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND openssl-exception-gpl-3.0-plus AND gpl-1.0-plus AND other-copyleft AND gpl-2.0 AND gpl-2.0) AND (gpl-1.0-plus AND other-copyleft AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-1.0-plus AND other-copyleft AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-1.0-plus AND other-copyleft @@ -62,7 +63,7 @@ AND apache-2.0 AND apache-2.0) AND (gpl-3.0-plus AND bison-exception-2.2 AND gpl-1.0-plus AND other-copyleft AND gpl-3.0 AND gpl-3.0) AND (gpl-1.0-plus AND other-copyleft AND gpl-3.0 AND gpl-3.0) -- | +copyright: | 1998-2015, Sourcefire, Inc. 2002-2007, Tomasz Kojm 2006, Sensory Networks, Inc @@ -116,3 +117,2340 @@ Copyright (C) 2014 Cisco Systems, Inc. and/or its affiliates. All rights reserved. Copyright (c) 2013. The YARA Authors. All Rights Reserved. 1984, 1989-1990, 2000-2011, Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 68 + matched_length: 68 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_121.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 2-aho + rule_length: 68 + matched_length: 68 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_121.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 10 + end_line: 22 + matcher: 2-aho + rule_length: 119 + matched_length: 119 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openssl-exception-gpl-3.0-plus.LICENSE + license_expression: openssl-exception-gpl-3.0-plus + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + In addition, as a special exception, the copyright holders give + permission to link the code of portions of this program with the + OpenSSL library under certain conditions as described in each + individual source file, and distribute linked combinations + including the two. + + You must obey the GNU General Public License in all respects + for all of the code used other than OpenSSL. If you modify + file(s) with this exception, you may extend this exception to your + version of the file(s), but you are not obligated to do so. If you + do not wish to do so, delete this exception statement from your + version. If you delete this exception statement from all source + files in the program, then also delete it here. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 76 + matched_length: 76 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_3.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 14 + matcher: 2-aho + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: autoconf-simple-exception-2.0.LICENSE + license_expression: autoconf-simple-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that program. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_98.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + - score: '100.0' + start_line: 6 + end_line: 9 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_28.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 16 + matcher: 2-aho + rule_length: 60 + matched_length: 60 + match_coverage: '100.0' + rule_relevance: 100 + identifier: autoconf-simple-exception.LICENSE + license_expression: autoconf-simple-exception + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that + program. This Exception is an additional permission under section 7 + of the GNU General Public License, version 3 ("GPLv3"). + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3. + - score: '80.27' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 147 + matched_length: 118 + match_coverage: '80.27' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_libtool-exception-2.0_2.RULE + license_expression: gpl-3.0-plus WITH libtool-exception-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [2] of the License, or + (at your option) any later version. + + As a special exception to the GNU General Public License, + if you distribute this file as part of a program or library that + is built using GNU Libtool, you may include this file under the + same distribution terms that you use for the rest of that program. + + [GNU] [Libtool] is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or [FITNESS] FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '58.02' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 81 + matched_length: 47 + match_coverage: '58.02' + rule_relevance: 100 + identifier: lgpl-2.0-plus_50.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + [As] a [special] [exception] [to] the GNU Lesser General Public License, + - score: '99.0' + start_line: 6 + end_line: 9 + matcher: 2-aho + rule_length: 46 + matched_length: 46 + match_coverage: '100.0' + rule_relevance: 99 + identifier: libtool-exception-2.0_1.RULE + license_expression: libtool-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU Lesser General Public License, + if you distribute this file as part of a program or library that + is built using GNU Libtool, you may include this file under the + same distribution terms that you use for the rest of that program. + - score: '44.87' + start_line: 8 + end_line: 14 + matcher: 3-seq + rule_length: 78 + matched_length: 35 + match_coverage: '44.87' + rule_relevance: 100 + identifier: gpl-2.0-plus_283.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU [Libtool], [you] [may] [include] [this] [file] [under] [the] + [same] [distribution] [terms] [that] [you] [use] [for] [the] [rest] [of] [that] [program]. + + [GNU] [Libltdl] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + [GNU] [Lesser] General Public License for more details. + - score: '100.0' + start_line: 13 + end_line: 14 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the + GNU Lesser General Public License + - score: '50.0' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 44 + matched_length: 22 + match_coverage: '50.0' + rule_relevance: 100 + identifier: gpl-2.0_11.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU [Lesser] General Public License + [along] [with] [this] [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '40.48' + start_line: 6 + end_line: 7 + matcher: 3-seq + rule_length: 42 + matched_length: 17 + match_coverage: '40.48' + rule_relevance: 100 + identifier: gpl-2.0_772.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + text of the GNU [Lesser] General Public License + [version] [2] can be found in the file `/usr/share/common-licenses/ + - score: '33.33' + start_line: 6 + end_line: 7 + matcher: 3-seq + rule_length: 42 + matched_length: 14 + match_coverage: '33.33' + rule_relevance: 100 + identifier: lgpl-2.0_24.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + text of the GNU Lesser General Public License + [version] [2] [can] [be] [found] [in] [the] [file] `/usr/share/common-licenses/LGPL-2'. + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS 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 THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free.LICENSE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 63 + matched_length: 63 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.LICENSE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY, to the extent permitted by law; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap_4.RULE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. This file is offered as-is, + without warranty of any kind. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap.LICENSE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, are + permitted in any medium without royalty provided the copyright notice + and this notice are preserved. This file is offered as-is, without any + warranty. + - score: '100.0' + start_line: 1 + end_line: 30 + matcher: 1-hash + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bzip2-libbzip-2010.LICENSE + license_expression: bzip2-libbzip-2010 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + + 3. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 4. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + - score: '70.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '70.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public Domain + - score: '16.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: public-domain_38.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is public domain + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_45.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: placed in the public domain + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 168 + matched_length: 168 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-tiff.LICENSE + license_expression: x11-tiff + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this software and + its documentation for any purpose is hereby granted without fee, provided + that (i) the above copyright notices and this permission notice appear in + all copies of the software and related documentation, and (ii) the names of + Sam Leffler and Silicon Graphics may not be used in any advertising or + publicity relating to the software without the specific, prior written + permission of Sam Leffler and Silicon Graphics. + + THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, + EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY + WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. + + IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR + ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, + OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF + LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE + OF THIS SOFTWARE. + - score: '16.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: public-domain_38.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is public domain. + - score: '70.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain. + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 85 + matched_length: 85 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_7.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + - score: '85.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 85 + identifier: gpl-1.0-plus_351.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The GPL + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_305.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache 2 license + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_95.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache v2 + - score: '50.0' + start_line: 8 + end_line: 8 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_182.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Apache License, Version 2.0 + - score: '100.0' + start_line: 12 + end_line: 12 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache-2.0'. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_96.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: '19' + matcher: 2-aho + rule_length: 90 + matched_length: 90 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bison-exception-2.2_2.RULE + license_expression: bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_90.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '95.77' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 68 + matched_length: 68 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_204.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License [version] [2].[1] as published by the Free Software Foundation. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_294.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the full text of the GNU Lesser General Public License + version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. + - score: '99.37' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 159 + matched_length: 158 + match_coverage: '99.37' + rule_relevance: 100 + identifier: mit_1044.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN [CONNEC]- + [TION] WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_28.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '50.0' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 44 + matched_length: 22 + match_coverage: '50.0' + rule_relevance: 100 + identifier: gpl-2.0_11.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU [Lesser] General Public License + [along] [with] [this] [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '40.48' + start_line: 6 + end_line: 7 + matcher: 3-seq + rule_length: 42 + matched_length: 17 + match_coverage: '40.48' + rule_relevance: 100 + identifier: gpl-2.0_772.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + text of the GNU [Lesser] General Public License + [version] [2] can be found in the file `/usr/share/common-licenses/ + - score: '33.33' + start_line: 6 + end_line: 7 + matcher: 3-seq + rule_length: 42 + matched_length: 14 + match_coverage: '33.33' + rule_relevance: 100 + identifier: lgpl-2.0_24.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + text of the GNU Lesser General Public License + [version] [2] [can] [be] [found] [in] [the] [file] `/usr/share/common-licenses/LGPL-2'. + - score: '20.2' + start_line: 1 + end_line: 4 + matcher: 3-seq + rule_length: 203 + matched_length: 41 + match_coverage: '20.2' + rule_relevance: 100 + identifier: x11-xconsortium_21.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_58.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: FSF changes to this file are in the public domain. + - score: '85.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 85 + identifier: gpl-1.0-plus_351.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The GPL + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_305.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache 2 license + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_95.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache v2 + - score: '50.0' + start_line: 8 + end_line: 8 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_182.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Apache License, Version 2.0 + - score: '100.0' + start_line: 12 + end_line: 12 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache-2.0'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/clamav/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/clamav/stable_copyright.expected.yml index 75f0abd19d1..74700cfd85f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/clamav/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/clamav/stable_copyright.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0 AND gpl-1.0-plus AND other-copyleft -- - GPL-2 +primary_license: gpl-2.0 AND gpl-1.0-plus AND other-copyleft +declared_license: + - GPL-2 - GPL-2 with OpenSSL exception - GPL-2+ - GPL-2+ with Autoconf exception @@ -26,20 +27,20 @@ - public-domain - Apache-2.0 with GPL exception - GPL-3+ with Bison exception -- (gpl-2.0 AND gpl-1.0-plus AND other-copyleft) AND (gpl-1.0-plus AND other-copyleft AND gpl-2.0) - AND (gpl-2.0 AND openssl-exception-gpl-3.0-plus AND gpl-1.0-plus AND other-copyleft) AND gpl-2.0-plus - AND (gpl-2.0-plus AND autoconf-simple-exception-2.0 AND gpl-1.0-plus AND other-copyleft AND - gpl-2.0) AND (gpl-3.0-plus AND gpl-1.0-plus AND autoconf-simple-exception AND other-copyleft - AND gpl-3.0) AND (gpl-1.0-plus AND other-copyleft AND gpl-3.0) AND (gpl-3.0-plus WITH libtool-exception-2.0 - AND gpl-1.0-plus AND other-copyleft AND gpl-2.0) AND (lgpl-2.0-plus AND libtool-exception-2.0 - AND gpl-2.0-plus AND lgpl-2.1-plus AND gpl-2.0 AND other-copyleft AND lgpl-2.0) AND (gpl-2.0 - AND other-copyleft AND lgpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus AND other-copyleft) AND ((lgpl-2.1 - AND lgpl-2.1-plus AND other-copyleft) AND bsd-new) AND mit AND (x11-xconsortium AND public-domain) - AND bsd-simplified AND bsd-new AND zlib AND isc AND fsf-unlimited AND fsf-free AND fsf-unlimited-no-warranty - AND fsf-ap AND bzip2-libbzip-2010 AND public-domain AND x11-tiff AND (apache-2.0 AND gpl-1.0-plus) - AND (gpl-1.0-plus AND apache-2.0) AND (gpl-3.0-plus AND bison-exception-2.2 AND gpl-1.0-plus - AND other-copyleft AND gpl-3.0) -- | +license_expression: (gpl-2.0 AND gpl-1.0-plus AND other-copyleft) AND (gpl-1.0-plus AND other-copyleft + AND gpl-2.0) AND (gpl-2.0 AND openssl-exception-gpl-3.0-plus AND gpl-1.0-plus AND other-copyleft) + AND gpl-2.0-plus AND (gpl-2.0-plus AND autoconf-simple-exception-2.0 AND gpl-1.0-plus AND + other-copyleft AND gpl-2.0) AND (gpl-3.0-plus AND gpl-1.0-plus AND autoconf-simple-exception + AND other-copyleft AND gpl-3.0) AND (gpl-1.0-plus AND other-copyleft AND gpl-3.0) AND (gpl-3.0-plus + WITH libtool-exception-2.0 AND gpl-1.0-plus AND other-copyleft AND gpl-2.0) AND (lgpl-2.0-plus + AND libtool-exception-2.0 AND gpl-2.0-plus AND lgpl-2.1-plus AND gpl-2.0 AND other-copyleft + AND lgpl-2.0) AND (gpl-2.0 AND other-copyleft AND lgpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus + AND other-copyleft) AND ((lgpl-2.1 AND lgpl-2.1-plus AND other-copyleft) AND bsd-new) AND + mit AND (x11-xconsortium AND public-domain) AND bsd-simplified AND bsd-new AND zlib AND isc + AND fsf-unlimited AND fsf-free AND fsf-unlimited-no-warranty AND fsf-ap AND bzip2-libbzip-2010 + AND public-domain AND x11-tiff AND (apache-2.0 AND gpl-1.0-plus) AND (gpl-1.0-plus AND apache-2.0) + AND (gpl-3.0-plus AND bison-exception-2.2 AND gpl-1.0-plus AND other-copyleft AND gpl-3.0) +copyright: | 1998-2015, Sourcefire, Inc. 2002-2007, Tomasz Kojm 2006, Sensory Networks, Inc @@ -88,3 +89,2340 @@ Copyright (C) 2014 Cisco Systems, Inc. and/or its affiliates. All rights reserved. Copyright (c) 2013. The YARA Authors. All Rights Reserved. 1984, 1989-1990, 2000-2011, Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 68 + matched_length: 68 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_121.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 2-aho + rule_length: 68 + matched_length: 68 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_121.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 10 + end_line: 22 + matcher: 2-aho + rule_length: 119 + matched_length: 119 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openssl-exception-gpl-3.0-plus.LICENSE + license_expression: openssl-exception-gpl-3.0-plus + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + In addition, as a special exception, the copyright holders give + permission to link the code of portions of this program with the + OpenSSL library under certain conditions as described in each + individual source file, and distribute linked combinations + including the two. + + You must obey the GNU General Public License in all respects + for all of the code used other than OpenSSL. If you modify + file(s) with this exception, you may extend this exception to your + version of the file(s), but you are not obligated to do so. If you + do not wish to do so, delete this exception statement from your + version. If you delete this exception statement from all source + files in the program, then also delete it here. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 76 + matched_length: 76 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_3.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 14 + matcher: 2-aho + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: autoconf-simple-exception-2.0.LICENSE + license_expression: autoconf-simple-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that program. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_98.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + - score: '100.0' + start_line: 6 + end_line: 9 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_28.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 16 + matcher: 2-aho + rule_length: 60 + matched_length: 60 + match_coverage: '100.0' + rule_relevance: 100 + identifier: autoconf-simple-exception.LICENSE + license_expression: autoconf-simple-exception + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that + program. This Exception is an additional permission under section 7 + of the GNU General Public License, version 3 ("GPLv3"). + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3. + - score: '80.27' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 147 + matched_length: 118 + match_coverage: '80.27' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_libtool-exception-2.0_2.RULE + license_expression: gpl-3.0-plus WITH libtool-exception-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [2] of the License, or + (at your option) any later version. + + As a special exception to the GNU General Public License, + if you distribute this file as part of a program or library that + is built using GNU Libtool, you may include this file under the + same distribution terms that you use for the rest of that program. + + [GNU] [Libtool] is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or [FITNESS] FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '58.02' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 81 + matched_length: 47 + match_coverage: '58.02' + rule_relevance: 100 + identifier: lgpl-2.0-plus_50.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + [As] a [special] [exception] [to] the GNU Lesser General Public License, + - score: '99.0' + start_line: 6 + end_line: 9 + matcher: 2-aho + rule_length: 46 + matched_length: 46 + match_coverage: '100.0' + rule_relevance: 99 + identifier: libtool-exception-2.0_1.RULE + license_expression: libtool-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU Lesser General Public License, + if you distribute this file as part of a program or library that + is built using GNU Libtool, you may include this file under the + same distribution terms that you use for the rest of that program. + - score: '44.87' + start_line: 8 + end_line: 14 + matcher: 3-seq + rule_length: 78 + matched_length: 35 + match_coverage: '44.87' + rule_relevance: 100 + identifier: gpl-2.0-plus_283.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU [Libtool], [you] [may] [include] [this] [file] [under] [the] + [same] [distribution] [terms] [that] [you] [use] [for] [the] [rest] [of] [that] [program]. + + [GNU] [Libltdl] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + [GNU] [Lesser] General Public License for more details. + - score: '100.0' + start_line: 13 + end_line: 14 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the + GNU Lesser General Public License + - score: '50.0' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 44 + matched_length: 22 + match_coverage: '50.0' + rule_relevance: 100 + identifier: gpl-2.0_11.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU [Lesser] General Public License + [along] [with] [this] [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '40.48' + start_line: 6 + end_line: 7 + matcher: 3-seq + rule_length: 42 + matched_length: 17 + match_coverage: '40.48' + rule_relevance: 100 + identifier: gpl-2.0_772.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + text of the GNU [Lesser] General Public License + [version] [2] can be found in the file `/usr/share/common-licenses/ + - score: '33.33' + start_line: 6 + end_line: 7 + matcher: 3-seq + rule_length: 42 + matched_length: 14 + match_coverage: '33.33' + rule_relevance: 100 + identifier: lgpl-2.0_24.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + text of the GNU Lesser General Public License + [version] [2] [can] [be] [found] [in] [the] [file] `/usr/share/common-licenses/LGPL-2'. + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS 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 THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free.LICENSE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 63 + matched_length: 63 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.LICENSE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY, to the extent permitted by law; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap_4.RULE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. This file is offered as-is, + without warranty of any kind. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap.LICENSE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, are + permitted in any medium without royalty provided the copyright notice + and this notice are preserved. This file is offered as-is, without any + warranty. + - score: '100.0' + start_line: 1 + end_line: 30 + matcher: 1-hash + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bzip2-libbzip-2010.LICENSE + license_expression: bzip2-libbzip-2010 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + + 3. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 4. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + - score: '70.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '70.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public Domain + - score: '16.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: public-domain_38.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is public domain + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_45.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: placed in the public domain + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 168 + matched_length: 168 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-tiff.LICENSE + license_expression: x11-tiff + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this software and + its documentation for any purpose is hereby granted without fee, provided + that (i) the above copyright notices and this permission notice appear in + all copies of the software and related documentation, and (ii) the names of + Sam Leffler and Silicon Graphics may not be used in any advertising or + publicity relating to the software without the specific, prior written + permission of Sam Leffler and Silicon Graphics. + + THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, + EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY + WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. + + IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR + ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, + OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF + LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE + OF THIS SOFTWARE. + - score: '16.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: public-domain_38.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is public domain. + - score: '70.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain. + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 85 + matched_length: 85 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_7.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + - score: '85.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 85 + identifier: gpl-1.0-plus_351.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The GPL + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_305.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache 2 license + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_95.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache v2 + - score: '50.0' + start_line: 8 + end_line: 8 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_182.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Apache License, Version 2.0 + - score: '100.0' + start_line: 12 + end_line: 12 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache-2.0'. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_96.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: '19' + matcher: 2-aho + rule_length: 90 + matched_length: 90 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bison-exception-2.2_2.RULE + license_expression: bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_90.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '95.77' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 68 + matched_length: 68 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_204.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License [version] [2].[1] as published by the Free Software Foundation. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_294.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the full text of the GNU Lesser General Public License + version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. + - score: '99.37' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 159 + matched_length: 158 + match_coverage: '99.37' + rule_relevance: 100 + identifier: mit_1044.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN [CONNEC]- + [TION] WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_28.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '50.0' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 44 + matched_length: 22 + match_coverage: '50.0' + rule_relevance: 100 + identifier: gpl-2.0_11.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU [Lesser] General Public License + [along] [with] [this] [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '40.48' + start_line: 6 + end_line: 7 + matcher: 3-seq + rule_length: 42 + matched_length: 17 + match_coverage: '40.48' + rule_relevance: 100 + identifier: gpl-2.0_772.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + text of the GNU [Lesser] General Public License + [version] [2] can be found in the file `/usr/share/common-licenses/ + - score: '33.33' + start_line: 6 + end_line: 7 + matcher: 3-seq + rule_length: 42 + matched_length: 14 + match_coverage: '33.33' + rule_relevance: 100 + identifier: lgpl-2.0_24.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + text of the GNU Lesser General Public License + [version] [2] [can] [be] [found] [in] [the] [file] `/usr/share/common-licenses/LGPL-2'. + - score: '20.2' + start_line: 1 + end_line: 4 + matcher: 3-seq + rule_length: 203 + matched_length: 41 + match_coverage: '20.2' + rule_relevance: 100 + identifier: x11-xconsortium_21.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_58.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: FSF changes to this file are in the public domain. + - score: '85.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 85 + identifier: gpl-1.0-plus_351.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The GPL + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_305.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache 2 license + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_95.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache v2 + - score: '50.0' + start_line: 8 + end_line: 8 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_182.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Apache License, Version 2.0 + - score: '100.0' + start_line: 12 + end_line: 12 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache-2.0'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cryptsetup/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cryptsetup/stable_copyright-detailed.expected.yml index 57a564e9ef0..164c82b8fe3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cryptsetup/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cryptsetup/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus WITH openssl-exception-gpl-3.0-plus -- - GPL-2+ with OpenSSL exception +primary_license: gpl-2.0-plus WITH openssl-exception-gpl-3.0-plus +declared_license: + - GPL-2+ with OpenSSL exception - GPL-2+ - GPL-2+ - GPL-2+ @@ -20,14 +21,14 @@ - LGPL-2.1+ with OpenSSL exception - CC0 - Apache-2.0 -- gpl-2.0-plus WITH openssl-exception-gpl-3.0-plus AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus - AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) +license_expression: gpl-2.0-plus WITH openssl-exception-gpl-3.0-plus AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus - AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) - AND (lgpl-2.1-plus AND lgpl-2.1-plus) AND lgpl-2.1-plus WITH openssl-exception-gpl-3.0-plus + AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) + AND (gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus) AND (gpl-2.0-plus + AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus) AND lgpl-2.1-plus WITH openssl-exception-gpl-3.0-plus AND (cc0-1.0 OR (apache-2.0 AND apache-2.0)) AND (cc0-1.0 OR (apache-2.0 AND apache-2.0)) AND gary-s-brown -- | +copyright: | © 2004 Christophe Saout © 2004-2008 Clemens Fruhwirth © 2008-2019 Red Hat, Inc. @@ -58,3 +59,275 @@ © 2015 Samuel Neves © 2015 Thomas Pornin © 1986 Gary S. Brown +matches: + - score: '88.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 88 + identifier: gary-s-brown.LICENSE + license_expression: gary-s-brown + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may use this program, or code or tables extracted from it, as + desired without restriction. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 136 + matched_length: 136 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_807.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public + License v2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 28 + matcher: 1-hash + rule_length: 255 + matched_length: 255 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_with_openssl-exception-gpl-3.0-plus_3.RULE + license_expression: gpl-2.0-plus WITH openssl-exception-gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public + License v2 can be found in `/usr/share/common-licenses/GPL-2'. + + In addition, as a special exception, the copyright holders give + permission to link the code of portions of this program with the + OpenSSL library under certain conditions as described in each + individual source file, and distribute linked combinations including + the two. You must obey the GNU General Public License in all respects + for all of the code used other than OpenSSL. If you modify file(s) + with this exception, you may extend this exception to your version of + the file(s), but you are not obligated to do so. If you do not wish to + do so, delete this exception statement from your version. If you + delete this exception statement from all source files in the program, + then also delete it here. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_293.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian systems, the complete text of the GNU Lesser General Public + License v2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '95.0' + start_line: 1 + end_line: 29 + matcher: 1-hash + rule_length: 263 + matched_length: 263 + match_coverage: '100.0' + rule_relevance: 95 + identifier: lgpl-2.1-plus_with_openssl-exception-gpl-3.0-plus_3.RULE + license_expression: lgpl-2.1-plus WITH openssl-exception-gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian systems, the complete text of the GNU Lesser General Public + License v2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + + In addition, as a special exception, the copyright holders give + permission to link the code of portions of this program with the + OpenSSL library under certain conditions as described in each + individual source file, and distribute linked combinations including + the two. You must obey the GNU Lesser General Public License in all + respects for all of the code used other than OpenSSL. If you modify + file(s) with this exception, you may extend this exception to your + version of the file(s), but you are not obligated to do so. If you do + not wish to do so, delete this exception statement from your version. + If you delete this exception statement from all source files in the + program, then also delete it here. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_129.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may use this work under the terms of a Creative Commons CC0 1.0 + License/Waiver. + + On Debian systems, the complete text of the Creative Commons CC0 1.0 + Universal license can be found in `/usr/share/common-licenses/CC0-1.0'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 14 + matcher: 1-hash + rule_length: 109 + matched_length: 109 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_845.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cryptsetup/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cryptsetup/stable_copyright.expected.yml index d9ce275af30..51ed6a5fffc 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cryptsetup/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cryptsetup/stable_copyright.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus WITH openssl-exception-gpl-3.0-plus -- - GPL-2+ with OpenSSL exception +primary_license: gpl-2.0-plus WITH openssl-exception-gpl-3.0-plus +declared_license: + - GPL-2+ with OpenSSL exception - GPL-2+ - LGPL-2.1+ - LGPL-2.1+ with OpenSSL exception @@ -7,9 +8,9 @@ - public-domain - CC0 - Apache-2.0 -- gpl-2.0-plus WITH openssl-exception-gpl-3.0-plus AND gpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.1-plus - WITH openssl-exception-gpl-3.0-plus AND (cc0-1.0 OR apache-2.0) AND gary-s-brown -- | +license_expression: gpl-2.0-plus WITH openssl-exception-gpl-3.0-plus AND gpl-2.0-plus AND lgpl-2.1-plus + AND lgpl-2.1-plus WITH openssl-exception-gpl-3.0-plus AND (cc0-1.0 OR apache-2.0) AND gary-s-brown +copyright: | © 2004 Christophe Saout © 2004-2008 Clemens Fruhwirth © 2008-2019 Red Hat, Inc. @@ -33,3 +34,275 @@ © 2015 Samuel Neves © 2015 Thomas Pornin © 1986 Gary S. Brown +matches: + - score: '88.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 88 + identifier: gary-s-brown.LICENSE + license_expression: gary-s-brown + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may use this program, or code or tables extracted from it, as + desired without restriction. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 136 + matched_length: 136 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_807.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public + License v2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 28 + matcher: 1-hash + rule_length: 255 + matched_length: 255 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_with_openssl-exception-gpl-3.0-plus_3.RULE + license_expression: gpl-2.0-plus WITH openssl-exception-gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public + License v2 can be found in `/usr/share/common-licenses/GPL-2'. + + In addition, as a special exception, the copyright holders give + permission to link the code of portions of this program with the + OpenSSL library under certain conditions as described in each + individual source file, and distribute linked combinations including + the two. You must obey the GNU General Public License in all respects + for all of the code used other than OpenSSL. If you modify file(s) + with this exception, you may extend this exception to your version of + the file(s), but you are not obligated to do so. If you do not wish to + do so, delete this exception statement from your version. If you + delete this exception statement from all source files in the program, + then also delete it here. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_293.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian systems, the complete text of the GNU Lesser General Public + License v2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '95.0' + start_line: 1 + end_line: 29 + matcher: 1-hash + rule_length: 263 + matched_length: 263 + match_coverage: '100.0' + rule_relevance: 95 + identifier: lgpl-2.1-plus_with_openssl-exception-gpl-3.0-plus_3.RULE + license_expression: lgpl-2.1-plus WITH openssl-exception-gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian systems, the complete text of the GNU Lesser General Public + License v2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + + In addition, as a special exception, the copyright holders give + permission to link the code of portions of this program with the + OpenSSL library under certain conditions as described in each + individual source file, and distribute linked combinations including + the two. You must obey the GNU Lesser General Public License in all + respects for all of the code used other than OpenSSL. If you modify + file(s) with this exception, you may extend this exception to your + version of the file(s), but you are not obligated to do so. If you do + not wish to do so, delete this exception statement from your version. + If you delete this exception statement from all source files in the + program, then also delete it here. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_129.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may use this work under the terms of a Creative Commons CC0 1.0 + License/Waiver. + + On Debian systems, the complete text of the Creative Commons CC0 1.0 + Universal license can be found in `/usr/share/common-licenses/CC0-1.0'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 14 + matcher: 1-hash + rule_length: 109 + matched_length: 109 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_845.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cups/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cups/stable_copyright-detailed.expected.yml index b513c5567dc..1055a2c0fc8 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cups/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cups/stable_copyright-detailed.expected.yml @@ -1,15 +1,16 @@ -- gpl-2.0 AND gpl-1.0-plus AND lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus -- - GPL-2.0 with AOSDL exception +primary_license: gpl-2.0 AND gpl-1.0-plus AND lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus +declared_license: + - GPL-2.0 with AOSDL exception - LGPL-2.0 with AOSDL exception - Zlib - BSD-2-clause - GPL-2.0 with AOSDL exception - LGPL-2.0 with AOSDL exception - Zlib -- (gpl-2.0 AND gpl-1.0-plus AND gpl-2.0 AND gpl-1.0-plus AND lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus) - AND (lgpl-2.0-plus AND lgpl-2.0-plus AND gpl-1.0-plus AND lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus) - AND (zlib AND zlib) AND bsd-simplified -- | +license_expression: (gpl-2.0 AND gpl-1.0-plus AND gpl-2.0 AND gpl-1.0-plus AND lgpl-2.1 WITH + openssl-exception-lgpl-2.0-plus) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND gpl-1.0-plus AND + lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus) AND (zlib AND zlib) AND bsd-simplified +copyright: | 2007-2015, Apple Inc. 2007-2013, Apple Inc. 2007-2014, Apple Inc @@ -18,3 +19,254 @@ 2011, Red Hat, Inc 2007-2014, Apple Inc 1997-2007, Easy Software Products +matches: + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_70.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + 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 HOLDERS 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. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 34 + matched_length: 34 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_51.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, version 2 of the License. + - score: '27.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 27 + identifier: gpl-1.0-plus_30.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: full text of the GPL + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 22 + end_line: 22 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_bare_gnu_gpl.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GNU GPL. + - score: '19.88' + start_line: 50 + end_line: 53 + matcher: 3-seq + rule_length: 43 + matched_length: 9 + match_coverage: '20.93' + rule_relevance: 95 + identifier: lgpl-2.1_with_openssl-exception-lgpl-2.0-plus_1.RULE + license_expression: lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License Exception; + + a. [Apple] [Inc]. explicitly allows the compilation and + distribution of + - score: '59.7' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 67 + matched_length: 40 + match_coverage: '59.7' + rule_relevance: 100 + identifier: lgpl-2.0-plus_16.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation, version 2 of the License. + + [The] [full] [text] [of] [the] [LGPL] [is] [distributed] [as] in + /usr/share/common-licenses/LGPL-2 + - score: '75.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 75 + identifier: lgpl_bare_single_word.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL + - score: '100.0' + start_line: 22 + end_line: 22 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_bare_gnu_gpl.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GNU GPL. + - score: '19.88' + start_line: 50 + end_line: 53 + matcher: 3-seq + rule_length: 43 + matched_length: 9 + match_coverage: '20.93' + rule_relevance: 95 + identifier: lgpl-2.1_with_openssl-exception-lgpl-2.0-plus_1.RULE + license_expression: lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License Exception; + + a. [Apple] [Inc]. explicitly allows the compilation and + distribution of + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_7.RULE + license_expression: zlib + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: zlib License + - score: '100.0' + start_line: 3 + end_line: 20 + matcher: 2-aho + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + + 2. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 3. This notice may not be removed or altered from any source + distribution. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cups/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cups/stable_copyright.expected.yml index 2dc082f67bd..c413f227f5f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cups/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cups/stable_copyright.expected.yml @@ -1,11 +1,13 @@ -- gpl-2.0 AND gpl-1.0-plus AND lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus -- - GPL-2.0 with AOSDL exception +primary_license: gpl-2.0 AND gpl-1.0-plus AND lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus +declared_license: + - GPL-2.0 with AOSDL exception - LGPL-2.0 with AOSDL exception - Zlib - BSD-2-clause -- (gpl-2.0 AND gpl-1.0-plus AND lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus) AND (lgpl-2.0-plus - AND gpl-1.0-plus AND lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus) AND zlib AND bsd-simplified -- | +license_expression: (gpl-2.0 AND gpl-1.0-plus AND lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus) + AND (lgpl-2.0-plus AND gpl-1.0-plus AND lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus) AND + zlib AND bsd-simplified +copyright: | 2007-2015, Apple Inc. 2007-2013, Apple Inc. 2007-2014, Apple Inc @@ -13,3 +15,254 @@ 1999, Aladdin Enterprises. 2011, Red Hat, Inc 1997-2007, Easy Software Products +matches: + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_70.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + 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 HOLDERS 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. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 34 + matched_length: 34 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_51.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, version 2 of the License. + - score: '27.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 27 + identifier: gpl-1.0-plus_30.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: full text of the GPL + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 22 + end_line: 22 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_bare_gnu_gpl.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GNU GPL. + - score: '19.88' + start_line: 50 + end_line: 53 + matcher: 3-seq + rule_length: 43 + matched_length: 9 + match_coverage: '20.93' + rule_relevance: 95 + identifier: lgpl-2.1_with_openssl-exception-lgpl-2.0-plus_1.RULE + license_expression: lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License Exception; + + a. [Apple] [Inc]. explicitly allows the compilation and + distribution of + - score: '59.7' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 67 + matched_length: 40 + match_coverage: '59.7' + rule_relevance: 100 + identifier: lgpl-2.0-plus_16.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation, version 2 of the License. + + [The] [full] [text] [of] [the] [LGPL] [is] [distributed] [as] in + /usr/share/common-licenses/LGPL-2 + - score: '75.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 75 + identifier: lgpl_bare_single_word.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL + - score: '100.0' + start_line: 22 + end_line: 22 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_bare_gnu_gpl.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GNU GPL. + - score: '19.88' + start_line: 50 + end_line: 53 + matcher: 3-seq + rule_length: 43 + matched_length: 9 + match_coverage: '20.93' + rule_relevance: 95 + identifier: lgpl-2.1_with_openssl-exception-lgpl-2.0-plus_1.RULE + license_expression: lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License Exception; + + a. [Apple] [Inc]. explicitly allows the compilation and + distribution of + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_7.RULE + license_expression: zlib + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: zlib License + - score: '100.0' + start_line: 3 + end_line: 20 + matcher: 2-aho + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + + 2. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 3. This notice may not be removed or altered from any source + distribution. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dbconfig-common/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dbconfig-common/stable_copyright-detailed.expected.yml index 66ccb91a219..e8cd9a42884 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dbconfig-common/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dbconfig-common/stable_copyright-detailed.expected.yml @@ -1,9 +1,237 @@ -- gpl-2.0-plus -- - GPL-2+ +primary_license: gpl-2.0-plus +declared_license: + - GPL-2+ - AFL-2.1 -- (gpl-2.0-plus AND gpl-2.0-plus) AND (afl-2.1 AND afl-2.1) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus) AND (afl-2.1 AND afl-2.1) +copyright: | 2000-2004 Ola Lundqvist 2004-2011 sean finney 2013-2015 Paul Gevers 2005 sean finney +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 1-hash + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_754.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + all software (original and derived) is covered under the GPL (version 2 or + later) + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License Version 2 can be found in + /usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: afl-2.1_12.RULE + license_expression: afl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This document is licensed under the Academic Free License, Version 2.1 + - score: '100.0' + start_line: 6 + end_line: 161 + matcher: 2-aho + rule_length: 1406 + matched_length: 1406 + match_coverage: '100.0' + rule_relevance: 100 + identifier: afl-2.1_6.RULE + license_expression: afl-2.1 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The Academic Free License v. 2.1 + + This Academic Free License (the "License") applies to any original work of + authorship (the "Original Work") whose owner (the "Licensor") has placed the + following notice immediately following the copyright notice for the Original + Work: + + Licensed under the Academic Free License version 2.1 + + 1) Grant of Copyright License. Licensor hereby grants You a world-wide, + royalty-free, non-exclusive, perpetual, sublicenseable license to do the + following: + + a) to reproduce the Original Work in copies; + + b) to prepare derivative works ("Derivative Works") based upon the Original + Work; + + c) to distribute copies of the Original Work and Derivative Works to the + public; + + d) to perform the Original Work publicly; and + + e) to display the Original Work publicly. + + 2) Grant of Patent License. Licensor hereby grants You a world-wide, + royalty-free, non-exclusive, perpetual, sublicenseable license, under patent + claims owned or controlled by the Licensor that are embodied in the Original + Work as furnished by the Licensor, to make, use, sell and offer for sale the + Original Work and Derivative Works. + + 3) Grant of Source Code License. The term "Source Code" means the preferred + form of the Original Work for making modifications to it and all available + documentation describing how to modify the Original Work. Licensor hereby + agrees to provide a machine-readable copy of the Source Code of the Original + Work along with each copy of the Original Work that Licensor + distributes. Licensor reserves the right to satisfy this obligation by placing + a machine-readable copy of the Source Code in an information repository + reasonably calculated to permit inexpensive and convenient access by You for + as long as Licensor continues to distribute the Original Work, and by + publishing the address of that information repository in a notice immediately + following the copyright notice that applies to the Original Work. + + 4) Exclusions From License Grant. Neither the names of Licensor, nor the names + of any contributors to the Original Work, nor any of their trademarks or + service marks, may be used to endorse or promote products derived from this + Original Work without express prior written permission of the + Licensor. Nothing in this License shall be deemed to grant any rights to + trademarks, copyrights, patents, trade secrets or any other intellectual + property of Licensor except as expressly stated herein. No patent license is + granted to make, use, sell or offer to sell embodiments of any patent claims + other than the licensed claims defined in Section 2. No right is granted to + the trademarks of Licensor even if such marks are included in the Original + Work. Nothing in this License shall be interpreted to prohibit Licensor from + licensing under different terms from this License any Original Work that + Licensor otherwise would have a right to license. + + 5) This section intentionally omitted. + + 6) Attribution Rights. You must retain, in the Source Code of any Derivative + Works that You create, all copyright, patent or trademark notices from the + Source Code of the Original Work, as well as any notices of licensing and any + descriptive text identified therein as an "Attribution Notice." You must cause + the Source Code for any Derivative Works that You create to carry a prominent + Attribution Notice reasonably calculated to inform recipients that You have + modified the Original Work. + + 7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that + the copyright in and to the Original Work and the patent rights granted herein + by Licensor are owned by the Licensor or are sublicensed to You under the + terms of this License with the permission of the contributor(s) of those + copyrights and patent rights. Except as expressly stated in the immediately + proceeding sentence, the Original Work is provided under this License on an + "AS IS" BASIS and WITHOUT WARRANTY, either express or implied, including, + without limitation, the warranties of NON-INFRINGEMENT, MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE + ORIGINAL WORK IS WITH YOU. This DISCLAIMER OF WARRANTY constitutes an + essential part of this License. No license to Original Work is granted + hereunder except under this disclaimer. + + 8) Limitation of Liability. Under no circumstances and under no legal theory, + whether in tort (including negligence), contract, or otherwise, shall the + Licensor be liable to any person for any direct, indirect, special, + incidental, or consequential damages of any character arising as a result of + this License or the use of the Original Work including, without limitation, + damages for loss of goodwill, work stoppage, computer failure or malfunction, + or any and all other commercial damages or losses. This limitation of + liability shall not apply to liability for death or personal injury resulting + from Licensor's negligence to the extent applicable law prohibits such + limitation. Some jurisdictions do not allow the exclusion or limitation of + incidental or consequential damages, so this exclusion and limitation may not + apply to You. + + 9) Acceptance and Termination. If You distribute copies of the Original Work + or a Derivative Work, You must make a reasonable effort under the + circumstances to obtain the express assent of recipients to the terms of this + License. Nothing else but this License (or another written agreement between + Licensor and You) grants You permission to create Derivative Works based upon + the Original Work or to exercise any of the rights granted in Section 1 + herein, and any attempt to do so except under the terms of this License (or + another written agreement between Licensor and You) is expressly prohibited by + U.S. copyright law, the equivalent laws of other countries, and by + international treaty. Therefore, by exercising any of the rights granted to + You in Section 1 herein, You indicate Your acceptance of this License and all + of its terms and conditions. + + 10) Termination for Patent Action. This License shall terminate automatically + and You may no longer exercise any of the rights granted to You by this + License as of the date You commence an action, including a cross-claim or + counterclaim, against Licensor or any licensee alleging that the Original Work + infringes a patent. This termination provision shall not apply for an action + alleging patent infringement by combinations of the Original Work with other + software or hardware. + + 11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this + License may be brought only in the courts of a jurisdiction wherein the + Licensor resides or in which Licensor conducts its primary business, and under + the laws of that jurisdiction excluding its conflict-of-law provisions. The + application of the United Nations Convention on Contracts for the + International Sale of Goods is expressly excluded. Any use of the Original + Work outside the scope of this License or after its termination shall be + subject to the requirements and penalties of the U.S. Copyright Act, 17 + U.S.C. § 101 et seq., the equivalent laws of other countries, and + international treaty. This section shall survive the termination of this + License. + + 12) Attorneys Fees. In any action to enforce the terms of this License or + seeking damages relating thereto, the prevailing party shall be entitled to + recover its costs and expenses, including, without limitation, reasonable + attorneys' fees and costs incurred in connection with such action, including + any appeal of such action. This section shall survive the termination of this + License. + + 13) Miscellaneous. This License represents the complete agreement concerning + the subject matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent necessary + to make it enforceable. + + 14) Definition of "You" in This License. "You" throughout this License, + whether in upper or lower case, means an individual or a legal entity + exercising rights under, and complying with all of the terms of, this + License. For legal entities, "You" includes any entity that controls, is + controlled by, or is under common control with you. For purposes of this + definition, "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or otherwise, or + (ii) ownership of fifty percent (50%) or more of the outstanding shares, or + (iii) beneficial ownership of such entity. + + 15) Right to Use. You may use the Original Work in all ways not otherwise + restricted or conditioned by this License or by law, and Licensor promises not + to interfere with or be responsible for such uses by You. + + This license is Copyright (C) 2003-2004 Lawrence E. Rosen. All rights + reserved. Permission is hereby granted to copy and distribute this license + without modification. This license may not be modified without the express + written permission of its copyright owner. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dbconfig-common/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dbconfig-common/stable_copyright.expected.yml index 2943762e516..fd217443236 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dbconfig-common/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dbconfig-common/stable_copyright.expected.yml @@ -1,9 +1,237 @@ -- gpl-2.0-plus -- - GPL-2+ +primary_license: gpl-2.0-plus +declared_license: + - GPL-2+ - AFL-2.1 -- gpl-2.0-plus AND afl-2.1 -- | +license_expression: gpl-2.0-plus AND afl-2.1 +copyright: | 2000-2004 Ola Lundqvist 2004-2011 sean finney 2013-2015 Paul Gevers 2005 sean finney +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 1-hash + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_754.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + all software (original and derived) is covered under the GPL (version 2 or + later) + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License Version 2 can be found in + /usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: afl-2.1_12.RULE + license_expression: afl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This document is licensed under the Academic Free License, Version 2.1 + - score: '100.0' + start_line: 6 + end_line: 161 + matcher: 2-aho + rule_length: 1406 + matched_length: 1406 + match_coverage: '100.0' + rule_relevance: 100 + identifier: afl-2.1_6.RULE + license_expression: afl-2.1 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The Academic Free License v. 2.1 + + This Academic Free License (the "License") applies to any original work of + authorship (the "Original Work") whose owner (the "Licensor") has placed the + following notice immediately following the copyright notice for the Original + Work: + + Licensed under the Academic Free License version 2.1 + + 1) Grant of Copyright License. Licensor hereby grants You a world-wide, + royalty-free, non-exclusive, perpetual, sublicenseable license to do the + following: + + a) to reproduce the Original Work in copies; + + b) to prepare derivative works ("Derivative Works") based upon the Original + Work; + + c) to distribute copies of the Original Work and Derivative Works to the + public; + + d) to perform the Original Work publicly; and + + e) to display the Original Work publicly. + + 2) Grant of Patent License. Licensor hereby grants You a world-wide, + royalty-free, non-exclusive, perpetual, sublicenseable license, under patent + claims owned or controlled by the Licensor that are embodied in the Original + Work as furnished by the Licensor, to make, use, sell and offer for sale the + Original Work and Derivative Works. + + 3) Grant of Source Code License. The term "Source Code" means the preferred + form of the Original Work for making modifications to it and all available + documentation describing how to modify the Original Work. Licensor hereby + agrees to provide a machine-readable copy of the Source Code of the Original + Work along with each copy of the Original Work that Licensor + distributes. Licensor reserves the right to satisfy this obligation by placing + a machine-readable copy of the Source Code in an information repository + reasonably calculated to permit inexpensive and convenient access by You for + as long as Licensor continues to distribute the Original Work, and by + publishing the address of that information repository in a notice immediately + following the copyright notice that applies to the Original Work. + + 4) Exclusions From License Grant. Neither the names of Licensor, nor the names + of any contributors to the Original Work, nor any of their trademarks or + service marks, may be used to endorse or promote products derived from this + Original Work without express prior written permission of the + Licensor. Nothing in this License shall be deemed to grant any rights to + trademarks, copyrights, patents, trade secrets or any other intellectual + property of Licensor except as expressly stated herein. No patent license is + granted to make, use, sell or offer to sell embodiments of any patent claims + other than the licensed claims defined in Section 2. No right is granted to + the trademarks of Licensor even if such marks are included in the Original + Work. Nothing in this License shall be interpreted to prohibit Licensor from + licensing under different terms from this License any Original Work that + Licensor otherwise would have a right to license. + + 5) This section intentionally omitted. + + 6) Attribution Rights. You must retain, in the Source Code of any Derivative + Works that You create, all copyright, patent or trademark notices from the + Source Code of the Original Work, as well as any notices of licensing and any + descriptive text identified therein as an "Attribution Notice." You must cause + the Source Code for any Derivative Works that You create to carry a prominent + Attribution Notice reasonably calculated to inform recipients that You have + modified the Original Work. + + 7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that + the copyright in and to the Original Work and the patent rights granted herein + by Licensor are owned by the Licensor or are sublicensed to You under the + terms of this License with the permission of the contributor(s) of those + copyrights and patent rights. Except as expressly stated in the immediately + proceeding sentence, the Original Work is provided under this License on an + "AS IS" BASIS and WITHOUT WARRANTY, either express or implied, including, + without limitation, the warranties of NON-INFRINGEMENT, MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE + ORIGINAL WORK IS WITH YOU. This DISCLAIMER OF WARRANTY constitutes an + essential part of this License. No license to Original Work is granted + hereunder except under this disclaimer. + + 8) Limitation of Liability. Under no circumstances and under no legal theory, + whether in tort (including negligence), contract, or otherwise, shall the + Licensor be liable to any person for any direct, indirect, special, + incidental, or consequential damages of any character arising as a result of + this License or the use of the Original Work including, without limitation, + damages for loss of goodwill, work stoppage, computer failure or malfunction, + or any and all other commercial damages or losses. This limitation of + liability shall not apply to liability for death or personal injury resulting + from Licensor's negligence to the extent applicable law prohibits such + limitation. Some jurisdictions do not allow the exclusion or limitation of + incidental or consequential damages, so this exclusion and limitation may not + apply to You. + + 9) Acceptance and Termination. If You distribute copies of the Original Work + or a Derivative Work, You must make a reasonable effort under the + circumstances to obtain the express assent of recipients to the terms of this + License. Nothing else but this License (or another written agreement between + Licensor and You) grants You permission to create Derivative Works based upon + the Original Work or to exercise any of the rights granted in Section 1 + herein, and any attempt to do so except under the terms of this License (or + another written agreement between Licensor and You) is expressly prohibited by + U.S. copyright law, the equivalent laws of other countries, and by + international treaty. Therefore, by exercising any of the rights granted to + You in Section 1 herein, You indicate Your acceptance of this License and all + of its terms and conditions. + + 10) Termination for Patent Action. This License shall terminate automatically + and You may no longer exercise any of the rights granted to You by this + License as of the date You commence an action, including a cross-claim or + counterclaim, against Licensor or any licensee alleging that the Original Work + infringes a patent. This termination provision shall not apply for an action + alleging patent infringement by combinations of the Original Work with other + software or hardware. + + 11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this + License may be brought only in the courts of a jurisdiction wherein the + Licensor resides or in which Licensor conducts its primary business, and under + the laws of that jurisdiction excluding its conflict-of-law provisions. The + application of the United Nations Convention on Contracts for the + International Sale of Goods is expressly excluded. Any use of the Original + Work outside the scope of this License or after its termination shall be + subject to the requirements and penalties of the U.S. Copyright Act, 17 + U.S.C. § 101 et seq., the equivalent laws of other countries, and + international treaty. This section shall survive the termination of this + License. + + 12) Attorneys Fees. In any action to enforce the terms of this License or + seeking damages relating thereto, the prevailing party shall be entitled to + recover its costs and expenses, including, without limitation, reasonable + attorneys' fees and costs incurred in connection with such action, including + any appeal of such action. This section shall survive the termination of this + License. + + 13) Miscellaneous. This License represents the complete agreement concerning + the subject matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent necessary + to make it enforceable. + + 14) Definition of "You" in This License. "You" throughout this License, + whether in upper or lower case, means an individual or a legal entity + exercising rights under, and complying with all of the terms of, this + License. For legal entities, "You" includes any entity that controls, is + controlled by, or is under common control with you. For purposes of this + definition, "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or otherwise, or + (ii) ownership of fifty percent (50%) or more of the outstanding shares, or + (iii) beneficial ownership of such entity. + + 15) Right to Use. You may use the Original Work in all ways not otherwise + restricted or conditioned by this License or by law, and Licensor promises not + to interfere with or be responsible for such uses by You. + + This license is Copyright (C) 2003-2004 Lawrence E. Rosen. All rights + reserved. Permission is hereby granted to copy and distribute this license + without modification. This license may not be modified without the express + written permission of its copyright owner. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/devscripts/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/devscripts/stable_copyright-detailed.expected.yml index c76f33b6da7..3220a34e481 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/devscripts/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/devscripts/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-3 - GPL-3+ - ISC @@ -75,15 +76,15 @@ - GPL-3+ - ISC - Public-Domain -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-3.0 AND gpl-1.0-plus AND - gpl-3.0 AND gpl-3.0) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0) AND isc AND - (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND ((artistic-2.0 AND artistic-2.0) - OR (gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0)) AND (gpl-2.0-plus +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-3.0 AND + gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0) + AND isc AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND ((artistic-2.0 AND + artistic-2.0) OR (gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0)) + AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND - gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND - gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) - AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus + gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) @@ -117,7 +118,7 @@ gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND public-domain-disclaimer AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) -- | +copyright: | 1997, Klee Dienes Christoph Lameter 1998-2006, Julian Gilbey @@ -229,3 +230,656 @@ 2012, Arno Töll 2006, Julian Gilbey 2015, Nicholas Bamber +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: artistic' + - score: '91.49' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 47 + matched_length: 43 + match_coverage: '91.49' + rule_relevance: 100 + identifier: artistic-2.0_4.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License, which comes with Perl. + + On Debian systems, the complete text of the Artistic License can be + found in `/usr/share/common-licenses/Artistic'. + - score: '99.93' + start_line: 1 + end_line: 189 + matcher: 3-seq + rule_length: 1351 + matched_length: 1350 + match_coverage: '99.93' + rule_relevance: 100 + identifier: artistic-2.0_36.RULE + license_expression: artistic-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copyright (c) 2000-2006, The Perl Foundation. + + Everyone is permitted to copy and distribute verbatim copies of this + license document, but changing it is not allowed. + + Preamble + + This license establishes the terms under which a given free software + Package may be copied, modified, distributed, and/or redistributed. + The intent is that the Copyright Holder maintains some artistic + control over the development of that Package while still keeping the + Package available as open source and free software. + + You are always permitted to make arrangements wholly outside of this + license directly with the Copyright Holder of a given Package. If the + terms of this license do not permit the full use that you propose to + make of the Package, you should contact the Copyright Holder and seek + a different licensing arrangement. + + Definitions + + "Copyright Holder" means the individual(s) or organization(s) named in + the copyright notice for the entire Package. + + "Contributor" means any party that has contributed code or other + material to the Package, in accordance with the Copyright Holder's + procedures. + + "You" and "your" means any person who would like to copy, distribute, + or modify the Package. + + "Package" means the collection of files distributed by the Copyright + Holder, and derivatives of that collection and/or of those files. A + given Package may consist of either the Standard Version, or a + Modified Version. + + "Distribute" means providing a copy of the Package or making it + accessible to anyone else, or in the case of a company or + organization, to others outside of your company or organization. + + "Distributor Fee" means any fee that you charge for Distributing this + Package or providing support for this Package to another party. It + does not mean licensing fees. + + "Standard Version" refers to the Package if it has not been modified, + or has been modified only in ways explicitly requested by the + Copyright Holder. + + "Modified Version" means the Package, if it has been changed, and such + changes were not explicitly requested by the Copyright Holder. + + "Original License" means this Artistic License as Distributed with the + Standard Version of the Package, in its current version or as it may + be modified by The Perl Foundation in the future. + + "Source" form means the source code, documentation source, and + configuration files for the Package. + + "Compiled" form means the compiled bytecode, object code, binary, or + any other form resulting from mechanical transformation or translation + of the Source form. + + Permission for Use and Modification Without Distribution + + (1) You are permitted to use the Standard Version and create and use + Modified Versions for any purpose without restriction, provided + that you do not Distribute the Modified Version. + + Permissions for Redistribution of the Standard Version + + (2) You may Distribute verbatim copies of the Source form of the + Standard Version of this Package in any medium without + restriction, either gratis or for a Distributor Fee, provided + that you duplicate all of the original copyright notices and + associated disclaimers. At your discretion, such verbatim copies + may or may not include a Compiled form of the Package. + + (3) You may apply any bug fixes, portability changes, and other + modifications made available from the Copyright Holder. The + resulting Package will still be considered the Standard Version, + and as such will be subject to the Original License. + + Distribution of Modified Versions of the Package as Source + + (4) You may Distribute your Modified Version as Source (either gratis + or for a Distributor Fee, and with or without a Compiled form of + the Modified Version) provided that you clearly document how it + differs from the Standard Version, including, but not limited to, + documenting any non-standard features, executables, or modules, + and provided that you do at least ONE of the following: + + (a) make the Modified Version available to the Copyright Holder + of the Standard Version, under the Original License, so that + the Copyright Holder may include your modifications in the + Standard Version. + (b) ensure that installation of your Modified Version does not + prevent the user installing or running the Standard Version. + In addition, the Modified Version must bear a name that is + different from the name of the Standard Version. + (c) allow anyone who receives a copy of the Modified Version to + make the Source form of the Modified Version available to + others under + (i) the Original License or + (ii) a license that permits the licensee to freely copy, + modify and redistribute the Modified Version using the + same licensing terms that apply to the copy that the + licensee received, and requires that the Source form of + the Modified Version, and of any works derived from it, + be made freely available in that license fees are + prohibited but Distributor Fees are allowed. + + Distribution of Compiled Forms of the Standard Version or Modified + Versions without the Source + + (5) You may Distribute Compiled forms of the Standard Version without + the Source, provided that you include complete instructions on + how to get the Source of the Standard Version. Such instructions + must be valid at the time of your distribution. If these + instructions, at any time while you are carrying out such + distribution, become invalid, you must provide new instructions + on demand or cease further distribution. If you provide valid + instructions or cease distribution within thirty days after you + become aware that the instructions are invalid, then you do not + forfeit any of your rights under this license. + + (6) You may Distribute a Modified Version in Compiled form without + the Source, provided that you comply with Section 4 with respect + to the Source of the Modified Version. + + Aggregating or Linking the Package + + (7) You may aggregate the Package (either the Standard Version or + Modified Version) with other packages and Distribute the + resulting aggregation provided that you do not charge a licensing + fee for the Package. Distributor Fees are permitted, and licensing + fees for other components in the aggregation are permitted. The + terms of this license apply to the use and Distribution of the + Standard or Modified Versions as included in the aggregation. + + (8) You are permitted to link Modified and Standard Versions with + other works, to embed the Package in a larger work of your own, + or to build stand-alone binary or bytecode versions of + applications that include the Package, and Distribute the result + without restriction, provided the result does not expose a direct + interface to the Package. + + Items That are Not Considered Part of a Modified Version + + (9) Works (including, but not limited to, modules and scripts) that + merely extend or make use of the Package, do not, by themselves, + cause the Package to be a Modified Version. In addition, such + works are not considered parts of the Package itself, and are + not subject to the terms of this license. + + General Provisions + + (10) Any use, modification, and distribution of the Standard or + Modified Versions is governed by this Artistic License. By + using, modifying or distributing the Package, you accept this + license. Do not use, modify, or distribute the Package, if you + do not accept this license. + + (11) If your Modified Version has been derived from a Modified + Version made by someone other than you, you are nevertheless + required to ensure that your Modified Version complies with + the requirements of this license. + + (12) This license does not grant you the right to use any trademark, + service mark, tradename, or logo of the Copyright Holder. + + (13) This license includes the non-exclusive, worldwide, + free-of-charge patent license to make, have made, use, offer to + sell, import and otherwise transfer the Package with respect to + any patent claims licensable by the Copyright Holder that are + necessarily infringed by the Package. If you institute patent + litigation (including a cross-claim or counterclaim) against + any party alleging that the Package constitutes direct or + contributory patent infringement, then this Artistic License to + you shall terminate on the date that such litigation is filed. + + (14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT + HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE + DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS + REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL + DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_395.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-1+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_2.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 1, or (at your option) + any later version. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General + Public License + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_424.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL- + - score: '60.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 60 + identifier: gpl-1.0_15.RULE + license_expression: gpl-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPL-1' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2. + - score: '100.0' + start_line: 5 + end_line: 6 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_165.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_rdesc_1.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_91.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; + - score: '100.0' + start_line: 5 + end_line: 6 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_237.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 3 of the GNU General + Public License + - score: '33.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_284.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_237.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 3 of the GNU General + Public License + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc.LICENSE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS 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 THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain-disclaimer_16.RULE + license_expression: public-domain-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all copyright + and related and neighboring rights to this software to the public domain + worldwide. This software is distributed without any warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/devscripts/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/devscripts/stable_copyright.expected.yml index 0567280acef..fa798689924 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/devscripts/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/devscripts/stable_copyright.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-3 - GPL-3+ - ISC @@ -9,9 +10,10 @@ - Public-Domain - Artistic - GPL-1+ -- (gpl-2.0-plus AND gpl-2.0) AND (gpl-3.0 AND gpl-1.0-plus) AND (gpl-3.0-plus AND gpl-3.0) AND - isc AND (artistic-2.0 OR (gpl-1.0-plus AND gpl-1.0)) AND gpl-2.0 AND artistic-2.0 AND public-domain-disclaimer -- | +license_expression: (gpl-2.0-plus AND gpl-2.0) AND (gpl-3.0 AND gpl-1.0-plus) AND (gpl-3.0-plus + AND gpl-3.0) AND isc AND (artistic-2.0 OR (gpl-1.0-plus AND gpl-1.0)) AND gpl-2.0 AND artistic-2.0 + AND public-domain-disclaimer +copyright: | 1997, Klee Dienes Christoph Lameter 1998-2006, Julian Gilbey @@ -112,3 +114,656 @@ 2012, Arno Töll 2006, Julian Gilbey 2015, Nicholas Bamber +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: artistic' + - score: '91.49' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 47 + matched_length: 43 + match_coverage: '91.49' + rule_relevance: 100 + identifier: artistic-2.0_4.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License, which comes with Perl. + + On Debian systems, the complete text of the Artistic License can be + found in `/usr/share/common-licenses/Artistic'. + - score: '99.93' + start_line: 1 + end_line: 189 + matcher: 3-seq + rule_length: 1351 + matched_length: 1350 + match_coverage: '99.93' + rule_relevance: 100 + identifier: artistic-2.0_36.RULE + license_expression: artistic-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copyright (c) 2000-2006, The Perl Foundation. + + Everyone is permitted to copy and distribute verbatim copies of this + license document, but changing it is not allowed. + + Preamble + + This license establishes the terms under which a given free software + Package may be copied, modified, distributed, and/or redistributed. + The intent is that the Copyright Holder maintains some artistic + control over the development of that Package while still keeping the + Package available as open source and free software. + + You are always permitted to make arrangements wholly outside of this + license directly with the Copyright Holder of a given Package. If the + terms of this license do not permit the full use that you propose to + make of the Package, you should contact the Copyright Holder and seek + a different licensing arrangement. + + Definitions + + "Copyright Holder" means the individual(s) or organization(s) named in + the copyright notice for the entire Package. + + "Contributor" means any party that has contributed code or other + material to the Package, in accordance with the Copyright Holder's + procedures. + + "You" and "your" means any person who would like to copy, distribute, + or modify the Package. + + "Package" means the collection of files distributed by the Copyright + Holder, and derivatives of that collection and/or of those files. A + given Package may consist of either the Standard Version, or a + Modified Version. + + "Distribute" means providing a copy of the Package or making it + accessible to anyone else, or in the case of a company or + organization, to others outside of your company or organization. + + "Distributor Fee" means any fee that you charge for Distributing this + Package or providing support for this Package to another party. It + does not mean licensing fees. + + "Standard Version" refers to the Package if it has not been modified, + or has been modified only in ways explicitly requested by the + Copyright Holder. + + "Modified Version" means the Package, if it has been changed, and such + changes were not explicitly requested by the Copyright Holder. + + "Original License" means this Artistic License as Distributed with the + Standard Version of the Package, in its current version or as it may + be modified by The Perl Foundation in the future. + + "Source" form means the source code, documentation source, and + configuration files for the Package. + + "Compiled" form means the compiled bytecode, object code, binary, or + any other form resulting from mechanical transformation or translation + of the Source form. + + Permission for Use and Modification Without Distribution + + (1) You are permitted to use the Standard Version and create and use + Modified Versions for any purpose without restriction, provided + that you do not Distribute the Modified Version. + + Permissions for Redistribution of the Standard Version + + (2) You may Distribute verbatim copies of the Source form of the + Standard Version of this Package in any medium without + restriction, either gratis or for a Distributor Fee, provided + that you duplicate all of the original copyright notices and + associated disclaimers. At your discretion, such verbatim copies + may or may not include a Compiled form of the Package. + + (3) You may apply any bug fixes, portability changes, and other + modifications made available from the Copyright Holder. The + resulting Package will still be considered the Standard Version, + and as such will be subject to the Original License. + + Distribution of Modified Versions of the Package as Source + + (4) You may Distribute your Modified Version as Source (either gratis + or for a Distributor Fee, and with or without a Compiled form of + the Modified Version) provided that you clearly document how it + differs from the Standard Version, including, but not limited to, + documenting any non-standard features, executables, or modules, + and provided that you do at least ONE of the following: + + (a) make the Modified Version available to the Copyright Holder + of the Standard Version, under the Original License, so that + the Copyright Holder may include your modifications in the + Standard Version. + (b) ensure that installation of your Modified Version does not + prevent the user installing or running the Standard Version. + In addition, the Modified Version must bear a name that is + different from the name of the Standard Version. + (c) allow anyone who receives a copy of the Modified Version to + make the Source form of the Modified Version available to + others under + (i) the Original License or + (ii) a license that permits the licensee to freely copy, + modify and redistribute the Modified Version using the + same licensing terms that apply to the copy that the + licensee received, and requires that the Source form of + the Modified Version, and of any works derived from it, + be made freely available in that license fees are + prohibited but Distributor Fees are allowed. + + Distribution of Compiled Forms of the Standard Version or Modified + Versions without the Source + + (5) You may Distribute Compiled forms of the Standard Version without + the Source, provided that you include complete instructions on + how to get the Source of the Standard Version. Such instructions + must be valid at the time of your distribution. If these + instructions, at any time while you are carrying out such + distribution, become invalid, you must provide new instructions + on demand or cease further distribution. If you provide valid + instructions or cease distribution within thirty days after you + become aware that the instructions are invalid, then you do not + forfeit any of your rights under this license. + + (6) You may Distribute a Modified Version in Compiled form without + the Source, provided that you comply with Section 4 with respect + to the Source of the Modified Version. + + Aggregating or Linking the Package + + (7) You may aggregate the Package (either the Standard Version or + Modified Version) with other packages and Distribute the + resulting aggregation provided that you do not charge a licensing + fee for the Package. Distributor Fees are permitted, and licensing + fees for other components in the aggregation are permitted. The + terms of this license apply to the use and Distribution of the + Standard or Modified Versions as included in the aggregation. + + (8) You are permitted to link Modified and Standard Versions with + other works, to embed the Package in a larger work of your own, + or to build stand-alone binary or bytecode versions of + applications that include the Package, and Distribute the result + without restriction, provided the result does not expose a direct + interface to the Package. + + Items That are Not Considered Part of a Modified Version + + (9) Works (including, but not limited to, modules and scripts) that + merely extend or make use of the Package, do not, by themselves, + cause the Package to be a Modified Version. In addition, such + works are not considered parts of the Package itself, and are + not subject to the terms of this license. + + General Provisions + + (10) Any use, modification, and distribution of the Standard or + Modified Versions is governed by this Artistic License. By + using, modifying or distributing the Package, you accept this + license. Do not use, modify, or distribute the Package, if you + do not accept this license. + + (11) If your Modified Version has been derived from a Modified + Version made by someone other than you, you are nevertheless + required to ensure that your Modified Version complies with + the requirements of this license. + + (12) This license does not grant you the right to use any trademark, + service mark, tradename, or logo of the Copyright Holder. + + (13) This license includes the non-exclusive, worldwide, + free-of-charge patent license to make, have made, use, offer to + sell, import and otherwise transfer the Package with respect to + any patent claims licensable by the Copyright Holder that are + necessarily infringed by the Package. If you institute patent + litigation (including a cross-claim or counterclaim) against + any party alleging that the Package constitutes direct or + contributory patent infringement, then this Artistic License to + you shall terminate on the date that such litigation is filed. + + (14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT + HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE + DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS + REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL + DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_395.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-1+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_2.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 1, or (at your option) + any later version. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General + Public License + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_424.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL- + - score: '60.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 60 + identifier: gpl-1.0_15.RULE + license_expression: gpl-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPL-1' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2. + - score: '100.0' + start_line: 5 + end_line: 6 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_165.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_rdesc_1.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_91.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; + - score: '100.0' + start_line: 5 + end_line: 6 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_237.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 3 of the GNU General + Public License + - score: '33.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_284.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_237.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 3 of the GNU General + Public License + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc.LICENSE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS 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 THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain-disclaimer_16.RULE + license_expression: public-domain-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all copyright + and related and neighboring rights to this software to the public domain + worldwide. This software is distributed without any warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dma/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dma/stable_copyright-detailed.expected.yml index 7e901a3178c..adb808ea0d7 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dma/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dma/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- bsd-new -- - BSD-3 +primary_license: bsd-new +declared_license: + - BSD-3 - BSD-3 - BSD-3 - BSD-1 and BSD-2 @@ -10,9 +11,9 @@ - BSD-3 - BSD-1 - BSD-2 -- bsd-new AND bsd-new AND bsd-new AND (isc AND bsd-simplified) AND bsd-new AND bsd-new AND bsd-new - AND bsd-new -- | +license_expression: bsd-new AND bsd-new AND bsd-new AND (isc AND bsd-simplified) AND bsd-new + AND bsd-new AND bsd-new AND bsd-new +copyright: | Copyright (c) 1995-2001 Kungliga Tekniska Högskolan (Royal Institute of Technology, Stockholm, Sweden). All rights reserved. @@ -31,3 +32,96 @@ by Simon 'corecode' Schubert and Matthias Schmidt . Copyright (c) 2009 - 2012 Peter Pentchev. +matches: + - score: '90.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 90 + identifier: bsd-new_1036.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. Neither the name of The DragonFly Project nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific, prior written permission. + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + . + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS 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 THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dma/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dma/stable_copyright.expected.yml index a471f6f7915..ad35c0235cb 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dma/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dma/stable_copyright.expected.yml @@ -1,10 +1,11 @@ -- bsd-new -- - BSD-3 +primary_license: bsd-new +declared_license: + - BSD-3 - BSD-1 and BSD-2 - BSD-1 - BSD-2 -- bsd-new AND (isc AND bsd-simplified) -- | +license_expression: bsd-new AND (isc AND bsd-simplified) +copyright: | Copyright (c) 1995-2001 Kungliga Tekniska Högskolan (Royal Institute of Technology, Stockholm, Sweden). All rights reserved. @@ -17,3 +18,96 @@ by Simon 'corecode' Schubert . by Simon 'corecode' Schubert and Matthias Schmidt . +matches: + - score: '90.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 90 + identifier: bsd-new_1036.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. Neither the name of The DragonFly Project nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific, prior written permission. + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + . + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS 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 THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dovecot/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dovecot/stable_copyright-detailed.expected.yml index 552fb4f5191..3274f44f65e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dovecot/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dovecot/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- lgpl-2.1 AND lgpl-2.1-plus -- - LGPL-2.1 +primary_license: lgpl-2.1 AND lgpl-2.1-plus +declared_license: + - LGPL-2.1 - MIT - MIT - Beerware @@ -27,13 +28,13 @@ - BSD-2-Clause - GPL-2+ - Unicode-DFS-2015 -- (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND mit AND mit AND beerware AND - mit AND public-domain AND bsd-new AND bsd-new AND mit AND mit AND mit AND mit AND mit AND - unicode AND bsd-new AND (apache-2.0 AND apache-2.0) AND bsd-simplified AND mit AND ((apache-2.0 - AND apache-2.0) OR (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1)) AND (gpl-2.0-plus - AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1-plus - AND lgpl-2.1) -- | +license_expression: (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND mit AND + mit AND beerware AND mit AND public-domain AND bsd-new AND bsd-new AND mit AND mit AND mit + AND mit AND mit AND unicode AND bsd-new AND (apache-2.0 AND apache-2.0) AND bsd-simplified + AND mit AND ((apache-2.0 AND apache-2.0) OR (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1)) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND + lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) +copyright: | (c) 2001-2018 Dovecot authors (c) 2001-2018 Dovecot authors (c) 2004-2006 Andrey Panin @@ -70,3 +71,399 @@ (c) 2016-2018 Apollon Oikonomopoulos (c) 2002-2018 Stephan Bosch (c) 2002-2018 Dovecot authors +matches: + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 52 + matched_length: 52 + match_coverage: '100.0' + rule_relevance: 100 + identifier: beerware_1.RULE + license_expression: beerware + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + THE BEER-WARE LICENSE" (Revision 42): + wrote this file. As long as you retain this notice you + can do whatever you want with this stuff. If we meet some day, and you think + this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_45.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + placed in the + public domain. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 117 + matched_length: 117 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_239.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '94.5' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 109 + matched_length: 103 + match_coverage: '94.5' + rule_relevance: 100 + identifier: apache-2.0_847.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems, the [full] [text] [of] [the] Apache License, Version 2.0 can be + found [at] /usr/share/common-licenses/Apache-2.0. + - score: '100.0' + start_line: 3 + end_line: 25 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_16.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License version 2 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 1 + end_line: 33 + matcher: 2-aho + rule_length: 299 + matched_length: 299 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_35.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed under the + Terms of Use in http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of the Unicode data files and any associated documentation (the "Data Files") + or Unicode software and any associated documentation (the "Software") to deal + in the Data Files or Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, and/or sell copies + of the Data Files or Software, and to permit persons to whom the Data Files or + Software are furnished to do so, provided that + + (a) this copyright and permission notice appear with all copies of the Data + Files or Software, + (b) this copyright and permission notice appear in associated documentation, + and + (c) there is clear notice in each modified Data File or in the Software as + well as in the documentation associated with the Data File(s) or Software + that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD + PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN + THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 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 DATA FILES OR + SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall not + be used in advertising or otherwise to promote the sale, use or other dealings + in these Data Files or Software without prior written authorization of the + copyright holder. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dovecot/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dovecot/stable_copyright.expected.yml index a7c05ad6edc..50cb9432926 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dovecot/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dovecot/stable_copyright.expected.yml @@ -1,5 +1,6 @@ -- lgpl-2.1 AND lgpl-2.1-plus -- - LGPL-2.1 +primary_license: lgpl-2.1 AND lgpl-2.1-plus +declared_license: + - LGPL-2.1 - MIT - Beerware - public-domain-solardiz @@ -9,9 +10,9 @@ - BSD-2-Clause - Apache-2.0 or LGPL-2.1 - GPL-2+ -- (lgpl-2.1 AND lgpl-2.1-plus) AND mit AND beerware AND public-domain AND bsd-new AND unicode - AND apache-2.0 AND bsd-simplified AND (apache-2.0 OR (lgpl-2.1 AND lgpl-2.1-plus)) -- | +license_expression: (lgpl-2.1 AND lgpl-2.1-plus) AND mit AND beerware AND public-domain AND + bsd-new AND unicode AND apache-2.0 AND bsd-simplified AND (apache-2.0 OR (lgpl-2.1 AND lgpl-2.1-plus)) +copyright: | (c) 2001-2018 Dovecot authors (c) 2004-2006 Andrey Panin (c) 2005 Jelmer Vernooij @@ -37,3 +38,399 @@ (C) 2003-2006 Ben van Klinken and the CLucene Team (c) 2002-2018 Stephan Bosch (c) 2002-2018 Dovecot authors +matches: + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 52 + matched_length: 52 + match_coverage: '100.0' + rule_relevance: 100 + identifier: beerware_1.RULE + license_expression: beerware + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + THE BEER-WARE LICENSE" (Revision 42): + wrote this file. As long as you retain this notice you + can do whatever you want with this stuff. If we meet some day, and you think + this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_45.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + placed in the + public domain. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 117 + matched_length: 117 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_239.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '94.5' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 109 + matched_length: 103 + match_coverage: '94.5' + rule_relevance: 100 + identifier: apache-2.0_847.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems, the [full] [text] [of] [the] Apache License, Version 2.0 can be + found [at] /usr/share/common-licenses/Apache-2.0. + - score: '100.0' + start_line: 3 + end_line: 25 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_16.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License version 2 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 1 + end_line: 33 + matcher: 2-aho + rule_length: 299 + matched_length: 299 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_35.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed under the + Terms of Use in http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of the Unicode data files and any associated documentation (the "Data Files") + or Unicode software and any associated documentation (the "Software") to deal + in the Data Files or Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, and/or sell copies + of the Data Files or Software, and to permit persons to whom the Data Files or + Software are furnished to do so, provided that + + (a) this copyright and permission notice appear with all copies of the Data + Files or Software, + (b) this copyright and permission notice appear in associated documentation, + and + (c) there is clear notice in each modified Data File or in the Software as + well as in the documentation associated with the Data File(s) or Software + that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD + PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN + THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 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 DATA FILES OR + SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall not + be used in advertising or otherwise to promote the sale, use or other dealings + in these Data Files or Software without prior written authorization of the + copyright holder. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dpdk/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dpdk/stable_copyright-detailed.expected.yml index 898b95fd0aa..261cb3acde9 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dpdk/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dpdk/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- bsd-new -- - BSD-3-clause +primary_license: bsd-new +declared_license: + - BSD-3-clause - GPL-2 - BSD-2-clause - BSD-3-clause or GPL-2 @@ -14,10 +15,10 @@ - LGPL-2.1 - BSD-2-clause - BSD-3-clause -- bsd-new AND (gpl-2.0 AND gpl-2.0) AND bsd-simplified AND (bsd-new OR (gpl-2.0 AND gpl-2.0)) - AND (bsd-new OR (lgpl-2.1 AND lgpl-2.0-plus AND lgpl-2.1)) AND bsd-simplified AND (gpl-2.0 - AND gpl-2.0) AND (gpl-3.0 AND gpl-3.0) AND gpl-2.0-plus -- | +license_expression: bsd-new AND (gpl-2.0 AND gpl-2.0) AND bsd-simplified AND (bsd-new OR (gpl-2.0 + AND gpl-2.0)) AND (bsd-new OR (lgpl-2.1 AND lgpl-2.0-plus AND lgpl-2.1)) AND bsd-simplified + AND (gpl-2.0 AND gpl-2.0) AND (gpl-3.0 AND gpl-3.0) AND gpl-2.0-plus +copyright: | 2008-2014 Cisco Systems, Inc. 2012-2014 6WIND S.A. 1999-2016 Intel Corporation. @@ -39,3 +40,226 @@ 2015, 2016 Canonical Ltd. 2009-2016 Andreas Beckmann 2010-2016 Russ Allbery +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + - score: '95.38' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 65 + matched_length: 62 + match_coverage: '95.38' + rule_relevance: 100 + identifier: gpl-2.0-plus_61.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + On Debian systems, the complete text of the GNU General Public + License [version] [2] can be found in "/usr/share/common-licenses/GPL-2". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_rdesc_1.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_215.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU Library General Public + License + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_16.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_4.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + * Neither the name of Intel Corporation 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 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 + OWNER 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dpdk/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dpdk/stable_copyright.expected.yml index 8952af09860..b3073dd5d3a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dpdk/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dpdk/stable_copyright.expected.yml @@ -1,5 +1,6 @@ -- bsd-new -- - BSD-3-clause +primary_license: bsd-new +declared_license: + - BSD-3-clause - GPL-2 - BSD-2-clause - BSD-3-clause or GPL-2 @@ -7,9 +8,9 @@ - GPL-2.0+ - GPL-3 - LGPL-2.1 -- bsd-new AND gpl-2.0 AND bsd-simplified AND (bsd-new OR gpl-2.0) AND (bsd-new OR (lgpl-2.1 - AND lgpl-2.0-plus)) AND gpl-2.0-plus -- | +license_expression: bsd-new AND gpl-2.0 AND bsd-simplified AND (bsd-new OR gpl-2.0) AND (bsd-new + OR (lgpl-2.1 AND lgpl-2.0-plus)) AND gpl-2.0-plus +copyright: | 2008-2014 Cisco Systems, Inc. 2012-2014 6WIND S.A. 1999-2016 Intel Corporation. @@ -30,3 +31,226 @@ 2016, Neil Horman 2009-2016 Andreas Beckmann 2010-2016 Russ Allbery +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + - score: '95.38' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 65 + matched_length: 62 + match_coverage: '95.38' + rule_relevance: 100 + identifier: gpl-2.0-plus_61.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + On Debian systems, the complete text of the GNU General Public + License [version] [2] can be found in "/usr/share/common-licenses/GPL-2". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_rdesc_1.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_215.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU Library General Public + License + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_16.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_4.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + * Neither the name of Intel Corporation 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 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 + OWNER 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_copyright-detailed.expected.yml index 5bc174cbba1..16a70b23cf0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_copyright-detailed.expected.yml @@ -1,8 +1,8 @@ -- -- -- (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 AND lgpl-2.0) - AND ntp-0 AND bsd-new -- | +primary_license: +declared_license: +license_expression: (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 + AND lgpl-2.0) AND ntp-0 AND bsd-new +copyright: | Copyright (c) 2003-2007 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove @@ -10,3 +10,103 @@ Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o Copyright 1987 by the Student Information Processing Board of the Massachusetts Institute of Technology +matches: + - score: '98.28' + start_line: 17 + end_line: 22 + matcher: 3-seq + rule_length: 58 + matched_length: 57 + match_coverage: '98.28' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_2.RULE + license_expression: gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 [filesystem] utilities, are made available under + the GNU General Public License version 2, with the exception of the + [lib]/[ext2fs] [and] [lib]/[e2p] libraries, which are made available under the + GNU Library General Public License Version 2, the [lib]/[uuid] library + which is made available under a BSD-style license and the [lib]/[et] [and] + [lib]/[ss] libraries which are made available under an MIT-style license. + - score: '100.0' + start_line: 27 + end_line: 30 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_4.RULE + license_expression: gpl-2.0 AND lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General Public + License can be found in `/usr/share/common-licenses/GPL-2'. The + complete text of the GNU Library General Public License can be found + in '/usr/share/common-licenses/LGPL-2'. + - score: '100.0' + start_line: 38 + end_line: 45 + matcher: 2-aho + rule_length: 83 + matched_length: 83 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ntp-0.LICENSE + license_expression: ntp-0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose is hereby granted, provided that + the names of M.I.T. and the M.I.T. S.I.P.B. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. M.I.T. and the + M.I.T. S.I.P.B. make no representations about the suitability of + this software for any purpose. It is provided "as is" without + express or implied warranty. + - score: '100.0' + start_line: 49 + end_line: 73 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or\ + \ promote\n products derived from this software without specific prior\n written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\ + \ EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH\n\ + \ DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_copyright.expected.yml index 5bc174cbba1..16a70b23cf0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_copyright.expected.yml @@ -1,8 +1,8 @@ -- -- -- (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 AND lgpl-2.0) - AND ntp-0 AND bsd-new -- | +primary_license: +declared_license: +license_expression: (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 + AND lgpl-2.0) AND ntp-0 AND bsd-new +copyright: | Copyright (c) 2003-2007 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove @@ -10,3 +10,103 @@ Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o Copyright 1987 by the Student Information Processing Board of the Massachusetts Institute of Technology +matches: + - score: '98.28' + start_line: 17 + end_line: 22 + matcher: 3-seq + rule_length: 58 + matched_length: 57 + match_coverage: '98.28' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_2.RULE + license_expression: gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 [filesystem] utilities, are made available under + the GNU General Public License version 2, with the exception of the + [lib]/[ext2fs] [and] [lib]/[e2p] libraries, which are made available under the + GNU Library General Public License Version 2, the [lib]/[uuid] library + which is made available under a BSD-style license and the [lib]/[et] [and] + [lib]/[ss] libraries which are made available under an MIT-style license. + - score: '100.0' + start_line: 27 + end_line: 30 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_4.RULE + license_expression: gpl-2.0 AND lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General Public + License can be found in `/usr/share/common-licenses/GPL-2'. The + complete text of the GNU Library General Public License can be found + in '/usr/share/common-licenses/LGPL-2'. + - score: '100.0' + start_line: 38 + end_line: 45 + matcher: 2-aho + rule_length: 83 + matched_length: 83 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ntp-0.LICENSE + license_expression: ntp-0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose is hereby granted, provided that + the names of M.I.T. and the M.I.T. S.I.P.B. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. M.I.T. and the + M.I.T. S.I.P.B. make no representations about the suitability of + this software for any purpose. It is provided "as is" without + express or implied warranty. + - score: '100.0' + start_line: 49 + end_line: 73 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or\ + \ promote\n products derived from this software without specific prior\n written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\ + \ EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH\n\ + \ DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright-detailed.expected.yml index 2043ba4b994..324a5fb3d29 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright-detailed.expected.yml @@ -1,10 +1,47 @@ -- -- -- gpl-2.0 AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0 AND gpl-2.0 +copyright: | Copyright (c) 2003-2006 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove Copyright (c) 1997 Klee Dienes Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 18 + end_line: '19' + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1137.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 filesystem utilities, is protected by the GNU + General Public License. + - score: '100.0' + start_line: 24 + end_line: 25 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_563.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright.expected.yml index 7d07653eece..fbf487030d1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright.expected.yml @@ -1,10 +1,47 @@ -- -- -- gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0 +copyright: | Copyright (c) 2003-2006 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove Copyright (c) 1997 Klee Dienes Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 18 + end_line: '19' + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1137.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 filesystem utilities, is protected by the GNU + General Public License. + - score: '100.0' + start_line: 24 + end_line: 25 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_563.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright-detailed.expected.yml index 2043ba4b994..324a5fb3d29 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright-detailed.expected.yml @@ -1,10 +1,47 @@ -- -- -- gpl-2.0 AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0 AND gpl-2.0 +copyright: | Copyright (c) 2003-2006 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove Copyright (c) 1997 Klee Dienes Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 18 + end_line: '19' + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1137.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 filesystem utilities, is protected by the GNU + General Public License. + - score: '100.0' + start_line: 24 + end_line: 25 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_563.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright.expected.yml index 7d07653eece..fbf487030d1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright.expected.yml @@ -1,10 +1,47 @@ -- -- -- gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0 +copyright: | Copyright (c) 2003-2006 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove Copyright (c) 1997 Klee Dienes Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 18 + end_line: '19' + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1137.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 filesystem utilities, is protected by the GNU + General Public License. + - score: '100.0' + start_line: 24 + end_line: 25 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_563.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libblkid.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libblkid.copyright-detailed.expected.yml index 914f0774d4d..91726767a59 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libblkid.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libblkid.copyright-detailed.expected.yml @@ -1,6 +1,25 @@ -- -- -- lgpl-2.0 -- | +primary_license: +declared_license: +license_expression: lgpl-2.0 +copyright: | Copyright (c) 1999, 2001 by Andries Brouwer Copyright (c) 1999, 2000, 2003 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 15 + end_line: '19' + matcher: 2-aho + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_24.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "You are free to distribute this software under the terms of the GNU\n Lesser\ + \ (Library) General Public License.\n \n On Debian systems, the complete text of the GNU\ + \ Lesser (Library)\n General Public License can be found in /usr/share/common-licenses/LGPL-2." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libblkid.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libblkid.copyright.expected.yml index 914f0774d4d..91726767a59 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libblkid.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libblkid.copyright.expected.yml @@ -1,6 +1,25 @@ -- -- -- lgpl-2.0 -- | +primary_license: +declared_license: +license_expression: lgpl-2.0 +copyright: | Copyright (c) 1999, 2001 by Andries Brouwer Copyright (c) 1999, 2000, 2003 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 15 + end_line: '19' + matcher: 2-aho + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_24.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "You are free to distribute this software under the terms of the GNU\n Lesser\ + \ (Library) General Public License.\n \n On Debian systems, the complete text of the GNU\ + \ Lesser (Library)\n General Public License can be found in /usr/share/common-licenses/LGPL-2." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libcom-err2.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libcom-err2.copyright-detailed.expected.yml index 5ad583a65b8..5ecad633492 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libcom-err2.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libcom-err2.copyright-detailed.expected.yml @@ -1,5 +1,33 @@ -- -- -- mit-old-style-no-advert -- Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts Institute - of Technology +primary_license: +declared_license: +license_expression: mit-old-style-no-advert +copyright: Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts + Institute of Technology +matches: + - score: '100.0' + start_line: 14 + end_line: 24 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_5.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + and its documentation for any purpose and without fee is + hereby granted, provided that the above copyright notice + appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, + and that the names of M.I.T. and the M.I.T. S.I.P.B. not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + M.I.T. and the M.I.T. S.I.P.B. make no representations about + the suitability of this software for any purpose. It is + provided "as is" without express or implied warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libcom-err2.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libcom-err2.copyright.expected.yml index 5ad583a65b8..5ecad633492 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libcom-err2.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libcom-err2.copyright.expected.yml @@ -1,5 +1,33 @@ -- -- -- mit-old-style-no-advert -- Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts Institute - of Technology +primary_license: +declared_license: +license_expression: mit-old-style-no-advert +copyright: Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts + Institute of Technology +matches: + - score: '100.0' + start_line: 14 + end_line: 24 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_5.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + and its documentation for any purpose and without fee is + hereby granted, provided that the above copyright notice + appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, + and that the names of M.I.T. and the M.I.T. S.I.P.B. not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + M.I.T. and the M.I.T. S.I.P.B. make no representations about + the suitability of this software for any purpose. It is + provided "as is" without express or implied warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libss2.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libss2.copyright-detailed.expected.yml index 5ad583a65b8..fce1ae3319d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libss2.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libss2.copyright-detailed.expected.yml @@ -1,5 +1,33 @@ -- -- -- mit-old-style-no-advert -- Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts Institute - of Technology +primary_license: +declared_license: +license_expression: mit-old-style-no-advert +copyright: Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts + Institute of Technology +matches: + - score: '100.0' + start_line: 15 + end_line: 25 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_5.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + and its documentation for any purpose and without fee is + hereby granted, provided that the above copyright notice + appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, + and that the names of M.I.T. and the M.I.T. S.I.P.B. not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + M.I.T. and the M.I.T. S.I.P.B. make no representations about + the suitability of this software for any purpose. It is + provided "as is" without express or implied warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libss2.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libss2.copyright.expected.yml index 5ad583a65b8..fce1ae3319d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libss2.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libss2.copyright.expected.yml @@ -1,5 +1,33 @@ -- -- -- mit-old-style-no-advert -- Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts Institute - of Technology +primary_license: +declared_license: +license_expression: mit-old-style-no-advert +copyright: Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts + Institute of Technology +matches: + - score: '100.0' + start_line: 15 + end_line: 25 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_5.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + and its documentation for any purpose and without fee is + hereby granted, provided that the above copyright notice + appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, + and that the names of M.I.T. and the M.I.T. S.I.P.B. not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + M.I.T. and the M.I.T. S.I.P.B. make no representations about + the suitability of this software for any purpose. It is + provided "as is" without express or implied warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libuuid1.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libuuid1.copyright-detailed.expected.yml index f0fc8d7be40..cdefda2e154 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libuuid1.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libuuid1.copyright-detailed.expected.yml @@ -1,4 +1,37 @@ -- -- -- bsd-new -- Copyright (c) 1999, 2000, 2003, 2004 by Theodore Ts'o +primary_license: +declared_license: +license_expression: bsd-new +copyright: Copyright (c) 1999, 2000, 2003, 2004 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 14 + end_line: 38 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or promote\n\ + \ products derived from this software without specific prior\n written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE\n LIABLE\ + \ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS\ + \ OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\ + \ OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED\ + \ OF THE POSSIBILITY OF SUCH\n DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libuuid1.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libuuid1.copyright.expected.yml index f0fc8d7be40..cdefda2e154 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libuuid1.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libuuid1.copyright.expected.yml @@ -1,4 +1,37 @@ -- -- -- bsd-new -- Copyright (c) 1999, 2000, 2003, 2004 by Theodore Ts'o +primary_license: +declared_license: +license_expression: bsd-new +copyright: Copyright (c) 1999, 2000, 2003, 2004 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 14 + end_line: 38 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or promote\n\ + \ products derived from this software without specific prior\n written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE\n LIABLE\ + \ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS\ + \ OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\ + \ OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED\ + \ OF THE POSSIBILITY OF SUCH\n DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-dev.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-dev.copyright-detailed.expected.yml index f0fc8d7be40..cdefda2e154 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-dev.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-dev.copyright-detailed.expected.yml @@ -1,4 +1,37 @@ -- -- -- bsd-new -- Copyright (c) 1999, 2000, 2003, 2004 by Theodore Ts'o +primary_license: +declared_license: +license_expression: bsd-new +copyright: Copyright (c) 1999, 2000, 2003, 2004 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 14 + end_line: 38 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or promote\n\ + \ products derived from this software without specific prior\n written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE\n LIABLE\ + \ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS\ + \ OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\ + \ OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED\ + \ OF THE POSSIBILITY OF SUCH\n DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-dev.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-dev.copyright.expected.yml index f0fc8d7be40..cdefda2e154 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-dev.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-dev.copyright.expected.yml @@ -1,4 +1,37 @@ -- -- -- bsd-new -- Copyright (c) 1999, 2000, 2003, 2004 by Theodore Ts'o +primary_license: +declared_license: +license_expression: bsd-new +copyright: Copyright (c) 1999, 2000, 2003, 2004 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 14 + end_line: 38 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or promote\n\ + \ products derived from this software without specific prior\n written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE\n LIABLE\ + \ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS\ + \ OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\ + \ OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED\ + \ OF THE POSSIBILITY OF SUCH\n DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-runtime.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-runtime.copyright-detailed.expected.yml index fee5138bb66..049effc6915 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-runtime.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-runtime.copyright-detailed.expected.yml @@ -1,4 +1,37 @@ -- -- -- bsd-new -- Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 by Theodore Ts'o +primary_license: +declared_license: +license_expression: bsd-new +copyright: Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 15 + end_line: 39 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or promote\n\ + \ products derived from this software without specific prior\n written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE\n LIABLE\ + \ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS\ + \ OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\ + \ OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED\ + \ OF THE POSSIBILITY OF SUCH\n DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-runtime.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-runtime.copyright.expected.yml index fee5138bb66..049effc6915 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-runtime.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-runtime.copyright.expected.yml @@ -1,4 +1,37 @@ -- -- -- bsd-new -- Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 by Theodore Ts'o +primary_license: +declared_license: +license_expression: bsd-new +copyright: Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 15 + end_line: 39 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or promote\n\ + \ products derived from this software without specific prior\n written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE\n LIABLE\ + \ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS\ + \ OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\ + \ OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED\ + \ OF THE POSSIBILITY OF SUCH\n DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/enigmail/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/enigmail/stable_copyright-detailed.expected.yml index 239bb3ba3d2..14219941cb0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/enigmail/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/enigmail/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- mpl-2.0 -- - MPL-2.0 +primary_license: mpl-2.0 +declared_license: + - MPL-2.0 - MPL-2.0 - BSD-2-clause - BSD-3-clause @@ -9,9 +10,9 @@ - BSD-2-clause - BSD-3-clause - CC0-1.0 -- (mpl-2.0 AND mpl-2.0) AND (mpl-2.0 AND mpl-2.0) AND bsd-2-clause-views AND bsd-new AND (cc0-1.0 - AND cc0-1.0) AND (mpl-2.0 AND mpl-2.0) -- | +license_expression: (mpl-2.0 AND mpl-2.0) AND (mpl-2.0 AND mpl-2.0) AND bsd-2-clause-views AND + bsd-new AND (cc0-1.0 AND cc0-1.0) AND (mpl-2.0 AND mpl-2.0) +copyright: | 2003-2017 Patrick Brunschwig , 2001-2002 Ramalingam Saravanan Mozilla Foundation @@ -19,3 +20,535 @@ 2001-2012 David M. Beazley (Dabeaz LLC) 2016 Patrick Brunschwig 2013-2017 Daniel Kahn Gillmor +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mpl-2.0_75.RULE + license_expression: mpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: mpl-2.0' + - score: '100.0' + start_line: 1 + end_line: 373 + matcher: 1-hash + rule_length: 2363 + matched_length: 2363 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mpl-2.0.LICENSE + license_expression: mpl-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Mozilla Public License Version 2.0 + ================================== + + 1. Definitions + -------------- + + 1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + + 1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + + 1.3. "Contribution" + means Covered Software of a particular Contributor. + + 1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + + 1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + + 1.6. "Executable Form" + means any form of the work other than Source Code Form. + + 1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + + 1.8. "License" + means this document. + + 1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + + 1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + + 1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + + 1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + + 1.13. "Source Code Form" + means the form of the work preferred for making modifications. + + 1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + + 2. License Grants and Conditions + -------------------------------- + + 2.1. Grants + + Each Contributor hereby grants You a world-wide, royalty-free, + non-exclusive license: + + (a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + + (b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + + 2.2. Effective Date + + The licenses granted in Section 2.1 with respect to any Contribution + become effective for each Contribution on the date the Contributor first + distributes such Contribution. + + 2.3. Limitations on Grant Scope + + The licenses granted in this Section 2 are the only rights granted under + this License. No additional rights or licenses will be implied from the + distribution or licensing of Covered Software under this License. + Notwithstanding Section 2.1(b) above, no patent license is granted by a + Contributor: + + (a) for any code that a Contributor has removed from Covered Software; + or + + (b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + + (c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + + This License does not grant any rights in the trademarks, service marks, + or logos of any Contributor (except as may be necessary to comply with + the notice requirements in Section 3.4). + + 2.4. Subsequent Licenses + + No Contributor makes additional grants as a result of Your choice to + distribute the Covered Software under a subsequent version of this + License (see Section 10.2) or under the terms of a Secondary License (if + permitted under the terms of Section 3.3). + + 2.5. Representation + + Each Contributor represents that the Contributor believes its + Contributions are its original creation(s) or it has sufficient rights + to grant the rights to its Contributions conveyed by this License. + + 2.6. Fair Use + + This License is not intended to limit any rights You have under + applicable copyright doctrines of fair use, fair dealing, or other + equivalents. + + 2.7. Conditions + + Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted + in Section 2.1. + + 3. Responsibilities + ------------------- + + 3.1. Distribution of Source Form + + All distribution of Covered Software in Source Code Form, including any + Modifications that You create or to which You contribute, must be under + the terms of this License. You must inform recipients that the Source + Code Form of the Covered Software is governed by the terms of this + License, and how they can obtain a copy of this License. You may not + attempt to alter or restrict the recipients' rights in the Source Code + Form. + + 3.2. Distribution of Executable Form + + If You distribute Covered Software in Executable Form then: + + (a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + + (b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + + 3.3. Distribution of a Larger Work + + You may create and distribute a Larger Work under terms of Your choice, + provided that You also comply with the requirements of this License for + the Covered Software. If the Larger Work is a combination of Covered + Software with a work governed by one or more Secondary Licenses, and the + Covered Software is not Incompatible With Secondary Licenses, this + License permits You to additionally distribute such Covered Software + under the terms of such Secondary License(s), so that the recipient of + the Larger Work may, at their option, further distribute the Covered + Software under the terms of either this License or such Secondary + License(s). + + 3.4. Notices + + You may not remove or alter the substance of any license notices + (including copyright notices, patent notices, disclaimers of warranty, + or limitations of liability) contained within the Source Code Form of + the Covered Software, except that You may alter any license notices to + the extent required to remedy known factual inaccuracies. + + 3.5. Application of Additional Terms + + You may choose to offer, and to charge a fee for, warranty, support, + indemnity or liability obligations to one or more recipients of Covered + Software. However, You may do so only on Your own behalf, and not on + behalf of any Contributor. You must make it absolutely clear that any + such warranty, support, indemnity, or liability obligation is offered by + You alone, and You hereby agree to indemnify every Contributor for any + liability incurred by such Contributor as a result of warranty, support, + indemnity or liability terms You offer. You may include additional + disclaimers of warranty and limitations of liability specific to any + jurisdiction. + + 4. Inability to Comply Due to Statute or Regulation + --------------------------------------------------- + + If it is impossible for You to comply with any of the terms of this + License with respect to some or all of the Covered Software due to + statute, judicial order, or regulation then You must: (a) comply with + the terms of this License to the maximum extent possible; and (b) + describe the limitations and the code they affect. Such description must + be placed in a text file included with all distributions of the Covered + Software under this License. Except to the extent prohibited by statute + or regulation, such description must be sufficiently detailed for a + recipient of ordinary skill to be able to understand it. + + 5. Termination + -------------- + + 5.1. The rights granted under this License will terminate automatically + if You fail to comply with any of its terms. However, if You become + compliant, then the rights granted under this License from a particular + Contributor are reinstated (a) provisionally, unless and until such + Contributor explicitly and finally terminates Your grants, and (b) on an + ongoing basis, if such Contributor fails to notify You of the + non-compliance by some reasonable means prior to 60 days after You have + come back into compliance. Moreover, Your grants from a particular + Contributor are reinstated on an ongoing basis if such Contributor + notifies You of the non-compliance by some reasonable means, this is the + first time You have received notice of non-compliance with this License + from such Contributor, and You become compliant prior to 30 days after + Your receipt of the notice. + + 5.2. If You initiate litigation against any entity by asserting a patent + infringement claim (excluding declaratory judgment actions, + counter-claims, and cross-claims) alleging that a Contributor Version + directly or indirectly infringes any patent, then the rights granted to + You by any and all Contributors for the Covered Software under Section + 2.1 of this License shall terminate. + + 5.3. In the event of termination under Sections 5.1 or 5.2 above, all + end user license agreements (excluding distributors and resellers) which + have been validly granted by You or Your distributors under this License + prior to termination shall survive termination. + + ************************************************************************ + * * + * 6. Disclaimer of Warranty * + * ------------------------- * + * * + * Covered Software is provided under this License on an "as is" * + * basis, without warranty of any kind, either expressed, implied, or * + * statutory, including, without limitation, warranties that the * + * Covered Software is free of defects, merchantable, fit for a * + * particular purpose or non-infringing. The entire risk as to the * + * quality and performance of the Covered Software is with You. * + * Should any Covered Software prove defective in any respect, You * + * (not any Contributor) assume the cost of any necessary servicing, * + * repair, or correction. This disclaimer of warranty constitutes an * + * essential part of this License. No use of any Covered Software is * + * authorized under this License except under this disclaimer. * + * * + ************************************************************************ + + ************************************************************************ + * * + * 7. Limitation of Liability * + * -------------------------- * + * * + * Under no circumstances and under no legal theory, whether tort * + * (including negligence), contract, or otherwise, shall any * + * Contributor, or anyone who distributes Covered Software as * + * permitted above, be liable to You for any direct, indirect, * + * special, incidental, or consequential damages of any character * + * including, without limitation, damages for lost profits, loss of * + * goodwill, work stoppage, computer failure or malfunction, or any * + * and all other commercial damages or losses, even if such party * + * shall have been informed of the possibility of such damages. This * + * limitation of liability shall not apply to liability for death or * + * personal injury resulting from such party's negligence to the * + * extent applicable law prohibits such limitation. Some * + * jurisdictions do not allow the exclusion or limitation of * + * incidental or consequential damages, so this exclusion and * + * limitation may not apply to You. * + * * + ************************************************************************ + + 8. Litigation + ------------- + + Any litigation relating to this License may be brought only in the + courts of a jurisdiction where the defendant maintains its principal + place of business and such litigation shall be governed by laws of that + jurisdiction, without reference to its conflict-of-law provisions. + Nothing in this Section shall prevent a party's ability to bring + cross-claims or counter-claims. + + 9. Miscellaneous + ---------------- + + This License represents the complete agreement concerning the subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. Any law or regulation which provides + that the language of a contract shall be construed against the drafter + shall not be used to construe this License against a Contributor. + + 10. Versions of the License + --------------------------- + + 10.1. New Versions + + Mozilla Foundation is the license steward. Except as provided in Section + 10.3, no one other than the license steward has the right to modify or + publish new versions of this License. Each version will be given a + distinguishing version number. + + 10.2. Effect of New Versions + + You may distribute the Covered Software under the terms of the version + of the License under which You originally received the Covered Software, + or under the terms of any subsequent version published by the license + steward. + + 10.3. Modified Versions + + If you create software not governed by this License, and you want to + create a new license for such software, you may create and use a + modified version of this License if you rename the license and remove + any references to the name of the license steward (except to note that + such modified license differs from this License). + + 10.4. Distributing Source Code Form that is Incompatible With Secondary + Licenses + + If You choose to distribute Source Code Form that is Incompatible With + Secondary Licenses under the terms of this version of the License, the + notice described in Exhibit B of this License must be attached. + + Exhibit A - Source Code Form License Notice + ------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + + If it is not possible or desirable to put the notice in a particular + file, then You may include the notice in a location (such as a LICENSE + file in a relevant directory) where a recipient would be likely to look + for such a notice. + + You may add additional accurate notices of copyright ownership. + + Exhibit B - "Incompatible With Secondary Licenses" Notice + --------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. + - score: '100.0' + start_line: 1 + end_line: 28 + matcher: 1-hash + rule_length: 215 + matched_length: 215 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-2-clause-views_1.RULE + license_expression: bsd-2-clause-views + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 MOZILLA FOUNDATION ``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 MOZILLA FOUNDATION 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. + + The views and conclusions contained in the software and documentation + are those of the authors and should not be interpreted as representing + official policies, either expressed or implied, of the Mozilla + Foundation. + - score: '99.04' + start_line: 3 + end_line: 27 + matcher: 3-seq + rule_length: 207 + matched_length: 207 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_784.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + * Neither the name of the [David] [Beazley] or [Dabeaz] LLC may be used to endorse + or promote products derived from this software without specific prior + written permission. + + 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 OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 81 + matched_length: 81 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_99.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all copyright + and related and neighboring rights to this software to the public domain + worldwide. This software is distributed without any warranty. + + You should have received a copy of the CC0 Public Domain Dedication along with + this software. If not, see . + + On Debian systems, the complete text of the CC0 1.0 Universal license can be + found in ‘/usr/share/common-licenses/CC0-1.0’. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/enigmail/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/enigmail/stable_copyright.expected.yml index 83153c65c24..13d2799fd64 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/enigmail/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/enigmail/stable_copyright.expected.yml @@ -1,13 +1,546 @@ -- mpl-2.0 -- - MPL-2.0 +primary_license: mpl-2.0 +declared_license: + - MPL-2.0 - BSD-2-clause - BSD-3-clause - CC0-1.0 -- mpl-2.0 AND bsd-2-clause-views AND bsd-new AND cc0-1.0 -- | +license_expression: mpl-2.0 AND bsd-2-clause-views AND bsd-new AND cc0-1.0 +copyright: | 2003-2017 Patrick Brunschwig , 2001-2002 Ramalingam Saravanan Mozilla Foundation 2010,2011 Mozilla Foundation 2001-2012 David M. Beazley (Dabeaz LLC) 2016 Patrick Brunschwig +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mpl-2.0_75.RULE + license_expression: mpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: mpl-2.0' + - score: '100.0' + start_line: 1 + end_line: 373 + matcher: 1-hash + rule_length: 2363 + matched_length: 2363 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mpl-2.0.LICENSE + license_expression: mpl-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Mozilla Public License Version 2.0 + ================================== + + 1. Definitions + -------------- + + 1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + + 1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + + 1.3. "Contribution" + means Covered Software of a particular Contributor. + + 1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + + 1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + + 1.6. "Executable Form" + means any form of the work other than Source Code Form. + + 1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + + 1.8. "License" + means this document. + + 1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + + 1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + + 1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + + 1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + + 1.13. "Source Code Form" + means the form of the work preferred for making modifications. + + 1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + + 2. License Grants and Conditions + -------------------------------- + + 2.1. Grants + + Each Contributor hereby grants You a world-wide, royalty-free, + non-exclusive license: + + (a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + + (b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + + 2.2. Effective Date + + The licenses granted in Section 2.1 with respect to any Contribution + become effective for each Contribution on the date the Contributor first + distributes such Contribution. + + 2.3. Limitations on Grant Scope + + The licenses granted in this Section 2 are the only rights granted under + this License. No additional rights or licenses will be implied from the + distribution or licensing of Covered Software under this License. + Notwithstanding Section 2.1(b) above, no patent license is granted by a + Contributor: + + (a) for any code that a Contributor has removed from Covered Software; + or + + (b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + + (c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + + This License does not grant any rights in the trademarks, service marks, + or logos of any Contributor (except as may be necessary to comply with + the notice requirements in Section 3.4). + + 2.4. Subsequent Licenses + + No Contributor makes additional grants as a result of Your choice to + distribute the Covered Software under a subsequent version of this + License (see Section 10.2) or under the terms of a Secondary License (if + permitted under the terms of Section 3.3). + + 2.5. Representation + + Each Contributor represents that the Contributor believes its + Contributions are its original creation(s) or it has sufficient rights + to grant the rights to its Contributions conveyed by this License. + + 2.6. Fair Use + + This License is not intended to limit any rights You have under + applicable copyright doctrines of fair use, fair dealing, or other + equivalents. + + 2.7. Conditions + + Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted + in Section 2.1. + + 3. Responsibilities + ------------------- + + 3.1. Distribution of Source Form + + All distribution of Covered Software in Source Code Form, including any + Modifications that You create or to which You contribute, must be under + the terms of this License. You must inform recipients that the Source + Code Form of the Covered Software is governed by the terms of this + License, and how they can obtain a copy of this License. You may not + attempt to alter or restrict the recipients' rights in the Source Code + Form. + + 3.2. Distribution of Executable Form + + If You distribute Covered Software in Executable Form then: + + (a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + + (b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + + 3.3. Distribution of a Larger Work + + You may create and distribute a Larger Work under terms of Your choice, + provided that You also comply with the requirements of this License for + the Covered Software. If the Larger Work is a combination of Covered + Software with a work governed by one or more Secondary Licenses, and the + Covered Software is not Incompatible With Secondary Licenses, this + License permits You to additionally distribute such Covered Software + under the terms of such Secondary License(s), so that the recipient of + the Larger Work may, at their option, further distribute the Covered + Software under the terms of either this License or such Secondary + License(s). + + 3.4. Notices + + You may not remove or alter the substance of any license notices + (including copyright notices, patent notices, disclaimers of warranty, + or limitations of liability) contained within the Source Code Form of + the Covered Software, except that You may alter any license notices to + the extent required to remedy known factual inaccuracies. + + 3.5. Application of Additional Terms + + You may choose to offer, and to charge a fee for, warranty, support, + indemnity or liability obligations to one or more recipients of Covered + Software. However, You may do so only on Your own behalf, and not on + behalf of any Contributor. You must make it absolutely clear that any + such warranty, support, indemnity, or liability obligation is offered by + You alone, and You hereby agree to indemnify every Contributor for any + liability incurred by such Contributor as a result of warranty, support, + indemnity or liability terms You offer. You may include additional + disclaimers of warranty and limitations of liability specific to any + jurisdiction. + + 4. Inability to Comply Due to Statute or Regulation + --------------------------------------------------- + + If it is impossible for You to comply with any of the terms of this + License with respect to some or all of the Covered Software due to + statute, judicial order, or regulation then You must: (a) comply with + the terms of this License to the maximum extent possible; and (b) + describe the limitations and the code they affect. Such description must + be placed in a text file included with all distributions of the Covered + Software under this License. Except to the extent prohibited by statute + or regulation, such description must be sufficiently detailed for a + recipient of ordinary skill to be able to understand it. + + 5. Termination + -------------- + + 5.1. The rights granted under this License will terminate automatically + if You fail to comply with any of its terms. However, if You become + compliant, then the rights granted under this License from a particular + Contributor are reinstated (a) provisionally, unless and until such + Contributor explicitly and finally terminates Your grants, and (b) on an + ongoing basis, if such Contributor fails to notify You of the + non-compliance by some reasonable means prior to 60 days after You have + come back into compliance. Moreover, Your grants from a particular + Contributor are reinstated on an ongoing basis if such Contributor + notifies You of the non-compliance by some reasonable means, this is the + first time You have received notice of non-compliance with this License + from such Contributor, and You become compliant prior to 30 days after + Your receipt of the notice. + + 5.2. If You initiate litigation against any entity by asserting a patent + infringement claim (excluding declaratory judgment actions, + counter-claims, and cross-claims) alleging that a Contributor Version + directly or indirectly infringes any patent, then the rights granted to + You by any and all Contributors for the Covered Software under Section + 2.1 of this License shall terminate. + + 5.3. In the event of termination under Sections 5.1 or 5.2 above, all + end user license agreements (excluding distributors and resellers) which + have been validly granted by You or Your distributors under this License + prior to termination shall survive termination. + + ************************************************************************ + * * + * 6. Disclaimer of Warranty * + * ------------------------- * + * * + * Covered Software is provided under this License on an "as is" * + * basis, without warranty of any kind, either expressed, implied, or * + * statutory, including, without limitation, warranties that the * + * Covered Software is free of defects, merchantable, fit for a * + * particular purpose or non-infringing. The entire risk as to the * + * quality and performance of the Covered Software is with You. * + * Should any Covered Software prove defective in any respect, You * + * (not any Contributor) assume the cost of any necessary servicing, * + * repair, or correction. This disclaimer of warranty constitutes an * + * essential part of this License. No use of any Covered Software is * + * authorized under this License except under this disclaimer. * + * * + ************************************************************************ + + ************************************************************************ + * * + * 7. Limitation of Liability * + * -------------------------- * + * * + * Under no circumstances and under no legal theory, whether tort * + * (including negligence), contract, or otherwise, shall any * + * Contributor, or anyone who distributes Covered Software as * + * permitted above, be liable to You for any direct, indirect, * + * special, incidental, or consequential damages of any character * + * including, without limitation, damages for lost profits, loss of * + * goodwill, work stoppage, computer failure or malfunction, or any * + * and all other commercial damages or losses, even if such party * + * shall have been informed of the possibility of such damages. This * + * limitation of liability shall not apply to liability for death or * + * personal injury resulting from such party's negligence to the * + * extent applicable law prohibits such limitation. Some * + * jurisdictions do not allow the exclusion or limitation of * + * incidental or consequential damages, so this exclusion and * + * limitation may not apply to You. * + * * + ************************************************************************ + + 8. Litigation + ------------- + + Any litigation relating to this License may be brought only in the + courts of a jurisdiction where the defendant maintains its principal + place of business and such litigation shall be governed by laws of that + jurisdiction, without reference to its conflict-of-law provisions. + Nothing in this Section shall prevent a party's ability to bring + cross-claims or counter-claims. + + 9. Miscellaneous + ---------------- + + This License represents the complete agreement concerning the subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. Any law or regulation which provides + that the language of a contract shall be construed against the drafter + shall not be used to construe this License against a Contributor. + + 10. Versions of the License + --------------------------- + + 10.1. New Versions + + Mozilla Foundation is the license steward. Except as provided in Section + 10.3, no one other than the license steward has the right to modify or + publish new versions of this License. Each version will be given a + distinguishing version number. + + 10.2. Effect of New Versions + + You may distribute the Covered Software under the terms of the version + of the License under which You originally received the Covered Software, + or under the terms of any subsequent version published by the license + steward. + + 10.3. Modified Versions + + If you create software not governed by this License, and you want to + create a new license for such software, you may create and use a + modified version of this License if you rename the license and remove + any references to the name of the license steward (except to note that + such modified license differs from this License). + + 10.4. Distributing Source Code Form that is Incompatible With Secondary + Licenses + + If You choose to distribute Source Code Form that is Incompatible With + Secondary Licenses under the terms of this version of the License, the + notice described in Exhibit B of this License must be attached. + + Exhibit A - Source Code Form License Notice + ------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + + If it is not possible or desirable to put the notice in a particular + file, then You may include the notice in a location (such as a LICENSE + file in a relevant directory) where a recipient would be likely to look + for such a notice. + + You may add additional accurate notices of copyright ownership. + + Exhibit B - "Incompatible With Secondary Licenses" Notice + --------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. + - score: '100.0' + start_line: 1 + end_line: 28 + matcher: 1-hash + rule_length: 215 + matched_length: 215 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-2-clause-views_1.RULE + license_expression: bsd-2-clause-views + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 MOZILLA FOUNDATION ``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 MOZILLA FOUNDATION 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. + + The views and conclusions contained in the software and documentation + are those of the authors and should not be interpreted as representing + official policies, either expressed or implied, of the Mozilla + Foundation. + - score: '99.04' + start_line: 3 + end_line: 27 + matcher: 3-seq + rule_length: 207 + matched_length: 207 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_784.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + * Neither the name of the [David] [Beazley] or [Dabeaz] LLC may be used to endorse + or promote products derived from this software without specific prior + written permission. + + 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 OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 81 + matched_length: 81 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_99.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all copyright + and related and neighboring rights to this software to the public domain + worldwide. This software is distributed without any warranty. + + You should have received a copy of the CC0 Public Domain Dedication along with + this software. If not, see . + + On Debian systems, the complete text of the CC0 1.0 Universal license can be + found in ‘/usr/share/common-licenses/CC0-1.0’. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/epiphany-browser/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/epiphany-browser/stable_copyright-detailed.expected.yml index 10663e9a8d9..760c8de5c55 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/epiphany-browser/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/epiphany-browser/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-3.0-plus AND gpl-3.0 -- - GPL-3+ +primary_license: gpl-3.0-plus AND gpl-3.0 +declared_license: + - GPL-3+ - CC0-1.0 - GPL-2+ - GPL-3+ @@ -18,12 +19,12 @@ - CC0-1.0 - CC-BY-SA-3.0 - CC-BY-SA-4.0 -- (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (cc0-1.0 AND cc0-1.0) AND (gpl-2.0-plus AND - gpl-3.0-plus) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND cc-by-sa-3.0 AND (lgpl-2.0-plus - AND gpl-2.0-plus) AND (lgpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.0-plus AND gpl-2.0-plus) - AND (lgpl-2.0-plus AND gpl-2.0-plus) AND (apache-2.0 AND apache-2.0) AND (gpl-3.0-plus AND - gpl-3.0-plus AND gpl-3.0) AND (cc-by-sa-4.0 AND cc-by-sa-4.0) -- | +license_expression: (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (cc0-1.0 AND cc0-1.0) AND + (gpl-2.0-plus AND gpl-3.0-plus) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND cc-by-sa-3.0 + AND (lgpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.0-plus + AND gpl-2.0-plus) AND (lgpl-2.0-plus AND gpl-2.0-plus) AND (apache-2.0 AND apache-2.0) AND + (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (cc-by-sa-4.0 AND cc-by-sa-4.0) +copyright: | 2009-2018 Igalia S.L 2002 Jorn Baayen 2013 Yosef Or Boczko @@ -70,3 +71,1014 @@ 2008, Diego Escalante Urrelo GNOME Design Team Jakub Steiner +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '94.59' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 111 + matched_length: 105 + match_coverage: '94.59' + rule_relevance: 100 + identifier: apache-2.0_231.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + [https]://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS-IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems a [copy] of the Apache License, Version 2.0 can be + found in /usr/share/common-licenses/Apache-2.0 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '97.62' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 123 + match_coverage: '97.62' + rule_relevance: 100 + identifier: gpl-3.0-plus_321.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [2] of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version [2] can be found in "/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_60.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '95.05' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 101 + matched_length: 96 + match_coverage: '95.05' + rule_relevance: 100 + identifier: gpl-2.0-plus_808.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or + modify it under the terms of the GNU [Library] General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This [library] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + [Lesser] General Public License for more details. + + On Debian systems, the complete text of the GNU [Library] General Public + License [version] [2] can be found in "/usr/share/common-licenses/ + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '58.33' + start_line: 21 + end_line: 22 + matcher: 3-seq + rule_length: 24 + matched_length: 14 + match_coverage: '58.33' + rule_relevance: 100 + identifier: cc0-1.0_101.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 1.0 Universal + can be found in `/usr/share/common-licenses/CC0-1.0'. + - score: '97.8' + start_line: 1 + end_line: 307 + matcher: 3-seq + rule_length: 3137 + matched_length: 3068 + match_coverage: '97.8' + rule_relevance: 100 + identifier: cc-by-sa-3.0_35.RULE + license_expression: cc-by-sa-3.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 OR COPYRIGHT LAW IS + PROHIBITED. + + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND + AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS + LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE + RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS + AND CONDITIONS. + + 1. Definitions + + "Adaptation" means a work based upon the Work, or upon the Work and + other pre-existing works, such as a translation, adaptation, derivative + work, arrangement of music or other alterations of a literary or + artistic work, or phonogram or performance and includes cinematographic + adaptations or any other form in which the Work may be recast, + transformed, or adapted including in any form recognizably derived from + the original, except that a work that constitutes a Collection will not + be considered an Adaptation for the purpose of this License. For the + avoidance of doubt, where the Work is a musical work, performance or + phonogram, the synchronization of the Work in timed-relation with a + moving image ("synching") will be considered an Adaptation for the + purpose of this License. "Collection" means a collection of literary or + artistic works, such as encyclopedias and anthologies, or performances, + phonograms or broadcasts, or other works or subject matter other than + works listed in Section 1(f) below, which, by reason of the selection + and arrangement of their contents, constitute intellectual creations, in + which the Work is included in its entirety in unmodified form along with + one or more other contributions, each constituting separate and + independent works in themselves, which together are assembled into a + collective whole. A work that constitutes a Collection will not be + considered an Adaptation (as defined below) for the purposes of this + License. + "Creative Commons Compatible License" means a license that is listed at + https://creativecommons.org/compatiblelicenses that has been approved by + Creative Commons as being essentially equivalent to this License, + including, at a minimum, because that license: (i) contains terms that + have the same purpose, meaning and effect as the License Elements of + this License; and, (ii) explicitly permits the relicensing of + adaptations of works made available under that license under this + License or a Creative Commons jurisdiction license with the same License + Elements as this License. "Distribute" means to make available to the + public the original and copies of the Work or Adaptation, as + appropriate, through sale or other transfer of ownership. + "License Elements" means the following high-level license attributes as + selected by Licensor and indicated in the title of this License: + Attribution, ShareAlike. "Licensor" means the individual, individuals, + entity or entities that offer(s) the Work under the terms of this + License. + "Original Author" means, in the case of a literary or artistic work, + the individual, individuals, entity or entities who created the Work or + if no individual or entity can be identified, the publisher; and in + addition (i) in the case of a performance the actors, singers, + musicians, dancers, and other persons who act, sing, deliver, declaim, + play in, interpret or otherwise perform literary or artistic works or + expressions of folklore; (ii) in the case of a phonogram the producer + being the person or legal entity who first fixes the sounds of a + performance or other sounds; and, (iii) in the case of broadcasts, the + organization that transmits the broadcast. "Work" means the literary + and/or artistic work offered under the terms of this License including + without limitation any production in the literary, scientific and + artistic domain, whatever may be the mode or form of its expression + including digital form, such as a book, pamphlet and other writing; a + lecture, address, sermon or other work of the same nature; a dramatic or + dramatico-musical work; a choreographic work or entertainment in dumb + show; a musical composition with or without words; a cinematographic + work to which are assimilated works expressed by a process analogous to + cinematography; a work of drawing, painting, architecture, sculpture, + engraving or lithography; a photographic work to which are assimilated + works expressed by a process analogous to photography; a work of applied + art; an illustration, map, plan, sketch or three-dimensional work + relative to geography, topography, architecture or science; a + performance; a broadcast; a phonogram; a compilation of data to the + extent it is protected as a copyrightable work; or a work performed by a + variety or circus performer to the extent it is not otherwise considered + a literary or artistic work. + "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. "Publicly Perform" means to perform public recitations of + the Work and to communicate to the public those public recitations, by + any means or process, including by wire or wireless means or public + digital performances; to make available to the public Works in such a + way that members of the public may access these Works from a place and + at a place individually chosen by them; to perform the Work to the + public by any means or process and the communication to the public of + the performances of the Work, including by public digital performance; + to broadcast and rebroadcast the Work by any means including signs, + sounds or images. + "Reproduce" means to make copies of the Work by any means including + without limitation by sound or visual recordings and the right of + fixation and reproducing fixations of the Work, including storage of a + protected performance or phonogram in digital form or other electronic + medium. 2. Fair Dealing Rights. Nothing in this License is intended to + reduce, limit, or restrict any uses free from copyright or rights + arising from limitations or exceptions that are provided for in + connection with the copyright protection 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 + Collections, and to Reproduce the Work as incorporated in the + Collections; to create and Reproduce Adaptations provided that any such + Adaptation, including any translation in any medium, takes reasonable + steps to clearly label, demarcate or otherwise identify that changes + were made to the original Work. For example, a translation could be + marked "The original work was translated from English to Spanish," or a + modification could indicate "The original work has been modified."; + to Distribute and Publicly Perform the Work including as incorporated + in Collections; and, to Distribute and Publicly Perform Adaptations. + For the avoidance of doubt: + + Non-waivable Compulsory License Schemes. In those jurisdictions in + which the right to collect royalties through any statutory or compulsory + licensing scheme cannot be waived, the Licensor reserves the exclusive + right to collect such royalties for any exercise by You of the rights + granted under this License; Waivable Compulsory License Schemes. In + those jurisdictions in which the right to collect royalties through any + statutory or compulsory licensing scheme can be waived, the Licensor + waives the exclusive right to collect such royalties for any exercise by + You of the rights granted under this License; and, Voluntary License + Schemes. The Licensor waives the right to collect royalties, whether + individually or, in the event that the Licensor is a member of a + collecting society that administers voluntary licensing schemes, via + that society, from any exercise by You of the rights granted under this + License. + 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. Subject to Section 8(f), 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 or Publicly Perform the Work only under the terms of + this License. You must include a copy of, or the Uniform Resource + Identifier (URI) for, this License with every copy of the Work You + Distribute or Publicly Perform. You may not offer or impose any terms on + the Work that restrict the terms of this License or the ability of the + recipient of the Work to exercise the rights granted to that recipient + under the terms of the License. You may not sublicense the Work. You + must keep intact all notices that refer to this License and to the + disclaimer of warranties with every copy of the Work You Distribute or + Publicly Perform. When You Distribute or Publicly Perform the Work, You + may not impose any effective technological measures on the Work that + restrict the ability of a recipient of the Work from You to exercise the + rights granted to that recipient under the terms of the License. This + Section 4(a) applies to the Work as incorporated in a Collection, but + this does not require the Collection apart from the Work itself to be + made subject to the terms of this License. If You create a Collection, + upon notice from any Licensor You must, to the extent practicable, + remove from the Collection any credit as required by Section 4(c), as + requested. If You create an Adaptation, upon notice from any Licensor + You must, to the extent practicable, remove from the Adaptation any + credit as required by Section 4(c), as requested. You may Distribute or + Publicly Perform an Adaptation only under the terms of: (i) this + License; (ii) a later version of this License with the same License + Elements as this License; (iii) a Creative Commons jurisdiction license + (either this or a later license version) that contains the same License + Elements as this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a + Creative Commons Compatible License. If you license the Adaptation under + one of the licenses mentioned in (iv), you must comply with the terms of + that license. If you license the Adaptation under the terms of any of + the licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), + you must comply with the terms of the Applicable License generally and + the following provisions: (I) You must include a copy of, or the URI + for, the Applicable License with every copy of each Adaptation You + Distribute or Publicly Perform; (II) You may not offer or impose any + terms on the Adaptation that restrict the terms of the Applicable + License or the ability of the recipient of the Adaptation to exercise + the rights granted to that recipient under the terms of the Applicable + License; (III) You must keep intact all notices that refer to the + Applicable License and to the disclaimer of warranties with every copy + of the Work as included in the Adaptation You Distribute or Publicly + Perform; (IV) when You Distribute or Publicly Perform the Adaptation, + You may not impose any effective technological measures on the + Adaptation that restrict the ability of a recipient of the Adaptation + from You to exercise the rights granted to that recipient under the + terms of the Applicable License. This Section 4(b) applies to the + Adaptation as incorporated in a Collection, but this does not require + the Collection apart from the Adaptation itself to be made subject to + the terms of the Applicable License. + If You Distribute, or Publicly Perform the Work or any Adaptations or + Collections, You must, unless a request has been made pursuant to + Section 4(a), keep intact all copyright notices for the Work and + provide, reasonable to the medium or means You are utilizing: (i) the + name of the Original Author (or pseudonym, if applicable) if supplied, + and/or if the Original Author and/or Licensor designate another party or + parties (e.g., a sponsor institute, publishing entity, journal) for + attribution ("Attribution Parties") in Licensor's copyright notice, + terms of service or by other reasonable means, the name of such party or + parties; (ii) the title of the Work if supplied; (iii) to the extent + reasonably practicable, the URI, if any, that Licensor specifies to be + associated with the Work, unless such URI does not refer to the + copyright notice or licensing information for the Work; and (iv) , + consistent with Ssection 3(b), in the case of an Adaptation, a credit + identifying the use of the Work in the Adaptation (e.g., "French + translation of the Work by Original Author," or "Screenplay based on + original Work by Original Author"). The credit required by this Section + 4(c) may be implemented in any reasonable manner; provided, however, + that in the case of a Adaptation or Collection, at a minimum such credit + will appear, if a credit for all contributing authors of the Adaptation + or Collection appears, then as part of these credits and in a manner at + least as prominent as the credits for the other contributing authors. + For the avoidance of doubt, You may only use the credit required by this + Section for the purpose of attribution in the manner set out above and, + by exercising Your rights under this License, You may not implicitly or + explicitly assert or imply any connection with, sponsorship or + endorsement by the Original Author, Licensor and/or Attribution Parties, + as appropriate, of You or Your use of the Work, without the separate, + express prior written permission of the Original Author, Licensor and/or + Attribution Parties. Except as otherwise agreed in writing by the + Licensor or as may be otherwise permitted by applicable law, if You + Reproduce, Distribute or Publicly Perform the Work either by itself or + as part of any Adaptations or Collections, You must not distort, + mutilate, modify or take other derogatory action in relation to the Work + which would be prejudicial to the Original Author's honor or reputation. + Licensor agrees that in those jurisdictions (e.g. Japan), in which any + exercise of the right granted in Section 3(b) of this License (the right + to make Adaptations) would be deemed to be a distortion, mutilation, + modification or other derogatory action prejudicial to the Original + Author's honor and reputation, the Licensor will waive or not assert, as + appropriate, this Section, to the fullest extent permitted by the + applicable national law, to enable You to reasonably exercise Your right + under Section 3(b) of this License (right to make Adaptations) but not + otherwise. + 5. Representations, Warranties and Disclaimer + + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR + OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY + KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, + INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, + FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF + LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, + WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE + LAW, 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 Adaptations or Collections + 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 Perform the Work or a Collection, + 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 Perform an Adaptation, 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. The + rights granted under, and the subject matter referenced, in this License + were drafted utilizing the terminology of the Berne Convention for the + Protection of Literary and Artistic Works (as amended on September 28, + 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, + the WIPO Performances and Phonograms Treaty of 1996 and the Universal + Copyright Convention (as revised on July 24, 1971). These rights and + subject matter take effect in the relevant jurisdiction in which the + License terms are sought to be enforced according to the corresponding + provisions of the implementation of those treaty provisions in the + applicable national law. If the standard suite of rights granted under + applicable copyright law includes additional rights not granted under + this License, such additional rights are deemed to be included in the + License; this License is not intended to restrict the license of any + rights under applicable law. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc-by-sa-4.0_36.RULE + license_expression: cc-by-sa-4.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: http://creativecommons.org/licenses/by-sa/4.0/ + - score: '99.82' + start_line: 3 + end_line: 424 + matcher: 3-seq + rule_length: 2762 + matched_length: 2757 + match_coverage: '99.82' + rule_relevance: 100 + identifier: cc-by-sa-4.0.LICENSE + license_expression: cc-by-sa-4.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Creative Commons Corporation ("Creative Commons") is not a law firm and + does not provide legal services or legal advice. Distribution of + Creative Commons public licenses does not create a lawyer-client or + other relationship. Creative Commons makes its licenses and related + information available on an "as-is" basis. Creative Commons gives no + warranties regarding its licenses, any material licensed under their + terms and conditions, or any related information. Creative Commons + disclaims all liability for damages resulting from their use to the + fullest extent possible. + + Using Creative Commons Public Licenses + + Creative Commons public licenses provide a standard set of terms and + conditions that creators and other rights holders may use to share + original works of authorship and other material subject to copyright + and certain other rights specified in the public license below. The + following considerations are for informational purposes only, are not + exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees + + ======================================================================= + + Creative Commons Attribution-ShareAlike 4.0 International Public + License + + By exercising the Licensed Rights (defined below), You accept and agree + to be bound by the terms and conditions of this Creative Commons + Attribution-ShareAlike 4.0 International Public License ("Public + License"). To the extent this Public License may be interpreted as a + contract, You are granted the Licensed Rights in consideration of Your + acceptance of these terms and conditions, and the Licensor grants You + such rights in consideration of benefits the Licensor receives from + making the Licensed Material available under these terms and + conditions. + + + Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + + c. BY-SA Compatible License means a license listed at + creativecommons.org/compatiblelicenses, approved by Creative + Commons as essentially the equivalent of this Public License. + + d. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + + e. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + + f. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + + g. License Elements means the license attributes listed in the name + of a Creative Commons Public License. The License Elements of this + Public License are Attribution and ShareAlike. + + h. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + + i. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + + j. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + + k. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + + l. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + + m. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + + + Section 2 -- Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + + a. reproduce and Share the Licensed Material, in whole or + in part; and + + b. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + + 3. Term. The term of this Public License is specified in Section + 6(a). + + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + + 5. Downstream recipients. + + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + + b. Additional offer from the Licensor -- Adapted Material. + Every recipient of Adapted Material from You + automatically receives an offer from the Licensor to + exercise the Licensed Rights in the Adapted Material + under the conditions of the Adapter's License You apply. + + c. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + + b. Other rights. + + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this + Public License. + + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + + + Section 3 -- License Conditions. + + Your exercise of the Licensed Rights is expressly made subject to the + following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified + form), You must: + + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of + warranties; + + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + + b. ShareAlike. + + In addition to the conditions in Section 3(a), if You Share + Adapted Material You produce, the following conditions also apply. + + 1. The Adapter's License You apply must be a Creative Commons + license with the same License Elements, this version or + later, or a BY-SA Compatible License. + + 2. You must include the text of, or the URI or hyperlink to, the + Adapter's License You apply. You may satisfy this condition + in any reasonable manner based on the medium, means, and + context in which You Share Adapted Material. + + 3. You may not offer or impose any additional or different terms + or conditions on, or apply any Effective Technological + Measures to, Adapted Material that restrict exercise of the + rights granted under the Adapter's License You apply. + + + Section 4 -- Sui Generis Database Rights. + + Where the Licensed Rights include Sui Generis Database Rights that + apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material, + + including for purposes of Section 3(b); and + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + + For the avoidance of doubt, this Section 4 supplements and does not + replace Your obligations under this Public License where the Licensed + Rights include other Copyright and Similar Rights. + + + Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + + + Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + + + Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + + + Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. + + ======================================================================= + + Creative Commons is not a party to its public + licenses. Notwithstanding, Creative Commons may elect to apply one of + its public licenses to material it publishes and in those instances + will be considered the “Licensor.” The text of the Creative Commons + public licenses is dedicated to the public domain under the CC0 Public + Domain Dedication. Except for the limited purpose of indicating that + material is shared under a Creative Commons public license or as + otherwise permitted by the Creative Commons policies published at + creativecommons.org/policies, Creative Commons does not authorize the + use of the trademark "Creative Commons" or any other trademark or logo + of Creative Commons without its prior written consent including, + without limitation, in connection with any unauthorized modifications + to any of its public licenses or any other arrangements, + understandings, or agreements concerning use of licensed material. For + the avoidance of doubt, this paragraph does not form part of the + public licenses. + + Creative Commons may be contacted at creativecommons.org. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/epiphany-browser/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/epiphany-browser/stable_copyright.expected.yml index 75ef77e3bcf..e0db47f25b1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/epiphany-browser/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/epiphany-browser/stable_copyright.expected.yml @@ -1,14 +1,15 @@ -- gpl-3.0-plus AND gpl-3.0 -- - GPL-3+ +primary_license: gpl-3.0-plus AND gpl-3.0 +declared_license: + - GPL-3+ - CC0-1.0 - CC-BY-SA-3.0 - LGPL-2+ - Apache-2.0 - CC-BY-SA-4.0 - GPL-2+ -- (gpl-3.0-plus AND gpl-3.0) AND cc0-1.0 AND cc-by-sa-3.0 AND (lgpl-2.0-plus AND gpl-2.0-plus) - AND apache-2.0 AND cc-by-sa-4.0 -- | +license_expression: (gpl-3.0-plus AND gpl-3.0) AND cc0-1.0 AND cc-by-sa-3.0 AND (lgpl-2.0-plus + AND gpl-2.0-plus) AND apache-2.0 AND cc-by-sa-4.0 +copyright: | 2009-2018 Igalia S.L 2002 Jorn Baayen 2013 Yosef Or Boczko @@ -53,3 +54,1014 @@ 2008, Diego Escalante Urrelo GNOME Design Team Jakub Steiner +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '94.59' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 111 + matched_length: 105 + match_coverage: '94.59' + rule_relevance: 100 + identifier: apache-2.0_231.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + [https]://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS-IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems a [copy] of the Apache License, Version 2.0 can be + found in /usr/share/common-licenses/Apache-2.0 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '97.62' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 123 + match_coverage: '97.62' + rule_relevance: 100 + identifier: gpl-3.0-plus_321.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [2] of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version [2] can be found in "/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_60.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '95.05' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 101 + matched_length: 96 + match_coverage: '95.05' + rule_relevance: 100 + identifier: gpl-2.0-plus_808.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or + modify it under the terms of the GNU [Library] General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This [library] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + [Lesser] General Public License for more details. + + On Debian systems, the complete text of the GNU [Library] General Public + License [version] [2] can be found in "/usr/share/common-licenses/ + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '58.33' + start_line: 21 + end_line: 22 + matcher: 3-seq + rule_length: 24 + matched_length: 14 + match_coverage: '58.33' + rule_relevance: 100 + identifier: cc0-1.0_101.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 1.0 Universal + can be found in `/usr/share/common-licenses/CC0-1.0'. + - score: '97.8' + start_line: 1 + end_line: 307 + matcher: 3-seq + rule_length: 3137 + matched_length: 3068 + match_coverage: '97.8' + rule_relevance: 100 + identifier: cc-by-sa-3.0_35.RULE + license_expression: cc-by-sa-3.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 OR COPYRIGHT LAW IS + PROHIBITED. + + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND + AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS + LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE + RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS + AND CONDITIONS. + + 1. Definitions + + "Adaptation" means a work based upon the Work, or upon the Work and + other pre-existing works, such as a translation, adaptation, derivative + work, arrangement of music or other alterations of a literary or + artistic work, or phonogram or performance and includes cinematographic + adaptations or any other form in which the Work may be recast, + transformed, or adapted including in any form recognizably derived from + the original, except that a work that constitutes a Collection will not + be considered an Adaptation for the purpose of this License. For the + avoidance of doubt, where the Work is a musical work, performance or + phonogram, the synchronization of the Work in timed-relation with a + moving image ("synching") will be considered an Adaptation for the + purpose of this License. "Collection" means a collection of literary or + artistic works, such as encyclopedias and anthologies, or performances, + phonograms or broadcasts, or other works or subject matter other than + works listed in Section 1(f) below, which, by reason of the selection + and arrangement of their contents, constitute intellectual creations, in + which the Work is included in its entirety in unmodified form along with + one or more other contributions, each constituting separate and + independent works in themselves, which together are assembled into a + collective whole. A work that constitutes a Collection will not be + considered an Adaptation (as defined below) for the purposes of this + License. + "Creative Commons Compatible License" means a license that is listed at + https://creativecommons.org/compatiblelicenses that has been approved by + Creative Commons as being essentially equivalent to this License, + including, at a minimum, because that license: (i) contains terms that + have the same purpose, meaning and effect as the License Elements of + this License; and, (ii) explicitly permits the relicensing of + adaptations of works made available under that license under this + License or a Creative Commons jurisdiction license with the same License + Elements as this License. "Distribute" means to make available to the + public the original and copies of the Work or Adaptation, as + appropriate, through sale or other transfer of ownership. + "License Elements" means the following high-level license attributes as + selected by Licensor and indicated in the title of this License: + Attribution, ShareAlike. "Licensor" means the individual, individuals, + entity or entities that offer(s) the Work under the terms of this + License. + "Original Author" means, in the case of a literary or artistic work, + the individual, individuals, entity or entities who created the Work or + if no individual or entity can be identified, the publisher; and in + addition (i) in the case of a performance the actors, singers, + musicians, dancers, and other persons who act, sing, deliver, declaim, + play in, interpret or otherwise perform literary or artistic works or + expressions of folklore; (ii) in the case of a phonogram the producer + being the person or legal entity who first fixes the sounds of a + performance or other sounds; and, (iii) in the case of broadcasts, the + organization that transmits the broadcast. "Work" means the literary + and/or artistic work offered under the terms of this License including + without limitation any production in the literary, scientific and + artistic domain, whatever may be the mode or form of its expression + including digital form, such as a book, pamphlet and other writing; a + lecture, address, sermon or other work of the same nature; a dramatic or + dramatico-musical work; a choreographic work or entertainment in dumb + show; a musical composition with or without words; a cinematographic + work to which are assimilated works expressed by a process analogous to + cinematography; a work of drawing, painting, architecture, sculpture, + engraving or lithography; a photographic work to which are assimilated + works expressed by a process analogous to photography; a work of applied + art; an illustration, map, plan, sketch or three-dimensional work + relative to geography, topography, architecture or science; a + performance; a broadcast; a phonogram; a compilation of data to the + extent it is protected as a copyrightable work; or a work performed by a + variety or circus performer to the extent it is not otherwise considered + a literary or artistic work. + "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. "Publicly Perform" means to perform public recitations of + the Work and to communicate to the public those public recitations, by + any means or process, including by wire or wireless means or public + digital performances; to make available to the public Works in such a + way that members of the public may access these Works from a place and + at a place individually chosen by them; to perform the Work to the + public by any means or process and the communication to the public of + the performances of the Work, including by public digital performance; + to broadcast and rebroadcast the Work by any means including signs, + sounds or images. + "Reproduce" means to make copies of the Work by any means including + without limitation by sound or visual recordings and the right of + fixation and reproducing fixations of the Work, including storage of a + protected performance or phonogram in digital form or other electronic + medium. 2. Fair Dealing Rights. Nothing in this License is intended to + reduce, limit, or restrict any uses free from copyright or rights + arising from limitations or exceptions that are provided for in + connection with the copyright protection 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 + Collections, and to Reproduce the Work as incorporated in the + Collections; to create and Reproduce Adaptations provided that any such + Adaptation, including any translation in any medium, takes reasonable + steps to clearly label, demarcate or otherwise identify that changes + were made to the original Work. For example, a translation could be + marked "The original work was translated from English to Spanish," or a + modification could indicate "The original work has been modified."; + to Distribute and Publicly Perform the Work including as incorporated + in Collections; and, to Distribute and Publicly Perform Adaptations. + For the avoidance of doubt: + + Non-waivable Compulsory License Schemes. In those jurisdictions in + which the right to collect royalties through any statutory or compulsory + licensing scheme cannot be waived, the Licensor reserves the exclusive + right to collect such royalties for any exercise by You of the rights + granted under this License; Waivable Compulsory License Schemes. In + those jurisdictions in which the right to collect royalties through any + statutory or compulsory licensing scheme can be waived, the Licensor + waives the exclusive right to collect such royalties for any exercise by + You of the rights granted under this License; and, Voluntary License + Schemes. The Licensor waives the right to collect royalties, whether + individually or, in the event that the Licensor is a member of a + collecting society that administers voluntary licensing schemes, via + that society, from any exercise by You of the rights granted under this + License. + 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. Subject to Section 8(f), 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 or Publicly Perform the Work only under the terms of + this License. You must include a copy of, or the Uniform Resource + Identifier (URI) for, this License with every copy of the Work You + Distribute or Publicly Perform. You may not offer or impose any terms on + the Work that restrict the terms of this License or the ability of the + recipient of the Work to exercise the rights granted to that recipient + under the terms of the License. You may not sublicense the Work. You + must keep intact all notices that refer to this License and to the + disclaimer of warranties with every copy of the Work You Distribute or + Publicly Perform. When You Distribute or Publicly Perform the Work, You + may not impose any effective technological measures on the Work that + restrict the ability of a recipient of the Work from You to exercise the + rights granted to that recipient under the terms of the License. This + Section 4(a) applies to the Work as incorporated in a Collection, but + this does not require the Collection apart from the Work itself to be + made subject to the terms of this License. If You create a Collection, + upon notice from any Licensor You must, to the extent practicable, + remove from the Collection any credit as required by Section 4(c), as + requested. If You create an Adaptation, upon notice from any Licensor + You must, to the extent practicable, remove from the Adaptation any + credit as required by Section 4(c), as requested. You may Distribute or + Publicly Perform an Adaptation only under the terms of: (i) this + License; (ii) a later version of this License with the same License + Elements as this License; (iii) a Creative Commons jurisdiction license + (either this or a later license version) that contains the same License + Elements as this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a + Creative Commons Compatible License. If you license the Adaptation under + one of the licenses mentioned in (iv), you must comply with the terms of + that license. If you license the Adaptation under the terms of any of + the licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), + you must comply with the terms of the Applicable License generally and + the following provisions: (I) You must include a copy of, or the URI + for, the Applicable License with every copy of each Adaptation You + Distribute or Publicly Perform; (II) You may not offer or impose any + terms on the Adaptation that restrict the terms of the Applicable + License or the ability of the recipient of the Adaptation to exercise + the rights granted to that recipient under the terms of the Applicable + License; (III) You must keep intact all notices that refer to the + Applicable License and to the disclaimer of warranties with every copy + of the Work as included in the Adaptation You Distribute or Publicly + Perform; (IV) when You Distribute or Publicly Perform the Adaptation, + You may not impose any effective technological measures on the + Adaptation that restrict the ability of a recipient of the Adaptation + from You to exercise the rights granted to that recipient under the + terms of the Applicable License. This Section 4(b) applies to the + Adaptation as incorporated in a Collection, but this does not require + the Collection apart from the Adaptation itself to be made subject to + the terms of the Applicable License. + If You Distribute, or Publicly Perform the Work or any Adaptations or + Collections, You must, unless a request has been made pursuant to + Section 4(a), keep intact all copyright notices for the Work and + provide, reasonable to the medium or means You are utilizing: (i) the + name of the Original Author (or pseudonym, if applicable) if supplied, + and/or if the Original Author and/or Licensor designate another party or + parties (e.g., a sponsor institute, publishing entity, journal) for + attribution ("Attribution Parties") in Licensor's copyright notice, + terms of service or by other reasonable means, the name of such party or + parties; (ii) the title of the Work if supplied; (iii) to the extent + reasonably practicable, the URI, if any, that Licensor specifies to be + associated with the Work, unless such URI does not refer to the + copyright notice or licensing information for the Work; and (iv) , + consistent with Ssection 3(b), in the case of an Adaptation, a credit + identifying the use of the Work in the Adaptation (e.g., "French + translation of the Work by Original Author," or "Screenplay based on + original Work by Original Author"). The credit required by this Section + 4(c) may be implemented in any reasonable manner; provided, however, + that in the case of a Adaptation or Collection, at a minimum such credit + will appear, if a credit for all contributing authors of the Adaptation + or Collection appears, then as part of these credits and in a manner at + least as prominent as the credits for the other contributing authors. + For the avoidance of doubt, You may only use the credit required by this + Section for the purpose of attribution in the manner set out above and, + by exercising Your rights under this License, You may not implicitly or + explicitly assert or imply any connection with, sponsorship or + endorsement by the Original Author, Licensor and/or Attribution Parties, + as appropriate, of You or Your use of the Work, without the separate, + express prior written permission of the Original Author, Licensor and/or + Attribution Parties. Except as otherwise agreed in writing by the + Licensor or as may be otherwise permitted by applicable law, if You + Reproduce, Distribute or Publicly Perform the Work either by itself or + as part of any Adaptations or Collections, You must not distort, + mutilate, modify or take other derogatory action in relation to the Work + which would be prejudicial to the Original Author's honor or reputation. + Licensor agrees that in those jurisdictions (e.g. Japan), in which any + exercise of the right granted in Section 3(b) of this License (the right + to make Adaptations) would be deemed to be a distortion, mutilation, + modification or other derogatory action prejudicial to the Original + Author's honor and reputation, the Licensor will waive or not assert, as + appropriate, this Section, to the fullest extent permitted by the + applicable national law, to enable You to reasonably exercise Your right + under Section 3(b) of this License (right to make Adaptations) but not + otherwise. + 5. Representations, Warranties and Disclaimer + + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR + OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY + KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, + INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, + FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF + LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, + WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE + LAW, 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 Adaptations or Collections + 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 Perform the Work or a Collection, + 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 Perform an Adaptation, 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. The + rights granted under, and the subject matter referenced, in this License + were drafted utilizing the terminology of the Berne Convention for the + Protection of Literary and Artistic Works (as amended on September 28, + 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, + the WIPO Performances and Phonograms Treaty of 1996 and the Universal + Copyright Convention (as revised on July 24, 1971). These rights and + subject matter take effect in the relevant jurisdiction in which the + License terms are sought to be enforced according to the corresponding + provisions of the implementation of those treaty provisions in the + applicable national law. If the standard suite of rights granted under + applicable copyright law includes additional rights not granted under + this License, such additional rights are deemed to be included in the + License; this License is not intended to restrict the license of any + rights under applicable law. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc-by-sa-4.0_36.RULE + license_expression: cc-by-sa-4.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: http://creativecommons.org/licenses/by-sa/4.0/ + - score: '99.82' + start_line: 3 + end_line: 424 + matcher: 3-seq + rule_length: 2762 + matched_length: 2757 + match_coverage: '99.82' + rule_relevance: 100 + identifier: cc-by-sa-4.0.LICENSE + license_expression: cc-by-sa-4.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Creative Commons Corporation ("Creative Commons") is not a law firm and + does not provide legal services or legal advice. Distribution of + Creative Commons public licenses does not create a lawyer-client or + other relationship. Creative Commons makes its licenses and related + information available on an "as-is" basis. Creative Commons gives no + warranties regarding its licenses, any material licensed under their + terms and conditions, or any related information. Creative Commons + disclaims all liability for damages resulting from their use to the + fullest extent possible. + + Using Creative Commons Public Licenses + + Creative Commons public licenses provide a standard set of terms and + conditions that creators and other rights holders may use to share + original works of authorship and other material subject to copyright + and certain other rights specified in the public license below. The + following considerations are for informational purposes only, are not + exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees + + ======================================================================= + + Creative Commons Attribution-ShareAlike 4.0 International Public + License + + By exercising the Licensed Rights (defined below), You accept and agree + to be bound by the terms and conditions of this Creative Commons + Attribution-ShareAlike 4.0 International Public License ("Public + License"). To the extent this Public License may be interpreted as a + contract, You are granted the Licensed Rights in consideration of Your + acceptance of these terms and conditions, and the Licensor grants You + such rights in consideration of benefits the Licensor receives from + making the Licensed Material available under these terms and + conditions. + + + Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + + c. BY-SA Compatible License means a license listed at + creativecommons.org/compatiblelicenses, approved by Creative + Commons as essentially the equivalent of this Public License. + + d. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + + e. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + + f. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + + g. License Elements means the license attributes listed in the name + of a Creative Commons Public License. The License Elements of this + Public License are Attribution and ShareAlike. + + h. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + + i. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + + j. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + + k. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + + l. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + + m. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + + + Section 2 -- Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + + a. reproduce and Share the Licensed Material, in whole or + in part; and + + b. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + + 3. Term. The term of this Public License is specified in Section + 6(a). + + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + + 5. Downstream recipients. + + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + + b. Additional offer from the Licensor -- Adapted Material. + Every recipient of Adapted Material from You + automatically receives an offer from the Licensor to + exercise the Licensed Rights in the Adapted Material + under the conditions of the Adapter's License You apply. + + c. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + + b. Other rights. + + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this + Public License. + + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + + + Section 3 -- License Conditions. + + Your exercise of the Licensed Rights is expressly made subject to the + following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified + form), You must: + + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of + warranties; + + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + + b. ShareAlike. + + In addition to the conditions in Section 3(a), if You Share + Adapted Material You produce, the following conditions also apply. + + 1. The Adapter's License You apply must be a Creative Commons + license with the same License Elements, this version or + later, or a BY-SA Compatible License. + + 2. You must include the text of, or the URI or hyperlink to, the + Adapter's License You apply. You may satisfy this condition + in any reasonable manner based on the medium, means, and + context in which You Share Adapted Material. + + 3. You may not offer or impose any additional or different terms + or conditions on, or apply any Effective Technological + Measures to, Adapted Material that restrict exercise of the + rights granted under the Adapter's License You apply. + + + Section 4 -- Sui Generis Database Rights. + + Where the Licensed Rights include Sui Generis Database Rights that + apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material, + + including for purposes of Section 3(b); and + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + + For the avoidance of doubt, this Section 4 supplements and does not + replace Your obligations under this Public License where the Licensed + Rights include other Copyright and Similar Rights. + + + Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + + + Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + + + Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + + + Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. + + ======================================================================= + + Creative Commons is not a party to its public + licenses. Notwithstanding, Creative Commons may elect to apply one of + its public licenses to material it publishes and in those instances + will be considered the “Licensor.” The text of the Creative Commons + public licenses is dedicated to the public domain under the CC0 Public + Domain Dedication. Except for the limited purpose of indicating that + material is shared under a Creative Commons public license or as + otherwise permitted by the Creative Commons policies published at + creativecommons.org/policies, Creative Commons does not authorize the + use of the trademark "Creative Commons" or any other trademark or logo + of Creative Commons without its prior written consent including, + without limitation, in connection with any unauthorized modifications + to any of its public licenses or any other arrangements, + understandings, or agreements concerning use of licensed material. For + the avoidance of doubt, this paragraph does not form part of the + public licenses. + + Creative Commons may be contacted at creativecommons.org. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/erlang-p1-pkix/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/erlang-p1-pkix/stable_copyright-detailed.expected.yml index 6bbb5f65b9b..96fed6e87f5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/erlang-p1-pkix/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/erlang-p1-pkix/stable_copyright-detailed.expected.yml @@ -1,9 +1,57 @@ -- apache-2.0 -- - Apache-2.0 +primary_license: apache-2.0 +declared_license: - Apache-2.0 - Apache-2.0 -- (apache-2.0 AND apache-2.0) AND (apache-2.0 AND apache-2.0) -- | + - Apache-2.0 +license_expression: (apache-2.0 AND apache-2.0) AND (apache-2.0 AND apache-2.0) +copyright: | 2002-2019 ProcessOne 2018-2019 Evgeny Khramtsov 2018-2019 Philipp Huebner +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 14 + matcher: 1-hash + rule_length: 109 + matched_length: 109 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_845.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/erlang-p1-pkix/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/erlang-p1-pkix/stable_copyright.expected.yml index 898b2e6620e..1a80e710c8f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/erlang-p1-pkix/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/erlang-p1-pkix/stable_copyright.expected.yml @@ -1,6 +1,54 @@ -- apache-2.0 -- - Apache-2.0 -- apache-2.0 -- | +primary_license: apache-2.0 +declared_license: + - Apache-2.0 +license_expression: apache-2.0 +copyright: | 2002-2019 ProcessOne 2018-2019 Evgeny Khramtsov +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 14 + matcher: 1-hash + rule_length: 109 + matched_length: 109 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_845.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fig2dev/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fig2dev/stable_copyright-detailed.expected.yml index 8f14815511b..87e6b47664c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fig2dev/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fig2dev/stable_copyright-detailed.expected.yml @@ -1,13 +1,14 @@ -- mit-xfig -- - xfig +primary_license: mit-xfig +declared_license: + - xfig - GPL-2+ - GPL-2+ - GPL-2+ - MIT - GPL-3 -- mit-xfig AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) AND mit-old-style-no-advert - AND (gpl-3.0 AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0) -- | +license_expression: mit-xfig AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) + AND mit-old-style-no-advert AND (gpl-3.0 AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0) +copyright: | Copyright (c) 1991-1999 by Micah Beck Parts Copyright (c) 1985-1988 by Supoj Sutanthavibul Parts Copyright (c) 1988 by Conrad Kwok @@ -37,3 +38,176 @@ Copyright (C) 2006 Michael Pfeiffer -- p3fff@web.de Copyright, 1987, Massachusetts Institute of Technology Copyright (C) 1997, 2003-2004, 2006-2007, 2009-2015 Free Software Foundation, Inc. +matches: + - score: '87.78' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 81 + matched_length: 79 + match_coverage: '97.53' + rule_relevance: 90 + identifier: mit-xfig_1.RULE + license_expression: mit-xfig + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Any party obtaining a copy of these files is granted, free of charge, a + full and unrestricted irrevocable, world-wide, paid up, royalty-free, + nonexclusive right and license to deal in this software and documentation + files (the "Software"), including without limitation the rights to use, + copy, modify, merge, publish distribute, sublicense and/or sell copies of + the Software, and to permit persons who receive copies from any such + party to do so, with the only requirement being that [the] [above] [copyright] + [and] [this] [permission] notice remain intact. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '89.93' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 139 + matched_length: 125 + match_coverage: '89.93' + rule_relevance: 100 + identifier: gpl-2.0-plus_612.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License [version] [2] [or] [3] as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin [St], Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 96 + matched_length: 96 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_3.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this software and its + documentation for any purpose is hereby granted without fee, provided that + the above copyright notice appear in all copies and that both that + copyright notice and this permission notice appear in supporting + documentation, and that the name of M.I.T. not be used in advertising or + publicity pertaining to distribution of the software without specific, + written prior permission. M.I.T. makes no representations about the + suitability of this software for any purpose. It is provided "as is" + without express or implied warranty. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_rdesc_1.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_96.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 3 + - score: '33.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fig2dev/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fig2dev/stable_copyright.expected.yml index ada636ad041..3812fa0d3fc 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fig2dev/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fig2dev/stable_copyright.expected.yml @@ -1,10 +1,11 @@ -- mit-xfig -- - xfig +primary_license: mit-xfig +declared_license: + - xfig - GPL-2+ - MIT - GPL-3 -- mit-xfig AND gpl-2.0-plus AND mit-old-style-no-advert AND (gpl-3.0 AND gpl-3.0-plus) -- | +license_expression: mit-xfig AND gpl-2.0-plus AND mit-old-style-no-advert AND (gpl-3.0 AND gpl-3.0-plus) +copyright: | Copyright (c) 1991-1999 by Micah Beck Parts Copyright (c) 1985-1988 by Supoj Sutanthavibul Parts Copyright (c) 1988 by Conrad Kwok @@ -26,3 +27,176 @@ Copyright (C) 2006 Michael Pfeiffer -- p3fff@web.de Copyright, 1987, Massachusetts Institute of Technology Copyright (C) 1997, 2003-2004, 2006-2007, 2009-2015 Free Software Foundation, Inc. +matches: + - score: '87.78' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 81 + matched_length: 79 + match_coverage: '97.53' + rule_relevance: 90 + identifier: mit-xfig_1.RULE + license_expression: mit-xfig + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Any party obtaining a copy of these files is granted, free of charge, a + full and unrestricted irrevocable, world-wide, paid up, royalty-free, + nonexclusive right and license to deal in this software and documentation + files (the "Software"), including without limitation the rights to use, + copy, modify, merge, publish distribute, sublicense and/or sell copies of + the Software, and to permit persons who receive copies from any such + party to do so, with the only requirement being that [the] [above] [copyright] + [and] [this] [permission] notice remain intact. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '89.93' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 139 + matched_length: 125 + match_coverage: '89.93' + rule_relevance: 100 + identifier: gpl-2.0-plus_612.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License [version] [2] [or] [3] as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin [St], Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 96 + matched_length: 96 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_3.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this software and its + documentation for any purpose is hereby granted without fee, provided that + the above copyright notice appear in all copies and that both that + copyright notice and this permission notice appear in supporting + documentation, and that the name of M.I.T. not be used in advertising or + publicity pertaining to distribution of the software without specific, + written prior permission. M.I.T. makes no representations about the + suitability of this software for any purpose. It is provided "as is" + without express or implied warranty. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_rdesc_1.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_96.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 3 + - score: '33.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/freeorion/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/freeorion/stable_copyright-detailed.expected.yml index 125b144d0cf..db63f52ab06 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/freeorion/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/freeorion/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0 AND gpl-2.0-plus -- - GPL-2 +primary_license: gpl-2.0 AND gpl-2.0-plus +declared_license: + - GPL-2 - CC-BY-SA-3.0 - LGPL-2.1+ - BSL-1.0 @@ -15,12 +16,12 @@ - Apache-2.0 - CC-BY-SA-3.0 - DejaVu-License -- (gpl-2.0 AND gpl-2.0-plus) AND cc-by-sa-3.0 AND (cc-by-sa-3.0 AND gpl-2.0) AND (lgpl-2.1-plus - AND lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.1) AND boost-1.0 AND (lgpl-2.1-plus AND lgpl-2.1-plus - AND lgpl-2.0-plus AND lgpl-2.1) AND bsd-new AND (bitstream AND bitstream) AND (apache-2.0 - AND apache-2.0 AND apache-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus AND - lgpl-2.1) -- | +license_expression: (gpl-2.0 AND gpl-2.0-plus) AND cc-by-sa-3.0 AND (cc-by-sa-3.0 AND gpl-2.0) + AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.1) AND boost-1.0 AND (lgpl-2.1-plus + AND lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.1) AND bsd-new AND (bitstream AND bitstream) + AND (apache-2.0 AND apache-2.0 AND apache-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus + AND lgpl-2.1) +copyright: | The FreeOrion project The FreeOrion project 2003-2008, T. Zachary Laine @@ -33,3 +34,784 @@ 2015, Google Inc. 2013-2014, Dmitry Smirnov 2013-2018, Markus Koschany +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '88.1' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 126 + matched_length: 111 + match_coverage: '88.1' + rule_relevance: 100 + identifier: gpl-2.0-plus_38.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License [2] as published by + the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_215.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Library General Public License + - score: '100.0' + start_line: 12 + end_line: 12 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 211 + matched_length: 211 + match_coverage: '100.0' + rule_relevance: 100 + identifier: boost-1.0.LICENSE + license_expression: boost-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Boost Software License - Version 1.0 - August 17th, 2003 + + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '78.42' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 101 + matched_length: 88 + match_coverage: '87.13' + rule_relevance: 90 + identifier: bsd-new_1036.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + * Neither the [names] [of] [Kitware], [Inc]., [the] [Insight] [Software] [Consortium], + [nor] [the] [names] [of] [their] contributors may be used to endorse or promote + products derived from this software without specific prior written + permission. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_182.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Apache license version 2.0 + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache-2.0. + - score: '99.82' + start_line: 1 + end_line: 376 + matcher: 3-seq + rule_length: 3346 + matched_length: 3340 + match_coverage: '99.82' + rule_relevance: 100 + identifier: cc-by-sa-3.0_41.RULE + license_expression: cc-by-sa-3.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Creative Commons Attribution-ShareAlike 3.0 Unported + ․ + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS 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. + ․ + 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 OR COPYRIGHT LAW IS PROHIBITED. + ․ + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE + TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY + BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS + CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND + CONDITIONS. + ․ + 1. Definitions + ․ + a. "Adaptation" means a work based upon the Work, or upon the Work and + other pre-existing works, such as a translation, adaptation, derivative + work, arrangement of music or other alterations of a literary or + artistic work, or phonogram or performance and includes cinematographic + adaptations or any other form in which the Work may be recast, + transformed, or adapted including in any form recognizably derived from + the original, except that a work that constitutes a Collection will not + be considered an Adaptation for the purpose of this License. For the + avoidance of doubt, where the Work is a musical work, performance or + phonogram, the synchronization of the Work in timed-relation with a + moving image ("synching") will be considered an Adaptation for the + purpose of this License. + ․ + b. "Collection" means a collection of literary or artistic works, such + as encyclopedias and anthologies, or performances, phonograms or + broadcasts, or other works or subject matter other than works listed in + Section 1(f) below, which, by reason of the selection and arrangement of + their contents, constitute intellectual creations, in which the Work is + included in its entirety in unmodified form along with one or more other + contributions, each constituting separate and independent works in + themselves, which together are assembled into a collective whole. A work + that constitutes a Collection will not be considered an Adaptation (as + defined below) for the purposes of this License. + ․ + c. "Creative Commons Compatible License" means a license that is listed + at http://creativecommons.org/compatiblelicenses that has been approved + by Creative Commons as being essentially equivalent to this License, + including, at a minimum, because that license: (i) contains terms that + have the same purpose, meaning and effect as the License Elements of + this License; and, (ii) explicitly permits the relicensing of + adaptations of works made available under that license under this + License or a Creative Commons jurisdiction license with the same License + Elements as this License. + ․ + d. "Distribute" means to make available to the public the original and + copies of the Work or Adaptation, as appropriate, through sale or other + transfer of ownership. + ․ + e. "License Elements" means the following high-level license attributes + as selected by Licensor and indicated in the title of this License: + Attribution, ShareAlike. + ․ + f. "Licensor" means the individual, individuals, entity or entities that + offer(s) the Work under the terms of this License. + ․ + g. "Original Author" means, in the case of a literary or artistic work, + the individual, individuals, entity or entities who created the Work or + if no individual or entity can be identified, the publisher; and in + addition (i) in the case of a performance the actors, singers, + musicians, dancers, and other persons who act, sing, deliver, declaim, + play in, interpret or otherwise perform literary or artistic works or + expressions of folklore; (ii) in the case of a phonogram the producer + being the person or legal entity who first fixes the sounds of a + performance or other sounds; and, (iii) in the case of broadcasts, the + organization that transmits the broadcast. + ․ + h. "Work" means the literary and/or artistic work offered under the + terms of this License including without limitation any production in the + literary, scientific and artistic domain, whatever may be the mode or + form of its expression including digital form, such as a book, pamphlet + and other writing; a lecture, address, sermon or other work of the same + nature; a dramatic or dramatico-musical work; a choreographic work or + entertainment in dumb show; a musical composition with or without words; + a cinematographic work to which are assimilated works expressed by a + process analogous to cinematography; a work of drawing, painting, + architecture, sculpture, engraving or lithography; a photographic work + to which are assimilated works expressed by a process analogous to + photography; a work of applied art; an illustration, map, plan, sketch + or three-dimensional work relative to geography, topography, + architecture or science; a performance; a broadcast; a phonogram; a + compilation of data to the extent it is protected as a copyrightable + work; or a work performed by a variety or circus performer to the extent + it is not otherwise considered a literary or artistic work. + ․ + i. "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. + ․ + j. "Publicly Perform" means to perform public recitations of the Work + and to communicate to the public those public recitations, by any means + or process, including by wire or wireless means or public digital + performances; to make available to the public Works in such a way that + members of the public may access these Works from a place and at a place + individually chosen by them; to perform the Work to the public by any + means or process and the communication to the public of the performances + of the Work, including by public digital performance; to broadcast and + rebroadcast the Work by any means including signs, sounds or images. + ․ + k. "Reproduce" means to make copies of the Work by any means including + without limitation by sound or visual recordings and the right of + fixation and reproducing fixations of the Work, including storage of a + protected performance or phonogram in digital form or other electronic + medium. + ․ + 2. Fair Dealing Rights. Nothing in this License is intended to reduce, + limit, or restrict any uses free from copyright or rights arising from + limitations or exceptions that are provided for in connection with the + copyright protection 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: + ․ + a. to Reproduce the Work, to incorporate the Work into one or more + Collections, and to Reproduce the Work as incorporated in the + Collections; + ․ + b. to create and Reproduce Adaptations provided that any such + Adaptation, including any translation in any medium, takes reasonable + steps to clearly label, demarcate or otherwise identify that changes + were made to the original Work. For example, a translation could be + marked "The original work was translated from English to Spanish," or a + modification could indicate "The original work has been modified."; + ․ + c. to Distribute and Publicly Perform the Work including as incorporated + in Collections; and, + ․ + d. to Distribute and Publicly Perform Adaptations. + ․ + e. For the avoidance of doubt: + ․ + i. Non-waivable Compulsory License Schemes. In those jurisdictions in + which the right to collect royalties through any statutory or compulsory + licensing scheme cannot be waived, the Licensor reserves the exclusive + right to collect such royalties for any exercise by You of the rights + granted under this License; + ․ + ii. Waivable Compulsory License Schemes. In those jurisdictions in which + the right to collect royalties through any statutory or compulsory + licensing scheme can be waived, the Licensor waives the exclusive right + to collect such royalties for any exercise by You of the rights granted + under this License; and, + ․ + iii. Voluntary License Schemes. The Licensor waives the right to collect + royalties, whether individually or, in the event that the Licensor is a + member of a collecting society that administers voluntary licensing + schemes, via that society, from any exercise by You of the rights + granted under this License. + ․ + 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. Subject to Section 8(f), 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: + ․ + a. You may Distribute or Publicly Perform the Work only under the terms + of this License. You must include a copy of, or the Uniform Resource + Identifier (URI) for, this License with every copy of the Work You + Distribute or Publicly Perform. You may not offer or impose any terms on + the Work that restrict the terms of this License or the ability of the + recipient of the Work to exercise the rights granted to that recipient + under the terms of the License. You may not sublicense the Work. You + must keep intact all notices that refer to this License and to the + disclaimer of warranties with every copy of the Work You Distribute or + Publicly Perform. When You Distribute or Publicly Perform the Work, You + may not impose any effective technological measures on the Work that + restrict the ability of a recipient of the Work from You to exercise the + rights granted to that recipient under the terms of the License. This + Section 4(a) applies to the Work as incorporated in a Collection, but + this does not require the Collection apart from the Work itself to be + made subject to the terms of this License. If You create a Collection, + upon notice from any Licensor You must, to the extent practicable, + remove from the Collection any credit as required by Section 4(c), as + requested. If You create an Adaptation, upon notice from any Licensor + You must, to the extent practicable, remove from the Adaptation any + credit as required by Section 4(c), as requested. + ․ + b. You may Distribute or Publicly Perform an Adaptation only under the + terms of: (i) this License; (ii) a later version of this License with + the same License Elements as this License; (iii) a Creative Commons + jurisdiction license (either this or a later license version) that + contains the same License Elements as this License (e.g., + Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible + License. If you license the Adaptation under one of the licenses + mentioned in (iv), you must comply with the terms of that license. If + you license the Adaptation under the terms of any of the licenses + mentioned in (i), (ii) or (iii) (the "Applicable License"), you must + comply with the terms of the Applicable License generally and the + following provisions: (I) You must include a copy of, or the URI for, + the Applicable License with every copy of each Adaptation You Distribute + or Publicly Perform; (II) You may not offer or impose any terms on the + Adaptation that restrict the terms of the Applicable License or the + ability of the recipient of the Adaptation to exercise the rights + granted to that recipient under the terms of the Applicable License; + (III) You must keep intact all notices that refer to the Applicable + License and to the disclaimer of warranties with every copy of the Work + as included in the Adaptation You Distribute or Publicly Perform; (IV) + when You Distribute or Publicly Perform the Adaptation, You may not + impose any effective technological measures on the Adaptation that + restrict the ability of a recipient of the Adaptation from You to + exercise the rights granted to that recipient under the terms of the + Applicable License. This Section 4(b) applies to the Adaptation as + incorporated in a Collection, but this does not require the Collection + apart from the Adaptation itself to be made subject to the terms of the + Applicable License. + ․ + c. If You Distribute, or Publicly Perform the Work or any Adaptations or + Collections, You must, unless a request has been made pursuant to + Section 4(a), keep intact all copyright notices for the Work and + provide, reasonable to the medium or means You are utilizing: (i) the + name of the Original Author (or pseudonym, if applicable) if supplied, + and/or if the Original Author and/or Licensor designate another party or + parties (e.g., a sponsor institute, publishing entity, journal) for + attribution ("Attribution Parties") in Licensor's copyright notice, + terms of service or by other reasonable means, the name of such party or + parties; (ii) the title of the Work if supplied; (iii) to the extent + reasonably practicable, the URI, if any, that Licensor specifies to be + associated with the Work, unless such URI does not refer to the + copyright notice or licensing information for the Work; and (iv) , + consistent with Ssection 3(b), in the case of an Adaptation, a credit + identifying the use of the Work in the Adaptation (e.g., "French + translation of the Work by Original Author," or "Screenplay based on + original Work by Original Author"). The credit required by this Section + 4(c) may be implemented in any reasonable manner; provided, however, + that in the case of a Adaptation or Collection, at a minimum such credit + will appear, if a credit for all contributing authors of the Adaptation + or Collection appears, then as part of these credits and in a manner at + least as prominent as the credits for the other contributing authors. + For the avoidance of doubt, You may only use the credit required by this + Section for the purpose of attribution in the manner set out above and, + by exercising Your rights under this License, You may not implicitly or + explicitly assert or imply any connection with, sponsorship or + endorsement by the Original Author, Licensor and/or Attribution Parties, + as appropriate, of You or Your use of the Work, without the separate, + express prior written permission of the Original Author, Licensor and/or + Attribution Parties. + ․ + d. Except as otherwise agreed in writing by the Licensor or as may be + otherwise permitted by applicable law, if You Reproduce, Distribute or + Publicly Perform the Work either by itself or as part of any Adaptations + or Collections, You must not distort, mutilate, modify or take other + derogatory action in relation to the Work which would be prejudicial to + the Original Author's honor or reputation. Licensor agrees that in those + jurisdictions (e.g. Japan), in which any exercise of the right granted + in Section 3(b) of this License (the right to make Adaptations) would be + deemed to be a distortion, mutilation, modification or other derogatory + action prejudicial to the Original Author's honor and reputation, the + Licensor will waive or not assert, as appropriate, this Section, to the + fullest extent permitted by the applicable national law, to enable You + to reasonably exercise Your right under Section 3(b) of this License + (right to make Adaptations) but not otherwise. + ․ + 5. Representations, Warranties and Disclaimer + ․ + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR + OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY + KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, + INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, + FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF + LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, + WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + ․ + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE + LAW, 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 + ․ + a. 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 Adaptations or Collections + 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. + ․ + b. 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 + ․ + a. Each time You Distribute or Publicly Perform the Work or a + Collection, 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. + ․ + b. Each time You Distribute or Publicly Perform an Adaptation, 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. + ․ + c. 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. + ․ + d. 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. + ․ + e. 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. + ․ + f. The rights granted under, and the subject matter referenced, in this + License were drafted utilizing the terminology of the Berne Convention + for the Protection of Literary and Artistic Works (as amended on + September 28, 1979), the Rome Convention of 1961, the WIPO Copyright + Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and + the Universal Copyright Convention (as revised on July 24, 1971). These + rights and subject matter take effect in the relevant jurisdiction in + which the License terms are sought to be enforced according to the + corresponding provisions of the implementation of those treaty + provisions in the applicable national law. If the standard suite of + rights granted under applicable copyright law includes additional rights + not granted under this License, such additional rights are deemed to be + included in the License; this License is not intended to restrict the + license of any rights under applicable law. + ․ + ․ + Creative Commons Notice + ․ + Creative Commons is not a party to this License, and makes no warranty + whatsoever in connection with the Work. Creative Commons will not be + liable to You or any party on any legal theory for any damages + whatsoever, including without limitation any general, special, + incidental or consequential damages arising in connection to this + license. Notwithstanding the foregoing two (2) sentences, if Creative + Commons has expressly identified itself as the Licensor hereunder, it + shall have all rights and obligations of Licensor. + ․ + Except for the limited purpose of indicating to the public that the Work + is licensed under the CCPL, Creative Commons does not authorize the use + by either party of the trademark "Creative Commons" or any related + trademark or logo of Creative Commons without the prior written consent + of Creative Commons. Any permitted use will be in compliance with + Creative Commons' then-current trademark usage guidelines, as may be + published on its website or otherwise made available upon request from + time to time. For the avoidance of doubt, this trademark restriction + does not form part of the License. + ․ + Creative Commons may be contacted at http://creativecommons.org/. + - score: '100.0' + start_line: 4 + end_line: 43 + matcher: 2-aho + rule_length: 357 + matched_length: 357 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bitstream.LICENSE + license_expression: bitstream + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of the fonts accompanying this license ("Fonts") and associated + documentation files (the "Font Software"), to reproduce and distribute the + Font Software, including without limitation the rights to use, copy, merge, + publish, distribute, and/or sell copies of the Font Software, and to permit + persons to whom the Font Software is furnished to do so, subject to the + following conditions: + + The above copyright and trademark notices and this permission notice shall + be included in all copies of one or more of the Font Software typefaces. + + The Font Software may be modified, altered, or added to, and in particular + the designs of glyphs or characters in the Fonts may be modified and + additional glyphs or characters may be added to the Fonts, only if the fonts + are renamed to names not containing either the words "Bitstream" or the word + "Vera". + + This License becomes null and void to the extent applicable to Fonts or Font + Software that has been modified and is distributed under the "Bitstream + Vera" names. + + The Font Software may be sold as part of a larger software package but no + copy of one or more of the Font Software typefaces may be sold by itself. + + THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, + TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME + FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING + ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF + THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE + FONT SOFTWARE. + + Except as contained in this notice, the names of Gnome, the Gnome + Foundation, and Bitstream Inc., shall not be used in advertising or + otherwise to promote the sale, use or other dealings in this Font Software + without prior written authorization from the Gnome Foundation or Bitstream + Inc., respectively. For further information, contact: fonts at gnome dot + org. + - score: '99.0' + start_line: 50 + end_line: 91 + matcher: 2-aho + rule_length: 349 + matched_length: 349 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bitstream_9.RULE + license_expression: bitstream + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of the fonts accompanying this license ("Fonts") and + associated documentation files (the "Font Software"), to reproduce + and distribute the modifications to the Bitstream Vera Font Software, + including without limitation the rights to use, copy, merge, publish, + distribute, and/or sell copies of the Font Software, and to permit + persons to whom the Font Software is furnished to do so, subject to + the following conditions: + + The above copyright and trademark notices and this permission notice + shall be included in all copies of one or more of the Font Software + typefaces. + + The Font Software may be modified, altered, or added to, and in + particular the designs of glyphs or characters in the Fonts may be + modified and additional glyphs or characters may be added to the + Fonts, only if the fonts are renamed to names not containing either + the words "Tavmjong Bah" or the word "Arev". + + This License becomes null and void to the extent applicable to Fonts + or Font Software that has been modified and is distributed under the + "Tavmjong Bah Arev" names. + + The Font Software may be sold as part of a larger software package but + no copy of one or more of the Font Software typefaces may be sold by + itself. + + THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT + OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL + TAVMJONG BAH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL + DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM + OTHER DEALINGS IN THE FONT SOFTWARE. + + Except as contained in this notice, the name of Tavmjong Bah shall not + be used in advertising or otherwise to promote the sale, use or other + dealings in this Font Software without prior written authorization + from Tavmjong Bah. For further information, contact: tavmjong @ free + fr. + - score: '65.52' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 29 + matched_length: '19' + match_coverage: '65.52' + rule_relevance: 100 + identifier: cc-by-sa-3.0_32.RULE + license_expression: cc-by-sa-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is licensed under the Creative Commons + Attribution-[Share] [Alike] 3.0 Unported license. + (http://creativecommons.org/licenses/by-sa/3.0/) + - score: '100.0' + start_line: 8 + end_line: 9 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_822.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed + under the GNU General Public License, Version 2. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/freeorion/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/freeorion/stable_copyright.expected.yml index f21429ffea2..bf15dc7fca4 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/freeorion/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/freeorion/stable_copyright.expected.yml @@ -1,14 +1,16 @@ -- gpl-2.0 AND gpl-2.0-plus -- - GPL-2 +primary_license: gpl-2.0 AND gpl-2.0-plus +declared_license: + - GPL-2 - CC-BY-SA-3.0 - LGPL-2.1+ - BSL-1.0 - BSD-3-clause - DejaVu-License - Apache-2.0 -- (gpl-2.0 AND gpl-2.0-plus) AND cc-by-sa-3.0 AND (cc-by-sa-3.0 AND gpl-2.0) AND (lgpl-2.1-plus - AND lgpl-2.0-plus AND lgpl-2.1) AND boost-1.0 AND bsd-new AND bitstream AND apache-2.0 -- | +license_expression: (gpl-2.0 AND gpl-2.0-plus) AND cc-by-sa-3.0 AND (cc-by-sa-3.0 AND gpl-2.0) + AND (lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.1) AND boost-1.0 AND bsd-new AND bitstream + AND apache-2.0 +copyright: | The FreeOrion project 2003-2008, T. Zachary Laine 2006, Nemanja Trifunovic @@ -18,3 +20,784 @@ 2003, Bitstream Inc 2006, Tavmjong Bah 2015, Google Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '88.1' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 126 + matched_length: 111 + match_coverage: '88.1' + rule_relevance: 100 + identifier: gpl-2.0-plus_38.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License [2] as published by + the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_215.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Library General Public License + - score: '100.0' + start_line: 12 + end_line: 12 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 211 + matched_length: 211 + match_coverage: '100.0' + rule_relevance: 100 + identifier: boost-1.0.LICENSE + license_expression: boost-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Boost Software License - Version 1.0 - August 17th, 2003 + + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '78.42' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 101 + matched_length: 88 + match_coverage: '87.13' + rule_relevance: 90 + identifier: bsd-new_1036.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + * Neither the [names] [of] [Kitware], [Inc]., [the] [Insight] [Software] [Consortium], + [nor] [the] [names] [of] [their] contributors may be used to endorse or promote + products derived from this software without specific prior written + permission. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_182.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Apache license version 2.0 + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache-2.0. + - score: '99.82' + start_line: 1 + end_line: 376 + matcher: 3-seq + rule_length: 3346 + matched_length: 3340 + match_coverage: '99.82' + rule_relevance: 100 + identifier: cc-by-sa-3.0_41.RULE + license_expression: cc-by-sa-3.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Creative Commons Attribution-ShareAlike 3.0 Unported + ․ + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS 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. + ․ + 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 OR COPYRIGHT LAW IS PROHIBITED. + ․ + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE + TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY + BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS + CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND + CONDITIONS. + ․ + 1. Definitions + ․ + a. "Adaptation" means a work based upon the Work, or upon the Work and + other pre-existing works, such as a translation, adaptation, derivative + work, arrangement of music or other alterations of a literary or + artistic work, or phonogram or performance and includes cinematographic + adaptations or any other form in which the Work may be recast, + transformed, or adapted including in any form recognizably derived from + the original, except that a work that constitutes a Collection will not + be considered an Adaptation for the purpose of this License. For the + avoidance of doubt, where the Work is a musical work, performance or + phonogram, the synchronization of the Work in timed-relation with a + moving image ("synching") will be considered an Adaptation for the + purpose of this License. + ․ + b. "Collection" means a collection of literary or artistic works, such + as encyclopedias and anthologies, or performances, phonograms or + broadcasts, or other works or subject matter other than works listed in + Section 1(f) below, which, by reason of the selection and arrangement of + their contents, constitute intellectual creations, in which the Work is + included in its entirety in unmodified form along with one or more other + contributions, each constituting separate and independent works in + themselves, which together are assembled into a collective whole. A work + that constitutes a Collection will not be considered an Adaptation (as + defined below) for the purposes of this License. + ․ + c. "Creative Commons Compatible License" means a license that is listed + at http://creativecommons.org/compatiblelicenses that has been approved + by Creative Commons as being essentially equivalent to this License, + including, at a minimum, because that license: (i) contains terms that + have the same purpose, meaning and effect as the License Elements of + this License; and, (ii) explicitly permits the relicensing of + adaptations of works made available under that license under this + License or a Creative Commons jurisdiction license with the same License + Elements as this License. + ․ + d. "Distribute" means to make available to the public the original and + copies of the Work or Adaptation, as appropriate, through sale or other + transfer of ownership. + ․ + e. "License Elements" means the following high-level license attributes + as selected by Licensor and indicated in the title of this License: + Attribution, ShareAlike. + ․ + f. "Licensor" means the individual, individuals, entity or entities that + offer(s) the Work under the terms of this License. + ․ + g. "Original Author" means, in the case of a literary or artistic work, + the individual, individuals, entity or entities who created the Work or + if no individual or entity can be identified, the publisher; and in + addition (i) in the case of a performance the actors, singers, + musicians, dancers, and other persons who act, sing, deliver, declaim, + play in, interpret or otherwise perform literary or artistic works or + expressions of folklore; (ii) in the case of a phonogram the producer + being the person or legal entity who first fixes the sounds of a + performance or other sounds; and, (iii) in the case of broadcasts, the + organization that transmits the broadcast. + ․ + h. "Work" means the literary and/or artistic work offered under the + terms of this License including without limitation any production in the + literary, scientific and artistic domain, whatever may be the mode or + form of its expression including digital form, such as a book, pamphlet + and other writing; a lecture, address, sermon or other work of the same + nature; a dramatic or dramatico-musical work; a choreographic work or + entertainment in dumb show; a musical composition with or without words; + a cinematographic work to which are assimilated works expressed by a + process analogous to cinematography; a work of drawing, painting, + architecture, sculpture, engraving or lithography; a photographic work + to which are assimilated works expressed by a process analogous to + photography; a work of applied art; an illustration, map, plan, sketch + or three-dimensional work relative to geography, topography, + architecture or science; a performance; a broadcast; a phonogram; a + compilation of data to the extent it is protected as a copyrightable + work; or a work performed by a variety or circus performer to the extent + it is not otherwise considered a literary or artistic work. + ․ + i. "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. + ․ + j. "Publicly Perform" means to perform public recitations of the Work + and to communicate to the public those public recitations, by any means + or process, including by wire or wireless means or public digital + performances; to make available to the public Works in such a way that + members of the public may access these Works from a place and at a place + individually chosen by them; to perform the Work to the public by any + means or process and the communication to the public of the performances + of the Work, including by public digital performance; to broadcast and + rebroadcast the Work by any means including signs, sounds or images. + ․ + k. "Reproduce" means to make copies of the Work by any means including + without limitation by sound or visual recordings and the right of + fixation and reproducing fixations of the Work, including storage of a + protected performance or phonogram in digital form or other electronic + medium. + ․ + 2. Fair Dealing Rights. Nothing in this License is intended to reduce, + limit, or restrict any uses free from copyright or rights arising from + limitations or exceptions that are provided for in connection with the + copyright protection 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: + ․ + a. to Reproduce the Work, to incorporate the Work into one or more + Collections, and to Reproduce the Work as incorporated in the + Collections; + ․ + b. to create and Reproduce Adaptations provided that any such + Adaptation, including any translation in any medium, takes reasonable + steps to clearly label, demarcate or otherwise identify that changes + were made to the original Work. For example, a translation could be + marked "The original work was translated from English to Spanish," or a + modification could indicate "The original work has been modified."; + ․ + c. to Distribute and Publicly Perform the Work including as incorporated + in Collections; and, + ․ + d. to Distribute and Publicly Perform Adaptations. + ․ + e. For the avoidance of doubt: + ․ + i. Non-waivable Compulsory License Schemes. In those jurisdictions in + which the right to collect royalties through any statutory or compulsory + licensing scheme cannot be waived, the Licensor reserves the exclusive + right to collect such royalties for any exercise by You of the rights + granted under this License; + ․ + ii. Waivable Compulsory License Schemes. In those jurisdictions in which + the right to collect royalties through any statutory or compulsory + licensing scheme can be waived, the Licensor waives the exclusive right + to collect such royalties for any exercise by You of the rights granted + under this License; and, + ․ + iii. Voluntary License Schemes. The Licensor waives the right to collect + royalties, whether individually or, in the event that the Licensor is a + member of a collecting society that administers voluntary licensing + schemes, via that society, from any exercise by You of the rights + granted under this License. + ․ + 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. Subject to Section 8(f), 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: + ․ + a. You may Distribute or Publicly Perform the Work only under the terms + of this License. You must include a copy of, or the Uniform Resource + Identifier (URI) for, this License with every copy of the Work You + Distribute or Publicly Perform. You may not offer or impose any terms on + the Work that restrict the terms of this License or the ability of the + recipient of the Work to exercise the rights granted to that recipient + under the terms of the License. You may not sublicense the Work. You + must keep intact all notices that refer to this License and to the + disclaimer of warranties with every copy of the Work You Distribute or + Publicly Perform. When You Distribute or Publicly Perform the Work, You + may not impose any effective technological measures on the Work that + restrict the ability of a recipient of the Work from You to exercise the + rights granted to that recipient under the terms of the License. This + Section 4(a) applies to the Work as incorporated in a Collection, but + this does not require the Collection apart from the Work itself to be + made subject to the terms of this License. If You create a Collection, + upon notice from any Licensor You must, to the extent practicable, + remove from the Collection any credit as required by Section 4(c), as + requested. If You create an Adaptation, upon notice from any Licensor + You must, to the extent practicable, remove from the Adaptation any + credit as required by Section 4(c), as requested. + ․ + b. You may Distribute or Publicly Perform an Adaptation only under the + terms of: (i) this License; (ii) a later version of this License with + the same License Elements as this License; (iii) a Creative Commons + jurisdiction license (either this or a later license version) that + contains the same License Elements as this License (e.g., + Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible + License. If you license the Adaptation under one of the licenses + mentioned in (iv), you must comply with the terms of that license. If + you license the Adaptation under the terms of any of the licenses + mentioned in (i), (ii) or (iii) (the "Applicable License"), you must + comply with the terms of the Applicable License generally and the + following provisions: (I) You must include a copy of, or the URI for, + the Applicable License with every copy of each Adaptation You Distribute + or Publicly Perform; (II) You may not offer or impose any terms on the + Adaptation that restrict the terms of the Applicable License or the + ability of the recipient of the Adaptation to exercise the rights + granted to that recipient under the terms of the Applicable License; + (III) You must keep intact all notices that refer to the Applicable + License and to the disclaimer of warranties with every copy of the Work + as included in the Adaptation You Distribute or Publicly Perform; (IV) + when You Distribute or Publicly Perform the Adaptation, You may not + impose any effective technological measures on the Adaptation that + restrict the ability of a recipient of the Adaptation from You to + exercise the rights granted to that recipient under the terms of the + Applicable License. This Section 4(b) applies to the Adaptation as + incorporated in a Collection, but this does not require the Collection + apart from the Adaptation itself to be made subject to the terms of the + Applicable License. + ․ + c. If You Distribute, or Publicly Perform the Work or any Adaptations or + Collections, You must, unless a request has been made pursuant to + Section 4(a), keep intact all copyright notices for the Work and + provide, reasonable to the medium or means You are utilizing: (i) the + name of the Original Author (or pseudonym, if applicable) if supplied, + and/or if the Original Author and/or Licensor designate another party or + parties (e.g., a sponsor institute, publishing entity, journal) for + attribution ("Attribution Parties") in Licensor's copyright notice, + terms of service or by other reasonable means, the name of such party or + parties; (ii) the title of the Work if supplied; (iii) to the extent + reasonably practicable, the URI, if any, that Licensor specifies to be + associated with the Work, unless such URI does not refer to the + copyright notice or licensing information for the Work; and (iv) , + consistent with Ssection 3(b), in the case of an Adaptation, a credit + identifying the use of the Work in the Adaptation (e.g., "French + translation of the Work by Original Author," or "Screenplay based on + original Work by Original Author"). The credit required by this Section + 4(c) may be implemented in any reasonable manner; provided, however, + that in the case of a Adaptation or Collection, at a minimum such credit + will appear, if a credit for all contributing authors of the Adaptation + or Collection appears, then as part of these credits and in a manner at + least as prominent as the credits for the other contributing authors. + For the avoidance of doubt, You may only use the credit required by this + Section for the purpose of attribution in the manner set out above and, + by exercising Your rights under this License, You may not implicitly or + explicitly assert or imply any connection with, sponsorship or + endorsement by the Original Author, Licensor and/or Attribution Parties, + as appropriate, of You or Your use of the Work, without the separate, + express prior written permission of the Original Author, Licensor and/or + Attribution Parties. + ․ + d. Except as otherwise agreed in writing by the Licensor or as may be + otherwise permitted by applicable law, if You Reproduce, Distribute or + Publicly Perform the Work either by itself or as part of any Adaptations + or Collections, You must not distort, mutilate, modify or take other + derogatory action in relation to the Work which would be prejudicial to + the Original Author's honor or reputation. Licensor agrees that in those + jurisdictions (e.g. Japan), in which any exercise of the right granted + in Section 3(b) of this License (the right to make Adaptations) would be + deemed to be a distortion, mutilation, modification or other derogatory + action prejudicial to the Original Author's honor and reputation, the + Licensor will waive or not assert, as appropriate, this Section, to the + fullest extent permitted by the applicable national law, to enable You + to reasonably exercise Your right under Section 3(b) of this License + (right to make Adaptations) but not otherwise. + ․ + 5. Representations, Warranties and Disclaimer + ․ + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR + OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY + KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, + INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, + FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF + LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, + WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + ․ + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE + LAW, 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 + ․ + a. 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 Adaptations or Collections + 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. + ․ + b. 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 + ․ + a. Each time You Distribute or Publicly Perform the Work or a + Collection, 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. + ․ + b. Each time You Distribute or Publicly Perform an Adaptation, 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. + ․ + c. 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. + ․ + d. 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. + ․ + e. 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. + ․ + f. The rights granted under, and the subject matter referenced, in this + License were drafted utilizing the terminology of the Berne Convention + for the Protection of Literary and Artistic Works (as amended on + September 28, 1979), the Rome Convention of 1961, the WIPO Copyright + Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and + the Universal Copyright Convention (as revised on July 24, 1971). These + rights and subject matter take effect in the relevant jurisdiction in + which the License terms are sought to be enforced according to the + corresponding provisions of the implementation of those treaty + provisions in the applicable national law. If the standard suite of + rights granted under applicable copyright law includes additional rights + not granted under this License, such additional rights are deemed to be + included in the License; this License is not intended to restrict the + license of any rights under applicable law. + ․ + ․ + Creative Commons Notice + ․ + Creative Commons is not a party to this License, and makes no warranty + whatsoever in connection with the Work. Creative Commons will not be + liable to You or any party on any legal theory for any damages + whatsoever, including without limitation any general, special, + incidental or consequential damages arising in connection to this + license. Notwithstanding the foregoing two (2) sentences, if Creative + Commons has expressly identified itself as the Licensor hereunder, it + shall have all rights and obligations of Licensor. + ․ + Except for the limited purpose of indicating to the public that the Work + is licensed under the CCPL, Creative Commons does not authorize the use + by either party of the trademark "Creative Commons" or any related + trademark or logo of Creative Commons without the prior written consent + of Creative Commons. Any permitted use will be in compliance with + Creative Commons' then-current trademark usage guidelines, as may be + published on its website or otherwise made available upon request from + time to time. For the avoidance of doubt, this trademark restriction + does not form part of the License. + ․ + Creative Commons may be contacted at http://creativecommons.org/. + - score: '100.0' + start_line: 4 + end_line: 43 + matcher: 2-aho + rule_length: 357 + matched_length: 357 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bitstream.LICENSE + license_expression: bitstream + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of the fonts accompanying this license ("Fonts") and associated + documentation files (the "Font Software"), to reproduce and distribute the + Font Software, including without limitation the rights to use, copy, merge, + publish, distribute, and/or sell copies of the Font Software, and to permit + persons to whom the Font Software is furnished to do so, subject to the + following conditions: + + The above copyright and trademark notices and this permission notice shall + be included in all copies of one or more of the Font Software typefaces. + + The Font Software may be modified, altered, or added to, and in particular + the designs of glyphs or characters in the Fonts may be modified and + additional glyphs or characters may be added to the Fonts, only if the fonts + are renamed to names not containing either the words "Bitstream" or the word + "Vera". + + This License becomes null and void to the extent applicable to Fonts or Font + Software that has been modified and is distributed under the "Bitstream + Vera" names. + + The Font Software may be sold as part of a larger software package but no + copy of one or more of the Font Software typefaces may be sold by itself. + + THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, + TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME + FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING + ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF + THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE + FONT SOFTWARE. + + Except as contained in this notice, the names of Gnome, the Gnome + Foundation, and Bitstream Inc., shall not be used in advertising or + otherwise to promote the sale, use or other dealings in this Font Software + without prior written authorization from the Gnome Foundation or Bitstream + Inc., respectively. For further information, contact: fonts at gnome dot + org. + - score: '99.0' + start_line: 50 + end_line: 91 + matcher: 2-aho + rule_length: 349 + matched_length: 349 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bitstream_9.RULE + license_expression: bitstream + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of the fonts accompanying this license ("Fonts") and + associated documentation files (the "Font Software"), to reproduce + and distribute the modifications to the Bitstream Vera Font Software, + including without limitation the rights to use, copy, merge, publish, + distribute, and/or sell copies of the Font Software, and to permit + persons to whom the Font Software is furnished to do so, subject to + the following conditions: + + The above copyright and trademark notices and this permission notice + shall be included in all copies of one or more of the Font Software + typefaces. + + The Font Software may be modified, altered, or added to, and in + particular the designs of glyphs or characters in the Fonts may be + modified and additional glyphs or characters may be added to the + Fonts, only if the fonts are renamed to names not containing either + the words "Tavmjong Bah" or the word "Arev". + + This License becomes null and void to the extent applicable to Fonts + or Font Software that has been modified and is distributed under the + "Tavmjong Bah Arev" names. + + The Font Software may be sold as part of a larger software package but + no copy of one or more of the Font Software typefaces may be sold by + itself. + + THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT + OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL + TAVMJONG BAH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL + DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM + OTHER DEALINGS IN THE FONT SOFTWARE. + + Except as contained in this notice, the name of Tavmjong Bah shall not + be used in advertising or otherwise to promote the sale, use or other + dealings in this Font Software without prior written authorization + from Tavmjong Bah. For further information, contact: tavmjong @ free + fr. + - score: '65.52' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 29 + matched_length: '19' + match_coverage: '65.52' + rule_relevance: 100 + identifier: cc-by-sa-3.0_32.RULE + license_expression: cc-by-sa-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is licensed under the Creative Commons + Attribution-[Share] [Alike] 3.0 Unported license. + (http://creativecommons.org/licenses/by-sa/3.0/) + - score: '100.0' + start_line: 8 + end_line: 9 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_822.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed + under the GNU General Public License, Version 2. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fuse-emulator/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fuse-emulator/stable_copyright-detailed.expected.yml index 9590434e49f..45adc8808a7 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fuse-emulator/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fuse-emulator/stable_copyright-detailed.expected.yml @@ -1,17 +1,106 @@ -- gpl-2.0-plus -- - GPL-2+ +primary_license: gpl-2.0-plus +declared_license: + - GPL-2+ - LGPL-2.1+ - LGPL-2.1+ - LGPL-2.1+ - GPL-2+ - GPL-2+ - LGPL-2.1+ -- (gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus) AND (lgpl-2.1-plus AND - lgpl-2.1-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus) AND + (lgpl-2.1-plus AND lgpl-2.1-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus) AND (gpl-2.0-plus + AND gpl-2.0-plus) +copyright: | 1999-2018 Philip Kendall and others 1987-2001 Free Software Foundation, Inc. 2003 Philip Kendall 2003-2006 Shay Green 2000-2002 David Olofson 2010-2013,2015-2019 Alberto Garcia +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 91 + matched_length: 91 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_655.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at + your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_202.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2.1 of the + License, or (at your option) any later version. + + This module is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/LGPL-2.1 diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fuse-emulator/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fuse-emulator/stable_copyright.expected.yml index 8258a305a29..bae6371c605 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fuse-emulator/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fuse-emulator/stable_copyright.expected.yml @@ -1,10 +1,98 @@ -- gpl-2.0-plus -- - GPL-2+ +primary_license: gpl-2.0-plus +declared_license: + - GPL-2+ - LGPL-2.1+ -- gpl-2.0-plus AND lgpl-2.1-plus -- | +license_expression: gpl-2.0-plus AND lgpl-2.1-plus +copyright: | 1999-2018 Philip Kendall and others 1987-2001 Free Software Foundation, Inc. 2003 Philip Kendall 2003-2006 Shay Green 2000-2002 David Olofson +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 91 + matched_length: 91 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_655.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at + your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_202.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2.1 of the + License, or (at your option) any later version. + + This module is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/LGPL-2.1 diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fusiondirectory/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fusiondirectory/stable_copyright-detailed.expected.yml index a05c10f2d97..c128477bdc8 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fusiondirectory/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fusiondirectory/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- None -- - GPL-2+ +primary_license: None +declared_license: + - GPL-2+ - GPL-2+ - GPL-2+ - GPL-2+ @@ -36,15 +37,15 @@ - BSD-4-clause - LGPL-3+ - public-domain -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus - AND gpl-1.0-plus AND gpl-2.0) AND free-unknown AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus - AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND bsd-new - AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND free-unknown AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) + AND bsd-new AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus + AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus + AND gpl-2.0) AND free-unknown AND (lgpl-3.0-plus AND gpl-2.0-plus) AND public-domain AND gpl-2.0-plus AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus - AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) - AND free-unknown AND (lgpl-3.0-plus AND gpl-2.0-plus) AND public-domain AND gpl-2.0-plus AND - (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND mit AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus @@ -55,7 +56,7 @@ AND gpl-2.0) AND bsd-original AND mit AND ((gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) OR (gpl-3.0-plus AND gpl-2.0-plus) OR (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) OR (lgpl-3.0-plus AND gpl-2.0-plus) OR mit OR bsd-new OR bsd-original) -- | +copyright: | 2011-2016, FusionDirectory 2011-2017, FusionDirectory 2011-2018, FusionDirectory @@ -145,3 +146,418 @@ 2007, Mathieu Jondet 2010, Benoit Mortier 2014, Mike Gabriel +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_8.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General + Public License + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '99.25' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 134 + matched_length: 133 + match_coverage: '99.25' + rule_relevance: 100 + identifier: gpl-2.0-plus_27.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [3] of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General + Public License [3] can be found in `/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 14 + matcher: 2-aho + rule_length: 117 + matched_length: 117 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_239.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301 USA + - score: '100.0' + start_line: 16 + end_line: 18 + matcher: 2-aho + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_294.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the full text of the GNU Lesser General Public + License version 2,1 can be found in the file + `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_577.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + - Neither the name of the copyright holder 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 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. + - score: '96.49' + start_line: 1 + end_line: 26 + matcher: 3-seq + rule_length: 228 + matched_length: 220 + match_coverage: '96.49' + rule_relevance: 100 + identifier: bsd-original_27.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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 by [the] <[author](s)>.” + - Neither the name of [the] [author](s) [nor] [the] [names] [of] [this] [program]'s + [contributors] may be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE [AUTHOR](S) “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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '94.06' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 101 + matched_length: 95 + match_coverage: '94.06' + rule_relevance: 100 + identifier: gpl-2.0-plus_808.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or + modify it under the terms of the GNU [Lesser] General Public + License as published by the Free Software Foundation; either + version [3] of the License, or (at your option) any later version. + + This [library] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + [Lesser] General Public License for more details. + + On Debian systems, the complete text of the GNU [Lesser] General + Public License [3] can be found in `/usr/share/common-licenses/ + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_50.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is in the public domain. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 90 + identifier: free-unknown_80.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is distributed under the same license as the PACKAGE package. + - score: '82.5' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 90 + identifier: free-unknown_79.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is distributed under the same license as the [fusiondirectory] package. + - score: '11.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: gpl-2.0-plus_67.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL-2+). diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fusiondirectory/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fusiondirectory/stable_copyright.expected.yml index 42ebe8fa6fe..902d81ee0b1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fusiondirectory/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fusiondirectory/stable_copyright.expected.yml @@ -1,5 +1,6 @@ -- None -- - GPL-2+ +primary_license: None +declared_license: + - GPL-2+ - BSD-3-clause - LGPL-3+ - public-domain @@ -8,11 +9,11 @@ - GPL-2+ or GPL-3+ or LGPL-2.1+ or LGPL-3+ or Expat or BSD-3-clause or BSD-4-clause - GPL-3+ - LGPL-2.1+ -- (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND free-unknown AND bsd-new AND (lgpl-3.0-plus - AND gpl-2.0-plus) AND public-domain AND gpl-2.0-plus AND mit AND bsd-original AND ((gpl-2.0-plus - AND gpl-1.0-plus AND gpl-2.0) OR (gpl-3.0-plus AND gpl-2.0-plus) OR (lgpl-2.1-plus AND lgpl-2.1) - OR (lgpl-3.0-plus AND gpl-2.0-plus) OR mit OR bsd-new OR bsd-original) -- | +license_expression: (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND free-unknown AND bsd-new + AND (lgpl-3.0-plus AND gpl-2.0-plus) AND public-domain AND gpl-2.0-plus AND mit AND bsd-original + AND ((gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) OR (gpl-3.0-plus AND gpl-2.0-plus) OR (lgpl-2.1-plus + AND lgpl-2.1) OR (lgpl-3.0-plus AND gpl-2.0-plus) OR mit OR bsd-new OR bsd-original) +copyright: | 2011-2016, FusionDirectory 2011-2017, FusionDirectory 2011-2018, FusionDirectory @@ -76,3 +77,418 @@ 2007, Mathieu Jondet 2010, Benoit Mortier 2014, Mike Gabriel +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_8.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General + Public License + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '99.25' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 134 + matched_length: 133 + match_coverage: '99.25' + rule_relevance: 100 + identifier: gpl-2.0-plus_27.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [3] of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General + Public License [3] can be found in `/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 14 + matcher: 2-aho + rule_length: 117 + matched_length: 117 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_239.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301 USA + - score: '100.0' + start_line: 16 + end_line: 18 + matcher: 2-aho + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_294.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the full text of the GNU Lesser General Public + License version 2,1 can be found in the file + `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_577.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + - Neither the name of the copyright holder 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 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. + - score: '96.49' + start_line: 1 + end_line: 26 + matcher: 3-seq + rule_length: 228 + matched_length: 220 + match_coverage: '96.49' + rule_relevance: 100 + identifier: bsd-original_27.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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 by [the] <[author](s)>.” + - Neither the name of [the] [author](s) [nor] [the] [names] [of] [this] [program]'s + [contributors] may be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE [AUTHOR](S) “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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '94.06' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 101 + matched_length: 95 + match_coverage: '94.06' + rule_relevance: 100 + identifier: gpl-2.0-plus_808.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or + modify it under the terms of the GNU [Lesser] General Public + License as published by the Free Software Foundation; either + version [3] of the License, or (at your option) any later version. + + This [library] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + [Lesser] General Public License for more details. + + On Debian systems, the complete text of the GNU [Lesser] General + Public License [3] can be found in `/usr/share/common-licenses/ + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_50.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is in the public domain. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 90 + identifier: free-unknown_80.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is distributed under the same license as the PACKAGE package. + - score: '82.5' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 90 + identifier: free-unknown_79.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is distributed under the same license as the [fusiondirectory] package. + - score: '11.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: gpl-2.0-plus_67.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL-2+). diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/ghostscript/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/ghostscript/stable_copyright-detailed.expected.yml index 6c53b977e2c..4cb9144d7d5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/ghostscript/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/ghostscript/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- None -- - AGPL-3+ +primary_license: None +declared_license: + - AGPL-3+ - BSD-3-Clause~Adobe - AGPL-3+ - LGPL-2.1 @@ -57,20 +58,21 @@ - FTL - ZLIB - ISC -- (agpl-3.0 AND agpl-3.0-plus) AND (agpl-3.0-plus AND agpl-3.0-plus) AND agpl-3.0-plus AND bsd-new - AND (agpl-3.0 AND agpl-3.0-plus) AND (agpl-3.0-plus AND gpl-3.0-plus) AND lgpl-2.1 AND lgpl-2.1-plus - AND freetype AND freetype AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus - AND agpl-3.0 WITH ps-or-pdf-font-exception-20170817 AND (agpl-3.0-plus AND gpl-3.0-plus) AND - gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND fsf-free AND gpl-2.0-plus - AND (gpl-1.0-plus AND gpl-1.0-plus) AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-2.0-plus AND - (gpl-2.0 AND gpl-1.0-plus AND gpl-1.0-plus) AND zlib AND bsd-new AND bsd-new AND sunsoft AND - mit AND ((lgpl-2.1 AND public-domain) AND public-domain) AND apache-2.0 AND apache-2.0 AND - apache-2.0 AND apache-2.0 AND (agpl-3.0 AND agpl-3.0-plus) AND afpl-9.0 AND isc AND gpl-2.0-plus - AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus - AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND other-permissive - AND x11-opengroup AND public-domain AND gpl-1.0-plus AND gpl-1.0-plus AND x11-lucent AND libpbm - AND zlib AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus -- | +license_expression: (agpl-3.0 AND agpl-3.0-plus) AND (agpl-3.0-plus AND agpl-3.0-plus) AND agpl-3.0-plus + AND bsd-new AND (agpl-3.0 AND agpl-3.0-plus) AND (agpl-3.0-plus AND gpl-3.0-plus) AND lgpl-2.1 + AND lgpl-2.1-plus AND freetype AND freetype AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus + AND gpl-1.0-plus AND agpl-3.0 WITH ps-or-pdf-font-exception-20170817 AND (agpl-3.0-plus AND + gpl-3.0-plus) AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND fsf-free + AND gpl-2.0-plus AND (gpl-1.0-plus AND gpl-1.0-plus) AND gpl-1.0-plus AND gpl-1.0-plus AND + gpl-2.0-plus AND (gpl-2.0 AND gpl-1.0-plus AND gpl-1.0-plus) AND zlib AND bsd-new AND bsd-new + AND sunsoft AND mit AND ((lgpl-2.1 AND public-domain) AND public-domain) AND apache-2.0 AND + apache-2.0 AND apache-2.0 AND apache-2.0 AND (agpl-3.0 AND agpl-3.0-plus) AND afpl-9.0 AND + isc AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND + gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus + AND gpl-2.0-plus AND other-permissive AND x11-opengroup AND public-domain AND gpl-1.0-plus + AND gpl-1.0-plus AND x11-lucent AND libpbm AND zlib AND gpl-3.0-plus AND gpl-3.0-plus AND + gpl-1.0-plus +copyright: | 1986, Eric Gisin 1989, Berthold K.P. Horn 1990-2019, Artifex Software, Inc. @@ -135,3 +137,2263 @@ 2004-2009, Masayuki Hatta (mhatta) 2009-2019, Jonas Smedegaard 2010, Kenshi Muto +matches: + - score: '88.21' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 42 + matched_length: 39 + match_coverage: '92.86' + rule_relevance: 95 + identifier: agpl-3.0_with_ps-or-pdf-font-exception-20170817_3.RULE + license_expression: agpl-3.0 WITH ps-or-pdf-font-exception-20170817 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, + permission is granted to include [this] [font] [program] + in a Postscript or PDF file that consists of a document + that contains text to be displayed or printed using this font, + regardless of the conditions or license + applying to the document itself. + - score: '18.18' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: '198' + matched_length: 36 + match_coverage: '18.18' + rule_relevance: 100 + identifier: sunsoft_1.RULE + license_expression: sunsoft + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Except as contained in this notice, + the name of SunSoft, Inc. shall not be used + in advertising or otherwise to promote + the sale, use or other dealings in this Software + without written authorization from SunSoft Inc. + - score: '16.67' + start_line: 3 + end_line: 4 + matcher: 3-seq + rule_length: 30 + matched_length: 5 + match_coverage: '16.67' + rule_relevance: 100 + identifier: lgpl-2.1_and_public-domain2.RULE + license_expression: lgpl-2.1 AND public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + therefore [is] [not] covered + by the [Ghostscript] [copyright] [or] license: + - score: '90.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 90 + identifier: public-domain_108.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: it is in the public domain. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_358.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be freely distributed + with or without modifications, + so long as modified versions are marked as such + and copyright notices are not removed. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_72.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl' + - score: '100.0' + start_line: 1 + end_line: 850 + matcher: 1-hash + rule_length: 5374 + matched_length: 5374 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0.SPDX.RULE + license_expression: agpl-3.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute + verbatim copies of this license document, + but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license + for software and other kinds of works, + specifically designed to ensure cooperation with the community + in the case of network server software. + + The licenses for most software and other practical works + are designed to take away your freedom to share and change the works. + By contrast, our General Public Licenses are intended + to guarantee your freedom to share + and change all versions of a program-- + to make sure it remains free software for all its users. + + When we speak of free software, + we are referring to freedom, not price. + Our General Public Licenses are designed + to make sure that you have the freedom + to distribute copies of free software + (and charge for them if you wish), + that you receive source code or can get it if you want it, + that you can change the software + or use pieces of it in new free programs, + and that you know you can do these things. + + Developers that use our General Public Licenses + protect your rights with two steps: + (1) assert copyright on the software, + and (2) offer you this License + which gives you legal permission + to copy, distribute and/or modify the software. + + A secondary benefit of defending all users' freedom is + that improvements made in alternate versions of the program, + if they receive widespread use, + become available for other developers to incorporate. + Many developers of free software are heartened and encouraged + by the resulting cooperation. + However, in the case of software used on network servers, + this result may fail to come about. + The GNU General Public License permits + making a modified version and letting the public access it on a server + without ever releasing its source code to the public. + + The GNU Affero General Public License is designed + specifically to ensure that, in such cases, + the modified source code becomes available to the community. + It requires the operator of a network server to provide + the source code of the modified version running there + to the users of that server. + Therefore, public use of a modified version, + on a publicly accessible server, + gives the public access to the source code of the modified version. + + An older license, + called the Affero General Public License and published by Affero, + was designed to accomplish similar goals. + This is a different license, not a version of the Affero GPL, + but Affero has released a new version of the Affero GPL + which permits relicensing under this license. + + The precise terms and conditions + for copying, distribution and modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 + of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply + to other kinds of works, such as semiconductor masks. + + "The Program" refers to any copyrightable work + licensed under this License. + Each licensee is addressed as "you". + "Licensees" and "recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work + in a fashion requiring copyright permission, + other than the making of an exact copy. + The resulting work is called a "modified version" of the earlier work + or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program + or a work based on the Program. + + To "propagate" a work means to do anything with it + that, without permission, would make you directly or secondarily liable + for infringement under applicable copyright law, + except executing it on a computer or modifying a private copy. + Propagation includes copying, + distribution (with or without modification), + making available to the public, + and in some countries other activities as well. + + To "convey" a work means any kind of propagation + that enables other parties to make or receive copies. + Mere interaction with a user through a computer network, + with no transfer of a copy, + is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" + to the extent that it includes + a convenient and prominently visible feature + that (1) displays an appropriate copyright notice, + and (2) tells the user that there is no warranty for the work + (except to the extent that warranties are provided), + that licensees may convey the work under this License, + and how to view a copy of this License. + If the interface presents + a list of user commands or options, such as a menu, + a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means + the preferred form of the work for making modifications to it. + "Object code" means any non-source form of a work. + + A "Standard Interface" means + an interface that either is an official standard + defined by a recognized standards body, + or, in the case of interfaces + specified for a particular programming language, + one that is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, + other than the work as a whole, + that (a) is included in the normal form of packaging a Major Component, + but which is not part of that Major Component, + and (b) serves only + to enable use of the work with that Major Component, + or to implement a Standard Interface + for which an implementation is available to the public + in source code form. + A "Major Component", in this context, means + a major essential component (kernel, window system, and so on) + of the specific operating system (if any) + on which the executable work runs, + or a compiler used to produce the work, + or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means + all the source code needed to generate, install, + and (for an executable work) run the object code + and to modify the work, + including scripts to control those activities. + However, it does not include the work's System Libraries, + or general-purpose tools or generally available free programs + which are used unmodified in performing those activities + but which are not part of the work. + For example, Corresponding Source includes + interface definition files associated with source files for the work, + and the source code for shared libraries + and dynamically linked subprograms + that the work is specifically designed to require, + such as by intimate data communication or control flow + between those subprograms and other parts of the work. + + The Corresponding Source need not include + anything that users can regenerate automatically + from other parts of the Corresponding Source. + + The Corresponding Source for a work in source code form + is that same work. + + 2. Basic Permissions. + + All rights granted under this License are granted + for the term of copyright on the Program, + and are irrevocable provided the stated conditions are met. + This License explicitly affirms your unlimited permission + to run the unmodified Program. + The output from running a covered work is covered by this License + only if the output, given its content, constitutes a covered work. + This License acknowledges your rights of fair use + or other equivalent, as provided by copyright law. + + You may make, run and propagate + covered works that you do not convey, + without conditions + so long as your license otherwise remains in force. + You may convey covered works to others + for the sole purpose of having them + make modifications exclusively for you, + or provide you with facilities for running those works, + provided that you comply with the terms of this License + in conveying all material + for which you do not control copyright. + Those thus making or running the covered works for you + must do so exclusively on your behalf, + under your direction and control, + on terms that prohibit them from making any copies + of your copyrighted material + outside their relationship with you. + + Conveying under any other circumstances is permitted + solely under the conditions stated below. + Sublicensing is not allowed; + section 10 makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed + part of an effective technological measure + under any applicable law fulfilling obligations + under article 11 of the WIPO copyright treaty + adopted on 20 December 1996, + or similar laws prohibiting or restricting + circumvention of such measures. + + When you convey a covered work, + you waive any legal power + to forbid circumvention of technological measures + to the extent such circumvention is effected + by exercising rights under this License + with respect to the covered work, + and you disclaim any intention + to limit operation or modification of the work + as a means of enforcing, against the work's users, + your or third parties' legal rights + to forbid circumvention of technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code + as you receive it, in any medium, + provided that you conspicuously and appropriately publish + on each copy an appropriate copyright notice; + keep intact all notices + stating that this License and any non-permissive terms + added in accord with section 7 apply to the code; + keep intact all notices + of the absence of any warranty; + and give all recipients a copy of this License + along with the Program. + + You may charge any price or no price + for each copy that you convey, + and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, + or the modifications to produce it from the Program, + in the form of source code + under the terms of section 4, + provided that you also meet all of these conditions: + + a) The work must carry prominent notices + stating that you modified it, and giving a relevant date. + + b) The work must carry prominent notices + stating that it is released under this License + and any conditions added under section 7. + This requirement modifies + the requirement in section 4 to "keep intact all notices". + + c) You must license the entire work, as a whole, under this License + to anyone who comes into possession of a copy. + This License will therefore apply, + along with any applicable section 7 additional terms, + to the whole of the work, and all its parts, + regardless of how they are packaged. + This License gives no permission + to license the work in any other way, + but it does not invalidate such permission + if you have separately received it. + + d) If the work has interactive user interfaces, + each must display Appropriate Legal Notices; + however, if the Program has interactive interfaces + that do not display Appropriate Legal Notices, + your work need not make them do so. + + A compilation of a covered work + with other separate and independent works, + which are not by their nature extensions of the covered work, + and which are not combined with it such as to form a larger program, + in or on a volume of a storage or distribution medium, + is called an "aggregate" + if the compilation and its resulting copyright are not used + to limit the access or legal rights of the compilation's users + beyond what the individual works permit. + Inclusion of a covered work in an aggregate + does not cause this License to apply + to the other parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form + under the terms of sections 4 and 5, + provided that you also convey the machine-readable Corresponding Source + under the terms of this License, + in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), + accompanied by the Corresponding Source + fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), + accompanied by a written offer, + valid for at least three years + and valid for as long as you offer spare parts or customer support + for that product model, + to give anyone who possesses the object code + either (1) a copy of the Corresponding Source + for all the software in the product that is covered by this License, + on a durable physical medium + customarily used for software interchange, + for a price no more than your reasonable cost + of physically performing this conveying of source, + or (2) access to copy the Corresponding Source + from a network server at no charge. + + c) Convey individual copies of the object code + with a copy of the written offer to provide the Corresponding Source. + This alternative is allowed only occasionally and noncommercially, + and only if you received the object code with such an offer, + in accord with subsection 6b. + + d) Convey the object code by offering access from a designated place + (gratis or for a charge), + and offer equivalent access to the Corresponding Source + in the same way through the same place at no further charge. + You need not require recipients to copy the Corresponding Source + along with the object code. + If the place to copy the object code is a network server, + the Corresponding Source may be on a different server + (operated by you or a third party) + that supports equivalent copying facilities, + provided you maintain clear directions next to the object code + saying where to find the Corresponding Source. + Regardless of what server hosts the Corresponding Source, + you remain obligated to ensure that it is available + for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, + provided you inform other peers + where the object code and Corresponding Source of the work + are being offered to the general public + at no charge under subsection 6d. + + A separable portion of the object code, + whose source code is excluded + from the Corresponding Source as a System Library, + need not be included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", + which means any tangible personal property + which is normally used for personal, family, or household purposes, + or (2) anything designed or sold for incorporation into a dwelling. + In determining whether a product is a consumer product, + doubtful cases shall be resolved in favor of coverage. + For a particular product received by a particular user, + "normally used" refers to a typical or common use + of that class of product, + regardless of the status of the particular user + or of the way in which the particular user actually uses, + or expects or is expected to use, + the product. + A product is a consumer product + regardless of whether the product has substantial commercial, + industrial or non-consumer uses, + unless such uses represent the only significant mode + of use of the product. + + "Installation Information" for a User Product means + any methods, procedures, authorization keys, or other information + required to install and execute modified versions of a covered work + in that User Product + from a modified version of its Corresponding Source. + The information must suffice to ensure + that the continued functioning of the modified object code + is in no case prevented or interfered with + solely because modification has been made. + + If you convey an object code work under this section + in, or with, or specifically for use in, a User Product, + and the conveying occurs as part of a transaction + in which the right of possession and use of the User Product + is transferred to the recipient + in perpetuity or for a fixed term + (regardless of how the transaction is characterized), + the Corresponding Source conveyed under this section must + be accompanied by the Installation Information. + But this requirement does not apply + if neither you nor any third party retains + the ability to install modified object code on the User Product + (for example, the work has been installed in ROM). + + The requirement to provide Installation Information does not include + a requirement to continue to provide support service, warranty, + or updates for a work + that has been modified or installed by the recipient, + or for the User Product in which it has been modified or installed. + Access to a network may be denied + when the modification itself materially and adversely affects + the operation of the network + or violates the rules and protocols + for communication across the network. + + Corresponding Source conveyed, + and Installation Information provided, + in accord with this section must be in a format + that is publicly documented + (and with an implementation available to the public + in source code form), + and must require no special password or key + for unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms + that supplement the terms of this License + by making exceptions from one or more of its conditions. + Additional permissions that are applicable to the entire Program + shall be treated as though they were included in this License, + to the extent that they are valid under applicable law. + If additional permissions apply only to part of the Program, + that part may be used separately under those permissions, + but the entire Program remains governed by this License + without regard to the additional permissions. + + When you convey a copy of a covered work, + you may at your option remove any additional permissions + from that copy, or from any part of it. + (Additional permissions may be written to require their own removal + in certain cases when you modify the work.) + You may place additional permissions on material, + added by you to a covered work, + for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, + for material you add to a covered work, you may + (if authorized by the copyright holders of that material) + supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability + differently from the terms of sections 15 and 16 of this License; or + + b) Requiring preservation + of specified reasonable legal notices + or author attributions in that material + or in the Appropriate Legal Notices + displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, + or requiring that modified versions of such material be marked + in reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes + of names of licensors or authors of the material; or + + e) Declining to grant rights under trademark law + for use of some trade names, trademarks, or service marks; or + + f) Requiring indemnification + of licensors and authors of that material + by anyone who conveys the material (or modified versions of it) + with contractual assumptions of liability to the recipient, + for any liability that these contractual assumptions directly impose + on those licensors and authors. + + All other non-permissive additional terms + are considered "further restrictions" + within the meaning of section 10. + If the Program as you received it, or any part of it, + contains a notice stating that it is governed by this License + along with a term that is a further restriction, + you may remove that term. + If a license document contains a further restriction + but permits relicensing or conveying under this License, + you may add to a covered work material governed + by the terms of that license document, + provided that the further restriction does not survive + such relicensing or conveying. + + If you add terms to a covered work in accord with this section, + you must place, in the relevant source files, a statement + of the additional terms that apply to those files, + or a notice indicating where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated + in the form of a separately written license, + or stated as exceptions; + the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work + except as expressly provided under this License. + Any attempt otherwise to propagate or modify it is void, + and will automatically terminate your rights under this License + (including any patent licenses granted + under the third paragraph of section 11). + + However, if you cease all violation of this License, + then your license from a particular copyright holder is reinstated + (a) provisionally, + unless and until the copyright holder explicitly and finally + terminates your license, + and (b) permanently, + if the copyright holder fails to notify you of the violation + by some reasonable means prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder + is reinstated permanently + if the copyright holder notifies you + of the violation by some reasonable means, + this is the first time you have received notice + of violation of this License (for any work) + from that copyright holder, + and you cure the violation + prior to 30 days after your receipt of the notice. + + Termination of your rights under this section does not terminate + the licenses of parties who have received copies or rights + from you under this License. + If your rights have been terminated and not permanently reinstated, + you do not qualify to receive new licenses for the same material + under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License + in order to receive or run a copy of the Program. + Ancillary propagation + of a covered work occurring solely as a consequence + of using peer-to-peer transmission to receive a copy + likewise does not require acceptance. + However, nothing other than this License grants you + permission to propagate or modify any covered work. + These actions infringe copyright + if you do not accept this License. + Therefore, by modifying or propagating a covered work, + you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, + the recipient automatically receives + a license from the original licensors, + to run, modify and propagate that work, + subject to this License. + You are not responsible for enforcing compliance by third parties + with this License. + + An "entity transaction" is a transaction transferring control + of an organization, or substantially all assets of one, + or subdividing an organization, + or merging organizations. + If propagation of a covered work results from an entity transaction, + each party to that transaction who receives a copy of the work + also receives whatever licenses to the work + the party's predecessor in interest had or could give + under the previous paragraph, + plus a right to possession of the Corresponding Source of the work + from the predecessor in interest, + if the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions + on the exercise of the rights granted or affirmed under this License. + For example, you may not impose + a license fee, royalty, or other charge + for exercise of rights granted under this License, + and you may not initiate litigation + (including a cross-claim or counterclaim in a lawsuit) + alleging that any patent claim is infringed + by making, using, selling, offering for sale, or importing + the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder + who authorizes use under this License of the Program + or a work on which the Program is based. + The work thus licensed is called + the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims + owned or controlled by the contributor, + whether already acquired or hereafter acquired, + that would be infringed by some manner, + permitted by this License, + of making, using, or selling its contributor version, + but do not include claims + that would be infringed only as a consequence + of further modification of the contributor version. + For purposes of this definition, "control" includes the right + to grant patent sublicenses in a manner + consistent with the requirements of this License. + + Each contributor grants you + a non-exclusive, worldwide, royalty-free patent license + under the contributor's essential patent claims, + to make, use, sell, offer for sale, import and otherwise run, modify + and propagate the contents of its contributor version. + + In the following three paragraphs, + a "patent license" is any express agreement or commitment, + however denominated, not to enforce a patent + (such as an express permission to practice a patent + or covenant not to sue for patent infringement). + To "grant" such a patent license to a party means + to make such an agreement or commitment + not to enforce a patent against the party. + + If you convey a covered work, + knowingly relying on a patent license, + and the Corresponding Source of the work is not available + for anyone to copy, + free of charge and under the terms of this License, + through a publicly available network server + or other readily accessible means, + then you must either + (1) cause the Corresponding Source to be so available, + or (2) arrange to deprive yourself of the benefit + of the patent license for this particular work, + or (3) arrange, + in a manner consistent with the requirements of this License, + to extend the patent license to downstream recipients. + "Knowingly relying" means + you have actual knowledge that, but for the patent license, + your conveying the covered work in a country, + or your recipient's use of the covered work in a country, + would infringe one or more identifiable patents in that country + that you have reason to believe are valid. + + If, pursuant to or in connection + with a single transaction or arrangement, + you convey, or propagate by procuring conveyance of, a covered work, + and grant a patent license to some of the parties + receiving the covered work authorizing them + to use, propagate, modify or convey a specific copy of the covered work, + then the patent license you grant is automatically extended + to all recipients of the covered work and works based on it. + + A patent license is "discriminatory" + if it does not include within the scope of its coverage, + prohibits the exercise of, or is conditioned on + the non-exercise of one or more of the rights + that are specifically granted under this License. + You may not convey a covered work + if you are a party to an arrangement with a third party + that is in the business of distributing software, + under which you make payment to the third party + based on the extent of your activity of conveying the work, + and under which the third party grants, + to any of the parties who would receive the covered work from you, + a discriminatory patent license + (a) in connection with copies of the covered work conveyed by you + (or copies made from those copies), + or (b) primarily for and in connection with specific products + or compilations that contain the covered work, + unless you entered into that arrangement, + or that patent license was granted, + prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting + any implied license or other defenses to infringement + that may otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you + (whether by court order, agreement or otherwise) + that contradict the conditions of this License, + they do not excuse you from the conditions of this License. + If you cannot convey a covered work + so as to satisfy simultaneously your obligations + under this License and any other pertinent obligations, + then as a consequence you may not convey it at all. + For example, if you agree to terms that obligate you + to collect a royalty for further conveying from those + to whom you convey the Program, + the only way you could satisfy both those terms and this License + would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; + Use with the GNU General Public License. + + Notwithstanding any other provision of this License, + if you modify the Program, + your modified version must prominently offer + all users interacting with it remotely through a computer network + (if your version supports such interaction) + an opportunity to receive the Corresponding Source of your version + by providing access to the Corresponding Source + from a network server at no charge, + through some standard or customary means + of facilitating copying of software. + This Corresponding Source shall include + the Corresponding Source for any work covered + by version 3 of the GNU General Public License + that is incorporated pursuant to the following paragraph. + + Notwithstanding any other provision of this License, + you have permission to link or combine any covered work + with a work licensed + under version 3 of the GNU General Public License + into a single combined work, and to convey the resulting work. + The terms of this License will continue to apply + to the part which is the covered work, + but the work with which it is combined will remain governed + by version 3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions + of the GNU Affero General Public License from time to time. + Such new versions will be similar in spirit to the present version, + but may differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. + If the Program specifies that a certain numbered version + of the GNU Affero General Public License + "or any later version" applies to it, + you have the option of following the terms and conditions + either of that numbered version + or of any later version + published by the Free Software Foundation. + If the Program does not specify a version number + of the GNU Affero General Public License, + you may choose any version ever + published by the Free Software Foundation. + + If the Program specifies that a proxy can decide + which future versions + of the GNU Affero General Public License can be used, + that proxy's public statement of acceptance of a version + permanently authorizes you to choose that version for the Program. + + Later license versions may give you + additional or different permissions. + However, no additional obligations are imposed + on any author or copyright holder + as a result of your choosing to follow a later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, + TO THE EXTENT PERMITTED BY APPLICABLE LAW. + EXCEPT WHEN OTHERWISE STATED IN WRITING + THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" + WITHOUT WARRANTY OF ANY KIND, + EITHER EXPRESSED OR IMPLIED, + INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE. + THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM + IS WITH YOU. + SHOULD THE PROGRAM PROVE DEFECTIVE, + YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT + UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING + WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY + WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, + BE LIABLE TO YOU FOR DAMAGES, + INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES + ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM + (INCLUDING BUT NOT LIMITED TO + LOSS OF DATA OR DATA BEING RENDERED INACCURATE + OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES + OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), + EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED + OF THE POSSIBILITY OF SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer + of warranty and limitation of liability provided above + cannot be given local legal effect according to their terms, + reviewing courts shall apply local law + that most closely approximates an absolute waiver + of all civil liability in connection with the Program, + unless a warranty or assumption of liability accompanies + a copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, + and you want it to be of the greatest possible use to the public, + the best way to achieve this is to make it free software + which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. + It is safest to attach them to the start of each source file + to most effectively state the exclusion of warranty; + and each file should have at least the "copyright" line + and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: + you can redistribute it and/or modify it + under the terms of the GNU Affero General Public License + as published by the Free Software Foundation, + either version 3 of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; + without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the GNU Affero General Public License for more details. + + You should have received + a copy of the GNU Affero General Public License + along with this program. + If not, see . + + Also add information on how to contact you + by electronic and paper mail. + + If your software can interact with users + remotely through a computer network, + you should also make sure that it provides + a way for users to get its source. + For example, if your program is a web application, + its interface could display a "Source" link + that leads users to an archive of the code. + There are many ways you could offer source, + and different solutions will be better for different programs; + see section 13 for the specific requirements. + + You should also get your employer (if you work as a programmer) + or school, if any, to sign + a "copyright disclaimer" for the program, if necessary. + For more information on this, + and how to apply and follow the GNU AGPL, + see . + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free.LICENSE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This configure script is free software; + the Free Software Foundation gives unlimited permission + to copy, distribute and modify it. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, + to any person obtaining a copy + of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, + including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", + WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + INCLUDING BUT NOT LIMITED TO + THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE + AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE + FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE + OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '96.3' + start_line: 1 + end_line: 23 + matcher: 3-seq + rule_length: 156 + matched_length: 156 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_71.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, + to any person obtaining a copy + of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, + including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", + WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO + THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE + AND NONINFRINGEMENT. + IN NO EVENT SHALL [SUNSOFT], [INC]. [OR] [ITS] [PARENT] [COMPANY] BE LIABLE + FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE + OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_ghostgum.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, + to any person obtaining a copy of this file ("Software"), + to deal in the Software without restriction, + including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of this Software, + and to permit persons to whom this file is furnished to do so, + subject to the following conditions: + + This Software is distributed with NO WARRANTY OF ANY KIND. + No author or distributor accepts any responsibility + for the consequences of using it, + or for whether it serves any particular purpose or works at all, + unless he or she says so in writing. + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + - score: '99.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 138 + matched_length: 138 + match_coverage: '100.0' + rule_relevance: 99 + identifier: x11-opengroup_7.RULE + license_expression: x11-opengroup + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell + this software and its documentation + for any purpose is hereby granted without fee, + provided that the above copyright notice appear in all copies + and that both that copyright notice and this permission notice appear + in supporting documentation. + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", + WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE + AND NONINFRINGEMENT. + IN NO EVENT SHALL THE OPEN GROUP BE LIABLE + FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE + OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '57.14' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 56 + matched_length: 32 + match_coverage: '57.14' + rule_relevance: 100 + identifier: libpbm.LICENSE + license_expression: libpbm + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute + this software and its documentation + for any purpose and without fee is hereby granted. + This software is provided "as is" + without express or implied warranty. + - score: '88.17' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 93 + matched_length: 82 + match_coverage: '88.17' + rule_relevance: 100 + identifier: x11-lucent_1.RULE + license_expression: x11-lucent + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + for any purpose without fee is hereby granted, + provided that this entire notice is included in all copies + of any software which is or includes + a copy or modification of this software. + + THIS SOFTWARE IS BEING PROVIDED "AS IS", + WITHOUT ANY EXPRESS OR IMPLIED WARRANTY. + IN PARTICULAR, NEITHER THE AUTHORS NOR LUCENT TECHNOLOGIES MAKE + ANY REPRESENTATION OR WARRANTY OF ANY KIND + CONCERNING THE MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS + FOR ANY PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 32 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_686.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + Neither the name of Adobe Systems Incorporated + 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 + 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. + - score: '98.4' + start_line: 1 + end_line: 180 + matcher: 3-seq + rule_length: 939 + matched_length: 924 + match_coverage: '98.4' + rule_relevance: 100 + identifier: freetype.LICENSE + license_expression: freetype + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The FreeType Project LICENSE + ---------------------------- + + 2006-Jan-27 + + Copyright 1996-2002, 2006 + by David Turner, Robert Wilhelm, and Werner Lemberg + + Introduction + ============ + + The FreeType Project is distributed in several archive packages; + some of them may contain, + in addition to the FreeType font engine, + various tools and contributions which rely on, or relate to, + the FreeType Project. + + This license applies to all files found in such packages, and + which do not fall under their own explicit license. The license + affects thus the FreeType font engine, the test programs, + documentation and makefiles, at the very least. + + This license was inspired by the BSD, Artistic, and IJG + (Independent JPEG Group) licenses, which all encourage inclusion + and use of free software in commercial and freeware products + alike. As a consequence, its main points are that: + * We don't promise that this software works. + However, we will be interested in any kind of bug reports. + ("as is" distribution) + * You can use this software for whatever you want, + in parts or full form, + without having to pay us. + ("royalty-free" usage) + * You may not pretend that you wrote this software. + If you use it, or only parts of it, in a program, + you must acknowledge somewhere in your documentation + that you have used the FreeType code. + ("credits") + + We specifically permit and encourage + the inclusion of this software, + with or without modifications, + in commercial products. + We disclaim all warranties covering The FreeType Project + and assume no liability related to The FreeType Project. + + Finally, many people asked us for a preferred form + for a credit/disclaimer to use + in compliance with this license. + We thus encourage you to use the following text: + + """ + Portions of this software are + copyright © The FreeType Project (www.freetype.org). + All rights reserved. + """ + + Please replace with the value + from the FreeType version you actually use. + + Legal Terms + =========== + + 0. Definitions + -------------- + + Throughout this license, + the terms "package", "FreeType Project", and "FreeType archive" + refer to the set of files originally distributed by the authors + (David Turner, Robert Wilhelm, and Werner Lemberg) + as the "FreeType Project", + be they named as alpha, beta or final release. + + "You" refers to the licensee, or person using the project, + where "using" is a generic term + including compiling the project's source code + as well as linking it to form a "program" or "executable". + This program is referred to as "a program using the FreeType engine". + + This license applies to all files + distributed in the original FreeType Project, + including all source code, binaries and documentation, + unless otherwise stated in the file + in its original, unmodified form + as distributed in the original archive. + If you are unsure whether or not a particular file is covered + by this license, + you must contact us to verify this. + + The FreeType Project is copyright (C) 1996-2000 + by David Turner, Robert Wilhelm, and Werner Lemberg. + All rights reserved except as specified below. + + 1. No Warranty + -------------- + + THE FREETYPE PROJECT IS PROVIDED "AS IS" + WITHOUT WARRANTY OF ANY KIND, + EITHER EXPRESS OR IMPLIED, + INCLUDING, BUT NOT LIMITED TO, + WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE. + IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY DAMAGES + CAUSED BY THE USE OR THE INABILITY TO USE, + OF THE FREETYPE PROJECT. + + 2. Redistribution + ----------------- + + This license grants a worldwide, royalty-free, + perpetual and irrevocable right and license + to use, execute, perform, compile, display, copy, + create derivative works of, distribute and sublicense + the FreeType Project (in both source and object code forms) + and derivative works thereof for any purpose; + and to authorize others to exercise + some or all of the rights granted herein, + subject to the following conditions: + * Redistribution of source code must retain + this license file ("FTL.TXT") unaltered; + any additions, deletions or changes to the original files + must be clearly indicated in accompanying documentation. + The copyright notices of the unaltered, original files + must be preserved in all copies of source files. + * Redistribution in binary form must provide a disclaimer + that states that the software is based in part + of the work of the FreeType Team, + in the distribution documentation. + We also encourage you to put an URL to the FreeType web page + in your documentation, + though this isn't mandatory. + + These conditions apply to any software + derived from or based on the FreeType Project, + not just the unmodified files. + If you use our work, you must acknowledge us. + However, no fee need be paid to us. + + 3. Advertising + -------------- + + Neither the FreeType authors and contributors nor you + shall use the name of the other + for commercial, advertising, or promotional purposes + without specific prior written permission. + + We suggest, but do not require, + that you use one or more of the following phrases + to refer to this software + in your documentation or advertising materials: + "FreeType Project", "FreeType Engine", "FreeType library", + or "FreeType Distribution". + + As you have not signed this license, + you are not required to accept it. + However, as the FreeType Project is copyrighted material, + only this license, or another one contracted with the authors, + grants you the right to use, distribute, and modify it. + Therefore, by using, distributing, or modifying + the FreeType Project, + you indicate that you understand + and accept all the terms of this license. + + 4. Contacts + ----------- + + There are two mailing lists related to FreeType: + * freetype@nongnu.org + Discusses general use and applications of FreeType, + as well as future and wanted additions + to the library and distribution. + If you are looking for support, + start in this list + if you haven't found anything to help you in the documentation. + * freetype-devel@nongnu.org + Discusses bugs, as well as engine internals, design issues, + specific licenses, porting, etc. + + Our home page can be found at + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', + without any express or implied warranty. + In no event will the authors be held liable + for any damages arising from the use of this software. + + Permission is granted to anyone + to use this software for any purpose, + including commercial applications, + and to alter it and redistribute it freely, + subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; + you must not claim that you wrote the original software. + If you use this software in a product, + an acknowledgment in the product documentation + would be appreciated but is not required. + 2. Altered source versions must be plainly marked as such, + and must not be misrepresented as being the original software. + 3. This notice may not be removed or altered + from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + for any purpose with or without fee is hereby granted, + provided that the above copyright notice and this permission notice + appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" + AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS 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 THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0_191.RULE + license_expression: agpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: 'License: agpl-' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0-plus_28.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: agpl-3+ + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: agpl-3.0-plus_143.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL Ghostscript + - score: '92.68' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 41 + matched_length: 38 + match_coverage: '92.68' + rule_relevance: 100 + identifier: agpl-3.0-plus_113.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + free software; + you can redistribute and/or modify [them] + under the terms of the GNU Affero General Public License + as published by the Free Software Foundation, + either version 3 of the License, or (at your option) any later version. + - score: '90.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: agpl-3.0-plus_143.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL Ghostscript, + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0_191.RULE + license_expression: agpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: 'License: agpl-' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0-plus_28.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: agpl-3+ + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: agpl-3.0-plus_143.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL Ghostscript + - score: '88.89' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 45 + matched_length: 40 + match_coverage: '88.89' + rule_relevance: 100 + identifier: gpl-3.0-plus_9.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GPL [Ghostscript] is free software; + you can redistribute it and/or modify + it under the terms the GNU [Affero] General Public License + as published by the Free Software Foundation, + either version 3 of the License, or (at your option) any later version. + - score: '33.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: lgpl_35.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GNU Lesser General Public License (LGPL), + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 1-hash + rule_length: 49 + matched_length: 49 + match_coverage: '100.0' + rule_relevance: 100 + identifier: freetype_4.RULE + license_expression: freetype + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is part of the FreeType project, + and may only be used modified and distributed + under the terms of the FreeType project license, LICENSE.TXT. + By continuing to use, modify, or distribute this file + you indicate that you have read the license + and understand and accept it fully. + - score: '64.06' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 64 + matched_length: 41 + match_coverage: '64.06' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [GNU] [Ghostscript], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [GNU] General Public License. + A copy of this license is supposed to have been given to you + along with [this] [software] + so you can know your rights and responsibilities. + It should be in a file named COPYING. + - score: '64.06' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 64 + matched_length: 41 + match_coverage: '64.06' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [Ghostscript], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [Ghostscript] General Public License. + A copy of this license is supposed to have been given to you + along with [this] [software] + so you can know your rights and responsibilities. + It should be in a file named COPYING. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: agpl-3.0-plus_143.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL Ghostscript + - score: '88.89' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 45 + matched_length: 40 + match_coverage: '88.89' + rule_relevance: 100 + identifier: gpl-3.0-plus_9.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GPL [Ghostscript] is free software; + you can redistribute it and/or modify it + under the terms the GNU [Affero] General Public License + as published by the Free Software Foundation, + either version 3 of the License, or (at your option) any later version. + - score: '64.06' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 64 + matched_length: 41 + match_coverage: '64.06' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [this] [software], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [GNU] General Public License. + A copy of this license is supposed to have been given to you + along with [this] [software] + so you can know your rights and responsibilities. + It should be in a file named COPYING. + - score: '64.06' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 64 + matched_length: 41 + match_coverage: '64.06' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [this] [software], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [GNU] General Public License. + A copy of this license is supposed to have been given to you + along with [this] [software] + so you can know your rights and responsibilities. + It should be in a file named COPYING. + - score: '87.5' + start_line: 3 + end_line: 12 + matcher: 3-seq + rule_length: 64 + matched_length: 56 + match_coverage: '87.5' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [Ghostscript], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [GNU] General Public License. + A copy of this license is supposed to have been given to you + along with [Ghostscript] + so you can know your rights and responsibilities. + It should be in a file named COPYING [or] [COPYLEFT]. + Among other things, + the copyright notice and this notice must be preserved on all copies. + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_292.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This code is subject to the GNU General Public License + - score: '50.0' + start_line: 4 + end_line: 5 + matcher: 3-seq + rule_length: 22 + matched_length: 11 + match_coverage: '50.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_358.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + and distributed [freely] + under the terms of the GNU General Public License + - score: '79.17' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 24 + matched_length: '19' + match_coverage: '79.17' + rule_relevance: 100 + identifier: gpl-2.0_404.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + may be distributed [and]/[or] [modified] + under the terms of the GNU General Public License + as published by the Free Software Foundation ( + - score: '85.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 85 + identifier: gpl-1.0-plus_351.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the "GPL"); + - score: '90.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-1.0-plus_350.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: of the GPL, + - score: '100.0' + start_line: 1 + end_line: 10 + matcher: 1-hash + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_924.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed to the Apache Software Foundation (ASF) + under one or more contributor license agreements. + See the NOTICE file distributed with this work + for additional information regarding copyright ownership. + The ASF licenses this file to You + under the Apache License, Version 2.0 (the "License"); + you may not use this file + except in compliance with the License. + You may obtain a copy of the License + at + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_712.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, + Version 2.0 (the "License"); + you may not use this file + except in compliance with the License. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0_191.RULE + license_expression: agpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: 'License: agpl-' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0-plus_28.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: agpl-3+ + - score: '90.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: afpl-9.0_9.RULE + license_expression: afpl-9.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: AFPL Ghostscript, + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_165.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2, or (at your option) any later version. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later version. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later version. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later version. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later version. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later version. + - score: '64.06' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 64 + matched_length: 41 + match_coverage: '64.06' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [this] [software], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [GNU] General Public License. + A copy of this license is supposed to have been given to you + along with [this] [software] + so you can know your rights and responsibilities. + It should be in a file named COPYING. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_284.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 3, or (at your option) any later version. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/ghostscript/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/ghostscript/stable_copyright.expected.yml index c6220861d26..6f867249ed5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/ghostscript/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/ghostscript/stable_copyright.expected.yml @@ -1,5 +1,6 @@ -- None -- - AGPL-3+ +primary_license: None +declared_license: + - AGPL-3+ - BSD-3-Clause~Adobe - LGPL-2.1 - FTL @@ -23,12 +24,13 @@ - GPL-3+ - GPL-2 - Expat~SunSoft -- (agpl-3.0 AND agpl-3.0-plus) AND agpl-3.0-plus AND bsd-new AND (agpl-3.0-plus AND gpl-3.0-plus) - AND lgpl-2.1 AND lgpl-2.1-plus AND freetype AND gpl-1.0-plus AND agpl-3.0 WITH ps-or-pdf-font-exception-20170817 - AND fsf-free AND gpl-2.0-plus AND (gpl-2.0 AND gpl-1.0-plus) AND zlib AND sunsoft AND mit - AND ((lgpl-2.1 AND public-domain) AND public-domain) AND apache-2.0 AND afpl-9.0 AND isc AND - other-permissive AND x11-opengroup AND public-domain AND x11-lucent AND libpbm -- | +license_expression: (agpl-3.0 AND agpl-3.0-plus) AND agpl-3.0-plus AND bsd-new AND (agpl-3.0-plus + AND gpl-3.0-plus) AND lgpl-2.1 AND lgpl-2.1-plus AND freetype AND gpl-1.0-plus AND agpl-3.0 + WITH ps-or-pdf-font-exception-20170817 AND fsf-free AND gpl-2.0-plus AND (gpl-2.0 AND gpl-1.0-plus) + AND zlib AND sunsoft AND mit AND ((lgpl-2.1 AND public-domain) AND public-domain) AND apache-2.0 + AND afpl-9.0 AND isc AND other-permissive AND x11-opengroup AND public-domain AND x11-lucent + AND libpbm +copyright: | 1986, Eric Gisin 1989, Berthold K.P. Horn 1990-2019, Artifex Software, Inc. @@ -86,3 +88,2263 @@ 1992, Washington State University. 1997, Anthony Shipman 2010, Kenshi Muto +matches: + - score: '88.21' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 42 + matched_length: 39 + match_coverage: '92.86' + rule_relevance: 95 + identifier: agpl-3.0_with_ps-or-pdf-font-exception-20170817_3.RULE + license_expression: agpl-3.0 WITH ps-or-pdf-font-exception-20170817 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, + permission is granted to include [this] [font] [program] + in a Postscript or PDF file that consists of a document + that contains text to be displayed or printed using this font, + regardless of the conditions or license + applying to the document itself. + - score: '18.18' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: '198' + matched_length: 36 + match_coverage: '18.18' + rule_relevance: 100 + identifier: sunsoft_1.RULE + license_expression: sunsoft + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Except as contained in this notice, + the name of SunSoft, Inc. shall not be used + in advertising or otherwise to promote + the sale, use or other dealings in this Software + without written authorization from SunSoft Inc. + - score: '16.67' + start_line: 3 + end_line: 4 + matcher: 3-seq + rule_length: 30 + matched_length: 5 + match_coverage: '16.67' + rule_relevance: 100 + identifier: lgpl-2.1_and_public-domain2.RULE + license_expression: lgpl-2.1 AND public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + therefore [is] [not] covered + by the [Ghostscript] [copyright] [or] license: + - score: '90.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 90 + identifier: public-domain_108.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: it is in the public domain. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_358.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be freely distributed + with or without modifications, + so long as modified versions are marked as such + and copyright notices are not removed. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_72.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl' + - score: '100.0' + start_line: 1 + end_line: 850 + matcher: 1-hash + rule_length: 5374 + matched_length: 5374 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0.SPDX.RULE + license_expression: agpl-3.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute + verbatim copies of this license document, + but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license + for software and other kinds of works, + specifically designed to ensure cooperation with the community + in the case of network server software. + + The licenses for most software and other practical works + are designed to take away your freedom to share and change the works. + By contrast, our General Public Licenses are intended + to guarantee your freedom to share + and change all versions of a program-- + to make sure it remains free software for all its users. + + When we speak of free software, + we are referring to freedom, not price. + Our General Public Licenses are designed + to make sure that you have the freedom + to distribute copies of free software + (and charge for them if you wish), + that you receive source code or can get it if you want it, + that you can change the software + or use pieces of it in new free programs, + and that you know you can do these things. + + Developers that use our General Public Licenses + protect your rights with two steps: + (1) assert copyright on the software, + and (2) offer you this License + which gives you legal permission + to copy, distribute and/or modify the software. + + A secondary benefit of defending all users' freedom is + that improvements made in alternate versions of the program, + if they receive widespread use, + become available for other developers to incorporate. + Many developers of free software are heartened and encouraged + by the resulting cooperation. + However, in the case of software used on network servers, + this result may fail to come about. + The GNU General Public License permits + making a modified version and letting the public access it on a server + without ever releasing its source code to the public. + + The GNU Affero General Public License is designed + specifically to ensure that, in such cases, + the modified source code becomes available to the community. + It requires the operator of a network server to provide + the source code of the modified version running there + to the users of that server. + Therefore, public use of a modified version, + on a publicly accessible server, + gives the public access to the source code of the modified version. + + An older license, + called the Affero General Public License and published by Affero, + was designed to accomplish similar goals. + This is a different license, not a version of the Affero GPL, + but Affero has released a new version of the Affero GPL + which permits relicensing under this license. + + The precise terms and conditions + for copying, distribution and modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 + of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply + to other kinds of works, such as semiconductor masks. + + "The Program" refers to any copyrightable work + licensed under this License. + Each licensee is addressed as "you". + "Licensees" and "recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work + in a fashion requiring copyright permission, + other than the making of an exact copy. + The resulting work is called a "modified version" of the earlier work + or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program + or a work based on the Program. + + To "propagate" a work means to do anything with it + that, without permission, would make you directly or secondarily liable + for infringement under applicable copyright law, + except executing it on a computer or modifying a private copy. + Propagation includes copying, + distribution (with or without modification), + making available to the public, + and in some countries other activities as well. + + To "convey" a work means any kind of propagation + that enables other parties to make or receive copies. + Mere interaction with a user through a computer network, + with no transfer of a copy, + is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" + to the extent that it includes + a convenient and prominently visible feature + that (1) displays an appropriate copyright notice, + and (2) tells the user that there is no warranty for the work + (except to the extent that warranties are provided), + that licensees may convey the work under this License, + and how to view a copy of this License. + If the interface presents + a list of user commands or options, such as a menu, + a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means + the preferred form of the work for making modifications to it. + "Object code" means any non-source form of a work. + + A "Standard Interface" means + an interface that either is an official standard + defined by a recognized standards body, + or, in the case of interfaces + specified for a particular programming language, + one that is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, + other than the work as a whole, + that (a) is included in the normal form of packaging a Major Component, + but which is not part of that Major Component, + and (b) serves only + to enable use of the work with that Major Component, + or to implement a Standard Interface + for which an implementation is available to the public + in source code form. + A "Major Component", in this context, means + a major essential component (kernel, window system, and so on) + of the specific operating system (if any) + on which the executable work runs, + or a compiler used to produce the work, + or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means + all the source code needed to generate, install, + and (for an executable work) run the object code + and to modify the work, + including scripts to control those activities. + However, it does not include the work's System Libraries, + or general-purpose tools or generally available free programs + which are used unmodified in performing those activities + but which are not part of the work. + For example, Corresponding Source includes + interface definition files associated with source files for the work, + and the source code for shared libraries + and dynamically linked subprograms + that the work is specifically designed to require, + such as by intimate data communication or control flow + between those subprograms and other parts of the work. + + The Corresponding Source need not include + anything that users can regenerate automatically + from other parts of the Corresponding Source. + + The Corresponding Source for a work in source code form + is that same work. + + 2. Basic Permissions. + + All rights granted under this License are granted + for the term of copyright on the Program, + and are irrevocable provided the stated conditions are met. + This License explicitly affirms your unlimited permission + to run the unmodified Program. + The output from running a covered work is covered by this License + only if the output, given its content, constitutes a covered work. + This License acknowledges your rights of fair use + or other equivalent, as provided by copyright law. + + You may make, run and propagate + covered works that you do not convey, + without conditions + so long as your license otherwise remains in force. + You may convey covered works to others + for the sole purpose of having them + make modifications exclusively for you, + or provide you with facilities for running those works, + provided that you comply with the terms of this License + in conveying all material + for which you do not control copyright. + Those thus making or running the covered works for you + must do so exclusively on your behalf, + under your direction and control, + on terms that prohibit them from making any copies + of your copyrighted material + outside their relationship with you. + + Conveying under any other circumstances is permitted + solely under the conditions stated below. + Sublicensing is not allowed; + section 10 makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed + part of an effective technological measure + under any applicable law fulfilling obligations + under article 11 of the WIPO copyright treaty + adopted on 20 December 1996, + or similar laws prohibiting or restricting + circumvention of such measures. + + When you convey a covered work, + you waive any legal power + to forbid circumvention of technological measures + to the extent such circumvention is effected + by exercising rights under this License + with respect to the covered work, + and you disclaim any intention + to limit operation or modification of the work + as a means of enforcing, against the work's users, + your or third parties' legal rights + to forbid circumvention of technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code + as you receive it, in any medium, + provided that you conspicuously and appropriately publish + on each copy an appropriate copyright notice; + keep intact all notices + stating that this License and any non-permissive terms + added in accord with section 7 apply to the code; + keep intact all notices + of the absence of any warranty; + and give all recipients a copy of this License + along with the Program. + + You may charge any price or no price + for each copy that you convey, + and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, + or the modifications to produce it from the Program, + in the form of source code + under the terms of section 4, + provided that you also meet all of these conditions: + + a) The work must carry prominent notices + stating that you modified it, and giving a relevant date. + + b) The work must carry prominent notices + stating that it is released under this License + and any conditions added under section 7. + This requirement modifies + the requirement in section 4 to "keep intact all notices". + + c) You must license the entire work, as a whole, under this License + to anyone who comes into possession of a copy. + This License will therefore apply, + along with any applicable section 7 additional terms, + to the whole of the work, and all its parts, + regardless of how they are packaged. + This License gives no permission + to license the work in any other way, + but it does not invalidate such permission + if you have separately received it. + + d) If the work has interactive user interfaces, + each must display Appropriate Legal Notices; + however, if the Program has interactive interfaces + that do not display Appropriate Legal Notices, + your work need not make them do so. + + A compilation of a covered work + with other separate and independent works, + which are not by their nature extensions of the covered work, + and which are not combined with it such as to form a larger program, + in or on a volume of a storage or distribution medium, + is called an "aggregate" + if the compilation and its resulting copyright are not used + to limit the access or legal rights of the compilation's users + beyond what the individual works permit. + Inclusion of a covered work in an aggregate + does not cause this License to apply + to the other parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form + under the terms of sections 4 and 5, + provided that you also convey the machine-readable Corresponding Source + under the terms of this License, + in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), + accompanied by the Corresponding Source + fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), + accompanied by a written offer, + valid for at least three years + and valid for as long as you offer spare parts or customer support + for that product model, + to give anyone who possesses the object code + either (1) a copy of the Corresponding Source + for all the software in the product that is covered by this License, + on a durable physical medium + customarily used for software interchange, + for a price no more than your reasonable cost + of physically performing this conveying of source, + or (2) access to copy the Corresponding Source + from a network server at no charge. + + c) Convey individual copies of the object code + with a copy of the written offer to provide the Corresponding Source. + This alternative is allowed only occasionally and noncommercially, + and only if you received the object code with such an offer, + in accord with subsection 6b. + + d) Convey the object code by offering access from a designated place + (gratis or for a charge), + and offer equivalent access to the Corresponding Source + in the same way through the same place at no further charge. + You need not require recipients to copy the Corresponding Source + along with the object code. + If the place to copy the object code is a network server, + the Corresponding Source may be on a different server + (operated by you or a third party) + that supports equivalent copying facilities, + provided you maintain clear directions next to the object code + saying where to find the Corresponding Source. + Regardless of what server hosts the Corresponding Source, + you remain obligated to ensure that it is available + for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, + provided you inform other peers + where the object code and Corresponding Source of the work + are being offered to the general public + at no charge under subsection 6d. + + A separable portion of the object code, + whose source code is excluded + from the Corresponding Source as a System Library, + need not be included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", + which means any tangible personal property + which is normally used for personal, family, or household purposes, + or (2) anything designed or sold for incorporation into a dwelling. + In determining whether a product is a consumer product, + doubtful cases shall be resolved in favor of coverage. + For a particular product received by a particular user, + "normally used" refers to a typical or common use + of that class of product, + regardless of the status of the particular user + or of the way in which the particular user actually uses, + or expects or is expected to use, + the product. + A product is a consumer product + regardless of whether the product has substantial commercial, + industrial or non-consumer uses, + unless such uses represent the only significant mode + of use of the product. + + "Installation Information" for a User Product means + any methods, procedures, authorization keys, or other information + required to install and execute modified versions of a covered work + in that User Product + from a modified version of its Corresponding Source. + The information must suffice to ensure + that the continued functioning of the modified object code + is in no case prevented or interfered with + solely because modification has been made. + + If you convey an object code work under this section + in, or with, or specifically for use in, a User Product, + and the conveying occurs as part of a transaction + in which the right of possession and use of the User Product + is transferred to the recipient + in perpetuity or for a fixed term + (regardless of how the transaction is characterized), + the Corresponding Source conveyed under this section must + be accompanied by the Installation Information. + But this requirement does not apply + if neither you nor any third party retains + the ability to install modified object code on the User Product + (for example, the work has been installed in ROM). + + The requirement to provide Installation Information does not include + a requirement to continue to provide support service, warranty, + or updates for a work + that has been modified or installed by the recipient, + or for the User Product in which it has been modified or installed. + Access to a network may be denied + when the modification itself materially and adversely affects + the operation of the network + or violates the rules and protocols + for communication across the network. + + Corresponding Source conveyed, + and Installation Information provided, + in accord with this section must be in a format + that is publicly documented + (and with an implementation available to the public + in source code form), + and must require no special password or key + for unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms + that supplement the terms of this License + by making exceptions from one or more of its conditions. + Additional permissions that are applicable to the entire Program + shall be treated as though they were included in this License, + to the extent that they are valid under applicable law. + If additional permissions apply only to part of the Program, + that part may be used separately under those permissions, + but the entire Program remains governed by this License + without regard to the additional permissions. + + When you convey a copy of a covered work, + you may at your option remove any additional permissions + from that copy, or from any part of it. + (Additional permissions may be written to require their own removal + in certain cases when you modify the work.) + You may place additional permissions on material, + added by you to a covered work, + for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, + for material you add to a covered work, you may + (if authorized by the copyright holders of that material) + supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability + differently from the terms of sections 15 and 16 of this License; or + + b) Requiring preservation + of specified reasonable legal notices + or author attributions in that material + or in the Appropriate Legal Notices + displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, + or requiring that modified versions of such material be marked + in reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes + of names of licensors or authors of the material; or + + e) Declining to grant rights under trademark law + for use of some trade names, trademarks, or service marks; or + + f) Requiring indemnification + of licensors and authors of that material + by anyone who conveys the material (or modified versions of it) + with contractual assumptions of liability to the recipient, + for any liability that these contractual assumptions directly impose + on those licensors and authors. + + All other non-permissive additional terms + are considered "further restrictions" + within the meaning of section 10. + If the Program as you received it, or any part of it, + contains a notice stating that it is governed by this License + along with a term that is a further restriction, + you may remove that term. + If a license document contains a further restriction + but permits relicensing or conveying under this License, + you may add to a covered work material governed + by the terms of that license document, + provided that the further restriction does not survive + such relicensing or conveying. + + If you add terms to a covered work in accord with this section, + you must place, in the relevant source files, a statement + of the additional terms that apply to those files, + or a notice indicating where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated + in the form of a separately written license, + or stated as exceptions; + the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work + except as expressly provided under this License. + Any attempt otherwise to propagate or modify it is void, + and will automatically terminate your rights under this License + (including any patent licenses granted + under the third paragraph of section 11). + + However, if you cease all violation of this License, + then your license from a particular copyright holder is reinstated + (a) provisionally, + unless and until the copyright holder explicitly and finally + terminates your license, + and (b) permanently, + if the copyright holder fails to notify you of the violation + by some reasonable means prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder + is reinstated permanently + if the copyright holder notifies you + of the violation by some reasonable means, + this is the first time you have received notice + of violation of this License (for any work) + from that copyright holder, + and you cure the violation + prior to 30 days after your receipt of the notice. + + Termination of your rights under this section does not terminate + the licenses of parties who have received copies or rights + from you under this License. + If your rights have been terminated and not permanently reinstated, + you do not qualify to receive new licenses for the same material + under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License + in order to receive or run a copy of the Program. + Ancillary propagation + of a covered work occurring solely as a consequence + of using peer-to-peer transmission to receive a copy + likewise does not require acceptance. + However, nothing other than this License grants you + permission to propagate or modify any covered work. + These actions infringe copyright + if you do not accept this License. + Therefore, by modifying or propagating a covered work, + you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, + the recipient automatically receives + a license from the original licensors, + to run, modify and propagate that work, + subject to this License. + You are not responsible for enforcing compliance by third parties + with this License. + + An "entity transaction" is a transaction transferring control + of an organization, or substantially all assets of one, + or subdividing an organization, + or merging organizations. + If propagation of a covered work results from an entity transaction, + each party to that transaction who receives a copy of the work + also receives whatever licenses to the work + the party's predecessor in interest had or could give + under the previous paragraph, + plus a right to possession of the Corresponding Source of the work + from the predecessor in interest, + if the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions + on the exercise of the rights granted or affirmed under this License. + For example, you may not impose + a license fee, royalty, or other charge + for exercise of rights granted under this License, + and you may not initiate litigation + (including a cross-claim or counterclaim in a lawsuit) + alleging that any patent claim is infringed + by making, using, selling, offering for sale, or importing + the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder + who authorizes use under this License of the Program + or a work on which the Program is based. + The work thus licensed is called + the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims + owned or controlled by the contributor, + whether already acquired or hereafter acquired, + that would be infringed by some manner, + permitted by this License, + of making, using, or selling its contributor version, + but do not include claims + that would be infringed only as a consequence + of further modification of the contributor version. + For purposes of this definition, "control" includes the right + to grant patent sublicenses in a manner + consistent with the requirements of this License. + + Each contributor grants you + a non-exclusive, worldwide, royalty-free patent license + under the contributor's essential patent claims, + to make, use, sell, offer for sale, import and otherwise run, modify + and propagate the contents of its contributor version. + + In the following three paragraphs, + a "patent license" is any express agreement or commitment, + however denominated, not to enforce a patent + (such as an express permission to practice a patent + or covenant not to sue for patent infringement). + To "grant" such a patent license to a party means + to make such an agreement or commitment + not to enforce a patent against the party. + + If you convey a covered work, + knowingly relying on a patent license, + and the Corresponding Source of the work is not available + for anyone to copy, + free of charge and under the terms of this License, + through a publicly available network server + or other readily accessible means, + then you must either + (1) cause the Corresponding Source to be so available, + or (2) arrange to deprive yourself of the benefit + of the patent license for this particular work, + or (3) arrange, + in a manner consistent with the requirements of this License, + to extend the patent license to downstream recipients. + "Knowingly relying" means + you have actual knowledge that, but for the patent license, + your conveying the covered work in a country, + or your recipient's use of the covered work in a country, + would infringe one or more identifiable patents in that country + that you have reason to believe are valid. + + If, pursuant to or in connection + with a single transaction or arrangement, + you convey, or propagate by procuring conveyance of, a covered work, + and grant a patent license to some of the parties + receiving the covered work authorizing them + to use, propagate, modify or convey a specific copy of the covered work, + then the patent license you grant is automatically extended + to all recipients of the covered work and works based on it. + + A patent license is "discriminatory" + if it does not include within the scope of its coverage, + prohibits the exercise of, or is conditioned on + the non-exercise of one or more of the rights + that are specifically granted under this License. + You may not convey a covered work + if you are a party to an arrangement with a third party + that is in the business of distributing software, + under which you make payment to the third party + based on the extent of your activity of conveying the work, + and under which the third party grants, + to any of the parties who would receive the covered work from you, + a discriminatory patent license + (a) in connection with copies of the covered work conveyed by you + (or copies made from those copies), + or (b) primarily for and in connection with specific products + or compilations that contain the covered work, + unless you entered into that arrangement, + or that patent license was granted, + prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting + any implied license or other defenses to infringement + that may otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you + (whether by court order, agreement or otherwise) + that contradict the conditions of this License, + they do not excuse you from the conditions of this License. + If you cannot convey a covered work + so as to satisfy simultaneously your obligations + under this License and any other pertinent obligations, + then as a consequence you may not convey it at all. + For example, if you agree to terms that obligate you + to collect a royalty for further conveying from those + to whom you convey the Program, + the only way you could satisfy both those terms and this License + would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; + Use with the GNU General Public License. + + Notwithstanding any other provision of this License, + if you modify the Program, + your modified version must prominently offer + all users interacting with it remotely through a computer network + (if your version supports such interaction) + an opportunity to receive the Corresponding Source of your version + by providing access to the Corresponding Source + from a network server at no charge, + through some standard or customary means + of facilitating copying of software. + This Corresponding Source shall include + the Corresponding Source for any work covered + by version 3 of the GNU General Public License + that is incorporated pursuant to the following paragraph. + + Notwithstanding any other provision of this License, + you have permission to link or combine any covered work + with a work licensed + under version 3 of the GNU General Public License + into a single combined work, and to convey the resulting work. + The terms of this License will continue to apply + to the part which is the covered work, + but the work with which it is combined will remain governed + by version 3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions + of the GNU Affero General Public License from time to time. + Such new versions will be similar in spirit to the present version, + but may differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. + If the Program specifies that a certain numbered version + of the GNU Affero General Public License + "or any later version" applies to it, + you have the option of following the terms and conditions + either of that numbered version + or of any later version + published by the Free Software Foundation. + If the Program does not specify a version number + of the GNU Affero General Public License, + you may choose any version ever + published by the Free Software Foundation. + + If the Program specifies that a proxy can decide + which future versions + of the GNU Affero General Public License can be used, + that proxy's public statement of acceptance of a version + permanently authorizes you to choose that version for the Program. + + Later license versions may give you + additional or different permissions. + However, no additional obligations are imposed + on any author or copyright holder + as a result of your choosing to follow a later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, + TO THE EXTENT PERMITTED BY APPLICABLE LAW. + EXCEPT WHEN OTHERWISE STATED IN WRITING + THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" + WITHOUT WARRANTY OF ANY KIND, + EITHER EXPRESSED OR IMPLIED, + INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE. + THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM + IS WITH YOU. + SHOULD THE PROGRAM PROVE DEFECTIVE, + YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT + UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING + WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY + WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, + BE LIABLE TO YOU FOR DAMAGES, + INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES + ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM + (INCLUDING BUT NOT LIMITED TO + LOSS OF DATA OR DATA BEING RENDERED INACCURATE + OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES + OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), + EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED + OF THE POSSIBILITY OF SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer + of warranty and limitation of liability provided above + cannot be given local legal effect according to their terms, + reviewing courts shall apply local law + that most closely approximates an absolute waiver + of all civil liability in connection with the Program, + unless a warranty or assumption of liability accompanies + a copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, + and you want it to be of the greatest possible use to the public, + the best way to achieve this is to make it free software + which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. + It is safest to attach them to the start of each source file + to most effectively state the exclusion of warranty; + and each file should have at least the "copyright" line + and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: + you can redistribute it and/or modify it + under the terms of the GNU Affero General Public License + as published by the Free Software Foundation, + either version 3 of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; + without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the GNU Affero General Public License for more details. + + You should have received + a copy of the GNU Affero General Public License + along with this program. + If not, see . + + Also add information on how to contact you + by electronic and paper mail. + + If your software can interact with users + remotely through a computer network, + you should also make sure that it provides + a way for users to get its source. + For example, if your program is a web application, + its interface could display a "Source" link + that leads users to an archive of the code. + There are many ways you could offer source, + and different solutions will be better for different programs; + see section 13 for the specific requirements. + + You should also get your employer (if you work as a programmer) + or school, if any, to sign + a "copyright disclaimer" for the program, if necessary. + For more information on this, + and how to apply and follow the GNU AGPL, + see . + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free.LICENSE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This configure script is free software; + the Free Software Foundation gives unlimited permission + to copy, distribute and modify it. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, + to any person obtaining a copy + of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, + including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", + WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + INCLUDING BUT NOT LIMITED TO + THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE + AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE + FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE + OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '96.3' + start_line: 1 + end_line: 23 + matcher: 3-seq + rule_length: 156 + matched_length: 156 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_71.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, + to any person obtaining a copy + of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, + including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", + WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO + THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE + AND NONINFRINGEMENT. + IN NO EVENT SHALL [SUNSOFT], [INC]. [OR] [ITS] [PARENT] [COMPANY] BE LIABLE + FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE + OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_ghostgum.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, + to any person obtaining a copy of this file ("Software"), + to deal in the Software without restriction, + including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of this Software, + and to permit persons to whom this file is furnished to do so, + subject to the following conditions: + + This Software is distributed with NO WARRANTY OF ANY KIND. + No author or distributor accepts any responsibility + for the consequences of using it, + or for whether it serves any particular purpose or works at all, + unless he or she says so in writing. + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + - score: '99.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 138 + matched_length: 138 + match_coverage: '100.0' + rule_relevance: 99 + identifier: x11-opengroup_7.RULE + license_expression: x11-opengroup + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell + this software and its documentation + for any purpose is hereby granted without fee, + provided that the above copyright notice appear in all copies + and that both that copyright notice and this permission notice appear + in supporting documentation. + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", + WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE + AND NONINFRINGEMENT. + IN NO EVENT SHALL THE OPEN GROUP BE LIABLE + FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE + OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '57.14' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 56 + matched_length: 32 + match_coverage: '57.14' + rule_relevance: 100 + identifier: libpbm.LICENSE + license_expression: libpbm + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute + this software and its documentation + for any purpose and without fee is hereby granted. + This software is provided "as is" + without express or implied warranty. + - score: '88.17' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 93 + matched_length: 82 + match_coverage: '88.17' + rule_relevance: 100 + identifier: x11-lucent_1.RULE + license_expression: x11-lucent + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + for any purpose without fee is hereby granted, + provided that this entire notice is included in all copies + of any software which is or includes + a copy or modification of this software. + + THIS SOFTWARE IS BEING PROVIDED "AS IS", + WITHOUT ANY EXPRESS OR IMPLIED WARRANTY. + IN PARTICULAR, NEITHER THE AUTHORS NOR LUCENT TECHNOLOGIES MAKE + ANY REPRESENTATION OR WARRANTY OF ANY KIND + CONCERNING THE MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS + FOR ANY PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 32 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_686.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + Neither the name of Adobe Systems Incorporated + 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 + 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. + - score: '98.4' + start_line: 1 + end_line: 180 + matcher: 3-seq + rule_length: 939 + matched_length: 924 + match_coverage: '98.4' + rule_relevance: 100 + identifier: freetype.LICENSE + license_expression: freetype + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The FreeType Project LICENSE + ---------------------------- + + 2006-Jan-27 + + Copyright 1996-2002, 2006 + by David Turner, Robert Wilhelm, and Werner Lemberg + + Introduction + ============ + + The FreeType Project is distributed in several archive packages; + some of them may contain, + in addition to the FreeType font engine, + various tools and contributions which rely on, or relate to, + the FreeType Project. + + This license applies to all files found in such packages, and + which do not fall under their own explicit license. The license + affects thus the FreeType font engine, the test programs, + documentation and makefiles, at the very least. + + This license was inspired by the BSD, Artistic, and IJG + (Independent JPEG Group) licenses, which all encourage inclusion + and use of free software in commercial and freeware products + alike. As a consequence, its main points are that: + * We don't promise that this software works. + However, we will be interested in any kind of bug reports. + ("as is" distribution) + * You can use this software for whatever you want, + in parts or full form, + without having to pay us. + ("royalty-free" usage) + * You may not pretend that you wrote this software. + If you use it, or only parts of it, in a program, + you must acknowledge somewhere in your documentation + that you have used the FreeType code. + ("credits") + + We specifically permit and encourage + the inclusion of this software, + with or without modifications, + in commercial products. + We disclaim all warranties covering The FreeType Project + and assume no liability related to The FreeType Project. + + Finally, many people asked us for a preferred form + for a credit/disclaimer to use + in compliance with this license. + We thus encourage you to use the following text: + + """ + Portions of this software are + copyright © The FreeType Project (www.freetype.org). + All rights reserved. + """ + + Please replace with the value + from the FreeType version you actually use. + + Legal Terms + =========== + + 0. Definitions + -------------- + + Throughout this license, + the terms "package", "FreeType Project", and "FreeType archive" + refer to the set of files originally distributed by the authors + (David Turner, Robert Wilhelm, and Werner Lemberg) + as the "FreeType Project", + be they named as alpha, beta or final release. + + "You" refers to the licensee, or person using the project, + where "using" is a generic term + including compiling the project's source code + as well as linking it to form a "program" or "executable". + This program is referred to as "a program using the FreeType engine". + + This license applies to all files + distributed in the original FreeType Project, + including all source code, binaries and documentation, + unless otherwise stated in the file + in its original, unmodified form + as distributed in the original archive. + If you are unsure whether or not a particular file is covered + by this license, + you must contact us to verify this. + + The FreeType Project is copyright (C) 1996-2000 + by David Turner, Robert Wilhelm, and Werner Lemberg. + All rights reserved except as specified below. + + 1. No Warranty + -------------- + + THE FREETYPE PROJECT IS PROVIDED "AS IS" + WITHOUT WARRANTY OF ANY KIND, + EITHER EXPRESS OR IMPLIED, + INCLUDING, BUT NOT LIMITED TO, + WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE. + IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY DAMAGES + CAUSED BY THE USE OR THE INABILITY TO USE, + OF THE FREETYPE PROJECT. + + 2. Redistribution + ----------------- + + This license grants a worldwide, royalty-free, + perpetual and irrevocable right and license + to use, execute, perform, compile, display, copy, + create derivative works of, distribute and sublicense + the FreeType Project (in both source and object code forms) + and derivative works thereof for any purpose; + and to authorize others to exercise + some or all of the rights granted herein, + subject to the following conditions: + * Redistribution of source code must retain + this license file ("FTL.TXT") unaltered; + any additions, deletions or changes to the original files + must be clearly indicated in accompanying documentation. + The copyright notices of the unaltered, original files + must be preserved in all copies of source files. + * Redistribution in binary form must provide a disclaimer + that states that the software is based in part + of the work of the FreeType Team, + in the distribution documentation. + We also encourage you to put an URL to the FreeType web page + in your documentation, + though this isn't mandatory. + + These conditions apply to any software + derived from or based on the FreeType Project, + not just the unmodified files. + If you use our work, you must acknowledge us. + However, no fee need be paid to us. + + 3. Advertising + -------------- + + Neither the FreeType authors and contributors nor you + shall use the name of the other + for commercial, advertising, or promotional purposes + without specific prior written permission. + + We suggest, but do not require, + that you use one or more of the following phrases + to refer to this software + in your documentation or advertising materials: + "FreeType Project", "FreeType Engine", "FreeType library", + or "FreeType Distribution". + + As you have not signed this license, + you are not required to accept it. + However, as the FreeType Project is copyrighted material, + only this license, or another one contracted with the authors, + grants you the right to use, distribute, and modify it. + Therefore, by using, distributing, or modifying + the FreeType Project, + you indicate that you understand + and accept all the terms of this license. + + 4. Contacts + ----------- + + There are two mailing lists related to FreeType: + * freetype@nongnu.org + Discusses general use and applications of FreeType, + as well as future and wanted additions + to the library and distribution. + If you are looking for support, + start in this list + if you haven't found anything to help you in the documentation. + * freetype-devel@nongnu.org + Discusses bugs, as well as engine internals, design issues, + specific licenses, porting, etc. + + Our home page can be found at + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', + without any express or implied warranty. + In no event will the authors be held liable + for any damages arising from the use of this software. + + Permission is granted to anyone + to use this software for any purpose, + including commercial applications, + and to alter it and redistribute it freely, + subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; + you must not claim that you wrote the original software. + If you use this software in a product, + an acknowledgment in the product documentation + would be appreciated but is not required. + 2. Altered source versions must be plainly marked as such, + and must not be misrepresented as being the original software. + 3. This notice may not be removed or altered + from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + for any purpose with or without fee is hereby granted, + provided that the above copyright notice and this permission notice + appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" + AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS 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 THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0_191.RULE + license_expression: agpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: 'License: agpl-' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0-plus_28.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: agpl-3+ + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: agpl-3.0-plus_143.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL Ghostscript + - score: '92.68' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 41 + matched_length: 38 + match_coverage: '92.68' + rule_relevance: 100 + identifier: agpl-3.0-plus_113.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + free software; + you can redistribute and/or modify [them] + under the terms of the GNU Affero General Public License + as published by the Free Software Foundation, + either version 3 of the License, or (at your option) any later version. + - score: '90.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: agpl-3.0-plus_143.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL Ghostscript, + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0_191.RULE + license_expression: agpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: 'License: agpl-' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0-plus_28.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: agpl-3+ + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: agpl-3.0-plus_143.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL Ghostscript + - score: '88.89' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 45 + matched_length: 40 + match_coverage: '88.89' + rule_relevance: 100 + identifier: gpl-3.0-plus_9.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GPL [Ghostscript] is free software; + you can redistribute it and/or modify + it under the terms the GNU [Affero] General Public License + as published by the Free Software Foundation, + either version 3 of the License, or (at your option) any later version. + - score: '33.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: lgpl_35.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GNU Lesser General Public License (LGPL), + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 1-hash + rule_length: 49 + matched_length: 49 + match_coverage: '100.0' + rule_relevance: 100 + identifier: freetype_4.RULE + license_expression: freetype + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is part of the FreeType project, + and may only be used modified and distributed + under the terms of the FreeType project license, LICENSE.TXT. + By continuing to use, modify, or distribute this file + you indicate that you have read the license + and understand and accept it fully. + - score: '64.06' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 64 + matched_length: 41 + match_coverage: '64.06' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [GNU] [Ghostscript], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [GNU] General Public License. + A copy of this license is supposed to have been given to you + along with [this] [software] + so you can know your rights and responsibilities. + It should be in a file named COPYING. + - score: '64.06' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 64 + matched_length: 41 + match_coverage: '64.06' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [Ghostscript], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [Ghostscript] General Public License. + A copy of this license is supposed to have been given to you + along with [this] [software] + so you can know your rights and responsibilities. + It should be in a file named COPYING. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: agpl-3.0-plus_143.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL Ghostscript + - score: '88.89' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 45 + matched_length: 40 + match_coverage: '88.89' + rule_relevance: 100 + identifier: gpl-3.0-plus_9.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GPL [Ghostscript] is free software; + you can redistribute it and/or modify it + under the terms the GNU [Affero] General Public License + as published by the Free Software Foundation, + either version 3 of the License, or (at your option) any later version. + - score: '64.06' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 64 + matched_length: 41 + match_coverage: '64.06' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [this] [software], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [GNU] General Public License. + A copy of this license is supposed to have been given to you + along with [this] [software] + so you can know your rights and responsibilities. + It should be in a file named COPYING. + - score: '64.06' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 64 + matched_length: 41 + match_coverage: '64.06' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [this] [software], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [GNU] General Public License. + A copy of this license is supposed to have been given to you + along with [this] [software] + so you can know your rights and responsibilities. + It should be in a file named COPYING. + - score: '87.5' + start_line: 3 + end_line: 12 + matcher: 3-seq + rule_length: 64 + matched_length: 56 + match_coverage: '87.5' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [Ghostscript], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [GNU] General Public License. + A copy of this license is supposed to have been given to you + along with [Ghostscript] + so you can know your rights and responsibilities. + It should be in a file named COPYING [or] [COPYLEFT]. + Among other things, + the copyright notice and this notice must be preserved on all copies. + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_292.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This code is subject to the GNU General Public License + - score: '50.0' + start_line: 4 + end_line: 5 + matcher: 3-seq + rule_length: 22 + matched_length: 11 + match_coverage: '50.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_358.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + and distributed [freely] + under the terms of the GNU General Public License + - score: '79.17' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 24 + matched_length: '19' + match_coverage: '79.17' + rule_relevance: 100 + identifier: gpl-2.0_404.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + may be distributed [and]/[or] [modified] + under the terms of the GNU General Public License + as published by the Free Software Foundation ( + - score: '85.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 85 + identifier: gpl-1.0-plus_351.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the "GPL"); + - score: '90.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-1.0-plus_350.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: of the GPL, + - score: '100.0' + start_line: 1 + end_line: 10 + matcher: 1-hash + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_924.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed to the Apache Software Foundation (ASF) + under one or more contributor license agreements. + See the NOTICE file distributed with this work + for additional information regarding copyright ownership. + The ASF licenses this file to You + under the Apache License, Version 2.0 (the "License"); + you may not use this file + except in compliance with the License. + You may obtain a copy of the License + at + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_712.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, + Version 2.0 (the "License"); + you may not use this file + except in compliance with the License. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0_191.RULE + license_expression: agpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: 'License: agpl-' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0-plus_28.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: agpl-3+ + - score: '90.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: afpl-9.0_9.RULE + license_expression: afpl-9.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: AFPL Ghostscript, + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_165.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2, or (at your option) any later version. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later version. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later version. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later version. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later version. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later version. + - score: '64.06' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 64 + matched_length: 41 + match_coverage: '64.06' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [this] [software], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [GNU] General Public License. + A copy of this license is supposed to have been given to you + along with [this] [software] + so you can know your rights and responsibilities. + It should be in a file named COPYING. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_284.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 3, or (at your option) any later version. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/glib2.0/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/glib2.0/stable_copyright-detailed.expected.yml index 1fe9c5f0946..0b7d1324885 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/glib2.0/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/glib2.0/stable_copyright-detailed.expected.yml @@ -1,8 +1,8 @@ -- -- -- lgpl-2.0-plus AND mit AND gpl-2.0-plus AND apache-2.0 AND apache-2.0 AND mit AND mit AND gpl-2.0-plus - AND gpl-3.0-plus -- | +primary_license: +declared_license: +license_expression: lgpl-2.0-plus AND mit AND gpl-2.0-plus AND apache-2.0 AND apache-2.0 AND + mit AND mit AND gpl-2.0-plus AND gpl-3.0-plus +copyright: | Copyright (c) 1995-2018 Red Hat, Inc. Copyright (c) 2008-2010 Novell, Inc. Copyright (c) 2008-2010 Codethink Limited @@ -12,3 +12,203 @@ Copyright 2015 Remko Troncon Copyright 1998-1999 Tom Tromey 2001 Red Hat Software Copyright 2017 Jussi Pakkanen +matches: + - score: '100.0' + start_line: 45 + end_line: 60 + matcher: 2-aho + rule_length: 138 + matched_length: 138 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_18.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This package is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2 of the License, or (at your option)\ + \ any later version.\n \n This package is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details.\n \n You should have received a copy of the GNU Lesser General\ + \ Public\n License along with this package; if not, write to the Free Software\n \ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n \n On\ + \ Debian systems, the complete text of the GNU Lesser General\n Public License can be\ + \ found in `/usr/share/common-licenses/LGPL'." + - score: '100.0' + start_line: 66 + end_line: 66 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 74 + end_line: 74 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPL-2+' + - score: '100.0' + start_line: 80 + end_line: 80 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Apache-2.0' + - score: '90.43' + start_line: 82 + end_line: 96 + matcher: 3-seq + rule_length: 115 + matched_length: 104 + match_coverage: '90.43' + rule_relevance: 100 + identifier: apache-2.0_410.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, a [copy] of the Apache license [is] [available] [in] + . + - score: '100.0' + start_line: 98 + end_line: 98 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 99 + end_line: 115 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 117 + end_line: 117 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPL-2+' + - score: '92.52' + start_line: 117 + end_line: 129 + matcher: 3-seq + rule_length: 107 + matched_length: 99 + match_coverage: '92.52' + rule_relevance: 100 + identifier: gpl-3.0-plus_118.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GPL-[2+] + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [2], or (at your option) + any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, see . diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/glib2.0/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/glib2.0/stable_copyright.expected.yml index 23eeb86a83e..dbb0e5ae8bf 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/glib2.0/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/glib2.0/stable_copyright.expected.yml @@ -1,7 +1,7 @@ -- -- -- lgpl-2.0-plus AND mit AND gpl-2.0-plus AND apache-2.0 AND gpl-3.0-plus -- | +primary_license: +declared_license: +license_expression: lgpl-2.0-plus AND mit AND gpl-2.0-plus AND apache-2.0 AND gpl-3.0-plus +copyright: | Copyright (c) 1995-2018 Red Hat, Inc. Copyright (c) 2008-2010 Novell, Inc. Copyright (c) 2008-2010 Codethink Limited @@ -11,3 +11,203 @@ Copyright 2015 Remko Troncon Copyright 1998-1999 Tom Tromey 2001 Red Hat Software Copyright 2017 Jussi Pakkanen +matches: + - score: '100.0' + start_line: 45 + end_line: 60 + matcher: 2-aho + rule_length: 138 + matched_length: 138 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_18.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This package is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2 of the License, or (at your option)\ + \ any later version.\n \n This package is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details.\n \n You should have received a copy of the GNU Lesser General\ + \ Public\n License along with this package; if not, write to the Free Software\n \ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n \n On\ + \ Debian systems, the complete text of the GNU Lesser General\n Public License can be\ + \ found in `/usr/share/common-licenses/LGPL'." + - score: '100.0' + start_line: 66 + end_line: 66 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 74 + end_line: 74 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPL-2+' + - score: '100.0' + start_line: 80 + end_line: 80 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Apache-2.0' + - score: '90.43' + start_line: 82 + end_line: 96 + matcher: 3-seq + rule_length: 115 + matched_length: 104 + match_coverage: '90.43' + rule_relevance: 100 + identifier: apache-2.0_410.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, a [copy] of the Apache license [is] [available] [in] + . + - score: '100.0' + start_line: 98 + end_line: 98 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 99 + end_line: 115 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 117 + end_line: 117 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPL-2+' + - score: '92.52' + start_line: 117 + end_line: 129 + matcher: 3-seq + rule_length: 107 + matched_length: 99 + match_coverage: '92.52' + rule_relevance: 100 + identifier: gpl-3.0-plus_118.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GPL-[2+] + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [2], or (at your option) + any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, see . diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-bluetooth/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-bluetooth/stable_copyright-detailed.expected.yml index 10aa8f553e1..cabc2bb3d1b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-bluetooth/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-bluetooth/stable_copyright-detailed.expected.yml @@ -1,13 +1,14 @@ -- lgpl-2.1-plus AND lgpl-3.0-plus -- - LGPL-2.1+ +primary_license: lgpl-2.1-plus AND lgpl-3.0-plus +declared_license: + - LGPL-2.1+ - GPL-2+ - GPL-2+ - GPL-2+ - GPL-2+ - LGPL-2.1+ -- (lgpl-2.1-plus AND lgpl-3.0-plus) AND (gpl-2.0-plus AND gpl-3.0-plus) AND (gpl-2.0-plus AND - gpl-3.0-plus) AND (gpl-2.0-plus AND gpl-3.0-plus) -- | +license_expression: (lgpl-2.1-plus AND lgpl-3.0-plus) AND (gpl-2.0-plus AND gpl-3.0-plus) AND + (gpl-2.0-plus AND gpl-3.0-plus) AND (gpl-2.0-plus AND gpl-3.0-plus) +copyright: | 2006-2013 Bastien Nocera 2010 Giovanni Campagna 2005-2008 Marcel Holtmann @@ -17,3 +18,98 @@ 2005-2008 Marcel Holtmann 2009 Bastien Nocera 2009 Bastien Nocera +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '97.62' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 123 + match_coverage: '97.62' + rule_relevance: 100 + identifier: gpl-3.0-plus_321.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [2] of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version [2] can be found in "/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '96.15' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 125 + match_coverage: '96.15' + rule_relevance: 100 + identifier: lgpl-3.0-plus_171.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version [2].[1] of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL- diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-bluetooth/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-bluetooth/stable_copyright.expected.yml index 6bff8f18943..3e19ed07dd9 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-bluetooth/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-bluetooth/stable_copyright.expected.yml @@ -1,10 +1,106 @@ -- lgpl-2.1-plus AND lgpl-3.0-plus -- - LGPL-2.1+ +primary_license: lgpl-2.1-plus AND lgpl-3.0-plus +declared_license: + - LGPL-2.1+ - GPL-2+ -- (lgpl-2.1-plus AND lgpl-3.0-plus) AND (gpl-2.0-plus AND gpl-3.0-plus) -- | +license_expression: (lgpl-2.1-plus AND lgpl-3.0-plus) AND (gpl-2.0-plus AND gpl-3.0-plus) +copyright: | 2006-2013 Bastien Nocera 2010 Giovanni Campagna 2005-2008 Marcel Holtmann 2013 Intel Corporation 2009 Bastien Nocera +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '97.62' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 123 + match_coverage: '97.62' + rule_relevance: 100 + identifier: gpl-3.0-plus_321.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [2] of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version [2] can be found in "/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '96.15' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 125 + match_coverage: '96.15' + rule_relevance: 100 + identifier: lgpl-3.0-plus_171.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version [2].[1] of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL- diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-control-center/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-control-center/stable_copyright-detailed.expected.yml index 527c26bb3cd..f88f7fffec7 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-control-center/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-control-center/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - Expat - LGPL-2+ - LGPL-2.1+ @@ -7,9 +8,9 @@ - Expat - LGPL-2+ - LGPL-2.1+ -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND mit AND (lgpl-2.0-plus AND lgpl-2.1-plus AND - lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND mit AND (lgpl-2.0-plus AND + lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) +copyright: | 1996-2018 Free Software Foundation, Inc. 1999-2015 The Gnome Project 2000-2001 Ximian, Inc. @@ -74,3 +75,214 @@ 2012 Colin Walters 2012 Giovanni Campagna 2017-2018 Red Hat, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_90.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1092.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '98.78' + start_line: 1 + end_line: 9 + matcher: 3-seq + rule_length: 82 + matched_length: 81 + match_coverage: '98.78' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in `/usr/share/common-licenses/LGPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in `/usr/share/common-licenses/LGPL- diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-control-center/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-control-center/stable_copyright.expected.yml index 99b6df3a3bf..dc19bb81d09 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-control-center/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-control-center/stable_copyright.expected.yml @@ -1,11 +1,12 @@ -- gpl-2.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - Expat - LGPL-2+ - LGPL-2.1+ -- (gpl-2.0-plus AND gpl-2.0) AND mit AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND (lgpl-2.1-plus - AND lgpl-2.0-plus) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0) AND mit AND (lgpl-2.0-plus AND lgpl-2.1-plus) + AND (lgpl-2.1-plus AND lgpl-2.0-plus) +copyright: | 1996-2018 Free Software Foundation, Inc. 1999-2015 The Gnome Project 2000-2001 Ximian, Inc. @@ -70,3 +71,214 @@ 2012 Colin Walters 2012 Giovanni Campagna 2017-2018 Red Hat, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_90.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1092.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '98.78' + start_line: 1 + end_line: 9 + matcher: 3-seq + rule_length: 82 + matched_length: 81 + match_coverage: '98.78' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in `/usr/share/common-licenses/LGPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in `/usr/share/common-licenses/LGPL- diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnupg2/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnupg2/stable_copyright-detailed.expected.yml index a1e1a8e417f..f0d1c72cbd7 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnupg2/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnupg2/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0 -- - GPL-3+ +primary_license: gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0 +declared_license: + - GPL-3+ - GPL-3+ - permissive - permissive @@ -22,16 +23,16 @@ - BSD-3-clause - Expat - CC0-1.0 -- (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) - AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) - AND fsf-unlimited-no-warranty AND fsf-unlimited-no-warranty AND (lgpl-2.1-plus AND lgpl-3.0-plus) - AND mit AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 AND - gpl-3.0) AND ((gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 - AND gpl-3.0) OR bsd-new) AND (lgpl-3.0-plus AND lgpl-3.0-plus AND lgpl-3.0 AND lgpl-3.0) AND - (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) - AND ietf AND bsd-new AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus - AND gpl-3.0 AND gpl-3.0) AND (cc0-1.0 AND cc0-1.0) -- | +license_expression: (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 + AND gpl-3.0) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 + AND gpl-3.0) AND fsf-unlimited-no-warranty AND fsf-unlimited-no-warranty AND (lgpl-2.1-plus + AND lgpl-3.0-plus) AND mit AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus + AND gpl-3.0 AND gpl-3.0) AND ((gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus + AND gpl-3.0 AND gpl-3.0) OR bsd-new) AND (lgpl-3.0-plus AND lgpl-3.0-plus AND lgpl-3.0 AND + lgpl-3.0) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 + AND gpl-3.0) AND ietf AND bsd-new AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND + gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) AND (cc0-1.0 AND cc0-1.0) +copyright: | 1992, 1995-2016, Free Software Foundation, Inc 1998-2007, 2009, 2012, Free Software Foundation, Inc 2013, Werner Koch @@ -55,3 +56,448 @@ Daniel Kahn Gillmor NIIBE Yutaka 2017 Daniel Kahn Gillmor +matches: + - score: '99.05' + start_line: 1 + end_line: 26 + matcher: 1-hash + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_594.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + Neither the name of [Dimitrios] [Souflis] nor the names of the + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. + - score: '90.0' + start_line: 6 + end_line: 21 + matcher: 2-aho + rule_length: 149 + matched_length: 149 + match_coverage: '100.0' + rule_relevance: 90 + identifier: ietf_7.RULE + license_expression: ietf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document and translations of it may be copied and furnished to + others, and derivative works that comment on or otherwise explain it + or assist in its implementation may be prepared, copied, published + and distributed, in whole or in part, without restriction of any + kind, provided that the above copyright notice and this paragraph + are included on all such copies and derivative works. However, this + document itself may not be modified in any way, such as by removing + the copyright notice or references to the Internet Society or other + Internet organizations, except as needed for the purpose of + developing Internet standards in which case the procedures for + copyrights defined in the Internet Standards process must be + followed, or as required to translate it into languages other than + English. + + The limited permissions granted above are perpetual and will not be + revoked by the Internet Society or its successors or assigns. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_98.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + - score: '100.0' + start_line: 6 + end_line: 9 + matcher: 2-aho + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_421.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_36.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; if not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 3 + - score: '33.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_162.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 3 of + the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this program; if not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_51.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Lesser General Public + License version 3 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_41.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '88.97' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 136 + matched_length: 121 + match_coverage: '88.97' + rule_relevance: 100 + identifier: lgpl-3.0-plus_96.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version [2].[1] of + the License, or (at your option) any later version. + + This [program] is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this [program]; [if] [not], [see] <[https]://www.gnu.org/licenses/>. + + On Debian systems, the full text of the GNU Lesser General Public + License version [2].[1] can be found in the file + `/usr/share/common-licenses/LGPL- + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 205 + matched_length: 205 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_910.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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, and the entire permission notice in its entirety, + including the disclaimer of warranties. + 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. + 3. The name of the author 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 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 AUTHOR 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. + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to permit + persons to whom the Software is furnished to do so, subject to the + following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN + NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE + USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 1-hash + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_131.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all + copyright and related and neighboring rights to this software to the public + domain worldwide. This software is distributed without any warranty. + + On Debian systems, the complete text of the CC0 license, version 1.0, + can be found in /usr/share/common-licenses/CC0-1.0. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnupg2/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnupg2/stable_copyright.expected.yml index c51ffd5d239..90617b75b98 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnupg2/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnupg2/stable_copyright.expected.yml @@ -1,5 +1,6 @@ -- gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0 -- - GPL-3+ +primary_license: gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0 +declared_license: + - GPL-3+ - permissive - LGPL-2.1+ - Expat @@ -9,10 +10,10 @@ - TinySCHEME - CC0-1.0 - BSD-3-clause -- (gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0) AND fsf-unlimited-no-warranty AND (lgpl-2.1-plus - AND lgpl-3.0-plus) AND mit AND ((gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0) OR bsd-new) AND - (lgpl-3.0-plus AND lgpl-3.0) AND ietf AND bsd-new AND cc0-1.0 -- | +license_expression: (gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0) AND fsf-unlimited-no-warranty + AND (lgpl-2.1-plus AND lgpl-3.0-plus) AND mit AND ((gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0) + OR bsd-new) AND (lgpl-3.0-plus AND lgpl-3.0) AND ietf AND bsd-new AND cc0-1.0 +copyright: | 1992, 1995-2016, Free Software Foundation, Inc 1998-2007, 2009, 2012, Free Software Foundation, Inc 2013, Werner Koch @@ -32,3 +33,448 @@ 2000, Dimitrios Souflis 2016, Justus Winter, Werner Koch 2017 Daniel Kahn Gillmor +matches: + - score: '99.05' + start_line: 1 + end_line: 26 + matcher: 1-hash + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_594.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + Neither the name of [Dimitrios] [Souflis] nor the names of the + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. + - score: '90.0' + start_line: 6 + end_line: 21 + matcher: 2-aho + rule_length: 149 + matched_length: 149 + match_coverage: '100.0' + rule_relevance: 90 + identifier: ietf_7.RULE + license_expression: ietf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document and translations of it may be copied and furnished to + others, and derivative works that comment on or otherwise explain it + or assist in its implementation may be prepared, copied, published + and distributed, in whole or in part, without restriction of any + kind, provided that the above copyright notice and this paragraph + are included on all such copies and derivative works. However, this + document itself may not be modified in any way, such as by removing + the copyright notice or references to the Internet Society or other + Internet organizations, except as needed for the purpose of + developing Internet standards in which case the procedures for + copyrights defined in the Internet Standards process must be + followed, or as required to translate it into languages other than + English. + + The limited permissions granted above are perpetual and will not be + revoked by the Internet Society or its successors or assigns. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_98.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + - score: '100.0' + start_line: 6 + end_line: 9 + matcher: 2-aho + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_421.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_36.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; if not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 3 + - score: '33.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_162.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 3 of + the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this program; if not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_51.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Lesser General Public + License version 3 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_41.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '88.97' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 136 + matched_length: 121 + match_coverage: '88.97' + rule_relevance: 100 + identifier: lgpl-3.0-plus_96.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version [2].[1] of + the License, or (at your option) any later version. + + This [program] is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this [program]; [if] [not], [see] <[https]://www.gnu.org/licenses/>. + + On Debian systems, the full text of the GNU Lesser General Public + License version [2].[1] can be found in the file + `/usr/share/common-licenses/LGPL- + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 205 + matched_length: 205 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_910.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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, and the entire permission notice in its entirety, + including the disclaimer of warranties. + 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. + 3. The name of the author 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 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 AUTHOR 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. + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to permit + persons to whom the Software is furnished to do so, subject to the + following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN + NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE + USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 1-hash + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_131.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all + copyright and related and neighboring rights to this software to the public + domain worldwide. This software is distributed without any warranty. + + On Debian systems, the complete text of the CC0 license, version 1.0, + can be found in /usr/share/common-licenses/CC0-1.0. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/golang-1.11/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/golang-1.11/stable_copyright-detailed.expected.yml index f8d7fa0a147..21df6682807 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/golang-1.11/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/golang-1.11/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- bsd-new AND google-patent-license-golang -- - Go +primary_license: bsd-new AND google-patent-license-golang +declared_license: + - Go - X11 - Go - Go @@ -22,12 +23,12 @@ - MPEG - CC-BY-3.0 - BSD-2-clause-svgpan -- (bsd-new AND google-patent-license-golang) AND mit AND (bsd-new AND google-patent-license-golang) +license_expression: (bsd-new AND google-patent-license-golang) AND mit AND (bsd-new AND google-patent-license-golang) AND (bsd-new AND google-patent-license-golang) AND (bsd-new AND google-patent-license-golang) AND bsd-simplified AND (bsd-new AND google-patent-license-golang) AND (bsd-new AND google-patent-license-golang) AND sunpro AND mpeg-ssg AND multics AND (apache-2.0 AND apache-2.0) AND bsd-2-clause-views AND cc-by-3.0 AND cc-by-3.0 AND bsd-new AND (bsd-new AND google-patent-license-golang) -- | +copyright: | © 2009, 2010, The Go Authors. All rights reserved. © 1994-1999 Lucent Technologies Inc. All rights reserved. Portions © 1997-1999 Vita Nuova Limited @@ -58,3 +59,705 @@ 2012 Michael Stapelberg 2014 Canonical Ltd 2014 Tianon Gravi +matches: + - score: '15.38' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 104 + matched_length: 16 + match_coverage: '15.38' + rule_relevance: 100 + identifier: multics.LICENSE + license_expression: multics + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, and distribute these [images] for any purpose and + without fee is hereby granted. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_166.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + * Neither the name of Google Inc. 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 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 + OWNER 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. + - score: '100.0' + start_line: 3 + end_line: 27 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_166.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + * Neither the name of Google Inc. 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 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 + OWNER 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. + - score: '95.0' + start_line: 29 + end_line: 42 + matcher: 2-aho + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 95 + identifier: google-patent-license-golang_1.RULE + license_expression: google-patent-license-golang + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Subject to the terms and conditions of this License, Google hereby + grants to You a perpetual, worldwide, non-exclusive, no-charge, + royalty-free, irrevocable (except as stated in this section) patent + license to make, have made, use, offer to sell, sell, import, and + otherwise transfer this implementation of Go, where such license + applies only to those patent claims licensable by Google that are + necessarily infringed by use of this implementation of Go. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that this + implementation of Go or a Contribution incorporated within this + implementation of Go constitutes direct or contributory patent + infringement, then any patent licenses granted to You under this + License for this implementation of Go shall terminate as of the date + such litigation is filed. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '95.41' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 109 + matched_length: 104 + match_coverage: '95.41' + rule_relevance: 100 + identifier: apache-2.0_43.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems, the Apache License, Version 2.0 can be found [at] + /usr/share/common-licenses/Apache-2.0. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + - score: '100.0' + start_line: 5 + end_line: 24 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. + - score: '98.06' + start_line: 1 + end_line: '19' + matcher: 3-seq + rule_length: 155 + matched_length: 152 + match_coverage: '98.06' + rule_relevance: 100 + identifier: mpeg-ssg.LICENSE + license_expression: mpeg-ssg + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + These software programs are available to the user without any license fee or + royalty on an "as is" basis. The MPEG Software Simulation Group disclaims + any and all warranties, whether express, implied, or statuary, including any + implied warranties or merchantability or of fitness for a particular + purpose. In no event shall the copyright-holder be liable for any + incidental, punitive, or consequential damages of any kind whatsoever + arising from the use of these programs. + + This disclaimer of warranty extends to the user of these programs and user's + customers, employees, agents, transferees, successors, and assigns. + + The MPEG Software Simulation Group does not represent or warrant that the + programs furnished hereunder are free of infringement of any third-party + patents. + + Commercial implementations of MPEG-1 and MPEG-2 video, including shareware, + are subject to royalty fees to patent holders. Many of these patents are + general enough such that they are unavoidable regardless of implementation + design. + - score: '97.84' + start_line: 1 + end_line: 327 + matcher: 3-seq + rule_length: 2737 + matched_length: 2678 + match_coverage: '97.84' + rule_relevance: 100 + identifier: cc-by-3.0_102.RULE + license_expression: cc-by-3.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 OR COPYRIGHT LAW IS + PROHIBITED. + + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND + AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS + LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU + THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH + TERMS AND CONDITIONS. + + 1. Definitions + + a. "Adaptation" means a work based upon the Work, or upon the Work + and other pre-existing works, such as a translation, adaptation, + derivative work, arrangement of music or other alterations of a + literary or artistic work, or phonogram or performance and + includes cinematographic adaptations or any other form in which + the Work may be recast, transformed, or adapted including in any + form recognizably derived from the original, except that a work + that constitutes a Collection will not be considered an + Adaptation for the purpose of this License. For the avoidance of + doubt, where the Work is a musical work, performance or + phonogram, the synchronization of the Work in timed-relation + with a moving image ("synching") will be considered an + Adaptation for the purpose of this License. + + b. "Collection" means a collection of literary or artistic works, + such as encyclopedias and anthologies, or performances, + phonograms or broadcasts, or other works or subject matter other + than works listed in Section 1(f) below, which, by reason of the + selection and arrangement of their contents, constitute + intellectual creations, in which the Work is included in its + entirety in unmodified form along with one or more other + contributions, each constituting separate and independent works + in themselves, which together are assembled into a collective + whole. A work that constitutes a Collection will not be + considered an Adaptation (as defined above) for the purposes of + this License. + + c. "Distribute" means to make available to the public the original + and copies of the Work or Adaptation, as appropriate, through + sale or other transfer of ownership. + + d. "Licensor" means the individual, individuals, entity or entities + that offer(s) the Work under the terms of this License. + + e. "Original Author" means, in the case of a literary or artistic + work, the individual, individuals, entity or entities who + created the Work or if no individual or entity can be + identified, the publisher; and in addition (i) in the case of a + performance the actors, singers, musicians, dancers, and other + persons who act, sing, deliver, declaim, play in, interpret or + otherwise perform literary or artistic works or expressions of + folklore; (ii) in the case of a phonogram the producer being the + person or legal entity who first fixes the sounds of a + performance or other sounds; and, (iii) in the case of + broadcasts, the organization that transmits the broadcast. + + f. "Work" means the literary and/or artistic work offered under the + terms of this License including without limitation any + production in the literary, scientific and artistic domain, + whatever may be the mode or form of its expression including + digital form, such as a book, pamphlet and other writing; a + lecture, address, sermon or other work of the same nature; a + dramatic or dramatico-musical work; a choreographic work or + entertainment in dumb show; a musical composition with or + without words; a cinematographic work to which are assimilated + works expressed by a process analogous to cinematography; a work + of drawing, painting, architecture, sculpture, engraving or + lithography; a photographic work to which are assimilated works + expressed by a process analogous to photography; a work of + applied art; an illustration, map, plan, sketch or + three-dimensional work relative to geography, topography, + architecture or science; a performance; a broadcast; a + phonogram; a compilation of data to the extent it is protected + as a copyrightable work; or a work performed by a variety or + circus performer to the extent it is not otherwise considered a + literary or artistic work. + + g. "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. + + h. "Publicly Perform" means to perform public recitations of the + Work and to communicate to the public those public recitations, + by any means or process, including by wire or wireless means or + public digital performances; to make available to the public + Works in such a way that members of the public may access these + Works from a place and at a place individually chosen by them; + to perform the Work to the public by any means or process and + the communication to the public of the performances of the Work, + including by public digital performance; to broadcast and + rebroadcast the Work by any means including signs, sounds or + images. + + i. "Reproduce" means to make copies of the Work by any means + including without limitation by sound or visual recordings and + the right of fixation and reproducing fixations of the Work, + including storage of a protected performance or phonogram in + digital form or other electronic medium. + + 2. Fair Dealing Rights. Nothing in this License is intended to + reduce, limit, or restrict any uses free from copyright or rights + arising from limitations or exceptions that are provided for in + connection with the copyright protection 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: + + a. to Reproduce the Work, to incorporate the Work into one or more + Collections, and to Reproduce the Work as incorporated in the + Collections; + + b. to create and Reproduce Adaptations provided that any such + Adaptation, including any translation in any medium, takes + reasonable steps to clearly label, demarcate or otherwise + identify that changes were made to the original Work. For + example, a translation could be marked "The original work was + translated from English to Spanish," or a modification could + indicate "The original work has been modified."; + + c. to Distribute and Publicly Perform the Work including as + incorporated in Collections; and, + + d. to Distribute and Publicly Perform Adaptations. + + e. For the avoidance of doubt: + + i. Non-waivable Compulsory License Schemes. In those + jurisdictions in which the right to collect royalties + through any statutory or compulsory licensing scheme cannot + be waived, the Licensor reserves the exclusive right to + collect such royalties for any exercise by You of the + rights granted under this License; + + ii. Waivable Compulsory License Schemes. In those jurisdictions + in which the right to collect royalties through any + statutory or compulsory licensing scheme can be waived, the + Licensor waives the exclusive right to collect such + royalties for any exercise by You of the rights granted + under this License; and, + + iii. Voluntary License Schemes. The Licensor waives the right to + collect royalties, whether individually or, in the event + that the Licensor is a member of a collecting society that + administers voluntary licensing schemes, via that society, + from any exercise by You of the rights granted under this + License. + + 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. Subject to Section 8(f), 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: + + a. You may Distribute or Publicly Perform the Work only under the + terms of this License. You must include a copy of, or the + Uniform Resource Identifier (URI) for, this License with every + copy of the Work You Distribute or Publicly Perform. You may not + offer or impose any terms on the Work that restrict the terms of + this License or the ability of the recipient of the Work to + exercise the rights granted to that recipient under the terms of + the License. You may not sublicense the Work. You must keep + intact all notices that refer to this License and to the + disclaimer of warranties with every copy of the Work You + Distribute or Publicly Perform. When You Distribute or Publicly + Perform the Work, You may not impose any effective technological + measures on the Work that restrict the ability of a recipient of + the Work from You to exercise the rights granted to that + recipient under the terms of the License. This Section 4(a) + applies to the Work as incorporated in a Collection, but this + does not require the Collection apart from the Work itself to be + made subject to the terms of this License. If You create a + Collection, upon notice from any Licensor You must, to the + extent practicable, remove from the Collection any credit as + required by Section 4(b), as requested. If You create an + Adaptation, upon notice from any Licensor You must, to the + extent practicable, remove from the Adaptation any credit as + required by Section 4(b), as requested. + + b. If You Distribute, or Publicly Perform the Work or any + Adaptations or Collections, You must, unless a request has been + made pursuant to Section 4(a), keep intact all copyright notices + for the Work and provide, reasonable to the medium or means You + are utilizing: (i) the name of the Original Author (or + pseudonym, if applicable) if supplied, and/or if the Original + Author and/or Licensor designate another party or parties (e.g., + a sponsor institute, publishing entity, journal) for attribution + ("Attribution Parties") in Licensor's copyright notice, terms of + service or by other reasonable means, the name of such party or + parties; (ii) the title of the Work if supplied; (iii) to the + extent reasonably practicable, the URI, if any, that Licensor + specifies to be associated with the Work, unless such URI does + not refer to the copyright notice or licensing information for + the Work; and (iv) , consistent with Section 3(b), in the case + of an Adaptation, a credit identifying the use of the Work in + the Adaptation (e.g., "French translation of the Work by + Original Author," or "Screenplay based on original Work by + Original Author"). The credit required by this Section 4 (b) may + be implemented in any reasonable manner; provided, however, that + in the case of a Adaptation or Collection, at a minimum such + credit will appear, if a credit for all contributing authors of + the Adaptation or Collection appears, then as part of these + credits and in a manner at least as prominent as the credits for + the other contributing authors. For the avoidance of doubt, You + may only use the credit required by this Section for the purpose + of attribution in the manner set out above and, by exercising + Your rights under this License, You may not implicitly or + explicitly assert or imply any connection with, sponsorship or + endorsement by the Original Author, Licensor and/or Attribution + Parties, as appropriate, of You or Your use of the Work, without + the separate, express prior written permission of the Original + Author, Licensor and/or Attribution Parties. + + c. Except as otherwise agreed in writing by the Licensor or as may + be otherwise permitted by applicable law, if You Reproduce, + Distribute or Publicly Perform the Work either by itself or as + part of any Adaptations or Collections, You must not distort, + mutilate, modify or take other derogatory action in relation to + the Work which would be prejudicial to the Original Author's + honor or reputation. Licensor agrees that in those jurisdictions + (e.g. Japan), in which any exercise of the right granted in + Section 3(b) of this License (the right to make Adaptations) + would be deemed to be a distortion, mutilation, modification or + other derogatory action prejudicial to the Original Author's + honor and reputation, the Licensor will waive or not assert, as + appropriate, this Section, to the fullest extent permitted by + the applicable national law, to enable You to reasonably + exercise Your right under Section 3(b) of this License (right to + make Adaptations) but not otherwise. + + 5. Representations, Warranties and Disclaimer + + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, + LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR + WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, + STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF + TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, + NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, + OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. + SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, + SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY + APPLICABLE LAW, 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 + + a. 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 Adaptations + or Collections 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. + + b. 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 + + a. Each time You Distribute or Publicly Perform the Work or a + Collection, 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. + + b. Each time You Distribute or Publicly Perform an Adaptation, + 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. + + c. 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. + + d. 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. + + e. 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. + + f. The rights granted under, and the subject matter referenced, in + this License were drafted utilizing the terminology of the Berne + Convention for the Protection of Literary and Artistic Works (as + amended on September 28, 1979), the Rome Convention of 1961, the + WIPO Copyright Treaty of 1996, the WIPO Performances and + Phonograms Treaty of 1996 and the Universal Copyright Convention + (as revised on July 24, 1971). These rights and subject matter + take effect in the relevant jurisdiction in which the License + terms are sought to be enforced according to the corresponding + provisions of the implementation of those treaty provisions in + the applicable national law. If the standard suite of rights + granted under applicable copyright law includes additional + rights not granted under this License, such additional rights + are deemed to be included in the License; this License is not + intended to restrict the license of any rights under applicable law. + - score: '98.1' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 206 + matched_length: 206 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-2-clause-views_11.RULE + license_expression: bsd-2-clause-views + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 [Andrea] [Leofreddi] ``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 [Andrea] [Leofreddi] 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. + + The views and conclusions contained in the software and documentation are those + of the authors and should not be interpreted as representing official policies, + either expressed or implied, of + - score: '100.0' + start_line: 3 + end_line: 6 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + Permission to use, copy, modify, and distribute this + software is freely granted, provided that this notice + is preserved. + - score: '65.0' + start_line: 7 + end_line: 8 + matcher: 3-seq + rule_length: 20 + matched_length: 13 + match_coverage: '65.0' + rule_relevance: 100 + identifier: cc-by-3.0_19.RULE + license_expression: cc-by-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the + Creative Commons Attribution 3.0 diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/golang-1.11/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/golang-1.11/stable_copyright.expected.yml index 8f14e45ad0d..f2910cec0be 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/golang-1.11/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/golang-1.11/stable_copyright.expected.yml @@ -1,5 +1,6 @@ -- bsd-new AND google-patent-license-golang -- - Go +primary_license: bsd-new AND google-patent-license-golang +declared_license: + - Go - X11 - FreeBSD - MPEG @@ -8,9 +9,9 @@ - BSD-2-clause-svgpan - CC-BY-3.0 - BSD-3-clause -- (bsd-new AND google-patent-license-golang) AND mit AND bsd-simplified AND sunpro AND mpeg-ssg - AND multics AND apache-2.0 AND bsd-2-clause-views AND cc-by-3.0 AND bsd-new -- | +license_expression: (bsd-new AND google-patent-license-golang) AND mit AND bsd-simplified AND + sunpro AND mpeg-ssg AND multics AND apache-2.0 AND bsd-2-clause-views AND cc-by-3.0 AND bsd-new +copyright: | © 2009, 2010, The Go Authors. All rights reserved. © 1994-1999 Lucent Technologies Inc. All rights reserved. Portions © 1997-1999 Vita Nuova Limited @@ -33,3 +34,705 @@ 2009-2017 Andrea Leofreddi Renée French 2012 The Chromium Authors +matches: + - score: '15.38' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 104 + matched_length: 16 + match_coverage: '15.38' + rule_relevance: 100 + identifier: multics.LICENSE + license_expression: multics + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, and distribute these [images] for any purpose and + without fee is hereby granted. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_166.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + * Neither the name of Google Inc. 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 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 + OWNER 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. + - score: '100.0' + start_line: 3 + end_line: 27 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_166.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + * Neither the name of Google Inc. 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 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 + OWNER 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. + - score: '95.0' + start_line: 29 + end_line: 42 + matcher: 2-aho + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 95 + identifier: google-patent-license-golang_1.RULE + license_expression: google-patent-license-golang + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Subject to the terms and conditions of this License, Google hereby + grants to You a perpetual, worldwide, non-exclusive, no-charge, + royalty-free, irrevocable (except as stated in this section) patent + license to make, have made, use, offer to sell, sell, import, and + otherwise transfer this implementation of Go, where such license + applies only to those patent claims licensable by Google that are + necessarily infringed by use of this implementation of Go. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that this + implementation of Go or a Contribution incorporated within this + implementation of Go constitutes direct or contributory patent + infringement, then any patent licenses granted to You under this + License for this implementation of Go shall terminate as of the date + such litigation is filed. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '95.41' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 109 + matched_length: 104 + match_coverage: '95.41' + rule_relevance: 100 + identifier: apache-2.0_43.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems, the Apache License, Version 2.0 can be found [at] + /usr/share/common-licenses/Apache-2.0. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + - score: '100.0' + start_line: 5 + end_line: 24 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. + - score: '98.06' + start_line: 1 + end_line: '19' + matcher: 3-seq + rule_length: 155 + matched_length: 152 + match_coverage: '98.06' + rule_relevance: 100 + identifier: mpeg-ssg.LICENSE + license_expression: mpeg-ssg + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + These software programs are available to the user without any license fee or + royalty on an "as is" basis. The MPEG Software Simulation Group disclaims + any and all warranties, whether express, implied, or statuary, including any + implied warranties or merchantability or of fitness for a particular + purpose. In no event shall the copyright-holder be liable for any + incidental, punitive, or consequential damages of any kind whatsoever + arising from the use of these programs. + + This disclaimer of warranty extends to the user of these programs and user's + customers, employees, agents, transferees, successors, and assigns. + + The MPEG Software Simulation Group does not represent or warrant that the + programs furnished hereunder are free of infringement of any third-party + patents. + + Commercial implementations of MPEG-1 and MPEG-2 video, including shareware, + are subject to royalty fees to patent holders. Many of these patents are + general enough such that they are unavoidable regardless of implementation + design. + - score: '97.84' + start_line: 1 + end_line: 327 + matcher: 3-seq + rule_length: 2737 + matched_length: 2678 + match_coverage: '97.84' + rule_relevance: 100 + identifier: cc-by-3.0_102.RULE + license_expression: cc-by-3.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 OR COPYRIGHT LAW IS + PROHIBITED. + + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND + AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS + LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU + THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH + TERMS AND CONDITIONS. + + 1. Definitions + + a. "Adaptation" means a work based upon the Work, or upon the Work + and other pre-existing works, such as a translation, adaptation, + derivative work, arrangement of music or other alterations of a + literary or artistic work, or phonogram or performance and + includes cinematographic adaptations or any other form in which + the Work may be recast, transformed, or adapted including in any + form recognizably derived from the original, except that a work + that constitutes a Collection will not be considered an + Adaptation for the purpose of this License. For the avoidance of + doubt, where the Work is a musical work, performance or + phonogram, the synchronization of the Work in timed-relation + with a moving image ("synching") will be considered an + Adaptation for the purpose of this License. + + b. "Collection" means a collection of literary or artistic works, + such as encyclopedias and anthologies, or performances, + phonograms or broadcasts, or other works or subject matter other + than works listed in Section 1(f) below, which, by reason of the + selection and arrangement of their contents, constitute + intellectual creations, in which the Work is included in its + entirety in unmodified form along with one or more other + contributions, each constituting separate and independent works + in themselves, which together are assembled into a collective + whole. A work that constitutes a Collection will not be + considered an Adaptation (as defined above) for the purposes of + this License. + + c. "Distribute" means to make available to the public the original + and copies of the Work or Adaptation, as appropriate, through + sale or other transfer of ownership. + + d. "Licensor" means the individual, individuals, entity or entities + that offer(s) the Work under the terms of this License. + + e. "Original Author" means, in the case of a literary or artistic + work, the individual, individuals, entity or entities who + created the Work or if no individual or entity can be + identified, the publisher; and in addition (i) in the case of a + performance the actors, singers, musicians, dancers, and other + persons who act, sing, deliver, declaim, play in, interpret or + otherwise perform literary or artistic works or expressions of + folklore; (ii) in the case of a phonogram the producer being the + person or legal entity who first fixes the sounds of a + performance or other sounds; and, (iii) in the case of + broadcasts, the organization that transmits the broadcast. + + f. "Work" means the literary and/or artistic work offered under the + terms of this License including without limitation any + production in the literary, scientific and artistic domain, + whatever may be the mode or form of its expression including + digital form, such as a book, pamphlet and other writing; a + lecture, address, sermon or other work of the same nature; a + dramatic or dramatico-musical work; a choreographic work or + entertainment in dumb show; a musical composition with or + without words; a cinematographic work to which are assimilated + works expressed by a process analogous to cinematography; a work + of drawing, painting, architecture, sculpture, engraving or + lithography; a photographic work to which are assimilated works + expressed by a process analogous to photography; a work of + applied art; an illustration, map, plan, sketch or + three-dimensional work relative to geography, topography, + architecture or science; a performance; a broadcast; a + phonogram; a compilation of data to the extent it is protected + as a copyrightable work; or a work performed by a variety or + circus performer to the extent it is not otherwise considered a + literary or artistic work. + + g. "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. + + h. "Publicly Perform" means to perform public recitations of the + Work and to communicate to the public those public recitations, + by any means or process, including by wire or wireless means or + public digital performances; to make available to the public + Works in such a way that members of the public may access these + Works from a place and at a place individually chosen by them; + to perform the Work to the public by any means or process and + the communication to the public of the performances of the Work, + including by public digital performance; to broadcast and + rebroadcast the Work by any means including signs, sounds or + images. + + i. "Reproduce" means to make copies of the Work by any means + including without limitation by sound or visual recordings and + the right of fixation and reproducing fixations of the Work, + including storage of a protected performance or phonogram in + digital form or other electronic medium. + + 2. Fair Dealing Rights. Nothing in this License is intended to + reduce, limit, or restrict any uses free from copyright or rights + arising from limitations or exceptions that are provided for in + connection with the copyright protection 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: + + a. to Reproduce the Work, to incorporate the Work into one or more + Collections, and to Reproduce the Work as incorporated in the + Collections; + + b. to create and Reproduce Adaptations provided that any such + Adaptation, including any translation in any medium, takes + reasonable steps to clearly label, demarcate or otherwise + identify that changes were made to the original Work. For + example, a translation could be marked "The original work was + translated from English to Spanish," or a modification could + indicate "The original work has been modified."; + + c. to Distribute and Publicly Perform the Work including as + incorporated in Collections; and, + + d. to Distribute and Publicly Perform Adaptations. + + e. For the avoidance of doubt: + + i. Non-waivable Compulsory License Schemes. In those + jurisdictions in which the right to collect royalties + through any statutory or compulsory licensing scheme cannot + be waived, the Licensor reserves the exclusive right to + collect such royalties for any exercise by You of the + rights granted under this License; + + ii. Waivable Compulsory License Schemes. In those jurisdictions + in which the right to collect royalties through any + statutory or compulsory licensing scheme can be waived, the + Licensor waives the exclusive right to collect such + royalties for any exercise by You of the rights granted + under this License; and, + + iii. Voluntary License Schemes. The Licensor waives the right to + collect royalties, whether individually or, in the event + that the Licensor is a member of a collecting society that + administers voluntary licensing schemes, via that society, + from any exercise by You of the rights granted under this + License. + + 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. Subject to Section 8(f), 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: + + a. You may Distribute or Publicly Perform the Work only under the + terms of this License. You must include a copy of, or the + Uniform Resource Identifier (URI) for, this License with every + copy of the Work You Distribute or Publicly Perform. You may not + offer or impose any terms on the Work that restrict the terms of + this License or the ability of the recipient of the Work to + exercise the rights granted to that recipient under the terms of + the License. You may not sublicense the Work. You must keep + intact all notices that refer to this License and to the + disclaimer of warranties with every copy of the Work You + Distribute or Publicly Perform. When You Distribute or Publicly + Perform the Work, You may not impose any effective technological + measures on the Work that restrict the ability of a recipient of + the Work from You to exercise the rights granted to that + recipient under the terms of the License. This Section 4(a) + applies to the Work as incorporated in a Collection, but this + does not require the Collection apart from the Work itself to be + made subject to the terms of this License. If You create a + Collection, upon notice from any Licensor You must, to the + extent practicable, remove from the Collection any credit as + required by Section 4(b), as requested. If You create an + Adaptation, upon notice from any Licensor You must, to the + extent practicable, remove from the Adaptation any credit as + required by Section 4(b), as requested. + + b. If You Distribute, or Publicly Perform the Work or any + Adaptations or Collections, You must, unless a request has been + made pursuant to Section 4(a), keep intact all copyright notices + for the Work and provide, reasonable to the medium or means You + are utilizing: (i) the name of the Original Author (or + pseudonym, if applicable) if supplied, and/or if the Original + Author and/or Licensor designate another party or parties (e.g., + a sponsor institute, publishing entity, journal) for attribution + ("Attribution Parties") in Licensor's copyright notice, terms of + service or by other reasonable means, the name of such party or + parties; (ii) the title of the Work if supplied; (iii) to the + extent reasonably practicable, the URI, if any, that Licensor + specifies to be associated with the Work, unless such URI does + not refer to the copyright notice or licensing information for + the Work; and (iv) , consistent with Section 3(b), in the case + of an Adaptation, a credit identifying the use of the Work in + the Adaptation (e.g., "French translation of the Work by + Original Author," or "Screenplay based on original Work by + Original Author"). The credit required by this Section 4 (b) may + be implemented in any reasonable manner; provided, however, that + in the case of a Adaptation or Collection, at a minimum such + credit will appear, if a credit for all contributing authors of + the Adaptation or Collection appears, then as part of these + credits and in a manner at least as prominent as the credits for + the other contributing authors. For the avoidance of doubt, You + may only use the credit required by this Section for the purpose + of attribution in the manner set out above and, by exercising + Your rights under this License, You may not implicitly or + explicitly assert or imply any connection with, sponsorship or + endorsement by the Original Author, Licensor and/or Attribution + Parties, as appropriate, of You or Your use of the Work, without + the separate, express prior written permission of the Original + Author, Licensor and/or Attribution Parties. + + c. Except as otherwise agreed in writing by the Licensor or as may + be otherwise permitted by applicable law, if You Reproduce, + Distribute or Publicly Perform the Work either by itself or as + part of any Adaptations or Collections, You must not distort, + mutilate, modify or take other derogatory action in relation to + the Work which would be prejudicial to the Original Author's + honor or reputation. Licensor agrees that in those jurisdictions + (e.g. Japan), in which any exercise of the right granted in + Section 3(b) of this License (the right to make Adaptations) + would be deemed to be a distortion, mutilation, modification or + other derogatory action prejudicial to the Original Author's + honor and reputation, the Licensor will waive or not assert, as + appropriate, this Section, to the fullest extent permitted by + the applicable national law, to enable You to reasonably + exercise Your right under Section 3(b) of this License (right to + make Adaptations) but not otherwise. + + 5. Representations, Warranties and Disclaimer + + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, + LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR + WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, + STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF + TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, + NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, + OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. + SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, + SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY + APPLICABLE LAW, 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 + + a. 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 Adaptations + or Collections 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. + + b. 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 + + a. Each time You Distribute or Publicly Perform the Work or a + Collection, 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. + + b. Each time You Distribute or Publicly Perform an Adaptation, + 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. + + c. 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. + + d. 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. + + e. 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. + + f. The rights granted under, and the subject matter referenced, in + this License were drafted utilizing the terminology of the Berne + Convention for the Protection of Literary and Artistic Works (as + amended on September 28, 1979), the Rome Convention of 1961, the + WIPO Copyright Treaty of 1996, the WIPO Performances and + Phonograms Treaty of 1996 and the Universal Copyright Convention + (as revised on July 24, 1971). These rights and subject matter + take effect in the relevant jurisdiction in which the License + terms are sought to be enforced according to the corresponding + provisions of the implementation of those treaty provisions in + the applicable national law. If the standard suite of rights + granted under applicable copyright law includes additional + rights not granted under this License, such additional rights + are deemed to be included in the License; this License is not + intended to restrict the license of any rights under applicable law. + - score: '98.1' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 206 + matched_length: 206 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-2-clause-views_11.RULE + license_expression: bsd-2-clause-views + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 [Andrea] [Leofreddi] ``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 [Andrea] [Leofreddi] 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. + + The views and conclusions contained in the software and documentation are those + of the authors and should not be interpreted as representing official policies, + either expressed or implied, of + - score: '100.0' + start_line: 3 + end_line: 6 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + Permission to use, copy, modify, and distribute this + software is freely granted, provided that this notice + is preserved. + - score: '65.0' + start_line: 7 + end_line: 8 + matcher: 3-seq + rule_length: 20 + matched_length: 13 + match_coverage: '65.0' + rule_relevance: 100 + identifier: cc-by-3.0_19.RULE + license_expression: cc-by-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the + Creative Commons Attribution 3.0 diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/lacme/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/lacme/stable_copyright-detailed.expected.yml index d46f15651f4..16b024167e3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/lacme/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/lacme/stable_copyright-detailed.expected.yml @@ -1,5 +1,46 @@ -- gpl-3.0-plus AND lgpl-2.0-plus -- - GPL-3+ +primary_license: gpl-3.0-plus AND lgpl-2.0-plus +declared_license: - GPL-3+ -- gpl-3.0-plus AND lgpl-2.0-plus -- © 2015-2017 Guilhem Moulin + - GPL-3+ +license_expression: gpl-3.0-plus AND lgpl-2.0-plus +copyright: © 2015-2017 Guilhem Moulin +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '82.09' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 67 + matched_length: 55 + match_coverage: '82.09' + rule_relevance: 100 + identifier: lgpl-2.0-plus_16.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version [3] of the License, or (at your + option) any later version. + + On Debian systems, the complete text of the GNU General Public License + [version] [3] [can] [be] [found] [in] [file] "/usr/share/common-licenses/ diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/lacme/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/lacme/stable_copyright.expected.yml index 3d9438516ea..c41939bb90d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/lacme/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/lacme/stable_copyright.expected.yml @@ -1,4 +1,45 @@ -- gpl-3.0-plus AND lgpl-2.0-plus -- - GPL-3+ -- gpl-3.0-plus AND lgpl-2.0-plus -- © 2015-2017 Guilhem Moulin +primary_license: gpl-3.0-plus AND lgpl-2.0-plus +declared_license: + - GPL-3+ +license_expression: gpl-3.0-plus AND lgpl-2.0-plus +copyright: © 2015-2017 Guilhem Moulin +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '82.09' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 67 + matched_length: 55 + match_coverage: '82.09' + rule_relevance: 100 + identifier: lgpl-2.0-plus_16.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version [3] of the License, or (at your + option) any later version. + + On Debian systems, the complete text of the GNU General Public License + [version] [3] [can] [be] [found] [in] [file] "/usr/share/common-licenses/ diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-amd64/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-amd64/stable_copyright-detailed.expected.yml index 9097094924d..0c322f909ee 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-amd64/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-amd64/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0 -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - GPL-2 - LGPL-2.1 - GPL-2+ or X11 @@ -10,10 +11,10 @@ - GPL-2 - LGPL-2.1 - GPL-2+ or X11 -- (gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1) - AND (gpl-2.0-plus OR mit) AND (bsd-new OR gpl-1.0-plus) AND unicode AND mit AND (lgpl-2.1 - AND lgpl-2.1-plus AND lgpl-2.1) -- | +license_expression: (gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-2.0-plus OR mit) AND (bsd-new OR gpl-1.0-plus) AND unicode AND mit + AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1) +copyright: | 1991-2012 Linus Torvalds and many others 1996-2006 Manoj Srivastava 2005-2012 Debian kernel team @@ -34,3 +35,293 @@ 2010 Ryan Wilson 2014-2015 Red Hat, Inc. 2015 Intel Corporation +matches: + - score: '99.6' + start_line: 3 + end_line: 33 + matcher: 3-seq + rule_length: 250 + matched_length: 250 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 must retain copyright notices, 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. + * Neither the name of the [CRYPTOGAMS] nor the names of its copyright + holder and contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + ALTERNATIVELY, provided that this notice is retained in full, this + product may be distributed under the terms of the GNU General Public + License (GPL), in which case the provisions of the GPL apply INSTEAD + OF those given above. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER 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 + OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 31 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Unicode data files and any associated documentation (the "Data + Files") or Unicode software and any associated documentation (the + "Software") to deal in the Data Files or Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, and/or sell copies of the Data Files or Software, and + to permit persons to whom the Data Files or Software are furnished to do + so, provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, (b) both the + above copyright notice(s) and this permission notice appear in associated + documentation, and (c) there is clear notice in each modified Data File or + in the Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 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 DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written + authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '98.4' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1032.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public License [version] + [2] can be found in `/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_62.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program; If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 282 + matched_length: 282 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_or_mit2.RULE + license_expression: gpl-2.0-plus OR mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is dual-licensed: you can use it either under the terms + of the GPL or the X11 license, at your option. Note that this dual + licensing only applies to this file, and not this project as a + whole. + + a) This file is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Or, alternatively, + + b) Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-amd64/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-amd64/stable_copyright.expected.yml index 805d4992961..7cd9f5fad8e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-amd64/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-amd64/stable_copyright.expected.yml @@ -1,13 +1,14 @@ -- gpl-2.0 -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - LGPL-2.1 - GPL-2+ or X11 - CRYPTOGAMS - Unicode-data - Xen-interface -- gpl-2.0 AND (lgpl-2.1 AND lgpl-2.1-plus) AND (gpl-2.0-plus OR mit) AND (bsd-new OR gpl-1.0-plus) - AND unicode AND mit -- | +license_expression: gpl-2.0 AND (lgpl-2.1 AND lgpl-2.1-plus) AND (gpl-2.0-plus OR mit) AND (bsd-new + OR gpl-1.0-plus) AND unicode AND mit +copyright: | 1991-2012 Linus Torvalds and many others 2011 Lennart Poettering 2012-2018 Linus Torvalds and many others @@ -26,3 +27,293 @@ 2010 Ryan Wilson 2014-2015 Red Hat, Inc. 2015 Intel Corporation +matches: + - score: '99.6' + start_line: 3 + end_line: 33 + matcher: 3-seq + rule_length: 250 + matched_length: 250 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 must retain copyright notices, 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. + * Neither the name of the [CRYPTOGAMS] nor the names of its copyright + holder and contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + ALTERNATIVELY, provided that this notice is retained in full, this + product may be distributed under the terms of the GNU General Public + License (GPL), in which case the provisions of the GPL apply INSTEAD + OF those given above. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER 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 + OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 31 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Unicode data files and any associated documentation (the "Data + Files") or Unicode software and any associated documentation (the + "Software") to deal in the Data Files or Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, and/or sell copies of the Data Files or Software, and + to permit persons to whom the Data Files or Software are furnished to do + so, provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, (b) both the + above copyright notice(s) and this permission notice appear in associated + documentation, and (c) there is clear notice in each modified Data File or + in the Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 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 DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written + authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '98.4' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1032.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public License [version] + [2] can be found in `/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_62.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program; If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 282 + matched_length: 282 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_or_mit2.RULE + license_expression: gpl-2.0-plus OR mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is dual-licensed: you can use it either under the terms + of the GPL or the X11 license, at your option. Note that this dual + licensing only applies to this file, and not this project as a + whole. + + a) This file is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Or, alternatively, + + b) Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-arm64/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-arm64/stable_copyright-detailed.expected.yml index 9097094924d..0c322f909ee 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-arm64/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-arm64/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0 -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - GPL-2 - LGPL-2.1 - GPL-2+ or X11 @@ -10,10 +11,10 @@ - GPL-2 - LGPL-2.1 - GPL-2+ or X11 -- (gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1) - AND (gpl-2.0-plus OR mit) AND (bsd-new OR gpl-1.0-plus) AND unicode AND mit AND (lgpl-2.1 - AND lgpl-2.1-plus AND lgpl-2.1) -- | +license_expression: (gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-2.0-plus OR mit) AND (bsd-new OR gpl-1.0-plus) AND unicode AND mit + AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1) +copyright: | 1991-2012 Linus Torvalds and many others 1996-2006 Manoj Srivastava 2005-2012 Debian kernel team @@ -34,3 +35,293 @@ 2010 Ryan Wilson 2014-2015 Red Hat, Inc. 2015 Intel Corporation +matches: + - score: '99.6' + start_line: 3 + end_line: 33 + matcher: 3-seq + rule_length: 250 + matched_length: 250 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 must retain copyright notices, 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. + * Neither the name of the [CRYPTOGAMS] nor the names of its copyright + holder and contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + ALTERNATIVELY, provided that this notice is retained in full, this + product may be distributed under the terms of the GNU General Public + License (GPL), in which case the provisions of the GPL apply INSTEAD + OF those given above. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER 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 + OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 31 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Unicode data files and any associated documentation (the "Data + Files") or Unicode software and any associated documentation (the + "Software") to deal in the Data Files or Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, and/or sell copies of the Data Files or Software, and + to permit persons to whom the Data Files or Software are furnished to do + so, provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, (b) both the + above copyright notice(s) and this permission notice appear in associated + documentation, and (c) there is clear notice in each modified Data File or + in the Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 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 DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written + authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '98.4' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1032.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public License [version] + [2] can be found in `/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_62.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program; If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 282 + matched_length: 282 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_or_mit2.RULE + license_expression: gpl-2.0-plus OR mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is dual-licensed: you can use it either under the terms + of the GPL or the X11 license, at your option. Note that this dual + licensing only applies to this file, and not this project as a + whole. + + a) This file is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Or, alternatively, + + b) Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-arm64/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-arm64/stable_copyright.expected.yml index 805d4992961..7cd9f5fad8e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-arm64/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-arm64/stable_copyright.expected.yml @@ -1,13 +1,14 @@ -- gpl-2.0 -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - LGPL-2.1 - GPL-2+ or X11 - CRYPTOGAMS - Unicode-data - Xen-interface -- gpl-2.0 AND (lgpl-2.1 AND lgpl-2.1-plus) AND (gpl-2.0-plus OR mit) AND (bsd-new OR gpl-1.0-plus) - AND unicode AND mit -- | +license_expression: gpl-2.0 AND (lgpl-2.1 AND lgpl-2.1-plus) AND (gpl-2.0-plus OR mit) AND (bsd-new + OR gpl-1.0-plus) AND unicode AND mit +copyright: | 1991-2012 Linus Torvalds and many others 2011 Lennart Poettering 2012-2018 Linus Torvalds and many others @@ -26,3 +27,293 @@ 2010 Ryan Wilson 2014-2015 Red Hat, Inc. 2015 Intel Corporation +matches: + - score: '99.6' + start_line: 3 + end_line: 33 + matcher: 3-seq + rule_length: 250 + matched_length: 250 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 must retain copyright notices, 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. + * Neither the name of the [CRYPTOGAMS] nor the names of its copyright + holder and contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + ALTERNATIVELY, provided that this notice is retained in full, this + product may be distributed under the terms of the GNU General Public + License (GPL), in which case the provisions of the GPL apply INSTEAD + OF those given above. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER 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 + OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 31 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Unicode data files and any associated documentation (the "Data + Files") or Unicode software and any associated documentation (the + "Software") to deal in the Data Files or Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, and/or sell copies of the Data Files or Software, and + to permit persons to whom the Data Files or Software are furnished to do + so, provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, (b) both the + above copyright notice(s) and this permission notice appear in associated + documentation, and (c) there is clear notice in each modified Data File or + in the Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 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 DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written + authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '98.4' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1032.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public License [version] + [2] can be found in `/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_62.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program; If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 282 + matched_length: 282 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_or_mit2.RULE + license_expression: gpl-2.0-plus OR mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is dual-licensed: you can use it either under the terms + of the GPL or the X11 license, at your option. Note that this dual + licensing only applies to this file, and not this project as a + whole. + + a) This file is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Or, alternatively, + + b) Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-i386/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-i386/stable_copyright-detailed.expected.yml index 9097094924d..0c322f909ee 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-i386/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-i386/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0 -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - GPL-2 - LGPL-2.1 - GPL-2+ or X11 @@ -10,10 +11,10 @@ - GPL-2 - LGPL-2.1 - GPL-2+ or X11 -- (gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1) - AND (gpl-2.0-plus OR mit) AND (bsd-new OR gpl-1.0-plus) AND unicode AND mit AND (lgpl-2.1 - AND lgpl-2.1-plus AND lgpl-2.1) -- | +license_expression: (gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-2.0-plus OR mit) AND (bsd-new OR gpl-1.0-plus) AND unicode AND mit + AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1) +copyright: | 1991-2012 Linus Torvalds and many others 1996-2006 Manoj Srivastava 2005-2012 Debian kernel team @@ -34,3 +35,293 @@ 2010 Ryan Wilson 2014-2015 Red Hat, Inc. 2015 Intel Corporation +matches: + - score: '99.6' + start_line: 3 + end_line: 33 + matcher: 3-seq + rule_length: 250 + matched_length: 250 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 must retain copyright notices, 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. + * Neither the name of the [CRYPTOGAMS] nor the names of its copyright + holder and contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + ALTERNATIVELY, provided that this notice is retained in full, this + product may be distributed under the terms of the GNU General Public + License (GPL), in which case the provisions of the GPL apply INSTEAD + OF those given above. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER 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 + OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 31 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Unicode data files and any associated documentation (the "Data + Files") or Unicode software and any associated documentation (the + "Software") to deal in the Data Files or Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, and/or sell copies of the Data Files or Software, and + to permit persons to whom the Data Files or Software are furnished to do + so, provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, (b) both the + above copyright notice(s) and this permission notice appear in associated + documentation, and (c) there is clear notice in each modified Data File or + in the Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 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 DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written + authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '98.4' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1032.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public License [version] + [2] can be found in `/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_62.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program; If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 282 + matched_length: 282 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_or_mit2.RULE + license_expression: gpl-2.0-plus OR mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is dual-licensed: you can use it either under the terms + of the GPL or the X11 license, at your option. Note that this dual + licensing only applies to this file, and not this project as a + whole. + + a) This file is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Or, alternatively, + + b) Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-i386/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-i386/stable_copyright.expected.yml index 805d4992961..7cd9f5fad8e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-i386/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-i386/stable_copyright.expected.yml @@ -1,13 +1,14 @@ -- gpl-2.0 -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - LGPL-2.1 - GPL-2+ or X11 - CRYPTOGAMS - Unicode-data - Xen-interface -- gpl-2.0 AND (lgpl-2.1 AND lgpl-2.1-plus) AND (gpl-2.0-plus OR mit) AND (bsd-new OR gpl-1.0-plus) - AND unicode AND mit -- | +license_expression: gpl-2.0 AND (lgpl-2.1 AND lgpl-2.1-plus) AND (gpl-2.0-plus OR mit) AND (bsd-new + OR gpl-1.0-plus) AND unicode AND mit +copyright: | 1991-2012 Linus Torvalds and many others 2011 Lennart Poettering 2012-2018 Linus Torvalds and many others @@ -26,3 +27,293 @@ 2010 Ryan Wilson 2014-2015 Red Hat, Inc. 2015 Intel Corporation +matches: + - score: '99.6' + start_line: 3 + end_line: 33 + matcher: 3-seq + rule_length: 250 + matched_length: 250 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 must retain copyright notices, 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. + * Neither the name of the [CRYPTOGAMS] nor the names of its copyright + holder and contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + ALTERNATIVELY, provided that this notice is retained in full, this + product may be distributed under the terms of the GNU General Public + License (GPL), in which case the provisions of the GPL apply INSTEAD + OF those given above. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER 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 + OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 31 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Unicode data files and any associated documentation (the "Data + Files") or Unicode software and any associated documentation (the + "Software") to deal in the Data Files or Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, and/or sell copies of the Data Files or Software, and + to permit persons to whom the Data Files or Software are furnished to do + so, provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, (b) both the + above copyright notice(s) and this permission notice appear in associated + documentation, and (c) there is clear notice in each modified Data File or + in the Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 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 DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written + authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '98.4' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1032.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public License [version] + [2] can be found in `/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_62.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program; If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 282 + matched_length: 282 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_or_mit2.RULE + license_expression: gpl-2.0-plus OR mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is dual-licensed: you can use it either under the terms + of the GPL or the X11 license, at your option. Note that this dual + licensing only applies to this file, and not this project as a + whole. + + a) This file is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Or, alternatively, + + b) Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux/stable_copyright-detailed.expected.yml index 9097094924d..0c322f909ee 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0 -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - GPL-2 - LGPL-2.1 - GPL-2+ or X11 @@ -10,10 +11,10 @@ - GPL-2 - LGPL-2.1 - GPL-2+ or X11 -- (gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1) - AND (gpl-2.0-plus OR mit) AND (bsd-new OR gpl-1.0-plus) AND unicode AND mit AND (lgpl-2.1 - AND lgpl-2.1-plus AND lgpl-2.1) -- | +license_expression: (gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-2.0-plus OR mit) AND (bsd-new OR gpl-1.0-plus) AND unicode AND mit + AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1) +copyright: | 1991-2012 Linus Torvalds and many others 1996-2006 Manoj Srivastava 2005-2012 Debian kernel team @@ -34,3 +35,293 @@ 2010 Ryan Wilson 2014-2015 Red Hat, Inc. 2015 Intel Corporation +matches: + - score: '99.6' + start_line: 3 + end_line: 33 + matcher: 3-seq + rule_length: 250 + matched_length: 250 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 must retain copyright notices, 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. + * Neither the name of the [CRYPTOGAMS] nor the names of its copyright + holder and contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + ALTERNATIVELY, provided that this notice is retained in full, this + product may be distributed under the terms of the GNU General Public + License (GPL), in which case the provisions of the GPL apply INSTEAD + OF those given above. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER 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 + OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 31 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Unicode data files and any associated documentation (the "Data + Files") or Unicode software and any associated documentation (the + "Software") to deal in the Data Files or Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, and/or sell copies of the Data Files or Software, and + to permit persons to whom the Data Files or Software are furnished to do + so, provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, (b) both the + above copyright notice(s) and this permission notice appear in associated + documentation, and (c) there is clear notice in each modified Data File or + in the Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 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 DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written + authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '98.4' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1032.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public License [version] + [2] can be found in `/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_62.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program; If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 282 + matched_length: 282 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_or_mit2.RULE + license_expression: gpl-2.0-plus OR mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is dual-licensed: you can use it either under the terms + of the GPL or the X11 license, at your option. Note that this dual + licensing only applies to this file, and not this project as a + whole. + + a) This file is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Or, alternatively, + + b) Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux/stable_copyright.expected.yml index 805d4992961..7cd9f5fad8e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux/stable_copyright.expected.yml @@ -1,13 +1,14 @@ -- gpl-2.0 -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - LGPL-2.1 - GPL-2+ or X11 - CRYPTOGAMS - Unicode-data - Xen-interface -- gpl-2.0 AND (lgpl-2.1 AND lgpl-2.1-plus) AND (gpl-2.0-plus OR mit) AND (bsd-new OR gpl-1.0-plus) - AND unicode AND mit -- | +license_expression: gpl-2.0 AND (lgpl-2.1 AND lgpl-2.1-plus) AND (gpl-2.0-plus OR mit) AND (bsd-new + OR gpl-1.0-plus) AND unicode AND mit +copyright: | 1991-2012 Linus Torvalds and many others 2011 Lennart Poettering 2012-2018 Linus Torvalds and many others @@ -26,3 +27,293 @@ 2010 Ryan Wilson 2014-2015 Red Hat, Inc. 2015 Intel Corporation +matches: + - score: '99.6' + start_line: 3 + end_line: 33 + matcher: 3-seq + rule_length: 250 + matched_length: 250 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 must retain copyright notices, 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. + * Neither the name of the [CRYPTOGAMS] nor the names of its copyright + holder and contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + ALTERNATIVELY, provided that this notice is retained in full, this + product may be distributed under the terms of the GNU General Public + License (GPL), in which case the provisions of the GPL apply INSTEAD + OF those given above. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER 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 + OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 31 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Unicode data files and any associated documentation (the "Data + Files") or Unicode software and any associated documentation (the + "Software") to deal in the Data Files or Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, and/or sell copies of the Data Files or Software, and + to permit persons to whom the Data Files or Software are furnished to do + so, provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, (b) both the + above copyright notice(s) and this permission notice appear in associated + documentation, and (c) there is clear notice in each modified Data File or + in the Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 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 DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written + authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '98.4' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1032.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public License [version] + [2] can be found in `/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_62.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program; If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 282 + matched_length: 282 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_or_mit2.RULE + license_expression: gpl-2.0-plus OR mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is dual-licensed: you can use it either under the terms + of the GPL or the X11 license, at your option. Note that this dual + licensing only applies to this file, and not this project as a + whole. + + a) This file is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Or, alternatively, + + b) Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libs/libsdl2-image/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libs/libsdl2-image/stable_copyright-detailed.expected.yml index 3697c23a546..681ad3030d1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libs/libsdl2-image/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libs/libsdl2-image/stable_copyright-detailed.expected.yml @@ -1,14 +1,15 @@ -- zlib -- - zlib/libpng +primary_license: zlib +declared_license: + - zlib/libpng - zlib/libpng - LGPL-2+ - public-domain - LGPL-2+ - zlib/libpng - LGPL-2+ -- zlib AND zlib AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0) AND unlicense - AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0) -- | +license_expression: zlib AND zlib AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND + lgpl-2.0) AND unlicense AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0) +copyright: | 1997-2016 Sam Lantinga 1997-2016 Sam Lantinga 1990, 1991, 1993 David Koblas @@ -19,3 +20,143 @@ 2013, Manuel A. Fernandez Montecelo 2013, Felix Geyer 2016, Gianfranco Costamagna +matches: + - score: '100.0' + start_line: 1 + end_line: 22 + matcher: 1-hash + rule_length: 189 + matched_length: 189 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unlicense_6.RULE + license_expression: unlicense + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free and unencumbered software released into the public domain. + + Anyone is free to copy, modify, publish, use, compile, sell, or + distribute this software, either in source code form or as a compiled + binary, for any purpose, commercial or non-commercial, and by any + means. + + In jurisdictions that recognize copyright laws, the author or authors + of this software dedicate any and all copyright interest in the + software to the public domain. We make this dedication for the benefit + of the public at large and to the detriment of our heirs and + successors. We intend this dedication to be an overt act of + relinquishment in perpetuity of all present and future rights to this + software under copyright law. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR + OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 44 + matched_length: 44 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_17.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or (at + your option) any later version. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU Lesser + General Public License + - score: '55.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: lgpl-2.0_157.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in '/usr/share/common-licenses/LGPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libs/libsdl2-image/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libs/libsdl2-image/stable_copyright.expected.yml index ad6f8050986..a4d790d7d8b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libs/libsdl2-image/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libs/libsdl2-image/stable_copyright.expected.yml @@ -1,11 +1,152 @@ -- zlib -- - zlib/libpng +primary_license: zlib +declared_license: + - zlib/libpng - LGPL-2+ - public-domain -- zlib AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND unlicense -- | +license_expression: zlib AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND unlicense +copyright: | 1997-2016 Sam Lantinga 1990, 1991, 1993 David Koblas 1996 Torsten Martinsen 1998 Philippe Lavoie in public domain +matches: + - score: '100.0' + start_line: 1 + end_line: 22 + matcher: 1-hash + rule_length: 189 + matched_length: 189 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unlicense_6.RULE + license_expression: unlicense + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free and unencumbered software released into the public domain. + + Anyone is free to copy, modify, publish, use, compile, sell, or + distribute this software, either in source code form or as a compiled + binary, for any purpose, commercial or non-commercial, and by any + means. + + In jurisdictions that recognize copyright laws, the author or authors + of this software dedicate any and all copyright interest in the + software to the public domain. We make this dedication for the benefit + of the public at large and to the detriment of our heirs and + successors. We intend this dedication to be an overt act of + relinquishment in perpetuity of all present and future rights to this + software under copyright law. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR + OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 44 + matched_length: 44 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_17.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or (at + your option) any later version. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU Lesser + General Public License + - score: '55.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: lgpl-2.0_157.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in '/usr/share/common-licenses/LGPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libt/libtk-img/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libt/libtk-img/stable_copyright-detailed.expected.yml index 16858b125c8..166397c1765 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libt/libtk-img/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libt/libtk-img/stable_copyright-detailed.expected.yml @@ -1,9 +1,86 @@ -- tcl -- - Tcl +primary_license: tcl +declared_license: + - Tcl - Public-domain - Tcl - Public-domain -- tcl AND pngsuite -- | +license_expression: tcl AND pngsuite +copyright: | 1997-2004 Jan Nijtmans 1999, 2011 Willem van Schaik +matches: + - score: '98.79' + start_line: 1 + end_line: 41 + matcher: 3-seq + rule_length: 330 + matched_length: 326 + match_coverage: '98.79' + rule_relevance: 100 + identifier: tcl_3.RULE + license_expression: tcl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is copyrighted by [Jan] [Nijtmans] ([the] [maintainer]) + [and] a [lot] [of] [other] [people] [who] [contributed] [code] ([most] [notably] + [Andreas] [Kupries], [Thomas] [G]. [Lane], [Ioi] [K]. [Lam], [Mario] [Weilguni] + [and] [Roger] [E] [Critchlow] [Jr]). + The following terms apply to all files associated with the + software unless explicitly disclaimed in individual files. + + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, provided + that existing copyright notices are retained in all copies and that this + notice is included verbatim in any distributions. No written agreement, + license, or royalty fee is required for any of the authorized uses. + Modifications to this software may be copyrighted by their authors + and need not follow the licensing terms described here, provided that + the new terms are clearly indicated on the first page of each file where + they apply. + + IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY + FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES + ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY + DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE + IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE + NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR + MODIFICATIONS. + + GOVERNMENT USE: If you are acquiring this software on behalf of the + U.S. government, the Government shall have only "Restricted Rights" + in the software and related documentation as defined in the Federal + Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you + are acquiring the software on behalf of the Department of Defense, the + software shall be classified as "Commercial Computer Software" and the + Government shall have only "Restricted Rights" as defined in Clause + 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the + authors grant the U.S. Government and others acting in its behalf + permission to use and distribute the software in accordance with the + terms specified in this license. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: pngsuite.LICENSE + license_expression: pngsuite + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute these images for any + purpose and without fee is hereby granted. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libt/libtk-img/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libt/libtk-img/stable_copyright.expected.yml index 6e5f772abd5..5de54ed2413 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libt/libtk-img/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libt/libtk-img/stable_copyright.expected.yml @@ -1,7 +1,84 @@ -- tcl -- - Tcl +primary_license: tcl +declared_license: + - Tcl - Public-domain -- tcl AND pngsuite -- | +license_expression: tcl AND pngsuite +copyright: | 1997-2004 Jan Nijtmans 1999, 2011 Willem van Schaik +matches: + - score: '98.79' + start_line: 1 + end_line: 41 + matcher: 3-seq + rule_length: 330 + matched_length: 326 + match_coverage: '98.79' + rule_relevance: 100 + identifier: tcl_3.RULE + license_expression: tcl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is copyrighted by [Jan] [Nijtmans] ([the] [maintainer]) + [and] a [lot] [of] [other] [people] [who] [contributed] [code] ([most] [notably] + [Andreas] [Kupries], [Thomas] [G]. [Lane], [Ioi] [K]. [Lam], [Mario] [Weilguni] + [and] [Roger] [E] [Critchlow] [Jr]). + The following terms apply to all files associated with the + software unless explicitly disclaimed in individual files. + + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, provided + that existing copyright notices are retained in all copies and that this + notice is included verbatim in any distributions. No written agreement, + license, or royalty fee is required for any of the authorized uses. + Modifications to this software may be copyrighted by their authors + and need not follow the licensing terms described here, provided that + the new terms are clearly indicated on the first page of each file where + they apply. + + IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY + FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES + ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY + DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE + IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE + NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR + MODIFICATIONS. + + GOVERNMENT USE: If you are acquiring this software on behalf of the + U.S. government, the Government shall have only "Restricted Rights" + in the software and related documentation as defined in the Federal + Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you + are acquiring the software on behalf of the Department of Defense, the + software shall be classified as "Commercial Computer Software" and the + Government shall have only "Restricted Rights" as defined in Clause + 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the + authors grant the U.S. Government and others acting in its behalf + permission to use and distribute the software in accordance with the + terms specified in this license. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: pngsuite.LICENSE + license_expression: pngsuite + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute these images for any + purpose and without fee is hereby granted. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libx/libxslt/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libx/libxslt/stable_copyright-detailed.expected.yml index dc62abe0e0b..cf361d35825 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libx/libxslt/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libx/libxslt/stable_copyright-detailed.expected.yml @@ -1,6 +1,67 @@ -- -- -- x11-xconsortium_veillard AND x11-xconsortium -- | +primary_license: +declared_license: +license_expression: x11-xconsortium_veillard AND x11-xconsortium +copyright: | Copyright (c) 2001-2002 Daniel Veillard Copyright (c) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard +matches: + - score: '100.0' + start_line: 15 + end_line: 34 + matcher: 2-aho + rule_length: '199' + matched_length: '199' + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_veillard.LICENSE + license_expression: x11-xconsortium_veillard + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to deal\n in\ + \ the Software without restriction, including without limitation the rights\n to use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software,\ + \ and to permit persons to whom the Software is fur-\n nished to do so, subject to the\ + \ following conditions:\n \n The above copyright notice and this permission notice shall\ + \ be included in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE\ + \ IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING\ + \ BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-\n NESS FOR A PARTICULAR PURPOSE\ + \ AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n DANIEL VEILLARD BE LIABLE FOR ANY CLAIM,\ + \ DAMAGES OR OTHER LIABILITY, WHETHER\n IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\ + \ FROM, OUT OF OR IN CON-\n NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\ + \ THE SOFTWARE.\n \n Except as contained in this notice, the name of Daniel Veillard shall\ + \ not\n be used in advertising or otherwise to promote the sale, use or other deal-\n\ + \ ings in this Software without prior written authorization from him." + - score: '100.0' + start_line: 43 + end_line: 62 + matcher: 2-aho + rule_length: '198' + matched_length: '198' + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_4.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to deal\n in\ + \ the Software without restriction, including without limitation the rights\n to use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software,\ + \ and to permit persons to whom the Software is fur-\n nished to do so, subject to the\ + \ following conditions:\n \n The above copyright notice and this permission notice shall\ + \ be included in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE\ + \ IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING\ + \ BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-\n NESS FOR A PARTICULAR PURPOSE\ + \ AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES\ + \ OR OTHER LIABILITY, WHETHER\n IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\ + \ OUT OF OR IN CON-\n NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\ + \ \n Except as contained in this notice, the name of the authors shall not\n be used in\ + \ advertising or otherwise to promote the sale, use or other deal-\n ings in this Software\ + \ without prior written authorization from him." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libx/libxslt/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libx/libxslt/stable_copyright.expected.yml index dc62abe0e0b..cf361d35825 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libx/libxslt/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libx/libxslt/stable_copyright.expected.yml @@ -1,6 +1,67 @@ -- -- -- x11-xconsortium_veillard AND x11-xconsortium -- | +primary_license: +declared_license: +license_expression: x11-xconsortium_veillard AND x11-xconsortium +copyright: | Copyright (c) 2001-2002 Daniel Veillard Copyright (c) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard +matches: + - score: '100.0' + start_line: 15 + end_line: 34 + matcher: 2-aho + rule_length: '199' + matched_length: '199' + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_veillard.LICENSE + license_expression: x11-xconsortium_veillard + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to deal\n in\ + \ the Software without restriction, including without limitation the rights\n to use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software,\ + \ and to permit persons to whom the Software is fur-\n nished to do so, subject to the\ + \ following conditions:\n \n The above copyright notice and this permission notice shall\ + \ be included in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE\ + \ IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING\ + \ BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-\n NESS FOR A PARTICULAR PURPOSE\ + \ AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n DANIEL VEILLARD BE LIABLE FOR ANY CLAIM,\ + \ DAMAGES OR OTHER LIABILITY, WHETHER\n IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\ + \ FROM, OUT OF OR IN CON-\n NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\ + \ THE SOFTWARE.\n \n Except as contained in this notice, the name of Daniel Veillard shall\ + \ not\n be used in advertising or otherwise to promote the sale, use or other deal-\n\ + \ ings in this Software without prior written authorization from him." + - score: '100.0' + start_line: 43 + end_line: 62 + matcher: 2-aho + rule_length: '198' + matched_length: '198' + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_4.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to deal\n in\ + \ the Software without restriction, including without limitation the rights\n to use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software,\ + \ and to permit persons to whom the Software is fur-\n nished to do so, subject to the\ + \ following conditions:\n \n The above copyright notice and this permission notice shall\ + \ be included in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE\ + \ IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING\ + \ BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-\n NESS FOR A PARTICULAR PURPOSE\ + \ AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES\ + \ OR OTHER LIABILITY, WHETHER\n IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\ + \ OUT OF OR IN CON-\n NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\ + \ \n Except as contained in this notice, the name of the authors shall not\n be used in\ + \ advertising or otherwise to promote the sale, use or other deal-\n ings in this Software\ + \ without prior written authorization from him." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright-detailed.expected.yml index 9caf4736381..cae771d1f48 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0 AND gpl-1.0-plus -- - GPL-2 +primary_license: gpl-2.0 AND gpl-1.0-plus +declared_license: + - GPL-2 - GPL-2+ - GPL-2 - GPL-2+ @@ -90,12 +91,12 @@ - public-domain - GPL-3+ - LGPL-2 -- (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus - AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-1.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) - AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0) - AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND other-copyleft AND - (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND public-domain +license_expression: (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 + AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND + gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 + AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND other-copyleft + AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND public-domain AND bsd-new AND bsd-new AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND bsd-new AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.0 AND lgpl-3.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) @@ -132,7 +133,7 @@ AND bsd-new AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) -- | +copyright: | 2000-2016, Oracle and/or its affiliates. All rights reserved. 2008-2013 Monty Program AB 2008-2014 SkySQL Ab @@ -332,3 +333,921 @@ 2006, 2014, Oracle and/or its affiliates 2015 Daniel Black 2008-2015 Codership Oy +matches: + - score: '90.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_4.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free2.RULE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free documentation; the Free Software Foundation gives + unlimited permission to copy, distribute and modify it. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 216 + matched_length: 216 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_with_bison-exception-2.2_1.RULE + license_expression: gpl-2.0-plus WITH bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. + + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_bison-exception-3.0_1.RULE + license_expression: gpl-3.0-plus WITH bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 76 + matched_length: 76 + match_coverage: '100.0' + rule_relevance: 100 + identifier: stlport-4.5.LICENSE + license_expression: stlport-4.5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This material is provided "as is", with absolutely no warranty expressed + or implied. Any use is at your own risk. + + Permission to use or copy this software for any purpose is hereby granted + without fee, provided the above notices are retained on all copies. + Permission to modify the code and to distribute modified code is granted, + provided the above notices are retained, and a notice that the code was + modified is included with the above copyright notice. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 2-aho + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 23 + end_line: 23 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_58.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: FSF changes to this file are in the public domain. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 2-aho + rule_length: 71 + matched_length: 71 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_278.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 10 + end_line: 11 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 12 + end_line: 12 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_35.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_90.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_35.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_281.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU Library General Public + License version 2.1 + - score: '100.0' + start_line: 17 + end_line: 17 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1` + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '89.21' + start_line: 1 + end_line: 18 + matcher: 3-seq + rule_length: 139 + matched_length: 124 + match_coverage: '89.21' + rule_relevance: 100 + identifier: lgpl-2.0-plus_29.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; version 2 + of the License. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA + + On Debian [and] [systems] [the] [full] text of the GNU Library General Public + License [version] [2] [can] [be] [found] [in] [the] [file] + `/usr/share/common-licenses/LGPL-2` + - score: '53.47' + start_line: 1 + end_line: 10 + matcher: 3-seq + rule_length: 101 + matched_length: 60 + match_coverage: '59.41' + rule_relevance: 90 + identifier: bsd-new_1036.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 the following disclaimer in + the documentation and/or other materials provided with the + distribution. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: artistic' + - score: '100.0' + start_line: 1 + end_line: 127 + matcher: 1-hash + rule_length: 958 + matched_length: 958 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0.LICENSE + license_expression: artistic-perl-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The "Artistic License" + + Preamble + + The intent of this document is to state the conditions under which a + Package may be copied, such that the Copyright Holder maintains some + semblance of artistic control over the development of the package, + while giving the users of the package the right to use and distribute + the Package in a more-or-less customary fashion, plus the right to make + reasonable modifications. + + Definitions: + + "Package" refers to the collection of files distributed by the + Copyright Holder, and derivatives of that collection of files + created through textual modification. + + "Standard Version" refers to such a Package if it has not been + modified, or has been modified in accordance with the wishes + of the Copyright Holder as specified below. + + "Copyright Holder" is whoever is named in the copyright or + copyrights for the package. + + "You" is you, if you're thinking about copying or distributing + this Package. + + "Reasonable copying fee" is whatever you can justify on the + basis of media cost, duplication charges, time of people involved, + and so on. (You will not be required to justify it to the + Copyright Holder, but only to the computing community at large + as a market that must bear the fee.) + + "Freely Available" means that no fee is charged for the item + itself, though there may be fees involved in handling the item. + It also means that recipients of the item may redistribute it + under the same conditions they received it. + + 1. You may make and give away verbatim copies of the source form of the + Standard Version of this Package without restriction, provided that you + duplicate all of the original copyright notices and associated disclaimers. + + 2. You may apply bug fixes, portability fixes and other modifications + derived from the Public Domain or from the Copyright Holder. A Package + modified in such a way shall still be considered the Standard Version. + + 3. You may otherwise modify your copy of this Package in any way, provided + that you insert a prominent notice in each changed file stating how and + when you changed that file, and provided that you do at least ONE of the + following: + + a) place your modifications in the Public Domain or otherwise make them + Freely Available, such as by posting said modifications to Usenet or + an equivalent medium, or placing the modifications on a major archive + site such as uunet.uu.net, or by allowing the Copyright Holder to include + your modifications in the Standard Version of the Package. + + b) use the modified Package only within your corporation or organization. + + c) rename any non-standard executables so the names do not conflict + with standard executables, which must also be provided, and provide + a separate manual page for each non-standard executable that clearly + documents how it differs from the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 4. You may distribute the programs of this Package in object code or + executable form, provided that you do at least ONE of the following: + + a) distribute a Standard Version of the executables and library files, + together with instructions (in the manual page or equivalent) on where + to get the Standard Version. + + b) accompany the distribution with the machine-readable source of + the Package with your modifications. + + c) give non-standard executables non-standard names, and clearly + document the differences in manual pages (or equivalent), together + with instructions on where to get the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 5. You may charge a reasonable copying fee for any distribution of this + Package. You may charge any fee you choose for support of this + Package. You may not charge a fee for this Package itself. However, + you may distribute this Package in aggregate with other (possibly + commercial) programs as part of a larger (possibly commercial) software + distribution provided that you do not advertise this Package as a + product of your own. You may embed this Package's interpreter within + an executable of yours (by linking); this shall be construed as a mere + form of aggregation, provided that the complete Standard Version of the + interpreter is so embedded. + + 6. The scripts and library files supplied as input to or produced as + output from the programs of this Package do not automatically fall + under the copyright of this Package, but belong to whoever generated + them, and may be sold commercially, and may be aggregated with this + Package. If such scripts or library files are aggregated with this + Package via the so-called "undump" or "unexec" methods of producing a + binary executable image, then distribution of such an image shall + neither be construed as a distribution of this Package nor shall it + fall under the restrictions of Paragraphs 3 and 4, provided that you do + not represent such an executable image as a Standard Version of this + Package. + + 7. C subroutines (or comparably compiled subroutines in other + languages) supplied by you and linked into this Package in order to + emulate subroutines and variables of the language defined by this + Package shall not be considered part of this Package, but are the + equivalent of input as in Paragraph 6, provided these subroutines do + not change the language in any way that would cause it to fail the + regression tests for the language. + + 8. Aggregation of this Package with a commercial distribution is always + permitted provided that the use of this Package is embedded; that is, + when no overt attempt is made to make this Package's interfaces visible + to the end user of the commercial distribution. Such use shall not be + construed as a distribution of this Package. + + 9. The name of the Copyright Holder may not be used to endorse or promote + products derived from this software without specific prior written permission. + + 10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + The End + - score: '16.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: public-domain_38.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is public domain ( + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_83.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_12.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2' + - score: '86.92' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 130 + matched_length: 113 + match_coverage: '86.92' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License [Version] [2] as published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL- + - score: '86.84' + start_line: 1 + end_line: 10 + matcher: 3-seq + rule_length: 76 + matched_length: 66 + match_coverage: '86.84' + rule_relevance: 100 + identifier: gpl-2.0_90.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + license [specified] [in] [the] [file] + [COPYING] [and] [README] + [GPLv2] [Disclaimer]: + [For] [the] [avoidance] [of] [doubt], [except] [that] [if] [any] [license] choice + other than GPL or LGPL is available it will apply instead, + [Oracle] elects to use only the General Public License version 2 + (GPLv2) at this time for any software where a choice of GPL + license versions is made available with the language indicating + that GPLv2 or any later version may be used, or where a choice + of which version of the GPL is applied is otherwise unspecified. + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_bare_single_word.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPLv2 diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright.expected.yml index 036b759220d..2a679e1db20 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0 AND gpl-1.0-plus -- - GPL-2 +primary_license: gpl-2.0 AND gpl-1.0-plus +declared_license: + - GPL-2 - GPL-2+ - GPL-verbatim - public-domain @@ -18,13 +19,13 @@ - GPL-3+ - MIT/X11 - Artistic -- (gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus AND gpl-2.0 AND gpl-1.0-plus) AND gpl-2.0 AND - other-copyleft AND public-domain AND bsd-new AND (lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0 - AND lgpl-3.0-plus) AND fsf-free AND lgpl-2.0-plus AND ((gpl-2.0 AND gpl-1.0-plus) AND bsd-new) - AND zlib AND gpl-3.0-plus WITH bison-exception-2.2 AND gpl-2.0-plus WITH bison-exception-2.2 +license_expression: (gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus AND gpl-2.0 AND gpl-1.0-plus) + AND gpl-2.0 AND other-copyleft AND public-domain AND bsd-new AND (lgpl-2.1-plus AND lgpl-2.1) + AND (lgpl-2.0 AND lgpl-3.0-plus) AND fsf-free AND lgpl-2.0-plus AND ((gpl-2.0 AND gpl-1.0-plus) + AND bsd-new) AND zlib AND gpl-3.0-plus WITH bison-exception-2.2 AND gpl-2.0-plus WITH bison-exception-2.2 AND stlport-4.5 AND ((gpl-2.0 AND gpl-1.0-plus) OR (artistic-2.0 AND artistic-perl-1.0)) AND gpl-3.0-plus AND (x11-xconsortium AND public-domain) -- | +copyright: | 2000-2016, Oracle and/or its affiliates. All rights reserved. 2008-2013 Monty Program AB 2008-2014 SkySQL Ab @@ -177,3 +178,921 @@ 2005-2011 Google Inc. 2015 Daniel Black 2008-2015 Codership Oy +matches: + - score: '90.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_4.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free2.RULE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free documentation; the Free Software Foundation gives + unlimited permission to copy, distribute and modify it. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 216 + matched_length: 216 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_with_bison-exception-2.2_1.RULE + license_expression: gpl-2.0-plus WITH bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. + + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_bison-exception-3.0_1.RULE + license_expression: gpl-3.0-plus WITH bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 76 + matched_length: 76 + match_coverage: '100.0' + rule_relevance: 100 + identifier: stlport-4.5.LICENSE + license_expression: stlport-4.5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This material is provided "as is", with absolutely no warranty expressed + or implied. Any use is at your own risk. + + Permission to use or copy this software for any purpose is hereby granted + without fee, provided the above notices are retained on all copies. + Permission to modify the code and to distribute modified code is granted, + provided the above notices are retained, and a notice that the code was + modified is included with the above copyright notice. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 2-aho + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 23 + end_line: 23 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_58.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: FSF changes to this file are in the public domain. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 2-aho + rule_length: 71 + matched_length: 71 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_278.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 10 + end_line: 11 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 12 + end_line: 12 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_35.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_90.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_35.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_281.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU Library General Public + License version 2.1 + - score: '100.0' + start_line: 17 + end_line: 17 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1` + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '89.21' + start_line: 1 + end_line: 18 + matcher: 3-seq + rule_length: 139 + matched_length: 124 + match_coverage: '89.21' + rule_relevance: 100 + identifier: lgpl-2.0-plus_29.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; version 2 + of the License. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA + + On Debian [and] [systems] [the] [full] text of the GNU Library General Public + License [version] [2] [can] [be] [found] [in] [the] [file] + `/usr/share/common-licenses/LGPL-2` + - score: '53.47' + start_line: 1 + end_line: 10 + matcher: 3-seq + rule_length: 101 + matched_length: 60 + match_coverage: '59.41' + rule_relevance: 90 + identifier: bsd-new_1036.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 the following disclaimer in + the documentation and/or other materials provided with the + distribution. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: artistic' + - score: '100.0' + start_line: 1 + end_line: 127 + matcher: 1-hash + rule_length: 958 + matched_length: 958 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0.LICENSE + license_expression: artistic-perl-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The "Artistic License" + + Preamble + + The intent of this document is to state the conditions under which a + Package may be copied, such that the Copyright Holder maintains some + semblance of artistic control over the development of the package, + while giving the users of the package the right to use and distribute + the Package in a more-or-less customary fashion, plus the right to make + reasonable modifications. + + Definitions: + + "Package" refers to the collection of files distributed by the + Copyright Holder, and derivatives of that collection of files + created through textual modification. + + "Standard Version" refers to such a Package if it has not been + modified, or has been modified in accordance with the wishes + of the Copyright Holder as specified below. + + "Copyright Holder" is whoever is named in the copyright or + copyrights for the package. + + "You" is you, if you're thinking about copying or distributing + this Package. + + "Reasonable copying fee" is whatever you can justify on the + basis of media cost, duplication charges, time of people involved, + and so on. (You will not be required to justify it to the + Copyright Holder, but only to the computing community at large + as a market that must bear the fee.) + + "Freely Available" means that no fee is charged for the item + itself, though there may be fees involved in handling the item. + It also means that recipients of the item may redistribute it + under the same conditions they received it. + + 1. You may make and give away verbatim copies of the source form of the + Standard Version of this Package without restriction, provided that you + duplicate all of the original copyright notices and associated disclaimers. + + 2. You may apply bug fixes, portability fixes and other modifications + derived from the Public Domain or from the Copyright Holder. A Package + modified in such a way shall still be considered the Standard Version. + + 3. You may otherwise modify your copy of this Package in any way, provided + that you insert a prominent notice in each changed file stating how and + when you changed that file, and provided that you do at least ONE of the + following: + + a) place your modifications in the Public Domain or otherwise make them + Freely Available, such as by posting said modifications to Usenet or + an equivalent medium, or placing the modifications on a major archive + site such as uunet.uu.net, or by allowing the Copyright Holder to include + your modifications in the Standard Version of the Package. + + b) use the modified Package only within your corporation or organization. + + c) rename any non-standard executables so the names do not conflict + with standard executables, which must also be provided, and provide + a separate manual page for each non-standard executable that clearly + documents how it differs from the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 4. You may distribute the programs of this Package in object code or + executable form, provided that you do at least ONE of the following: + + a) distribute a Standard Version of the executables and library files, + together with instructions (in the manual page or equivalent) on where + to get the Standard Version. + + b) accompany the distribution with the machine-readable source of + the Package with your modifications. + + c) give non-standard executables non-standard names, and clearly + document the differences in manual pages (or equivalent), together + with instructions on where to get the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 5. You may charge a reasonable copying fee for any distribution of this + Package. You may charge any fee you choose for support of this + Package. You may not charge a fee for this Package itself. However, + you may distribute this Package in aggregate with other (possibly + commercial) programs as part of a larger (possibly commercial) software + distribution provided that you do not advertise this Package as a + product of your own. You may embed this Package's interpreter within + an executable of yours (by linking); this shall be construed as a mere + form of aggregation, provided that the complete Standard Version of the + interpreter is so embedded. + + 6. The scripts and library files supplied as input to or produced as + output from the programs of this Package do not automatically fall + under the copyright of this Package, but belong to whoever generated + them, and may be sold commercially, and may be aggregated with this + Package. If such scripts or library files are aggregated with this + Package via the so-called "undump" or "unexec" methods of producing a + binary executable image, then distribution of such an image shall + neither be construed as a distribution of this Package nor shall it + fall under the restrictions of Paragraphs 3 and 4, provided that you do + not represent such an executable image as a Standard Version of this + Package. + + 7. C subroutines (or comparably compiled subroutines in other + languages) supplied by you and linked into this Package in order to + emulate subroutines and variables of the language defined by this + Package shall not be considered part of this Package, but are the + equivalent of input as in Paragraph 6, provided these subroutines do + not change the language in any way that would cause it to fail the + regression tests for the language. + + 8. Aggregation of this Package with a commercial distribution is always + permitted provided that the use of this Package is embedded; that is, + when no overt attempt is made to make this Package's interfaces visible + to the end user of the commercial distribution. Such use shall not be + construed as a distribution of this Package. + + 9. The name of the Copyright Holder may not be used to endorse or promote + products derived from this software without specific prior written permission. + + 10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + The End + - score: '16.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: public-domain_38.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is public domain ( + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_83.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_12.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2' + - score: '86.92' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 130 + matched_length: 113 + match_coverage: '86.92' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License [Version] [2] as published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL- + - score: '86.84' + start_line: 1 + end_line: 10 + matcher: 3-seq + rule_length: 76 + matched_length: 66 + match_coverage: '86.84' + rule_relevance: 100 + identifier: gpl-2.0_90.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + license [specified] [in] [the] [file] + [COPYING] [and] [README] + [GPLv2] [Disclaimer]: + [For] [the] [avoidance] [of] [doubt], [except] [that] [if] [any] [license] choice + other than GPL or LGPL is available it will apply instead, + [Oracle] elects to use only the General Public License version 2 + (GPLv2) at this time for any software where a choice of GPL + license versions is made available with the language indicating + that GPLv2 or any later version may be used, or where a choice + of which version of the GPL is applied is otherwise unspecified. + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_bare_single_word.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPLv2 diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright-detailed.expected.yml index 021d2499337..f735777c7d4 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- public-domain AND us-govt-public-domain -- - public_domain +primary_license: public-domain AND us-govt-public-domain +declared_license: + - public_domain - BSL-1.0 - MIT - NCSA @@ -21,12 +22,12 @@ - NCSA - BSD-3-Clause - GPL-2+ -- (public-domain AND us-govt-public-domain) AND boost-1.0 AND (mit-old-style-no-advert AND mit-veillard-variant - AND proprietary-license) AND public-domain AND flex-2.5 AND flex-2.5 AND flex-2.5 AND flex-2.5 - AND flex-2.5 AND mit AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) - AND (public-domain AND us-govt-public-domain) AND (public-domain AND us-govt-public-domain) +license_expression: (public-domain AND us-govt-public-domain) AND boost-1.0 AND (mit-old-style-no-advert + AND mit-veillard-variant AND proprietary-license) AND public-domain AND flex-2.5 AND flex-2.5 + AND flex-2.5 AND flex-2.5 AND flex-2.5 AND mit AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus + AND gpl-2.0-plus) AND (public-domain AND us-govt-public-domain) AND (public-domain AND us-govt-public-domain) AND (public-domain AND us-govt-public-domain) -- | +copyright: | 1996-2017 NCBI 2006 John Maddock 1998-1999 The Massachusetts Institute of Technology @@ -46,3 +47,301 @@ 2019 Steffen Möller 1996-2018 NCBI 2018 Liubov Chuprikova +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_128.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: put into the public domain, + - score: '100.0' + start_line: 3 + end_line: 21 + matcher: 2-aho + rule_length: 154 + matched_length: 154 + match_coverage: '100.0' + rule_relevance: 100 + identifier: us-govt-public-domain_24.RULE + license_expression: us-govt-public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + PUBLIC DOMAIN NOTICE + National Center for Biotechnology Information + + This software/database is a "United States Government Work" under the + terms of the United States Copyright Act. It was written as part of + the author's official duties as a United States Government employee and + thus cannot be copyrighted. This software/database is freely available + to the public for use. The National Library of Medicine and the U.S. + Government have not placed any restriction on its use or reproduction. + + Although all reasonable efforts have been taken to ensure the accuracy + and reliability of the software and data, the NLM and the U.S. + Government do not and cannot warrant the performance or results that + may be obtained by using this software or data. The NLM and the U.S. + Government disclaim all warranties, express or implied, including + warranties of performance, merchantability or fitness for any particular + purpose. + + Please cite the author in any work or product based on this material. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 202 + matched_length: 202 + match_coverage: '100.0' + rule_relevance: 100 + identifier: boost-1.0_9.RULE + license_expression: boost-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + - score: '75.59' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 96 + matched_length: 96 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_1.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the name of M.I.T. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. [Furthermore] [if] [you] [modify] + [this] [software] [you] [must] [label] [your] [software] [as] [modified] [software] [and] [not] + [distribute] [it] [in] [such] a [fashion] [that] [it] [might] [be] [confused] [with] [the] + [original] [MIT] [software]. M.I.T. makes no representations about the + suitability of this software for any purpose. It is provided "as is" + without express or implied warranty. + - score: '24.29' + start_line: 12 + end_line: 16 + matcher: 3-seq + rule_length: 70 + matched_length: 17 + match_coverage: '24.29' + rule_relevance: 100 + identifier: mit-veillard-variant.LICENSE + license_expression: mit-veillard-variant + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + express or implied [warranty]. + + [THIS] [SOFTWARE] [IS] [PROVIDED] ``[AS] [IS]'' [AND] [WITHOUT] [ANY] [EXPRESS] [OR] [IMPLIED] + WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF + MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 23 + end_line: 29 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_136.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No commercial use of these trademarks may be made without prior + written permission of MIT. + + "Commercial use" means use of a name in a product or other for-profit + manner. It does NOT prevent a commercial firm from referring to the MIT + trademarks in order to convey information (although in doing so, + recognition of their trademark status should be given). + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 36 + matched_length: 36 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_359.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This source file is placed in the public domian. + Any resemblance to NCSA Telnet, living or dead, is purely coincidental. + + National Center for Supercomputing Applications + 152 Computing Applications Building + 605 E. Springfield Ave. + Champaign, IL 61820 + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 122 + matched_length: 122 + match_coverage: '100.0' + rule_relevance: 100 + identifier: flex-2.5_6.RULE + license_expression: flex-2.5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '95.86' + start_line: 1 + end_line: 20 + matcher: 3-seq + rule_length: 145 + matched_length: 139 + match_coverage: '95.86' + rule_relevance: 100 + identifier: gpl-2.0-plus_537.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later + version. + + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + + You should have received a copy of the GNU General Public + License along with this package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright.expected.yml index f71833497c4..7ff1b8cecaf 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright.expected.yml @@ -1,14 +1,16 @@ -- public-domain AND us-govt-public-domain -- - public_domain +primary_license: public-domain AND us-govt-public-domain +declared_license: + - public_domain - BSL-1.0 - MIT - NCSA - BSD-3-Clause - Expat - GPL-2+ -- (public-domain AND us-govt-public-domain) AND boost-1.0 AND (mit-old-style-no-advert AND mit-veillard-variant - AND proprietary-license) AND public-domain AND flex-2.5 AND mit AND gpl-2.0-plus -- | +license_expression: (public-domain AND us-govt-public-domain) AND boost-1.0 AND (mit-old-style-no-advert + AND mit-veillard-variant AND proprietary-license) AND public-domain AND flex-2.5 AND mit AND + gpl-2.0-plus +copyright: | 1996-2017 NCBI 2006 John Maddock 1998-1999 The Massachusetts Institute of Technology @@ -23,3 +25,301 @@ 1985, 1989, 1990, 1991, 1992, 1993 Free Software Foundation, Inc. 1996-2018 NCBI 2018 Liubov Chuprikova +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_128.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: put into the public domain, + - score: '100.0' + start_line: 3 + end_line: 21 + matcher: 2-aho + rule_length: 154 + matched_length: 154 + match_coverage: '100.0' + rule_relevance: 100 + identifier: us-govt-public-domain_24.RULE + license_expression: us-govt-public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + PUBLIC DOMAIN NOTICE + National Center for Biotechnology Information + + This software/database is a "United States Government Work" under the + terms of the United States Copyright Act. It was written as part of + the author's official duties as a United States Government employee and + thus cannot be copyrighted. This software/database is freely available + to the public for use. The National Library of Medicine and the U.S. + Government have not placed any restriction on its use or reproduction. + + Although all reasonable efforts have been taken to ensure the accuracy + and reliability of the software and data, the NLM and the U.S. + Government do not and cannot warrant the performance or results that + may be obtained by using this software or data. The NLM and the U.S. + Government disclaim all warranties, express or implied, including + warranties of performance, merchantability or fitness for any particular + purpose. + + Please cite the author in any work or product based on this material. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 202 + matched_length: 202 + match_coverage: '100.0' + rule_relevance: 100 + identifier: boost-1.0_9.RULE + license_expression: boost-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + - score: '75.59' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 96 + matched_length: 96 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_1.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the name of M.I.T. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. [Furthermore] [if] [you] [modify] + [this] [software] [you] [must] [label] [your] [software] [as] [modified] [software] [and] [not] + [distribute] [it] [in] [such] a [fashion] [that] [it] [might] [be] [confused] [with] [the] + [original] [MIT] [software]. M.I.T. makes no representations about the + suitability of this software for any purpose. It is provided "as is" + without express or implied warranty. + - score: '24.29' + start_line: 12 + end_line: 16 + matcher: 3-seq + rule_length: 70 + matched_length: 17 + match_coverage: '24.29' + rule_relevance: 100 + identifier: mit-veillard-variant.LICENSE + license_expression: mit-veillard-variant + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + express or implied [warranty]. + + [THIS] [SOFTWARE] [IS] [PROVIDED] ``[AS] [IS]'' [AND] [WITHOUT] [ANY] [EXPRESS] [OR] [IMPLIED] + WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF + MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 23 + end_line: 29 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_136.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No commercial use of these trademarks may be made without prior + written permission of MIT. + + "Commercial use" means use of a name in a product or other for-profit + manner. It does NOT prevent a commercial firm from referring to the MIT + trademarks in order to convey information (although in doing so, + recognition of their trademark status should be given). + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 36 + matched_length: 36 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_359.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This source file is placed in the public domian. + Any resemblance to NCSA Telnet, living or dead, is purely coincidental. + + National Center for Supercomputing Applications + 152 Computing Applications Building + 605 E. Springfield Ave. + Champaign, IL 61820 + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 122 + matched_length: 122 + match_coverage: '100.0' + rule_relevance: 100 + identifier: flex-2.5_6.RULE + license_expression: flex-2.5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '95.86' + start_line: 1 + end_line: 20 + matcher: 3-seq + rule_length: 145 + matched_length: 139 + match_coverage: '95.86' + rule_relevance: 100 + identifier: gpl-2.0-plus_537.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later + version. + + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + + You should have received a copy of the GNU General Public + License along with this package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncurses/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncurses/stable_copyright-detailed.expected.yml index a0993e628be..b98464dac87 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncurses/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncurses/stable_copyright-detailed.expected.yml @@ -1,9 +1,134 @@ -- -- -- x11-fsf AND x11-xconsortium AND bsd-new AND x11-fsf -- | +primary_license: +declared_license: +license_expression: x11-fsf AND x11-xconsortium AND bsd-new AND x11-fsf +copyright: | Copyright (c) 1998-2018 Free Software Foundation, Inc. Copyright (c) 2001 by Pradeep Padala Copyright (c) 1994 X Consortium Copyright (c) 1980, 1991, 1992, 1993 The Regents of the University of California Copyright 1996-2018 by Thomas E. Dickey +matches: + - score: '100.0' + start_line: 23 + end_line: 45 + matcher: 2-aho + rule_length: '199' + matched_length: '199' + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-fsf.LICENSE + license_expression: x11-fsf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a\n\ + \ copy of this software and associated documentation files (the\n \"Software\"), to deal\ + \ in the Software without restriction, including\n without limitation the rights to use,\ + \ copy, modify, merge, publish,\n distribute, distribute with modifications, sublicense,\ + \ and/or sell\n copies of the Software, and to permit persons to whom the Software is\n\ + \ furnished to do so, subject to the following conditions:\n \n The above copyright notice\ + \ and this permission notice shall be included\n in all copies or substantial portions\ + \ of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\ + \ EXPRESS\n OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n IN NO EVENT SHALL THE ABOVE\ + \ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n DAMAGES OR OTHER LIABILITY, WHETHER IN\ + \ AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH\ + \ THE SOFTWARE OR\n THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n Except as contained\ + \ in this notice, the name(s) of the above copyright\n holders shall not be used in advertising\ + \ or otherwise to promote the\n sale, use or other dealings in this Software without prior\ + \ written\n authorization." + - score: '100.0' + start_line: 50 + end_line: 70 + matcher: 2-aho + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to\n deal in\ + \ the Software without restriction, including without limitation the\n rights to use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or\n sell copies of the Software,\ + \ and to permit persons to whom the Software is\n furnished to do so, subject to the following\ + \ conditions:\n \n The above copyright notice and this permission notice shall be included\ + \ in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED\ + \ \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED\ + \ TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\ + \ IN NO EVENT SHALL THE\n X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\ + \ WHETHER IN\n AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-\n\ + \ TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n Except as\ + \ contained in this notice, the name of the X Consortium shall not\n be used in advertising\ + \ or otherwise to promote the sale, use or other deal-\n ings in this Software without\ + \ prior written authorization from the X Consor-\n tium." + - score: '100.0' + start_line: 76 + end_line: 98 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. Neither\ + \ the name of the University nor the names of its contributors\n may be used to endorse\ + \ or promote products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '97.49' + start_line: 105 + end_line: 127 + matcher: 3-seq + rule_length: '199' + matched_length: '194' + match_coverage: '97.49' + rule_relevance: 100 + identifier: x11-fsf.LICENSE + license_expression: x11-fsf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a\n\ + \ copy of this software and associated documentation files (the\n \"Software\"), to deal\ + \ in the Software without restriction, including\n without limitation the rights to use,\ + \ copy, modify, merge, publish,\n distribute, sublicense, and/or sell copies of the Software,\ + \ and to\n permit persons to whom the Software is furnished to do so, subject to\n the\ + \ following conditions:\n \n The above copyright notice and this permission notice shall\ + \ be included\n in all copies or substantial portions of the Software.\n \n THE SOFTWARE\ + \ IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n OR IMPLIED, INCLUDING\ + \ BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE\ + \ AND NONINFRINGEMENT.\n IN NO EVENT SHALL THE ABOVE [LISTED] [COPYRIGHT] [HOLDER](S)\ + \ BE LIABLE FOR ANY\n CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n\ + \ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n SOFTWARE OR THE\ + \ USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n Except as contained in this notice, the\ + \ name(s) of the above copyright\n holders shall not be used in advertising or otherwise\ + \ to promote the\n sale, use or other dealings in this Software without prior written\n\ + \ authorization." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncurses/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncurses/stable_copyright.expected.yml index c3cbca13410..5cd79dd9953 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncurses/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncurses/stable_copyright.expected.yml @@ -1,9 +1,134 @@ -- -- -- x11-fsf AND x11-xconsortium AND bsd-new -- | +primary_license: +declared_license: +license_expression: x11-fsf AND x11-xconsortium AND bsd-new +copyright: | Copyright (c) 1998-2018 Free Software Foundation, Inc. Copyright (c) 2001 by Pradeep Padala Copyright (c) 1994 X Consortium Copyright (c) 1980, 1991, 1992, 1993 The Regents of the University of California Copyright 1996-2018 by Thomas E. Dickey +matches: + - score: '100.0' + start_line: 23 + end_line: 45 + matcher: 2-aho + rule_length: '199' + matched_length: '199' + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-fsf.LICENSE + license_expression: x11-fsf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a\n\ + \ copy of this software and associated documentation files (the\n \"Software\"), to deal\ + \ in the Software without restriction, including\n without limitation the rights to use,\ + \ copy, modify, merge, publish,\n distribute, distribute with modifications, sublicense,\ + \ and/or sell\n copies of the Software, and to permit persons to whom the Software is\n\ + \ furnished to do so, subject to the following conditions:\n \n The above copyright notice\ + \ and this permission notice shall be included\n in all copies or substantial portions\ + \ of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\ + \ EXPRESS\n OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n IN NO EVENT SHALL THE ABOVE\ + \ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n DAMAGES OR OTHER LIABILITY, WHETHER IN\ + \ AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH\ + \ THE SOFTWARE OR\n THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n Except as contained\ + \ in this notice, the name(s) of the above copyright\n holders shall not be used in advertising\ + \ or otherwise to promote the\n sale, use or other dealings in this Software without prior\ + \ written\n authorization." + - score: '100.0' + start_line: 50 + end_line: 70 + matcher: 2-aho + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to\n deal in\ + \ the Software without restriction, including without limitation the\n rights to use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or\n sell copies of the Software,\ + \ and to permit persons to whom the Software is\n furnished to do so, subject to the following\ + \ conditions:\n \n The above copyright notice and this permission notice shall be included\ + \ in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED\ + \ \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED\ + \ TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\ + \ IN NO EVENT SHALL THE\n X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\ + \ WHETHER IN\n AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-\n\ + \ TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n Except as\ + \ contained in this notice, the name of the X Consortium shall not\n be used in advertising\ + \ or otherwise to promote the sale, use or other deal-\n ings in this Software without\ + \ prior written authorization from the X Consor-\n tium." + - score: '100.0' + start_line: 76 + end_line: 98 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. Neither\ + \ the name of the University nor the names of its contributors\n may be used to endorse\ + \ or promote products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '97.49' + start_line: 105 + end_line: 127 + matcher: 3-seq + rule_length: '199' + matched_length: '194' + match_coverage: '97.49' + rule_relevance: 100 + identifier: x11-fsf.LICENSE + license_expression: x11-fsf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a\n\ + \ copy of this software and associated documentation files (the\n \"Software\"), to deal\ + \ in the Software without restriction, including\n without limitation the rights to use,\ + \ copy, modify, merge, publish,\n distribute, sublicense, and/or sell copies of the Software,\ + \ and to\n permit persons to whom the Software is furnished to do so, subject to\n the\ + \ following conditions:\n \n The above copyright notice and this permission notice shall\ + \ be included\n in all copies or substantial portions of the Software.\n \n THE SOFTWARE\ + \ IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n OR IMPLIED, INCLUDING\ + \ BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE\ + \ AND NONINFRINGEMENT.\n IN NO EVENT SHALL THE ABOVE [LISTED] [COPYRIGHT] [HOLDER](S)\ + \ BE LIABLE FOR ANY\n CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n\ + \ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n SOFTWARE OR THE\ + \ USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n Except as contained in this notice, the\ + \ name(s) of the above copyright\n holders shall not be used in advertising or otherwise\ + \ to promote the\n sale, use or other dealings in this Software without prior written\n\ + \ authorization." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/newsboat/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/newsboat/stable_copyright-detailed.expected.yml index 7a2d7e32368..30e90db3d71 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/newsboat/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/newsboat/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- mit -- - MIT/Expat +primary_license: mit +declared_license: + - MIT/Expat - MIT/Expat - Boost-1.0 - GPL-2+ @@ -8,9 +9,9 @@ - Boost-1.0 - GPL-2 - GPL-2+ -- mit AND mit AND boost-1.0 AND (gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 - AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) -- | +license_expression: mit AND mit AND boost-1.0 AND (gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND + gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) +copyright: | 2015-2018, Alexander Batischev 2006-2010, Andreas Krennmair 2013-2018, Niels Lohmann @@ -18,3 +19,213 @@ 1990-2004, Hanspeter Moessenboeck, University of Linz 2016-2018, Nikos Tsipinakis , 2007-2014, Nico Golde +matches: + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 22 + matcher: 1-hash + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: boost-1.0_24.RULE + license_expression: boost-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Boost Software License Version 1.0 + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; version 2 + - score: '100.0' + start_line: 5 + end_line: 6 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; version 2 + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/newsboat/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/newsboat/stable_copyright.expected.yml index c7079015a35..357cc39d1c8 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/newsboat/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/newsboat/stable_copyright.expected.yml @@ -1,12 +1,223 @@ -- mit -- - MIT/Expat +primary_license: mit +declared_license: + - MIT/Expat - Boost-1.0 - GPL-2+ - GPL-2 -- mit AND boost-1.0 AND (gpl-2.0-plus AND gpl-2.0) -- | +license_expression: mit AND boost-1.0 AND (gpl-2.0-plus AND gpl-2.0) +copyright: | 2015-2018, Alexander Batischev 2006-2010, Andreas Krennmair 2013-2018, Niels Lohmann 2018, Two Blue Cubes Ltd 1990-2004, Hanspeter Moessenboeck, University of Linz +matches: + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 22 + matcher: 1-hash + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: boost-1.0_24.RULE + license_expression: boost-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Boost Software License Version 1.0 + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; version 2 + - score: '100.0' + start_line: 5 + end_line: 6 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; version 2 + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nextcloud-desktop/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nextcloud-desktop/stable_copyright-detailed.expected.yml index 2ba878de858..b528794ee47 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nextcloud-desktop/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nextcloud-desktop/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2+ - LGPL-2.1+ - LGPL-2.1+ @@ -24,16 +25,16 @@ - LGPL-2.1 - LGPL-2.1+ - public-domain -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus - AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus - AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) - AND public-domain-disclaimer AND bsd-new AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 - AND lgpl-2.1) AND (lgpl-2.1 AND lgpl-2.1 AND lgpl-2.1 AND lgpl-2.1) AND (mit AND mit) AND - ijg AND (apache-2.0 AND lgpl-2.1) AND (mit AND mit) AND boost-1.0 AND ((gpl-3.0 AND gpl-3.0 - AND gpl-1.0-plus AND gpl-1.0-plus AND other-copyleft AND gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) - OR (lgpl-2.1 AND lgpl-2.1 AND lgpl-2.1 AND lgpl-2.1)) AND (gpl-2.0-plus AND gpl-2.0-plus AND - gpl-1.0-plus AND gpl-2.0 AND gpl-2.0) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0) + AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0) AND (lgpl-2.1-plus + AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 + AND lgpl-2.1) AND public-domain-disclaimer AND bsd-new AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.1 AND lgpl-2.1 AND lgpl-2.1 AND lgpl-2.1) AND (mit + AND mit) AND ijg AND (apache-2.0 AND lgpl-2.1) AND (mit AND mit) AND boost-1.0 AND ((gpl-3.0 + AND gpl-3.0 AND gpl-1.0-plus AND gpl-1.0-plus AND other-copyleft AND gpl-1.0-plus AND gpl-3.0 + AND gpl-3.0) OR (lgpl-2.1 AND lgpl-2.1 AND lgpl-2.1 AND lgpl-2.1)) AND (gpl-2.0-plus AND gpl-2.0-plus + AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0) +copyright: | 2006, Alexander Neundorf 2006, Andreas Schneider 1997, Bob Jenkins @@ -104,3 +105,590 @@ 2009-2010, Iowa State University 2014, Daniel Molkentin 2006-2012, Andreas Schneider +matches: + - score: '84.4' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 109 + matched_length: 92 + match_coverage: '84.4' + rule_relevance: 100 + identifier: apache-2.0_922.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + [On] [Debian] [systems] a [full] [copy] [of] [the] [LGPL] [2].[1] [can] [be] [found] [at] + /usr/share/common-licenses/Apache-2.0 + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_85.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL 2.1 + - score: '100.0' + start_line: 1 + end_line: 22 + matcher: 1-hash + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_942.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 202 + matched_length: 202 + match_coverage: '100.0' + rule_relevance: 100 + identifier: boost-1.0_9.RULE + license_expression: boost-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '23.68' + start_line: '19' + end_line: 20 + matcher: 3-seq + rule_length: 38 + matched_length: 9 + match_coverage: '23.68' + rule_relevance: 100 + identifier: ijg_10.RULE + license_expression: ijg + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + AGREE + TO BE BOUND BY THE TERMS OF [THIS] LICENSE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_26.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The MIT License (MIT) + - score: '100.0' + start_line: 3 + end_line: '19' + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '90.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-1.0-plus_350.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: of the GPL + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_620.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPL 2 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_rdesc_1.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_334.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or + modify it under the terms of the GNU General Public License version 3 + as published by the Free Software Foundation. + - score: '100.0' + start_line: 5 + end_line: 8 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_28.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 10 + end_line: 11 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '90.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-1.0-plus_350.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: of the GPL + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_25.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPL 3 + - score: '33.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 2-aho + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_only_qt_3.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be used under the terms of the GNU Lesser General Public + License version 2.1 as published by the Free Software Foundation and + appearing in the file LICENSE.LGPL included in the packaging of this file. + Please review the following information to ensure the GNU Lesser General + Public License version 2.1 requirements will be met: + http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. + - score: '100.0' + start_line: 8 + end_line: 8 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_85.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL 2.1 + - score: '100.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 117 + matched_length: 117 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_239.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_85.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL 2.1 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1 + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain-disclaimer_47.RULE + license_expression: public-domain-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is in the public domain, furnished "as is", without technical + support, and with no warranty, express or implied, as to its usefulness for + any purpose. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nextcloud-desktop/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nextcloud-desktop/stable_copyright.expected.yml index 9db806cecef..dbf702d70cb 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nextcloud-desktop/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nextcloud-desktop/stable_copyright.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - LGPL-2.1+ - public-domain - BSD-3-clause @@ -10,10 +11,10 @@ - BSL-1 - GPL-3 or LGPL-2.1 - GPL-3 -- (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1) AND public-domain-disclaimer - AND bsd-new AND lgpl-2.1 AND mit AND ijg AND (apache-2.0 AND lgpl-2.1) AND boost-1.0 AND ((gpl-3.0 - AND gpl-1.0-plus AND other-copyleft) OR lgpl-2.1) -- | +license_expression: (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1) + AND public-domain-disclaimer AND bsd-new AND lgpl-2.1 AND mit AND ijg AND (apache-2.0 AND + lgpl-2.1) AND boost-1.0 AND ((gpl-3.0 AND gpl-1.0-plus AND other-copyleft) OR lgpl-2.1) +copyright: | 2006, Alexander Neundorf 2006, Andreas Schneider 1997, Bob Jenkins @@ -81,3 +82,590 @@ 2009-2010, Iowa State University 2014, Daniel Molkentin 2006-2012, Andreas Schneider +matches: + - score: '84.4' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 109 + matched_length: 92 + match_coverage: '84.4' + rule_relevance: 100 + identifier: apache-2.0_922.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + [On] [Debian] [systems] a [full] [copy] [of] [the] [LGPL] [2].[1] [can] [be] [found] [at] + /usr/share/common-licenses/Apache-2.0 + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_85.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL 2.1 + - score: '100.0' + start_line: 1 + end_line: 22 + matcher: 1-hash + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_942.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 202 + matched_length: 202 + match_coverage: '100.0' + rule_relevance: 100 + identifier: boost-1.0_9.RULE + license_expression: boost-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '23.68' + start_line: '19' + end_line: 20 + matcher: 3-seq + rule_length: 38 + matched_length: 9 + match_coverage: '23.68' + rule_relevance: 100 + identifier: ijg_10.RULE + license_expression: ijg + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + AGREE + TO BE BOUND BY THE TERMS OF [THIS] LICENSE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_26.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The MIT License (MIT) + - score: '100.0' + start_line: 3 + end_line: '19' + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '90.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-1.0-plus_350.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: of the GPL + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_620.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPL 2 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_rdesc_1.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_334.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or + modify it under the terms of the GNU General Public License version 3 + as published by the Free Software Foundation. + - score: '100.0' + start_line: 5 + end_line: 8 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_28.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 10 + end_line: 11 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '90.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-1.0-plus_350.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: of the GPL + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_25.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPL 3 + - score: '33.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 2-aho + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_only_qt_3.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be used under the terms of the GNU Lesser General Public + License version 2.1 as published by the Free Software Foundation and + appearing in the file LICENSE.LGPL included in the packaging of this file. + Please review the following information to ensure the GNU Lesser General + Public License version 2.1 requirements will be met: + http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. + - score: '100.0' + start_line: 8 + end_line: 8 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_85.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL 2.1 + - score: '100.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 117 + matched_length: 117 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_239.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_85.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL 2.1 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1 + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain-disclaimer_47.RULE + license_expression: public-domain-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is in the public domain, furnished "as is", without technical + support, and with no warranty, express or implied, as to its usefulness for + any purpose. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nginx/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nginx/stable_copyright-detailed.expected.yml index effa8af57f2..e6326d5c673 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nginx/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nginx/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- bsd-simplified -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: + - BSD-2-clause - BSD-2-clause - BSD-2-clause - BSD-2-clause @@ -23,11 +24,11 @@ - BSD-3-clause - BSD-4-clause - MIT -- bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified - AND bsd-simplified AND bsd-new AND bsd-new AND bsd-simplified AND bsd-simplified AND bsd-simplified - AND bsd-simplified AND mit AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified - AND bsd-simplified AND bsd-simplified AND bsd-simplified -- | +license_expression: bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified + AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new AND bsd-simplified AND bsd-simplified + AND bsd-simplified AND bsd-simplified AND mit AND mit AND bsd-simplified AND bsd-simplified + AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified +copyright: | 2002-2014 Igor Sysoev 2011-2014 Nginx, Inc. Maxim Dounin @@ -68,3 +69,152 @@ Copyright (c) Adrian Perez Copyright (C) 2014 by Weibin Yao Copyright (C) 2012-2014, Roman Arutyunyan +matches: + - score: '100.0' + start_line: 3 + end_line: 23 + matcher: 2-aho + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_20.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 + OWNER 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. + - score: '100.0' + start_line: 3 + end_line: 25 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nginx/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nginx/stable_copyright.expected.yml index 11975af6c2f..8b502c8d1b0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nginx/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nginx/stable_copyright.expected.yml @@ -1,10 +1,11 @@ -- bsd-simplified -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: + - BSD-2-clause - BSD-3-clause - BSD-4-clause - MIT -- bsd-simplified AND bsd-new AND mit -- | +license_expression: bsd-simplified AND bsd-new AND mit +copyright: | 2002-2014 Igor Sysoev 2011-2014 Nginx, Inc. Maxim Dounin @@ -38,3 +39,152 @@ Copyright (c) Adrian Perez Copyright (C) 2014 by Weibin Yao Copyright (C) 2012-2014, Roman Arutyunyan +matches: + - score: '100.0' + start_line: 3 + end_line: 23 + matcher: 2-aho + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_20.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 + OWNER 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. + - score: '100.0' + start_line: 3 + end_line: 25 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/node-lodash/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/node-lodash/stable_copyright-detailed.expected.yml index c5c9a2ed2fd..5709407f12b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/node-lodash/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/node-lodash/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- mit -- - Expat +primary_license: mit +declared_license: + - Expat - Expat - BSD-3-clause-Parakey - public-domain @@ -7,11 +8,147 @@ - Expat - GPL-2+ - public-domain -- mit AND mit AND bsd-new AND warranty-disclaimer AND (gpl-2.0-plus AND gpl-2.0-plus) -- | +license_expression: mit AND mit AND bsd-new AND warranty-disclaimer AND (gpl-2.0-plus AND gpl-2.0-plus) +copyright: | JS Foundation and other contributors Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 2009-2016, Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 2007, Parakey Inc. NONE 2014 Valentin OVD +matches: + - score: '99.53' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 211 + matched_length: 211 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_314.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + * Neither the name of [Parakey] Inc. 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 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 OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '98.41' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 124 + match_coverage: '98.41' + rule_relevance: 100 + identifier: gpl-2.0-plus_38.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + - score: '90.91' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 11 + matched_length: 10 + match_coverage: '90.91' + rule_relevance: 100 + identifier: warranty-disclaimer_40.RULE + license_expression: warranty-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/node-lodash/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/node-lodash/stable_copyright.expected.yml index 5c54e93d5a0..9b9191c681d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/node-lodash/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/node-lodash/stable_copyright.expected.yml @@ -1,11 +1,148 @@ -- mit -- - Expat +primary_license: mit +declared_license: + - Expat - BSD-3-clause-Parakey - public-domain -- mit AND bsd-new AND warranty-disclaimer -- | +license_expression: mit AND bsd-new AND warranty-disclaimer +copyright: | JS Foundation and other contributors Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 2009-2016, Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 2007, Parakey Inc. NONE +matches: + - score: '99.53' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 211 + matched_length: 211 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_314.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + * Neither the name of [Parakey] Inc. 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 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 OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '98.41' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 124 + match_coverage: '98.41' + rule_relevance: 100 + identifier: gpl-2.0-plus_38.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + - score: '90.91' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 11 + matched_length: 10 + match_coverage: '90.91' + rule_relevance: 100 + identifier: warranty-disclaimer_40.RULE + license_expression: warranty-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-infrastructure-compute-tools/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-infrastructure-compute-tools/stable_copyright-detailed.expected.yml index de9782256b8..d9c0ed3dee8 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-infrastructure-compute-tools/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-infrastructure-compute-tools/stable_copyright-detailed.expected.yml @@ -1,8 +1,86 @@ -- gpl-3.0-plus AND gpl-3.0 -- - GPL-3+ +primary_license: gpl-3.0-plus AND gpl-3.0 +declared_license: - GPL-3+ -- gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0 -- | + - GPL-3+ +license_expression: gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0 +copyright: | 2014-2019 Daniel Baumann 2016 Andreas Kreuzer 2016 Simon Spoehel +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License version 3 + - score: '33.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-infrastructure-compute-tools/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-infrastructure-compute-tools/stable_copyright.expected.yml index 022e7efcc17..9c14dfb6a0f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-infrastructure-compute-tools/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-infrastructure-compute-tools/stable_copyright.expected.yml @@ -1,7 +1,85 @@ -- gpl-3.0-plus AND gpl-3.0 -- - GPL-3+ -- gpl-3.0-plus AND gpl-3.0 -- | +primary_license: gpl-3.0-plus AND gpl-3.0 +declared_license: + - GPL-3+ +license_expression: gpl-3.0-plus AND gpl-3.0 +copyright: | 2014-2019 Daniel Baumann 2016 Andreas Kreuzer 2016 Simon Spoehel +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License version 3 + - score: '33.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-vm-tools/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-vm-tools/stable_copyright-detailed.expected.yml index aad2821d31f..9d8b238c253 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-vm-tools/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-vm-tools/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- lgpl-2.1 AND gpl-3.0-plus -- - LGPL-2.1 +primary_license: lgpl-2.1 AND gpl-3.0-plus +declared_license: + - LGPL-2.1 - GPL-2 - BSD-3 - MIT(*) @@ -11,10 +12,10 @@ - LGPL-2.1 - MIT(*) - MIT(**) -- (lgpl-2.1 AND gpl-3.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus AND gpl-2.0) AND bsd-new - AND (isc AND ibm-dhcp) AND xfree86-1.0 AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus - AND gpl-2.0) -- | +license_expression: (lgpl-2.1 AND gpl-3.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus AND + gpl-2.0) AND bsd-new AND (isc AND ibm-dhcp) AND xfree86-1.0 AND (gpl-2.0-plus AND gpl-2.0-plus + AND gpl-1.0-plus AND gpl-2.0) +copyright: | VMware, Inc. VMware, Inc. 1990, 1993 The Regents of the University of California. @@ -22,3 +23,333 @@ 2006 VMware, Inc. 2007-2013 Daniel Baumann 2014 Bernd Zeimetz +matches: + - score: '100.0' + start_line: 3 + end_line: 26 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\nmodification,\ + \ are permitted provided that the following conditions are\tmet:\n\n1. Redistributions\ + \ of source code must retain the above copyright notice, this\nlist of conditions and\ + \ the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above\ + \ copyright notice,\nthis list of conditions and the following disclaimer in the documentation\n\ + and/or other materials provided with the distribution.\n\n4. Neither the name of the University\ + \ nor the names of its contributors may be\nused to endorse or promote products derived\ + \ from this software without\nspecific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED\ + \ BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY\nEXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE)\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 2-aho + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_353.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_119.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '89.43' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 123 + matched_length: 110 + match_coverage: '89.43' + rule_relevance: 100 + identifier: gpl-3.0-plus_23.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU [Lesser] General Public License as published by + the Free Software Foundation, [version] [2].[1] of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU [Lesser] General Public License for more details. + + You should have received a copy of the GNU [Lesser] General Public License + along with this program. If not, see . + + The complete text of the GNU [Lesser] General Public License + can be found in /usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any purpose + with or without fee is hereby granted, provided that the above copyright notice + and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE CONSORTIUM 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 THIS SOFTWARE. + - score: '100.0' + start_line: 15 + end_line: 33 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ibm-dhcp.LICENSE + license_expression: ibm-dhcp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + International Business Machines, Inc. (hereinafter called IBM) grants + permission under its copyrights to use, copy, modify, and distribute this + Software with or without fee, provided that the above copyright notice and all + paragraphs of this notice appear in all copies, and that the name of IBM not be + used in connection with the marketing of any product incorporating the Software + or modifications thereof, without specific, written prior permission. + + To the extent it has a right to do so, IBM grants an immunity from suit under + its patents, if any, for the use, sale or manufacture of products to the extent + that such products are used for performing Domain Name System dynamic updates + in TCP/IP networks by means of the Software. No immunity is granted for any + product per se or for any other function of any product. + + THE SOFTWARE IS PROVIDED "AS IS", AND IBM DISCLAIMS ALL WARRANTIES, INCLUDING + ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR + CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ARISING OUT OF OR IN CONNECTION + WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN IF IBM IS APPRISED OF THE + POSSIBILITY OF SUCH DAMAGES. + - score: '100.0' + start_line: 1 + end_line: 22 + matcher: 1-hash + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: xfree86-1.0_2.RULE + license_expression: xfree86-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + + Except as contained in this notice, the name of the copyright holder(s) and + author(s) shall not be used in advertising or otherwise to promote the sale, + use or other dealings in this Software without prior written authorization from + the copyright holder(s) and author( diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-vm-tools/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-vm-tools/stable_copyright.expected.yml index c538c48562f..c1999056904 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-vm-tools/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-vm-tools/stable_copyright.expected.yml @@ -1,14 +1,345 @@ -- lgpl-2.1 AND gpl-3.0-plus -- - LGPL-2.1 +primary_license: lgpl-2.1 AND gpl-3.0-plus +declared_license: + - LGPL-2.1 - GPL-2 - BSD-3 - MIT(*) - MIT(**) - GPL-2+ -- (lgpl-2.1 AND gpl-3.0-plus) AND (gpl-2.0 AND gpl-1.0-plus) AND bsd-new AND (isc AND ibm-dhcp) - AND xfree86-1.0 -- | +license_expression: (lgpl-2.1 AND gpl-3.0-plus) AND (gpl-2.0 AND gpl-1.0-plus) AND bsd-new AND + (isc AND ibm-dhcp) AND xfree86-1.0 +copyright: | VMware, Inc. 1990, 1993 The Regents of the University of California. 1996, 1998 Internet Software Consortium 2006 VMware, Inc. +matches: + - score: '100.0' + start_line: 3 + end_line: 26 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\nmodification,\ + \ are permitted provided that the following conditions are\tmet:\n\n1. Redistributions\ + \ of source code must retain the above copyright notice, this\nlist of conditions and\ + \ the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above\ + \ copyright notice,\nthis list of conditions and the following disclaimer in the documentation\n\ + and/or other materials provided with the distribution.\n\n4. Neither the name of the University\ + \ nor the names of its contributors may be\nused to endorse or promote products derived\ + \ from this software without\nspecific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED\ + \ BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY\nEXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE)\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 2-aho + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_353.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_119.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '89.43' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 123 + matched_length: 110 + match_coverage: '89.43' + rule_relevance: 100 + identifier: gpl-3.0-plus_23.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU [Lesser] General Public License as published by + the Free Software Foundation, [version] [2].[1] of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU [Lesser] General Public License for more details. + + You should have received a copy of the GNU [Lesser] General Public License + along with this program. If not, see . + + The complete text of the GNU [Lesser] General Public License + can be found in /usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any purpose + with or without fee is hereby granted, provided that the above copyright notice + and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE CONSORTIUM 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 THIS SOFTWARE. + - score: '100.0' + start_line: 15 + end_line: 33 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ibm-dhcp.LICENSE + license_expression: ibm-dhcp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + International Business Machines, Inc. (hereinafter called IBM) grants + permission under its copyrights to use, copy, modify, and distribute this + Software with or without fee, provided that the above copyright notice and all + paragraphs of this notice appear in all copies, and that the name of IBM not be + used in connection with the marketing of any product incorporating the Software + or modifications thereof, without specific, written prior permission. + + To the extent it has a right to do so, IBM grants an immunity from suit under + its patents, if any, for the use, sale or manufacture of products to the extent + that such products are used for performing Domain Name System dynamic updates + in TCP/IP networks by means of the Software. No immunity is granted for any + product per se or for any other function of any product. + + THE SOFTWARE IS PROVIDED "AS IS", AND IBM DISCLAIMS ALL WARRANTIES, INCLUDING + ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR + CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ARISING OUT OF OR IN CONNECTION + WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN IF IBM IS APPRISED OF THE + POSSIBILITY OF SUCH DAMAGES. + - score: '100.0' + start_line: 1 + end_line: 22 + matcher: 1-hash + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: xfree86-1.0_2.RULE + license_expression: xfree86-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + + Except as contained in this notice, the name of the copyright holder(s) and + author(s) shall not be used in advertising or otherwise to promote the sale, + use or other dealings in this Software without prior written authorization from + the copyright holder(s) and author( diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/openldap/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/openldap/stable_copyright-detailed.expected.yml index 0ad2368416e..16d03b6a5b5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/openldap/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/openldap/stable_copyright-detailed.expected.yml @@ -1,10 +1,10 @@ -- -- -- openldap-2.8 AND openldap-2.8 AND openldap-2.8 AND mit AND fsf-unlimited-no-warranty AND hs-regexp - AND ibm-dhcp AND ietf AND isc AND other-permissive AND other-permissive AND mit-old-style-no-advert - AND baekmuk-fonts AND other-permissive AND hs-regexp AND openldap-2.8 AND bsla AND bsd-original-uc - AND bsd-original-uc AND bsd-original-uc AND bsd-original-uc-1986 -- | +primary_license: +declared_license: +license_expression: openldap-2.8 AND openldap-2.8 AND openldap-2.8 AND mit AND fsf-unlimited-no-warranty + AND hs-regexp AND ibm-dhcp AND ietf AND isc AND other-permissive AND other-permissive AND + mit-old-style-no-advert AND baekmuk-fonts AND other-permissive AND hs-regexp AND openldap-2.8 + AND bsla AND bsd-original-uc AND bsd-original-uc AND bsd-original-uc AND bsd-original-uc-1986 +copyright: | Copyright 1998-2016 The OpenLDAP Foundation Copyright 1999 Computing Research Labs, New Mexico State University Copyright (c) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. @@ -15,3 +15,551 @@ Copyright 1991 by the Massachusetts Institute of Technology Copyright 1999-2001 The OpenLDAP Foundation, Redwood City, California, USA. Copyright (c) 2000 Pierangelo Masarati, +matches: + - score: '92.73' + start_line: 14 + end_line: 23 + matcher: 3-seq + rule_length: 51 + matched_length: 51 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8_7.RULE + license_expression: openldap-2.8 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The OpenLDAP Foundation\n [All] [rights] [reserved].\n \n Redistribution\ + \ and use in source and binary forms, with or without\n modification, are permitted only\ + \ as authorized by the OpenLDAP\n Public License.\n \n A copy of this license is available\ + \ in [the] file LICENSE in the\n top-level directory of the distribution or, alternatively,\ + \ at\n ." + - score: '59.9' + start_line: 25 + end_line: 37 + matcher: 3-seq + rule_length: 119 + matched_length: 72 + match_coverage: '60.5' + rule_relevance: 99 + identifier: openldap-2.8_19.RULE + license_expression: openldap-2.8 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "OpenLDAP is a registered trademark of the OpenLDAP Foundation.\n \n Individual\ + \ files and/or contributed packages may be copyright by\n other parties and/[or] subject\ + \ to additional restrictions.\n \n This work is derived from the University of Michigan\ + \ LDAP v3.3\n distribution. Information concerning this software is available\n at .\n\ + \ \n This work also contains materials derived from public sources.\n \n Additional information\ + \ about OpenLDAP can be obtained at\n ." + - score: '100.0' + start_line: 41 + end_line: 81 + matcher: 2-aho + rule_length: 295 + matched_length: 295 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8_16.RULE + license_expression: openldap-2.8 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The OpenLDAP Public License\n Version 2.8, 17 August 2003\n \n Redistribution\ + \ and use of this software and associated documentation\n (\"Software\"), with or without\ + \ modification, are permitted provided\n that the following conditions are met:\n \n 1.\ + \ Redistributions in source form must retain copyright statements\n and notices,\n\ + \ \n 2. Redistributions in binary form must reproduce applicable copyright\n statements\ + \ and notices, this list of conditions, and the following\n disclaimer in the documentation\ + \ and/or other materials provided\n with the distribution, and\n \n 3. Redistributions\ + \ must contain a verbatim copy of this document.\n \n The OpenLDAP Foundation may revise\ + \ this license from time to time.\n Each revision is distinguished by a version number.\ + \ You may use\n this Software under terms of this license revision or under the\n terms\ + \ of any subsequent revision of the license.\n \n THIS SOFTWARE IS PROVIDED BY THE OPENLDAP\ + \ FOUNDATION AND ITS\n CONTRIBUTORS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,\n\ + \ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS\ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT\n SHALL THE OPENLDAP FOUNDATION,\ + \ ITS CONTRIBUTORS, OR THE AUTHOR(S)\n OR OWNER(S) OF THE SOFTWARE BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n BUT\ + \ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\ + \ ARISING IN\n ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n POSSIBILITY\ + \ OF SUCH DAMAGE.\n \n The names of the authors and copyright holders must not be used\ + \ in\n advertising or otherwise to promote the sale, use or other dealing\n in this Software\ + \ without specific, written prior permission. Title\n to copyright in this Software shall\ + \ at all times remain with copyright\n holders." + - score: '100.0' + start_line: 91 + end_line: 107 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_483.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + # copy of this software and associated documentation files (the "Software"), + # to deal in the Software without restriction, including without limitation + # the rights to use, copy, modify, merge, publish, distribute, sublicense, + # and/or sell copies of the Software, and to permit persons to whom the + # Software is furnished to do so, subject to the following conditions: + # + # The above copyright notice and this permission notice shall be included in + # all copies or substantial portions of the Software. + # + # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + # THE COMPUTING RESEARCH LAB OR NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY + # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT + # OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR + # THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 115 + end_line: 122 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty_2.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This Makefile.in is free software; the Free Software Foundation\n # gives\ + \ unlimited permission to copy and/or distribute it,\n # with or without modifications,\ + \ as long as this notice is preserved.\n \n # This program is distributed in the hope\ + \ that it will be useful,\n # but WITHOUT ANY WARRANTY, to the extent permitted by law;\ + \ without\n # even the implied warranty of MERCHANTABILITY or FITNESS FOR A\n # PARTICULAR\ + \ PURPOSE." + - score: '95.0' + start_line: 129 + end_line: 145 + matcher: 2-aho + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 95 + identifier: hs-regexp_5.RULE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to anyone to use this software for any purpose + * on any computer system, and to alter it and redistribute it, subject + * to the following restrictions: + * + * 1. The author is not responsible for the consequences of use of this + * software, no matter how awful, even if they arise from flaws in it. + * + * 2. The origin of this software must not be misrepresented, either by + * explicit claim or by omission. Since few users ever read sources, + * credits should appear in the documentation. + * + * 3. Altered versions must be plainly marked as such, and must not be + * misrepresented as being the original software. Since few users + * ever read sources, credits should appear in the + * documentation. + * + * 4. This notice may not be removed or altered. + - score: '100.0' + start_line: 154 + end_line: 173 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ibm-dhcp.LICENSE + license_expression: ibm-dhcp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + International Business Machines, Inc. (hereinafter called IBM) grants + * permission under its copyrights to use, copy, modify, and distribute this + * Software with or without fee, provided that the above copyright notice and + * all paragraphs of this notice appear in all copies, and that the name of IBM + * not be used in connection with the marketing of any product incorporating + * the Software or modifications thereof, without specific, written prior + * permission. + * + * To the extent it has a right to do so, IBM grants an immunity from suit + * under its patents, if any, for the use, sale or manufacture of products to + * the extent that such products are used for performing Domain Name System + * dynamic updates in TCP/IP networks by means of the Software. No immunity is + * granted for any product per se or for any other function of any product. + * + * THE SOFTWARE IS PROVIDED "AS IS", AND IBM DISCLAIMS ALL WARRANTIES, + * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + * PARTICULAR PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, + * DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ARISING + * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN + * IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES. + - score: '100.0' + start_line: 180 + end_line: 206 + matcher: 2-aho + rule_length: 221 + matched_length: 221 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf_5.RULE + license_expression: ietf + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Full Copyright Statement\n # \n # Copyright (C) The Internet Society (1999).\ + \ All Rights Reserved.\n # \n # This document and translations of it may be copied\ + \ and furnished to\n # others, and derivative works that comment on or otherwise explain\ + \ it\n # or assist in its implementation may be prepared, copied, published\n # \ + \ and distributed, in whole or in part, without restriction of any\n # kind, provided\ + \ that the above copyright notice and this paragraph are\n # included on all such copies\ + \ and derivative works. However, this\n # document itself may not be modified in any\ + \ way, such as by removing\n # the copyright notice or references to the Internet Society\ + \ or other\n # Internet organizations, except as needed for the purpose of\n # developing\ + \ Internet standards in which case the procedures for\n # copyrights defined in the\ + \ Internet Standards process must be\n # followed, or as required to translate it into\ + \ languages other than\n # English.\n # \n # The limited permissions granted above\ + \ are perpetual and will not be\n # revoked by the Internet Society or its successors\ + \ or assigns.\n # \n # This document and the information contained herein is provided\ + \ on an\n # \"AS IS\" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING\n\ + \ # TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING\n # BUT NOT\ + \ LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION\n # HEREIN WILL NOT INFRINGE\ + \ ANY RIGHTS OR ANY IMPLIED WARRANTIES OF\n # MERCHANTABILITY OR FITNESS FOR A PARTICULAR\ + \ PURPOSE." + - score: '100.0' + start_line: 227 + end_line: 238 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + * CONSORTIUM 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 THIS + * SOFTWARE. + - score: '100.0' + start_line: 245 + end_line: 250 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_203.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of Silicon Graphics \n * Inc.\ + \ or Purdue University.\n *\n * Redistribution and use in source and binary forms are\ + \ permitted\n * without restriction or fee of any kind as long as this notice\n * is\ + \ preserved." + - score: '100.0' + start_line: 277 + end_line: 283 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_200.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of Carnegie Mellon University.\n\ + \ *\n * Redistribution and use in source and binary forms are permitted without \n \ + \ * restriction or fee of any kind as long as this notice is preserved.\n *\n * The\ + \ name \"Carnegie Mellon\" must not be used to endorse or promote\n * products derived\ + \ from this software without prior written permission." + - score: '100.0' + start_line: 311 + end_line: 319 + matcher: 2-aho + rule_length: 96 + matched_length: 96 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_3.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this software and its + # documentation for any purpose is hereby granted without fee, provided that + # the above copyright notice appear in all copies and that both that + # copyright notice and this permission notice appear in supporting + # documentation, and that the name of M.I.T. not be used in advertising or + # publicity pertaining to distribution of the software without specific, + # written prior permission. M.I.T. makes no representations about the + # suitability of this software for any purpose. It is provided "as is" + # without express or implied warranty. + - score: '11.27' + start_line: 327 + end_line: 328 + matcher: 3-seq + rule_length: 71 + matched_length: 8 + match_coverage: '11.27' + rule_relevance: 100 + identifier: baekmuk-fonts.LICENSE + license_expression: baekmuk-fonts + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + All Rights Reserved. Permission to [copy] and + distribute [verbatim] [copies] [of] [this] [document] [is] granted. + - score: '100.0' + start_line: 327 + end_line: 328 + matcher: 2-aho + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_199.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to copy and + distribute verbatim copies of this document is granted. + - score: '95.0' + start_line: 337 + end_line: 352 + matcher: 2-aho + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 95 + identifier: hs-regexp_5.RULE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to anyone to use this software for any purpose + * on any computer system, and to alter it and redistribute it, subject + * to the following restrictions: + * + * 1. The author is not responsible for the consequences of use of this + * software, no matter how awful, even if they arise from flaws in it. + * + * 2. The origin of this software must not be misrepresented, either by + * explicit claim or by omission. Since few users ever read sources, + * credits should appear in the documentation. + * + * 3. Altered versions must be plainly marked as such, and must not be + * misrepresented as being the original software. Since few users + * ever read sources, credits should appear in the documentation. + * + * 4. This notice may not be removed or altered. + - score: '100.0' + start_line: 359 + end_line: 362 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8_15.RULE + license_expression: openldap-2.8 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted only + * as authorized by the OpenLDAP Public License. A copy of this + * license is available at http://www.OpenLDAP.org/license.html or + * in file LICENSE in the top-level directory of the distribution. + - score: '100.0' + start_line: 368 + end_line: 378 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsla_3.RULE + license_expression: bsla + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 University of California, Berkeley. The name of the + * University 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 MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 380 + end_line: 381 + matcher: 2-aho + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_25.RULE + license_expression: bsd-original-uc + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + NOTE: The Regents have since retroactively removed the advertising + clause from above. + - score: '100.0' + start_line: 388 + end_line: 414 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors. + * 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 416 + end_line: 419 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_24.RULE + license_expression: bsd-original-uc + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + NOTE: The Regents have since retroactively removed the advertising + clause from above. + See: + ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change + - score: '99.0' + start_line: 426 + end_line: 431 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-original-uc-1986_3.RULE + license_expression: bsd-original-uc-1986 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + * provided that this notice is preserved and that due credit is given + * to the University of Michigan at Ann Arbor. The name of the University + * may not be used to endorse or promote products derived from this + * software without specific prior written permission. This software + * is provided ``as is'' without express or implied warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/openldap/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/openldap/stable_copyright.expected.yml index db1840dedd8..dc86d29987d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/openldap/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/openldap/stable_copyright.expected.yml @@ -1,9 +1,9 @@ -- -- -- openldap-2.8 AND mit AND fsf-unlimited-no-warranty AND hs-regexp AND ibm-dhcp AND ietf AND - isc AND other-permissive AND mit-old-style-no-advert AND baekmuk-fonts AND bsla AND bsd-original-uc - AND bsd-original-uc-1986 -- | +primary_license: +declared_license: +license_expression: openldap-2.8 AND mit AND fsf-unlimited-no-warranty AND hs-regexp AND ibm-dhcp + AND ietf AND isc AND other-permissive AND mit-old-style-no-advert AND baekmuk-fonts AND bsla + AND bsd-original-uc AND bsd-original-uc-1986 +copyright: | Copyright 1998-2016 The OpenLDAP Foundation Copyright 1999 Computing Research Labs, New Mexico State University Copyright (c) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. @@ -14,3 +14,551 @@ Copyright 1991 by the Massachusetts Institute of Technology Copyright 1999-2001 The OpenLDAP Foundation, Redwood City, California, USA. Copyright (c) 2000 Pierangelo Masarati, +matches: + - score: '92.73' + start_line: 14 + end_line: 23 + matcher: 3-seq + rule_length: 51 + matched_length: 51 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8_7.RULE + license_expression: openldap-2.8 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The OpenLDAP Foundation\n [All] [rights] [reserved].\n \n Redistribution\ + \ and use in source and binary forms, with or without\n modification, are permitted only\ + \ as authorized by the OpenLDAP\n Public License.\n \n A copy of this license is available\ + \ in [the] file LICENSE in the\n top-level directory of the distribution or, alternatively,\ + \ at\n ." + - score: '59.9' + start_line: 25 + end_line: 37 + matcher: 3-seq + rule_length: 119 + matched_length: 72 + match_coverage: '60.5' + rule_relevance: 99 + identifier: openldap-2.8_19.RULE + license_expression: openldap-2.8 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "OpenLDAP is a registered trademark of the OpenLDAP Foundation.\n \n Individual\ + \ files and/or contributed packages may be copyright by\n other parties and/[or] subject\ + \ to additional restrictions.\n \n This work is derived from the University of Michigan\ + \ LDAP v3.3\n distribution. Information concerning this software is available\n at .\n\ + \ \n This work also contains materials derived from public sources.\n \n Additional information\ + \ about OpenLDAP can be obtained at\n ." + - score: '100.0' + start_line: 41 + end_line: 81 + matcher: 2-aho + rule_length: 295 + matched_length: 295 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8_16.RULE + license_expression: openldap-2.8 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The OpenLDAP Public License\n Version 2.8, 17 August 2003\n \n Redistribution\ + \ and use of this software and associated documentation\n (\"Software\"), with or without\ + \ modification, are permitted provided\n that the following conditions are met:\n \n 1.\ + \ Redistributions in source form must retain copyright statements\n and notices,\n\ + \ \n 2. Redistributions in binary form must reproduce applicable copyright\n statements\ + \ and notices, this list of conditions, and the following\n disclaimer in the documentation\ + \ and/or other materials provided\n with the distribution, and\n \n 3. Redistributions\ + \ must contain a verbatim copy of this document.\n \n The OpenLDAP Foundation may revise\ + \ this license from time to time.\n Each revision is distinguished by a version number.\ + \ You may use\n this Software under terms of this license revision or under the\n terms\ + \ of any subsequent revision of the license.\n \n THIS SOFTWARE IS PROVIDED BY THE OPENLDAP\ + \ FOUNDATION AND ITS\n CONTRIBUTORS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,\n\ + \ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS\ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT\n SHALL THE OPENLDAP FOUNDATION,\ + \ ITS CONTRIBUTORS, OR THE AUTHOR(S)\n OR OWNER(S) OF THE SOFTWARE BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n BUT\ + \ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\ + \ ARISING IN\n ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n POSSIBILITY\ + \ OF SUCH DAMAGE.\n \n The names of the authors and copyright holders must not be used\ + \ in\n advertising or otherwise to promote the sale, use or other dealing\n in this Software\ + \ without specific, written prior permission. Title\n to copyright in this Software shall\ + \ at all times remain with copyright\n holders." + - score: '100.0' + start_line: 91 + end_line: 107 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_483.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + # copy of this software and associated documentation files (the "Software"), + # to deal in the Software without restriction, including without limitation + # the rights to use, copy, modify, merge, publish, distribute, sublicense, + # and/or sell copies of the Software, and to permit persons to whom the + # Software is furnished to do so, subject to the following conditions: + # + # The above copyright notice and this permission notice shall be included in + # all copies or substantial portions of the Software. + # + # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + # THE COMPUTING RESEARCH LAB OR NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY + # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT + # OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR + # THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 115 + end_line: 122 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty_2.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This Makefile.in is free software; the Free Software Foundation\n # gives\ + \ unlimited permission to copy and/or distribute it,\n # with or without modifications,\ + \ as long as this notice is preserved.\n \n # This program is distributed in the hope\ + \ that it will be useful,\n # but WITHOUT ANY WARRANTY, to the extent permitted by law;\ + \ without\n # even the implied warranty of MERCHANTABILITY or FITNESS FOR A\n # PARTICULAR\ + \ PURPOSE." + - score: '95.0' + start_line: 129 + end_line: 145 + matcher: 2-aho + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 95 + identifier: hs-regexp_5.RULE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to anyone to use this software for any purpose + * on any computer system, and to alter it and redistribute it, subject + * to the following restrictions: + * + * 1. The author is not responsible for the consequences of use of this + * software, no matter how awful, even if they arise from flaws in it. + * + * 2. The origin of this software must not be misrepresented, either by + * explicit claim or by omission. Since few users ever read sources, + * credits should appear in the documentation. + * + * 3. Altered versions must be plainly marked as such, and must not be + * misrepresented as being the original software. Since few users + * ever read sources, credits should appear in the + * documentation. + * + * 4. This notice may not be removed or altered. + - score: '100.0' + start_line: 154 + end_line: 173 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ibm-dhcp.LICENSE + license_expression: ibm-dhcp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + International Business Machines, Inc. (hereinafter called IBM) grants + * permission under its copyrights to use, copy, modify, and distribute this + * Software with or without fee, provided that the above copyright notice and + * all paragraphs of this notice appear in all copies, and that the name of IBM + * not be used in connection with the marketing of any product incorporating + * the Software or modifications thereof, without specific, written prior + * permission. + * + * To the extent it has a right to do so, IBM grants an immunity from suit + * under its patents, if any, for the use, sale or manufacture of products to + * the extent that such products are used for performing Domain Name System + * dynamic updates in TCP/IP networks by means of the Software. No immunity is + * granted for any product per se or for any other function of any product. + * + * THE SOFTWARE IS PROVIDED "AS IS", AND IBM DISCLAIMS ALL WARRANTIES, + * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + * PARTICULAR PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, + * DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ARISING + * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN + * IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES. + - score: '100.0' + start_line: 180 + end_line: 206 + matcher: 2-aho + rule_length: 221 + matched_length: 221 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf_5.RULE + license_expression: ietf + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Full Copyright Statement\n # \n # Copyright (C) The Internet Society (1999).\ + \ All Rights Reserved.\n # \n # This document and translations of it may be copied\ + \ and furnished to\n # others, and derivative works that comment on or otherwise explain\ + \ it\n # or assist in its implementation may be prepared, copied, published\n # \ + \ and distributed, in whole or in part, without restriction of any\n # kind, provided\ + \ that the above copyright notice and this paragraph are\n # included on all such copies\ + \ and derivative works. However, this\n # document itself may not be modified in any\ + \ way, such as by removing\n # the copyright notice or references to the Internet Society\ + \ or other\n # Internet organizations, except as needed for the purpose of\n # developing\ + \ Internet standards in which case the procedures for\n # copyrights defined in the\ + \ Internet Standards process must be\n # followed, or as required to translate it into\ + \ languages other than\n # English.\n # \n # The limited permissions granted above\ + \ are perpetual and will not be\n # revoked by the Internet Society or its successors\ + \ or assigns.\n # \n # This document and the information contained herein is provided\ + \ on an\n # \"AS IS\" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING\n\ + \ # TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING\n # BUT NOT\ + \ LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION\n # HEREIN WILL NOT INFRINGE\ + \ ANY RIGHTS OR ANY IMPLIED WARRANTIES OF\n # MERCHANTABILITY OR FITNESS FOR A PARTICULAR\ + \ PURPOSE." + - score: '100.0' + start_line: 227 + end_line: 238 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + * CONSORTIUM 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 THIS + * SOFTWARE. + - score: '100.0' + start_line: 245 + end_line: 250 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_203.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of Silicon Graphics \n * Inc.\ + \ or Purdue University.\n *\n * Redistribution and use in source and binary forms are\ + \ permitted\n * without restriction or fee of any kind as long as this notice\n * is\ + \ preserved." + - score: '100.0' + start_line: 277 + end_line: 283 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_200.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of Carnegie Mellon University.\n\ + \ *\n * Redistribution and use in source and binary forms are permitted without \n \ + \ * restriction or fee of any kind as long as this notice is preserved.\n *\n * The\ + \ name \"Carnegie Mellon\" must not be used to endorse or promote\n * products derived\ + \ from this software without prior written permission." + - score: '100.0' + start_line: 311 + end_line: 319 + matcher: 2-aho + rule_length: 96 + matched_length: 96 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_3.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this software and its + # documentation for any purpose is hereby granted without fee, provided that + # the above copyright notice appear in all copies and that both that + # copyright notice and this permission notice appear in supporting + # documentation, and that the name of M.I.T. not be used in advertising or + # publicity pertaining to distribution of the software without specific, + # written prior permission. M.I.T. makes no representations about the + # suitability of this software for any purpose. It is provided "as is" + # without express or implied warranty. + - score: '11.27' + start_line: 327 + end_line: 328 + matcher: 3-seq + rule_length: 71 + matched_length: 8 + match_coverage: '11.27' + rule_relevance: 100 + identifier: baekmuk-fonts.LICENSE + license_expression: baekmuk-fonts + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + All Rights Reserved. Permission to [copy] and + distribute [verbatim] [copies] [of] [this] [document] [is] granted. + - score: '100.0' + start_line: 327 + end_line: 328 + matcher: 2-aho + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_199.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to copy and + distribute verbatim copies of this document is granted. + - score: '95.0' + start_line: 337 + end_line: 352 + matcher: 2-aho + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 95 + identifier: hs-regexp_5.RULE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to anyone to use this software for any purpose + * on any computer system, and to alter it and redistribute it, subject + * to the following restrictions: + * + * 1. The author is not responsible for the consequences of use of this + * software, no matter how awful, even if they arise from flaws in it. + * + * 2. The origin of this software must not be misrepresented, either by + * explicit claim or by omission. Since few users ever read sources, + * credits should appear in the documentation. + * + * 3. Altered versions must be plainly marked as such, and must not be + * misrepresented as being the original software. Since few users + * ever read sources, credits should appear in the documentation. + * + * 4. This notice may not be removed or altered. + - score: '100.0' + start_line: 359 + end_line: 362 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8_15.RULE + license_expression: openldap-2.8 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted only + * as authorized by the OpenLDAP Public License. A copy of this + * license is available at http://www.OpenLDAP.org/license.html or + * in file LICENSE in the top-level directory of the distribution. + - score: '100.0' + start_line: 368 + end_line: 378 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsla_3.RULE + license_expression: bsla + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 University of California, Berkeley. The name of the + * University 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 MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 380 + end_line: 381 + matcher: 2-aho + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_25.RULE + license_expression: bsd-original-uc + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + NOTE: The Regents have since retroactively removed the advertising + clause from above. + - score: '100.0' + start_line: 388 + end_line: 414 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors. + * 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 416 + end_line: 419 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_24.RULE + license_expression: bsd-original-uc + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + NOTE: The Regents have since retroactively removed the advertising + clause from above. + See: + ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change + - score: '99.0' + start_line: 426 + end_line: 431 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-original-uc-1986_3.RULE + license_expression: bsd-original-uc-1986 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + * provided that this notice is preserved and that due credit is given + * to the University of Michigan at Ann Arbor. The name of the University + * may not be used to endorse or promote products derived from this + * software without specific prior written permission. This software + * is provided ``as is'' without express or implied warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/osmpbf/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/osmpbf/stable_copyright-detailed.expected.yml index 7563818c3e5..b994b9815df 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/osmpbf/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/osmpbf/stable_copyright-detailed.expected.yml @@ -1,10 +1,106 @@ -- lgpl-3.0-plus -- - LGPL-3+ +primary_license: lgpl-3.0-plus +declared_license: + - LGPL-3+ - GPL-3+ - LGPL-3+ - GPL-3+ -- (lgpl-3.0-plus AND lgpl-3.0-plus) AND (gpl-3.0-plus AND gpl-3.0-plus) -- | +license_expression: (lgpl-3.0-plus AND lgpl-3.0-plus) AND (gpl-3.0-plus AND gpl-3.0-plus) +copyright: | 2010, Scott A. Crosby 2010-2012, Giovanni Mascellani 2011-2013, David Paleino +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 130 + matched_length: 130 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU Lesser General Public License + version 3 can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_323.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General Public License + version 3 can be found in "/usr/share/common-licenses/GPL-3". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/osmpbf/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/osmpbf/stable_copyright.expected.yml index a084019a67a..8494ffc8a9a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/osmpbf/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/osmpbf/stable_copyright.expected.yml @@ -1,5 +1,101 @@ -- lgpl-3.0-plus -- - LGPL-3+ +primary_license: lgpl-3.0-plus +declared_license: + - LGPL-3+ - GPL-3+ -- lgpl-3.0-plus -- 2010, Scott A. Crosby +license_expression: lgpl-3.0-plus +copyright: 2010, Scott A. Crosby +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 130 + matched_length: 130 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU Lesser General Public License + version 3 can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_323.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General Public License + version 3 can be found in "/usr/share/common-licenses/GPL-3". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pam-u2f/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pam-u2f/stable_copyright-detailed.expected.yml index d5035e5b068..c4962393684 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pam-u2f/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pam-u2f/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- bsd-simplified -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: + - BSD-2-clause - BSD-2-clause - GPL-2+ - GPL-2+ @@ -9,11 +10,11 @@ - GPL-2+ - GPL-3+ - BSD-2-clause -- bsd-simplified AND bsd-simplified AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0-plus - AND gpl-2.0-plus AND gpl-2.0) AND fsf-unlimited AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 - AND gpl-3.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND libtool-exception-2.0 AND gpl-2.0-plus - AND gpl-2.0) -- | +license_expression: bsd-simplified AND bsd-simplified AND (gpl-2.0-plus AND gpl-2.0-plus AND + gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND fsf-unlimited AND (gpl-3.0-plus + AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND libtool-exception-2.0 + AND gpl-2.0-plus AND gpl-2.0) +copyright: | Copyright (c) 2006-2018 Yubico AB 2014-2016 Yubico AB 2016-2018 Nicolas Braud-Santoni @@ -25,3 +26,280 @@ 2011, Maarten Bosmans 2008, Guido U. Draheim 1996-2017, Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + - score: '93.02' + start_line: 1 + end_line: 4 + matcher: 3-seq + rule_length: 43 + matched_length: 40 + match_coverage: '93.02' + rule_relevance: 100 + identifier: gpl-2.0-plus_434.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + - score: '53.85' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 65 + matched_length: 35 + match_coverage: '53.85' + rule_relevance: 100 + identifier: gpl-2.0-plus_734.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 [of] [the] [License], [or] + ([at] [your] [option]) [any] [later] [version]. + + [As] a [special] [exception] [to] the GNU General Public License, + - score: '100.0' + start_line: 6 + end_line: 9 + matcher: 2-aho + rule_length: 45 + matched_length: 45 + match_coverage: '100.0' + rule_relevance: 100 + identifier: libtool-exception-2.0.LICENSE + license_expression: libtool-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, + if you distribute this file as part of a program or library that + is built using GNU Libtool, you may include this file under the + same distribution terms that you use for the rest of that program. + - score: '24.24' + start_line: 11 + end_line: 12 + matcher: 3-seq + rule_length: 33 + matched_length: 8 + match_coverage: '24.24' + rule_relevance: 100 + identifier: gpl-2.0-plus_101.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + of the GNU General Public + License version 2 + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any later + version. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License version 2 + can be found in /usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_98.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License version 3 + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_5.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + 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 + OWNER 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pam-u2f/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pam-u2f/stable_copyright.expected.yml index f92590bb501..6e2eb5eca16 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pam-u2f/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pam-u2f/stable_copyright.expected.yml @@ -1,12 +1,13 @@ -- bsd-simplified -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: + - BSD-2-clause - GPL-2+ - FSFUL - GPL-3+ - GPL-2+ with libtool exception -- bsd-simplified AND (gpl-2.0-plus AND gpl-2.0) AND fsf-unlimited AND (gpl-3.0-plus AND gpl-3.0) - AND (gpl-2.0-plus AND libtool-exception-2.0 AND gpl-2.0) -- | +license_expression: bsd-simplified AND (gpl-2.0-plus AND gpl-2.0) AND fsf-unlimited AND (gpl-3.0-plus + AND gpl-3.0) AND (gpl-2.0-plus AND libtool-exception-2.0 AND gpl-2.0) +copyright: | Copyright (c) 2006-2018 Yubico AB 1996-2017, Free Software Foundation, Inc. 2004 Scott James Remnant . @@ -14,3 +15,280 @@ 2004, 2005, 2007-2009, 2011-2015, Free Software 2011, Maarten Bosmans 2008, Guido U. Draheim +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + - score: '93.02' + start_line: 1 + end_line: 4 + matcher: 3-seq + rule_length: 43 + matched_length: 40 + match_coverage: '93.02' + rule_relevance: 100 + identifier: gpl-2.0-plus_434.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + - score: '53.85' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 65 + matched_length: 35 + match_coverage: '53.85' + rule_relevance: 100 + identifier: gpl-2.0-plus_734.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 [of] [the] [License], [or] + ([at] [your] [option]) [any] [later] [version]. + + [As] a [special] [exception] [to] the GNU General Public License, + - score: '100.0' + start_line: 6 + end_line: 9 + matcher: 2-aho + rule_length: 45 + matched_length: 45 + match_coverage: '100.0' + rule_relevance: 100 + identifier: libtool-exception-2.0.LICENSE + license_expression: libtool-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, + if you distribute this file as part of a program or library that + is built using GNU Libtool, you may include this file under the + same distribution terms that you use for the rest of that program. + - score: '24.24' + start_line: 11 + end_line: 12 + matcher: 3-seq + rule_length: 33 + matched_length: 8 + match_coverage: '24.24' + rule_relevance: 100 + identifier: gpl-2.0-plus_101.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + of the GNU General Public + License version 2 + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any later + version. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License version 2 + can be found in /usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_98.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License version 3 + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_5.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + 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 + OWNER 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pango1.0/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pango1.0/stable_copyright-detailed.expected.yml index 20282be20d0..c0706b0f9ed 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pango1.0/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pango1.0/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- lgpl-2.0-plus AND gpl-2.0-plus -- - LGPL-2+ +primary_license: lgpl-2.0-plus AND gpl-2.0-plus +declared_license: + - LGPL-2+ - Example - LGPL-2+ - LGPL-2+ @@ -15,11 +16,12 @@ - LGPL-2+ - TCL - Unicode -- (lgpl-2.0-plus AND gpl-2.0-plus) AND mit-old-style AND (lgpl-2.0-plus AND gpl-2.0-plus) AND - (lgpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.0-plus AND gpl-2.0-plus) AND ((lgpl-2.0-plus - AND gpl-2.0-plus) AND tcl) AND (lgpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.0-plus AND gpl-2.0-plus) - AND unicode AND ((lgpl-2.0-plus AND gpl-2.0-plus) AND x11) AND (lgpl-2.0-plus AND gpl-2.0-plus) -- | +license_expression: (lgpl-2.0-plus AND gpl-2.0-plus) AND mit-old-style AND (lgpl-2.0-plus AND + gpl-2.0-plus) AND (lgpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.0-plus AND gpl-2.0-plus) AND + ((lgpl-2.0-plus AND gpl-2.0-plus) AND tcl) AND (lgpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.0-plus + AND gpl-2.0-plus) AND unicode AND ((lgpl-2.0-plus AND gpl-2.0-plus) AND x11) AND (lgpl-2.0-plus + AND gpl-2.0-plus) +copyright: | 1999-2015 Red Hat 2005-2007 Imendio AB 2007 Novell, Inc @@ -61,3 +63,232 @@ 2002 Red Hat 1997-2002 International Business Machines Corporation and others 2018 Google +matches: + - score: '49.5' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 54 + matched_length: 27 + match_coverage: '50.0' + rule_relevance: 99 + identifier: mit-old-style_23.RULE + license_expression: mit-old-style + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this [example] + for any purpose is hereby granted without fee. + It is provided "as is" without express or implied warranty. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 239 + matched_length: 239 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11_2.RULE + license_expression: x11 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software") + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, provided that the above copyright notice(s) and this + permission notice appear in all copies of the Software and that both the + above copyright notice(s) and this permission notice appear in supporting + documentation. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE + BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 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 THIS + SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in this Software without prior written authorization of the + copyright holder. + + All trademarks and registered trademarks mentioned herein are the property + of their respective owners. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '95.05' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 101 + matched_length: 96 + match_coverage: '95.05' + rule_relevance: 100 + identifier: gpl-2.0-plus_808.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or + modify it under the terms of the GNU [Lesser] General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This [library] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + [Lesser] General Public License for more details. + + On Debian systems, the complete text of the GNU [Lesser] General Public + License [version] [2] can be found in "/usr/share/common-licenses/ + - score: '99.41' + start_line: 1 + end_line: 39 + matcher: 3-seq + rule_length: 341 + matched_length: 339 + match_coverage: '99.41' + rule_relevance: 100 + identifier: tcl_1.RULE + license_expression: tcl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is copyrighted by the Regents of the University of + California, Sun Microsystems, Inc., and other parties. The following terms + apply to all files associated with the software unless explicitly + disclaimed in individual files. + + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, + provided that existing copyright notices are retained in all copies + and that this notice is included verbatim in any distributions. No + written agreement, license, or royalty fee is required for any of the + authorized uses. Modifications to this software may be copyrighted by + their authors and need not follow the licensing terms described here, + provided that the new terms are clearly indicated on the first page + of each file where they apply. + + IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY + FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES + ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY + DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND + NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND + THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE + MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + + GOVERNMENT USE: If you are acquiring this software on behalf of the + U.S. government, the Government shall have only "Restricted Rights" + in the software and related documentation as defined in the Federal + Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you + are acquiring the software on behalf of the Department of Defense, + the software shall be classified as "Commercial Computer Software" + and the Government shall have only "Restricted Rights" as defined in + Clause 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, + the authors grant the U.S. Government and others acting in its behalf + permission to use and distribute the software in accordance with the + terms specified in this license. + - score: '95.26' + start_line: 1 + end_line: 51 + matcher: 3-seq + rule_length: 443 + matched_length: 422 + match_coverage: '95.26' + rule_relevance: 100 + identifier: unicode_10.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Unicode Data Files include all data files under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and + http://www.unicode.org/utility/trac/browser/. + + Unicode Data Files do not include PDF online code charts under the + directory http://www.unicode.org/Public/. + + Software includes any source code published in the Unicode Standard + or under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and + http://www.unicode.org/utility/trac/browser/. + + NOTICE TO USER: Carefully read the following legal agreement. + BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S + DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), + YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE + TERMS AND CONDITIONS OF THIS AGREEMENT. + IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE + THE DATA FILES OR SOFTWARE. + + COPYRIGHT AND PERMISSION NOTICE + Permission is hereby granted, free of charge, to any person obtaining + a copy of the Unicode data files and any associated documentation + (the "Data Files") or Unicode software and any associated documentation + (the "Software") to deal in the Data Files or Software + without restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, and/or sell copies of + the Data Files or Software, and to permit persons to whom the Data Files + or Software are furnished to do so, provided that either + (a) this copyright and permission notice appear with all copies + of the Data Files or Software, or + (b) this copyright and permission notice appear in associated + Documentation. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF + ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT OF THIRD PARTY RIGHTS. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS + NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 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 DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in these Data Files or Software without prior + written authorization of the copyright holder. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pango1.0/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pango1.0/stable_copyright.expected.yml index 3dd32d2ef28..fada94cd38b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pango1.0/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pango1.0/stable_copyright.expected.yml @@ -1,14 +1,15 @@ -- lgpl-2.0-plus AND gpl-2.0-plus -- - LGPL-2+ +primary_license: lgpl-2.0-plus AND gpl-2.0-plus +declared_license: + - LGPL-2+ - Example - LGPL-2+ and TCL - Unicode - LGPL-2+ and ICU - ICU - TCL -- (lgpl-2.0-plus AND gpl-2.0-plus) AND mit-old-style AND ((lgpl-2.0-plus AND gpl-2.0-plus) AND - tcl) AND unicode AND ((lgpl-2.0-plus AND gpl-2.0-plus) AND x11) -- | +license_expression: (lgpl-2.0-plus AND gpl-2.0-plus) AND mit-old-style AND ((lgpl-2.0-plus AND + gpl-2.0-plus) AND tcl) AND unicode AND ((lgpl-2.0-plus AND gpl-2.0-plus) AND x11) +copyright: | 1999-2015 Red Hat 2005-2007 Imendio AB 2007 Novell, Inc @@ -49,3 +50,232 @@ 2002 Red Hat 1997-2002 International Business Machines Corporation and others 2018 Google +matches: + - score: '49.5' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 54 + matched_length: 27 + match_coverage: '50.0' + rule_relevance: 99 + identifier: mit-old-style_23.RULE + license_expression: mit-old-style + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this [example] + for any purpose is hereby granted without fee. + It is provided "as is" without express or implied warranty. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 239 + matched_length: 239 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11_2.RULE + license_expression: x11 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software") + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, provided that the above copyright notice(s) and this + permission notice appear in all copies of the Software and that both the + above copyright notice(s) and this permission notice appear in supporting + documentation. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE + BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 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 THIS + SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in this Software without prior written authorization of the + copyright holder. + + All trademarks and registered trademarks mentioned herein are the property + of their respective owners. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '95.05' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 101 + matched_length: 96 + match_coverage: '95.05' + rule_relevance: 100 + identifier: gpl-2.0-plus_808.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or + modify it under the terms of the GNU [Lesser] General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This [library] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + [Lesser] General Public License for more details. + + On Debian systems, the complete text of the GNU [Lesser] General Public + License [version] [2] can be found in "/usr/share/common-licenses/ + - score: '99.41' + start_line: 1 + end_line: 39 + matcher: 3-seq + rule_length: 341 + matched_length: 339 + match_coverage: '99.41' + rule_relevance: 100 + identifier: tcl_1.RULE + license_expression: tcl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is copyrighted by the Regents of the University of + California, Sun Microsystems, Inc., and other parties. The following terms + apply to all files associated with the software unless explicitly + disclaimed in individual files. + + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, + provided that existing copyright notices are retained in all copies + and that this notice is included verbatim in any distributions. No + written agreement, license, or royalty fee is required for any of the + authorized uses. Modifications to this software may be copyrighted by + their authors and need not follow the licensing terms described here, + provided that the new terms are clearly indicated on the first page + of each file where they apply. + + IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY + FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES + ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY + DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND + NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND + THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE + MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + + GOVERNMENT USE: If you are acquiring this software on behalf of the + U.S. government, the Government shall have only "Restricted Rights" + in the software and related documentation as defined in the Federal + Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you + are acquiring the software on behalf of the Department of Defense, + the software shall be classified as "Commercial Computer Software" + and the Government shall have only "Restricted Rights" as defined in + Clause 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, + the authors grant the U.S. Government and others acting in its behalf + permission to use and distribute the software in accordance with the + terms specified in this license. + - score: '95.26' + start_line: 1 + end_line: 51 + matcher: 3-seq + rule_length: 443 + matched_length: 422 + match_coverage: '95.26' + rule_relevance: 100 + identifier: unicode_10.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Unicode Data Files include all data files under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and + http://www.unicode.org/utility/trac/browser/. + + Unicode Data Files do not include PDF online code charts under the + directory http://www.unicode.org/Public/. + + Software includes any source code published in the Unicode Standard + or under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and + http://www.unicode.org/utility/trac/browser/. + + NOTICE TO USER: Carefully read the following legal agreement. + BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S + DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), + YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE + TERMS AND CONDITIONS OF THIS AGREEMENT. + IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE + THE DATA FILES OR SOFTWARE. + + COPYRIGHT AND PERMISSION NOTICE + Permission is hereby granted, free of charge, to any person obtaining + a copy of the Unicode data files and any associated documentation + (the "Data Files") or Unicode software and any associated documentation + (the "Software") to deal in the Data Files or Software + without restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, and/or sell copies of + the Data Files or Software, and to permit persons to whom the Data Files + or Software are furnished to do so, provided that either + (a) this copyright and permission notice appear with all copies + of the Data Files or Software, or + (b) this copyright and permission notice appear in associated + Documentation. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF + ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT OF THIRD PARTY RIGHTS. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS + NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 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 DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in these Data Files or Software without prior + written authorization of the copyright holder. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/perl/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/perl/copyright-detailed.expected.yml index cfde5863b4d..91fe7373104 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/perl/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/perl/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0) -- - GPL-1+ or Artistic +primary_license: (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0) +declared_license: + - GPL-1+ or Artistic - GPL-1+ or Artistic - GPL-1+ or Artistic - GPL-1+ or Artistic @@ -232,8 +233,8 @@ - CC0-1.0 - RRA-KEEP-THIS-NOTICE - Artistic-dist -- ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR - artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) +license_expression: ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND + (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus @@ -464,7 +465,7 @@ AND public-domain AND artistic-2.0) AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND mit) AND ((gpl-1.0-plus OR artistic-perl-1.0) AND mit) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) -- | +copyright: | Perl is Copyright (C) 1987-2018 by Larry Wall and others. All rights reserved. Copyright (c) 1996-2006, Nick Ing-Simmons Copyright (c) 2006, 2007, 2008 Larry Wall and others @@ -822,3 +823,5016 @@ The other people listed in debian/changelog are most probably copyright holders too, but they have not included explicit copyright or licensing information. +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_249.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the LGPL 2.1 + license can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_395.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-1+' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0_38.RULE + license_expression: gpl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1040.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of version 2 of + the GNU General Public License can be found in + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: artistic' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 21 + matched_length: 21 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_2.RULE + license_expression: artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the + Artistic Licence can be found in `/usr/share/common-licenses/Artistic'. + - score: '100.0' + start_line: 1 + end_line: 182 + matcher: 1-hash + rule_length: 1351 + matched_length: 1351 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_36.RULE + license_expression: artistic-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copyright (c) 2000-2006, The Perl Foundation. + + Everyone is permitted to copy and distribute verbatim copies of this + license document, but changing it is not allowed. + + Preamble + + This license establishes the terms under which a given free software + Package may be copied, modified, distributed, and/or redistributed. + The intent is that the Copyright Holder maintains some artistic + control over the development of that Package while still keeping the + Package available as open source and free software. + + You are always permitted to make arrangements wholly outside of this + license directly with the Copyright Holder of a given Package. If the + terms of this license do not permit the full use that you propose to + make of the Package, you should contact the Copyright Holder and seek + a different licensing arrangement. + + Definitions + + "Copyright Holder" means the individual(s) or organization(s) named in + the copyright notice for the entire Package. + + "Contributor" means any party that has contributed code or other + material to the Package, in accordance with the Copyright Holder's + procedures. + + "You" and "your" means any person who would like to copy, distribute, + or modify the Package. + + "Package" means the collection of files distributed by the Copyright + Holder, and derivatives of that collection and/or of those files. A + given Package may consist of either the Standard Version, or a + Modified Version. + + "Distribute" means providing a copy of the Package or making it + accessible to anyone else, or in the case of a company or + organization, to others outside of your company or organization. + + "Distributor Fee" means any fee that you charge for Distributing this + Package or providing support for this Package to another party. It + does not mean licensing fees. + + "Standard Version" refers to the Package if it has not been modified, + or has been modified only in ways explicitly requested by the + Copyright Holder. + + "Modified Version" means the Package, if it has been changed, and such + changes were not explicitly requested by the Copyright Holder. + + "Original License" means this Artistic License as Distributed with the + Standard Version of the Package, in its current version or as it may + be modified by The Perl Foundation in the future. + + "Source" form means the source code, documentation source, and + configuration files for the Package. + + "Compiled" form means the compiled bytecode, object code, binary, or + any other form resulting from mechanical transformation or translation + of the Source form. + + Permission for Use and Modification Without Distribution + + (1) You are permitted to use the Standard Version and create and use + Modified Versions for any purpose without restriction, provided that + you do not Distribute the Modified Version. + + Permissions for Redistribution of the Standard Version + + (2) You may Distribute verbatim copies of the Source form of the + Standard Version of this Package in any medium without restriction, + either gratis or for a Distributor Fee, provided that you duplicate + all of the original copyright notices and associated disclaimers. At + your discretion, such verbatim copies may or may not include a + Compiled form of the Package. + + (3) You may apply any bug fixes, portability changes, and other + modifications made available from the Copyright Holder. The resulting + Package will still be considered the Standard Version, and as such + will be subject to the Original License. + + Distribution of Modified Versions of the Package as Source + + (4) You may Distribute your Modified Version as Source (either gratis + or for a Distributor Fee, and with or without a Compiled form of the + Modified Version) provided that you clearly document how it differs + from the Standard Version, including, but not limited to, documenting + any non-standard features, executables, or modules, and provided that + you do at least ONE of the following: + + (a) make the Modified Version available to the Copyright Holder of the + Standard Version, under the Original License, so that the Copyright + Holder may include your modifications in the Standard Version. (b) + ensure that installation of your Modified Version does not prevent the + user installing or running the Standard Version. In addition, the + Modified Version must bear a name that is different from the name of + the Standard Version. (c) allow anyone who receives a copy of the + Modified Version to make the Source form of the Modified Version + available to others under (i) the Original License or (ii) a license + that permits the licensee to freely copy, modify and redistribute the + Modified Version using the same licensing terms that apply to the copy + that the licensee received, and requires that the Source form of the + Modified Version, and of any works derived from it, be made freely + available in that license fees are prohibited but Distributor Fees are + allowed. + + Distribution of Compiled Forms of the Standard Version or Modified + Versions without the Source + + (5) You may Distribute Compiled forms of the Standard Version without + the Source, provided that you include complete instructions on how to + get the Source of the Standard Version. Such instructions must be + valid at the time of your distribution. If these instructions, at any + time while you are carrying out such distribution, become invalid, you + must provide new instructions on demand or cease further distribution. + If you provide valid instructions or cease distribution within thirty + days after you become aware that the instructions are invalid, then + you do not forfeit any of your rights under this license. + + (6) You may Distribute a Modified Version in Compiled form without the + Source, provided that you comply with Section 4 with respect to the + Source of the Modified Version. + + Aggregating or Linking the Package + + (7) You may aggregate the Package (either the Standard Version or + Modified Version) with other packages and Distribute the resulting + aggregation provided that you do not charge a licensing fee for the + Package. Distributor Fees are permitted, and licensing fees for other + components in the aggregation are permitted. The terms of this license + apply to the use and Distribution of the Standard or Modified Versions + as included in the aggregation. + + (8) You are permitted to link Modified and Standard Versions with + other works, to embed the Package in a larger work of your own, or to + build stand-alone binary or bytecode versions of applications that + include the Package, and Distribute the result without restriction, + provided the result does not expose a direct interface to the Package. + + Items That are Not Considered Part of a Modified Version + + (9) Works (including, but not limited to, modules and scripts) that + merely extend or make use of the Package, do not, by themselves, cause + the Package to be a Modified Version. In addition, such works are not + considered parts of the Package itself, and are not subject to the + terms of this license. + + General Provisions + + (10) Any use, modification, and distribution of the Standard or + Modified Versions is governed by this Artistic License. By using, + modifying or distributing the Package, you accept this license. Do not + use, modify, or distribute the Package, if you do not accept this + license. + + (11) If your Modified Version has been derived from a Modified Version + made by someone other than you, you are nevertheless required to + ensure that your Modified Version complies with the requirements of + this license. + + (12) This license does not grant you the right to use any trademark, + service mark, tradename, or logo of the Copyright Holder. + + (13) This license includes the non-exclusive, worldwide, + free-of-charge patent license to make, have made, use, offer to sell, + sell, import and otherwise transfer the Package with respect to any + patent claims licensable by the Copyright Holder that are necessarily + infringed by the Package. If you institute patent litigation + (including a cross-claim or counterclaim) against any party alleging + that the Package constitutes direct or contributory patent + infringement, then this Artistic License to you shall terminate on the + date that such litigation is filed. + + (14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT + HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED + WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A + PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT + PERMITTED BY YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT + HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE + OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 30 + matcher: 2-aho + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bzip2-libbzip-2010.LICENSE + license_expression: bzip2-libbzip-2010 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + . + 3. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + . + 4. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '96.49' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 220 + matched_length: 220 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_48.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this + software must display the following acknowledgement: + This product includes software developed by [Powerdog] [Industries]. + 4. The name of [Powerdog] [Industries] may not be used to endorse or + promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY [POWERDOG] [INDUSTRIES] ``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 [POWERDOG] [INDUSTRIES] 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. + - score: '99.78' + start_line: 2 + end_line: 56 + matcher: 3-seq + rule_length: 464 + matched_length: 463 + match_coverage: '99.78' + rule_relevance: 100 + identifier: unicode-dfs-2015_1.RULE + license_expression: unicode-dfs-2015 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE + + Unicode Data Files include all data files under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + and http://www.unicode.org/cldr/data/ . Unicode Data Files + do not include PDF online code charts under the directory + http://www.unicode.org/Public/. Software includes any + source code published in the Unicode Standard or under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + and http://www.unicode.org/cldr/data/. + + NOTICE TO USER: Carefully read the following legal agreement. BY + DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE + INC.'S DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), YOU + UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE TERMS AND + CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT DOWNLOAD, + INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. + + COPYRIGHT AND PERMISSION NOTICE + + Copyright © 1991-[2011] Unicode, Inc. All rights + reserved. Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person + obtaining a copy of the Unicode data files and any associated + documentation (the "Data Files") or Unicode software and any + associated documentation (the "Software") to deal in the Data Files + or Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, + and/or sell copies of the Data Files or Software, and to permit + persons to whom the Data Files or Software are furnished to do so, + provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, + (b) both the above copyright notice(s) and this permission notice + appear in associated documentation, and (c) there is clear notice + in each modified Data File or in the Software as well as in the + documentation associated with the Data File(s) or Software that + the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY + OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE + AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE + COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE + FOR ANY CLAIM, OR ANY SPECIAL 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 DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in these Data Files or Software without + prior written authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 207 + matched_length: 207 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_313.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: regexp.LICENSE + license_expression: regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to anyone to use this software for any + purpose on any computer system, and to redistribute it freely, + subject to the following restrictions: + + 1. The author is not responsible for the consequences of use of + this software, no matter how awful, even if they arise + from defects in it. + + 2. The origin of this software must not be misrepresented, either + by explicit claim or by omission. + + 3. Altered versions must be plainly marked as such, and must not + be misrepresented as being the original software. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_212.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module may be modified, used, copied, and redistributed at your own risk. + + Although allowed by the preceding license, please do not publicly + redistribute modified versions of this code with the name "Text::Tabs" + unless it passes the unmodified Text::Tabs test suite. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-copyleft_20.RULE + license_expression: other-copyleft + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free and open software. You may use, modify, + distribute, and sell this program (and any modified variants) in any + way you wish, provided you do not restrict others from doing the same. + - score: '90.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_4.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_45.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: placed in the public domain. + - score: '100.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_285.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is in the public domain, + - score: '70.0' + start_line: 10 + end_line: 10 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public-domain + - score: '70.0' + start_line: '19' + end_line: '19' + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_bison-exception-3.0_1.RULE + license_expression: gpl-3.0-plus WITH bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 121 + matched_length: 121 + match_coverage: '100.0' + rule_relevance: 100 + identifier: paul-hsieh-derivative_1.RULE + license_expression: paul-hsieh-derivative + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The derivative content includes raw computer source code, ideas, + opinions, and excerpts whose original source is covered under another + license and transformations of such derivatives. Note that mere excerpts + by themselves (with the exception of raw source code) are not considered + derivative works under this license. Use and redistribution is limited + to the following conditions: + + One may not create a derivative work which, in any way, violates the + Paul Hsieh exposition license described above on the original content. + + One may not apply a license to a derivative work that precludes + anyone else from using and redistributing derivative content. + + One may not attribute any derivative content to authors not involved + in the creation of the content, though an attribution to the author + is not necessary. + - score: '99.0' + start_line: 4 + end_line: 29 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-x11_10.RULE + license_expression: bsd-x11 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + Neither my name, Paul Hsieh, nor the names of any other contributors + to the code use may not be used to endorse or promote products + derived from this software without specific prior written permission. + + 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 + OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '99.38' + start_line: 1 + end_line: 120 + matcher: 3-seq + rule_length: 975 + matched_length: 969 + match_coverage: '99.38' + rule_relevance: 100 + identifier: cc0-1.0_116.RULE + license_expression: cc0-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + of Purpose + + The laws of most jurisdictions throughout the world automatically confer + exclusive Copyright and Related Rights (defined below) upon the creator + and subsequent owner(s) (each and all, an "owner") of an original work + of authorship and/or a database (each, a "Work"). + + Certain owners wish to permanently relinquish those rights to a Work + for the purpose of contributing to a commons of creative, cultural and + scientific works ("Commons") that the public can reliably and without + fear of later claims of infringement build upon, modify, incorporate in + other works, reuse and redistribute as freely as possible in any form + whatsoever and for any purposes, including without limitation commercial + purposes. These owners may contribute to the Commons to promote the ideal + of a free culture and the further production of creative, cultural and + scientific works, or to gain reputation or greater distribution for + their Work in part through the use and efforts of others. + + For these and/or other purposes and motivations, and without any + expectation of additional consideration or compensation, the person + associating CC0 with a Work (the "Affirmer"), to the extent that + he or she is an owner of Copyright and Related Rights in the Work, + voluntarily elects to apply CC0 to the Work and publicly distribute + the Work under its terms, with knowledge of his or her Copyright and + Related Rights in the Work and the meaning and intended legal effect + of CC0 on those rights. + + 1. Copyright and Related Rights. A Work made available under CC0 may be + protected by copyright and related or neighboring rights ("Copyright + and Related Rights"). Copyright and Related Rights include, but are + not limited to, the following: + + the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + + moral rights retained by the original author(s) and/or performer(s); + + publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + + rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + + rights protecting the extraction, dissemination, use and reuse of data in a Work; + + database rights (such as those arising under Directive 96/9/EC + of the European Parliament and of the Council of 11 March 1996 + on the legal protection of databases, and under any national + implementation thereof, including any amended or successor version + of such directive); and + + other similar, equivalent or corresponding rights throughout the world + based on applicable law or treaty, and any national implementations + thereof. + + 2. Waiver. To the greatest extent permitted by, but not in contravention + of, applicable law, Affirmer hereby overtly, fully, permanently, + irrevocably and unconditionally waives, abandons, and surrenders all + of Affirmer's Copyright and Related Rights and associated claims and + causes of action, whether now known or unknown (including existing + as well as future claims and causes of action), in the Work (i) in + all territories worldwide, (ii) for the maximum duration provided by + applicable law or treaty (including future time extensions), (iii) + in any current or future medium and for any number of copies, and (iv) + for any purpose whatsoever, including without limitation commercial, + advertising or promotional purposes (the "Waiver"). Affirmer makes the + Waiver for the benefit of each member of the public at large and to the + detriment of Affirmer's heirs and successors, fully intending that such + Waiver shall not be subject to revocation, rescission, cancellation, + termination, or any other legal or equitable action to disrupt the + quiet enjoyment of the Work by the public as contemplated by Affirmer's + express Statement of Purpose. + + 3. Public License Fallback. Should any part of the Waiver for any + reason be judged legally invalid or ineffective under applicable law, + then the Waiver shall be preserved to the maximum extent permitted + taking into account Affirmer's express Statement of Purpose. In + addition, to the extent the Waiver is so judged Affirmer hereby + grants to each affected person a royalty-free, non transferable, non + sublicensable, non exclusive, irrevocable and unconditional license + to exercise Affirmer's Copyright and Related Rights in the Work (i) + in all territories worldwide, (ii) for the maximum duration provided + by applicable law or treaty (including future time extensions), (iii) + in any current or future medium and for any number of copies, and (iv) + for any purpose whatsoever, including without limitation commercial, + advertising or promotional purposes (the "License"). The License shall + be deemed effective as of the date CC0 was applied by Affirmer to the + Work. Should any part of the License for any reason be judged legally + invalid or ineffective under applicable law, such partial invalidity + or ineffectiveness shall not invalidate the remainder of the License, + and in such case Affirmer hereby affirms that he or she will not (i) + exercise any of his or her remaining Copyright and Related Rights in + the Work or (ii) assert any associated claims and causes of action + with respect to the Work, in either case contrary to Affirmer's express + Statement of Purpose. + + 4. Limitations and Disclaimers. + + No trademark or patent rights held by Affirmer are waived, + abandoned, surrendered, licensed or otherwise affected by this + document. + + Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties + of title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, + or the present or absence of errors, whether or not discoverable, + all to the greatest extent permissible under applicable law. + + Affirmer disclaims responsibility for clearing rights of other + persons that may apply to the Work or any use thereof, including + without limitation any person's Copyright and Related Rights in the + Work. Further, Affirmer disclaims responsibility for obtaining any + necessary consents, permissions or other rights required for any + use of the Work. + + Affirmer understands and acknowledges that Creative Commons is not + a party to this document and has no duty or obligation with respect + to this CC0 or use of the Work. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap.LICENSE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, are + permitted in any medium without royalty provided the copyright notice and + this notice are preserved. This file is offered as-is, without any + warranty. + - score: '100.0' + start_line: 1 + end_line: 125 + matcher: 1-hash + rule_length: 946 + matched_length: 946 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-dist-1.0.LICENSE + license_expression: artistic-dist-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The "Artistic License" + + Preamble + + The intent of this document is to state the conditions under which a + Package may be copied, such that the Copyright Holder maintains some + semblance of artistic control over the development of the Package, + while giving the users of the package the right to use and distribute + the Package in a more-or-less customary fashion, plus the right to make + reasonable modifications. + + It also grants you the rights to reuse parts of a Package in your own + programs without transferring this License to those programs, provided + that you meet some reasonable requirements. + + Definitions: + + "Package" refers to the collection of files distributed by the + Copyright Holder, and derivatives of that collection of files + created through textual modification. + + "Standard Version" refers to such a Package if it has not been + modified, or has been modified in accordance with the wishes + of the Copyright Holder as specified below. + + "Copyright Holder" is whoever is named in the copyright or + copyrights for the package. + + "You" is you, if you're thinking about copying or distributing + this Package. + + "Reasonable copying fee" is whatever you can justify on the + basis of media cost, duplication charges, time of people involved, + and so on. (You will not be required to justify it to the + Copyright Holder, but only to the computing community at large + as a market that must bear the fee.) + + "Freely Available" means that no fee is charged for the item + itself, though there may be fees involved in handling the item. + It also means that recipients of the item may redistribute it + under the same conditions they received it. + + 1. You may make and give away verbatim copies of the source form of the + Standard Version of this Package without restriction, provided that you + duplicate all of the original copyright notices and associated disclaimers. + + 2. You may apply bug fixes, portability fixes and other modifications + derived from the Public Domain or from the Copyright Holder. A Package + modified in such a way shall still be considered the Standard Version. + + 3. You may otherwise modify your copy of this Package in any way, provided + that you insert a prominent notice in each changed file stating how and + when you changed that file, and provided that you do at least ONE of the + following: + + a) place your modifications in the Public Domain or otherwise make them + Freely Available, such as by posting said modifications to Usenet or + an equivalent medium, or placing the modifications on a major archive + site such as uunet.uu.net, or by allowing the Copyright Holder to include + your modifications in the Standard Version of the Package. + + b) use the modified Package only within your corporation or organization. + + c) rename any non-standard executables so the names do not conflict + with standard executables, which must also be provided, and provide + a separate manual page for each non-standard executable that clearly + documents how it differs from the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 4. You may distribute the programs of this Package in object code or + executable form, provided that you do at least ONE of the following: + + a) distribute a Standard Version of the executables and library files, + together with instructions (in the manual page or equivalent) on where + to get the Standard Version. + + b) accompany the distribution with the machine-readable source of + the Package with your modifications. + + c) give non-standard executables non-standard names, and clearly + document the differences in manual pages (or equivalent), together + with instructions on where to get the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 5. You may charge a reasonable copying fee for any distribution of this + Package. You may charge any fee you choose for support of this + Package. You may not charge a fee for this Package itself. However, + you may distribute this Package in aggregate with other (possibly + commercial) programs as part of a larger (possibly commercial) software + distribution provided that you do not advertise this Package as a + product of your own. + + 6. The scripts and library files supplied as input to or produced as + output from the programs of this Package do not automatically fall + under the copyright of this Package, but belong to whoever generated + them, and may be sold commercially, and may be aggregated with this + Package. If such scripts or library files are aggregated with this + Package via the so-called "undump" or "unexec" methods of producing a + binary executable image, then distribution of such an image shall + neither be construed as a distribution of this Package nor shall it + fall under the restrictions of Paragraphs 3 and 4, provided that you do + not represent such an executable image as a Standard Version of this + Package. + + 7. You may reuse parts of this Package in your own programs, provided that + you explicitly state where you got them from, in the source code (and, left + to your courtesy, in the documentation), duplicating all the associated + copyright notices and disclaimers. Besides your changes, if any, must be + clearly marked as such. Parts reused that way will no longer fall under this + license if, and only if, the name of your program(s) have no immediate + connection with the name of the Package itself or its associated programs. + You may then apply whatever restrictions you wish on the reused parts or + choose to place them in the Public Domain--this will apply only within the + context of your package. + + 8. The name of the Copyright Holder may not be used to endorse or promote + products derived from this software without specific prior written permission. + + 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + The End + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 2-aho + rule_length: 49 + matched_length: 49 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_14.RULE + license_expression: unicode + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For terms of use, see http://www.unicode.org/terms_of_use.html + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_26.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself, either Perl version 5.10.0 or, + at your option, any later version of Perl 5 you may have available. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software. You can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_34.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: All files are licensed under the same terms as Perl itself. + - score: '90.91' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_32.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: The [PerlUi] class is licensed under the same terms as Perl itself. + - score: '91.67' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_31.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: The [Symbian] port is licensed under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that the test code is licensed under the same terms + as Perl. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under the same + terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_11.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This package has the same copyright and license as the perl core. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the + same terms as Perl itself. + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the + same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 50 + matched_length: 50 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_13.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free + Software Foundation; either version 1, or (at your option) any + later version, or + + b) the "Artistic License" which comes with this kit. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_38.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the the Artistic License (2.0). + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 9 + end_line: 11 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_14.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute this work under the terms of either the GNU General + Public License or the Artistic License, as specified in perl's README + file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_15.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 47 + matched_length: 47 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-2.0-plus_3.RULE + license_expression: artistic-perl-1.0 OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the terms of the Perl Artistic License or the + GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any + later version. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute + it and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_15.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public License + or the Artistic License, as specified in the LICENCE file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_or_gpl-1.0-plus_or_artistic-perl-1.0_1.RULE + license_expression: mit OR gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is released under the MIT license cited below. Additionally, + when this software is distributed with Perl Kit, Version 5, you may also + redistribute it and/or modify it under the same terms as Perl itself. + - score: '66.67' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 10 + match_coverage: '66.67' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [these] [translations] [are] licensed under the same terms + as + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 2-aho + rule_length: 34 + matched_length: 34 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_8.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + + You may copy and distribute this program under the same terms as + Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 9 + end_line: 18 + matcher: 2-aho + rule_length: 87 + matched_length: 87 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_9.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this material + for any purpose and without fee is hereby granted, provided + that the above copyright notice and this permission notice + appear in all copies, and that the name of Bellcore not be + used in advertising or publicity pertaining to this + material without the specific, prior written permission + of an authorized representative of Bellcore. BELLCORE + MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY + OF THIS MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS", + WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_10.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This module is released under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; + you can redistribute it and/or modify it under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; + you can redistribute it and/or modify it under the same terms + as Perl itself. + - score: '73.33' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 11 + match_coverage: '73.33' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + it is assumed that [it] + is licensed under the same terms as + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '11.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic License. + - score: '100.0' + start_line: 12 + end_line: 16 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_286.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples here are in the public + domain. You are permitted and encouraged to use this code and any + derivatives thereof in your own programs for fun or for profit as you + see fit. A simple comment in the code giving credit to the FAQ would + be courteous but is not required. + - score: '100.0' + start_line: 20 + end_line: 22 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_and_public-domain-disclaimer_1.RULE + license_expression: artistic-2.0 AND public-domain-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document is available under the same terms as Perl itself. Code + examples in all the perlfaq documents are in the public domain. Use + them as you see fit (and at your own risk with no warranty from anyone). + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; + you can redistribute it and/or modify it under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under + the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 53 + matched_length: 53 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_287.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples in these files + are hereby placed into the public domain. You are permitted and + encouraged to use this code in your own programs for fun + or for profit as you see fit. A simple comment in the code giving + credit would be courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '12.7' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 63 + matched_length: 8 + match_coverage: '12.7' + rule_relevance: 100 + identifier: cc0-1.0_or_openssl-ssleay_or_apache-2.0_6.RULE + license_expression: cc0-1.0 OR openssl-ssleay OR apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + http://creativecommons.org/publicdomain/zero/1.0/ + [and] [the] [full] license + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed and/or + modified under the same terms as Perl itself. + - score: '11.84' + start_line: 2 + end_line: 5 + matcher: 3-seq + rule_length: 76 + matched_length: 9 + match_coverage: '11.84' + rule_relevance: 100 + identifier: agpl-3.0_209.RULE + license_expression: agpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + notices this [distribution]. + + [This] [library] [is] [free] [software]; [you] [may] redistribute and/or modify it + under the + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 61 + matched_length: 61 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-2.0-plus_2.RULE + license_expression: artistic-perl-1.0 OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + + These terms are your choice of any of (1) the Perl Artistic Licence, + or (2) version 2 of the GNU General Public License as published by the + Free Software Foundation, or (3) any later version of the GNU General + Public License. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same + terms as Perl. + - score: '84.86' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-new_242.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is licensed under the BSD-[like] license + - score: '11.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: other-permissive_16.RULE + license_expression: other-permissive + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: BSD-like + - score: '73.33' + start_line: 3 + end_line: 4 + matcher: 3-seq + rule_length: 15 + matched_length: 11 + match_coverage: '73.33' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that the [other] [parts] [are] licensed under the same + terms as + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_14.RULE + license_expression: unicode + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For terms of use, see http://www.unicode.org/terms_of_use.html + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_17.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '80.0' + start_line: 9 + end_line: 10 + matcher: 3-seq + rule_length: 10 + matched_length: 8 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_32.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed under the same terms + as Perl itself + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '73.33' + start_line: 3 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 11 + match_coverage: '73.33' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [they] [are] licensed under the same terms as Perl + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '15.0' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 40 + matched_length: 6 + match_coverage: '15.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_perl5_2.RULE + license_expression: artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: You can redistribute and/or modify + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '34.85' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 66 + matched_length: 23 + match_coverage: '34.85' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_2.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + + [The] [atmark]() [implementation]: [Copyright] [2001], [Lincoln] [Stein] <[lstein]@[cshl].[org]>. + [This] [module] is distributed under + - score: '100.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_11.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This package has the same copyright and license as the perl core. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '90.91' + start_line: 7 + end_line: 8 + matcher: 3-seq + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_763.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed + under the terms of the "BSD-3-clause-[GENERIC]" license + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: warranty-disclaimer_50.RULE + license_expression: warranty-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + provided "as is" without express + or implied warranty. + - score: '75.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 20 + matched_length: 15 + match_coverage: '75.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It may be used, redistributed and/or modified + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '80.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that [this] + [distribution] is licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '80.0' + start_line: 3 + end_line: 4 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that [it] is licensed under + the same terms as Perl + - score: '80.0' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [this] [file] is licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Artistic/' + - score: '50.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '90.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: artistic-1.0_11.RULE + license_expression: artistic-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the artistic license. + - score: '80.0' + start_line: 3 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [it] is licensed under the same terms as Perl + - score: '80.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + it is assumed that [this] [file] is licensed under the same terms + as Perl + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself, + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: artistic-1.0_11.RULE + license_expression: artistic-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Artistic License. + - score: '80.0' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [it] is licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same terms as Perl + itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_286.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples here are in the public + domain. You are permitted and encouraged to use this code and any + derivatives thereof in your own programs for fun or for profit as you + see fit. A simple comment in the code giving credit to the FAQ would + be courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_and_public-domain-disclaimer_1.RULE + license_expression: artistic-2.0 AND public-domain-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document is available under the same terms as Perl itself. Code + examples in all the perlfaq documents are in the public domain. Use + them as you see fit (and at your own risk with no warranty from anyone). + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 53 + matched_length: 53 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_287.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples in these files are + hereby placed into the public domain. You are permitted and + encouraged to use this code in your own programs for fun or for profit + as you see fit. A simple comment in the code giving credit would be + courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it under + the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 53 + matched_length: 53 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_287.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples in these files are + hereby placed into the public domain. You are permitted and + encouraged to use this code in your own programs for fun or for profit + as you see fit. A simple comment in the code giving credit would be + courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '21.28' + start_line: 17 + end_line: '19' + matcher: 3-seq + rule_length: 47 + matched_length: 10 + match_coverage: '21.28' + rule_relevance: 100 + identifier: artistic-2.0_4.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the "Artistic License" which comes with Perl, [or] + + [b]) the "Artistic License" + - score: '57.14' + start_line: 21 + end_line: 26 + matcher: 3-seq + rule_length: 49 + matched_length: 28 + match_coverage: '57.14' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License as published by the Free + Software Foundation; either version 1, or (at your option) any + later version ([see] [the] [file] "[Copying]" [that] [comes] [with] [the] + [Perl] [distribution]). + + [The] [full] [text] [of] the "Artistic License" which comes with + - score: '83.33' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_31.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: licensed under the [modified] Artistic license + - score: '11.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic License. + - score: '100.0' + start_line: 18 + end_line: 18 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the Public Domain-- + - score: '11.0' + start_line: 27 + end_line: 27 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic license. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 2-aho + rule_length: 49 + matched_length: 49 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_577.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the Expat license. + - score: '55.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 20 + matched_length: 11 + match_coverage: '55.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + redistributed + and/or modified under the same terms as Perl itself. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/perl/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/perl/copyright.expected.yml index 199bd5c9ccf..fc562ced823 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/perl/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/perl/copyright.expected.yml @@ -1,5 +1,6 @@ -- (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0) -- - GPL-1+ or Artistic +primary_license: (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0) +declared_license: + - GPL-1+ or Artistic - Expat - REGCOMP, and GPL-1+ or Artistic - GPL-3+-WITH-BISON-EXCEPTION @@ -33,23 +34,23 @@ - REGCOMP - HSIEH-DERIVATIVE - HSIEH-BSD -- ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR - artistic-perl-1.0) AND mit AND (regexp AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND - artistic-perl-1.0))) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND gpl-3.0-plus WITH bison-exception-2.2 - AND unicode-dfs-2015 AND unicode AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND unicode-dfs-2015) AND (gpl-1.0-plus OR artistic-1.0) AND other-copyleft AND bzip2-libbzip-2010 - AND zlib AND (artistic-2.0 AND artistic-perl-1.0) AND artistic-2.0 AND ((gpl-2.0-plus AND - gpl-2.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-2.0-plus) - AND (mit OR (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (mit OR - gpl-1.0-plus OR artistic-perl-1.0) AND ((artistic-perl-1.0 OR gpl-1.0-plus) AND historical) - AND fsf-ap AND (artistic-2.0 AND public-domain AND (artistic-2.0 AND public-domain-disclaimer)) - AND bsd-new AND ((gpl-1.0-plus OR artistic-perl-1.0) AND public-domain) AND cc0-1.0 AND (cc0-1.0 - OR openssl-ssleay OR apache-2.0) AND (agpl-3.0 AND (artistic-perl-1.0 OR gpl-1.0-plus)) AND - other-permissive AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND bsd-original) AND (bsd-new AND other-permissive AND (artistic-perl-1.0 OR gpl-1.0-plus)) - AND (artistic-perl-1.0 AND (gpl-1.0-plus OR artistic-perl-1.0)) AND ((artistic-perl-1.0 OR - gpl-1.0-plus) AND (gpl-1.0-plus OR artistic-perl-1.0)) AND (((gpl-1.0-plus AND gpl-1.0) OR - (artistic-2.0 AND artistic-perl-1.0)) AND bsd-new) AND ((artistic-perl-1.0 OR gpl-1.0-plus) +license_expression: ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND + (gpl-1.0-plus OR artistic-perl-1.0) AND mit AND (regexp AND ((gpl-1.0-plus AND gpl-1.0) OR + (artistic-2.0 AND artistic-perl-1.0))) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND gpl-3.0-plus + WITH bison-exception-2.2 AND unicode-dfs-2015 AND unicode AND (((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND unicode-dfs-2015) AND (gpl-1.0-plus OR artistic-1.0) + AND other-copyleft AND bzip2-libbzip-2010 AND zlib AND (artistic-2.0 AND artistic-perl-1.0) + AND artistic-2.0 AND ((gpl-2.0-plus AND gpl-2.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-2.0-plus) AND (mit OR (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 + AND artistic-perl-1.0)) AND (mit OR gpl-1.0-plus OR artistic-perl-1.0) AND ((artistic-perl-1.0 + OR gpl-1.0-plus) AND historical) AND fsf-ap AND (artistic-2.0 AND public-domain AND (artistic-2.0 + AND public-domain-disclaimer)) AND bsd-new AND ((gpl-1.0-plus OR artistic-perl-1.0) AND public-domain) + AND cc0-1.0 AND (cc0-1.0 OR openssl-ssleay OR apache-2.0) AND (agpl-3.0 AND (artistic-perl-1.0 + OR gpl-1.0-plus)) AND other-permissive AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND bsd-original) AND (bsd-new AND other-permissive AND (artistic-perl-1.0 + OR gpl-1.0-plus)) AND (artistic-perl-1.0 AND (gpl-1.0-plus OR artistic-perl-1.0)) AND ((artistic-perl-1.0 + OR gpl-1.0-plus) AND (gpl-1.0-plus OR artistic-perl-1.0)) AND (((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND bsd-new) AND ((artistic-perl-1.0 OR gpl-1.0-plus) AND bsd-new) AND (warranty-disclaimer AND (gpl-1.0-plus OR artistic-perl-1.0)) AND (artistic-2.0 AND gpl-1.0-plus) AND artistic-1.0 AND public-domain AND (artistic-2.0 AND public-domain-disclaimer) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0) OR artistic-dist-1.0) @@ -57,7 +58,7 @@ AND artistic-perl-1.0) OR (gpl-1.0-plus AND gpl-1.0) OR artistic-dist-1.0) AND (artistic-2.0 AND public-domain) AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND mit) AND ((gpl-1.0-plus OR artistic-perl-1.0) AND mit) -- | +copyright: | Perl is Copyright (C) 1987-2018 by Larry Wall and others. All rights reserved. Copyright (c) 1996-2006, Nick Ing-Simmons Copyright (c) 2006, 2007, 2008 Larry Wall and others @@ -367,3 +368,5016 @@ Copyright (c) 2017 Dagfinn Ilmari Mannsåker Copyright (c) 2017, Karl Williamson Portions Copyright (c) 2008-2009 Bjoern Hoehrmann +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_249.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the LGPL 2.1 + license can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_395.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-1+' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0_38.RULE + license_expression: gpl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1040.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of version 2 of + the GNU General Public License can be found in + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: artistic' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 21 + matched_length: 21 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_2.RULE + license_expression: artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the + Artistic Licence can be found in `/usr/share/common-licenses/Artistic'. + - score: '100.0' + start_line: 1 + end_line: 182 + matcher: 1-hash + rule_length: 1351 + matched_length: 1351 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_36.RULE + license_expression: artistic-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copyright (c) 2000-2006, The Perl Foundation. + + Everyone is permitted to copy and distribute verbatim copies of this + license document, but changing it is not allowed. + + Preamble + + This license establishes the terms under which a given free software + Package may be copied, modified, distributed, and/or redistributed. + The intent is that the Copyright Holder maintains some artistic + control over the development of that Package while still keeping the + Package available as open source and free software. + + You are always permitted to make arrangements wholly outside of this + license directly with the Copyright Holder of a given Package. If the + terms of this license do not permit the full use that you propose to + make of the Package, you should contact the Copyright Holder and seek + a different licensing arrangement. + + Definitions + + "Copyright Holder" means the individual(s) or organization(s) named in + the copyright notice for the entire Package. + + "Contributor" means any party that has contributed code or other + material to the Package, in accordance with the Copyright Holder's + procedures. + + "You" and "your" means any person who would like to copy, distribute, + or modify the Package. + + "Package" means the collection of files distributed by the Copyright + Holder, and derivatives of that collection and/or of those files. A + given Package may consist of either the Standard Version, or a + Modified Version. + + "Distribute" means providing a copy of the Package or making it + accessible to anyone else, or in the case of a company or + organization, to others outside of your company or organization. + + "Distributor Fee" means any fee that you charge for Distributing this + Package or providing support for this Package to another party. It + does not mean licensing fees. + + "Standard Version" refers to the Package if it has not been modified, + or has been modified only in ways explicitly requested by the + Copyright Holder. + + "Modified Version" means the Package, if it has been changed, and such + changes were not explicitly requested by the Copyright Holder. + + "Original License" means this Artistic License as Distributed with the + Standard Version of the Package, in its current version or as it may + be modified by The Perl Foundation in the future. + + "Source" form means the source code, documentation source, and + configuration files for the Package. + + "Compiled" form means the compiled bytecode, object code, binary, or + any other form resulting from mechanical transformation or translation + of the Source form. + + Permission for Use and Modification Without Distribution + + (1) You are permitted to use the Standard Version and create and use + Modified Versions for any purpose without restriction, provided that + you do not Distribute the Modified Version. + + Permissions for Redistribution of the Standard Version + + (2) You may Distribute verbatim copies of the Source form of the + Standard Version of this Package in any medium without restriction, + either gratis or for a Distributor Fee, provided that you duplicate + all of the original copyright notices and associated disclaimers. At + your discretion, such verbatim copies may or may not include a + Compiled form of the Package. + + (3) You may apply any bug fixes, portability changes, and other + modifications made available from the Copyright Holder. The resulting + Package will still be considered the Standard Version, and as such + will be subject to the Original License. + + Distribution of Modified Versions of the Package as Source + + (4) You may Distribute your Modified Version as Source (either gratis + or for a Distributor Fee, and with or without a Compiled form of the + Modified Version) provided that you clearly document how it differs + from the Standard Version, including, but not limited to, documenting + any non-standard features, executables, or modules, and provided that + you do at least ONE of the following: + + (a) make the Modified Version available to the Copyright Holder of the + Standard Version, under the Original License, so that the Copyright + Holder may include your modifications in the Standard Version. (b) + ensure that installation of your Modified Version does not prevent the + user installing or running the Standard Version. In addition, the + Modified Version must bear a name that is different from the name of + the Standard Version. (c) allow anyone who receives a copy of the + Modified Version to make the Source form of the Modified Version + available to others under (i) the Original License or (ii) a license + that permits the licensee to freely copy, modify and redistribute the + Modified Version using the same licensing terms that apply to the copy + that the licensee received, and requires that the Source form of the + Modified Version, and of any works derived from it, be made freely + available in that license fees are prohibited but Distributor Fees are + allowed. + + Distribution of Compiled Forms of the Standard Version or Modified + Versions without the Source + + (5) You may Distribute Compiled forms of the Standard Version without + the Source, provided that you include complete instructions on how to + get the Source of the Standard Version. Such instructions must be + valid at the time of your distribution. If these instructions, at any + time while you are carrying out such distribution, become invalid, you + must provide new instructions on demand or cease further distribution. + If you provide valid instructions or cease distribution within thirty + days after you become aware that the instructions are invalid, then + you do not forfeit any of your rights under this license. + + (6) You may Distribute a Modified Version in Compiled form without the + Source, provided that you comply with Section 4 with respect to the + Source of the Modified Version. + + Aggregating or Linking the Package + + (7) You may aggregate the Package (either the Standard Version or + Modified Version) with other packages and Distribute the resulting + aggregation provided that you do not charge a licensing fee for the + Package. Distributor Fees are permitted, and licensing fees for other + components in the aggregation are permitted. The terms of this license + apply to the use and Distribution of the Standard or Modified Versions + as included in the aggregation. + + (8) You are permitted to link Modified and Standard Versions with + other works, to embed the Package in a larger work of your own, or to + build stand-alone binary or bytecode versions of applications that + include the Package, and Distribute the result without restriction, + provided the result does not expose a direct interface to the Package. + + Items That are Not Considered Part of a Modified Version + + (9) Works (including, but not limited to, modules and scripts) that + merely extend or make use of the Package, do not, by themselves, cause + the Package to be a Modified Version. In addition, such works are not + considered parts of the Package itself, and are not subject to the + terms of this license. + + General Provisions + + (10) Any use, modification, and distribution of the Standard or + Modified Versions is governed by this Artistic License. By using, + modifying or distributing the Package, you accept this license. Do not + use, modify, or distribute the Package, if you do not accept this + license. + + (11) If your Modified Version has been derived from a Modified Version + made by someone other than you, you are nevertheless required to + ensure that your Modified Version complies with the requirements of + this license. + + (12) This license does not grant you the right to use any trademark, + service mark, tradename, or logo of the Copyright Holder. + + (13) This license includes the non-exclusive, worldwide, + free-of-charge patent license to make, have made, use, offer to sell, + sell, import and otherwise transfer the Package with respect to any + patent claims licensable by the Copyright Holder that are necessarily + infringed by the Package. If you institute patent litigation + (including a cross-claim or counterclaim) against any party alleging + that the Package constitutes direct or contributory patent + infringement, then this Artistic License to you shall terminate on the + date that such litigation is filed. + + (14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT + HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED + WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A + PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT + PERMITTED BY YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT + HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE + OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 30 + matcher: 2-aho + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bzip2-libbzip-2010.LICENSE + license_expression: bzip2-libbzip-2010 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + . + 3. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + . + 4. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '96.49' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 220 + matched_length: 220 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_48.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this + software must display the following acknowledgement: + This product includes software developed by [Powerdog] [Industries]. + 4. The name of [Powerdog] [Industries] may not be used to endorse or + promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY [POWERDOG] [INDUSTRIES] ``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 [POWERDOG] [INDUSTRIES] 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. + - score: '99.78' + start_line: 2 + end_line: 56 + matcher: 3-seq + rule_length: 464 + matched_length: 463 + match_coverage: '99.78' + rule_relevance: 100 + identifier: unicode-dfs-2015_1.RULE + license_expression: unicode-dfs-2015 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE + + Unicode Data Files include all data files under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + and http://www.unicode.org/cldr/data/ . Unicode Data Files + do not include PDF online code charts under the directory + http://www.unicode.org/Public/. Software includes any + source code published in the Unicode Standard or under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + and http://www.unicode.org/cldr/data/. + + NOTICE TO USER: Carefully read the following legal agreement. BY + DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE + INC.'S DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), YOU + UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE TERMS AND + CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT DOWNLOAD, + INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. + + COPYRIGHT AND PERMISSION NOTICE + + Copyright © 1991-[2011] Unicode, Inc. All rights + reserved. Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person + obtaining a copy of the Unicode data files and any associated + documentation (the "Data Files") or Unicode software and any + associated documentation (the "Software") to deal in the Data Files + or Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, + and/or sell copies of the Data Files or Software, and to permit + persons to whom the Data Files or Software are furnished to do so, + provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, + (b) both the above copyright notice(s) and this permission notice + appear in associated documentation, and (c) there is clear notice + in each modified Data File or in the Software as well as in the + documentation associated with the Data File(s) or Software that + the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY + OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE + AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE + COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE + FOR ANY CLAIM, OR ANY SPECIAL 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 DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in these Data Files or Software without + prior written authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 207 + matched_length: 207 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_313.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: regexp.LICENSE + license_expression: regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to anyone to use this software for any + purpose on any computer system, and to redistribute it freely, + subject to the following restrictions: + + 1. The author is not responsible for the consequences of use of + this software, no matter how awful, even if they arise + from defects in it. + + 2. The origin of this software must not be misrepresented, either + by explicit claim or by omission. + + 3. Altered versions must be plainly marked as such, and must not + be misrepresented as being the original software. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_212.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module may be modified, used, copied, and redistributed at your own risk. + + Although allowed by the preceding license, please do not publicly + redistribute modified versions of this code with the name "Text::Tabs" + unless it passes the unmodified Text::Tabs test suite. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-copyleft_20.RULE + license_expression: other-copyleft + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free and open software. You may use, modify, + distribute, and sell this program (and any modified variants) in any + way you wish, provided you do not restrict others from doing the same. + - score: '90.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_4.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_45.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: placed in the public domain. + - score: '100.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_285.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is in the public domain, + - score: '70.0' + start_line: 10 + end_line: 10 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public-domain + - score: '70.0' + start_line: '19' + end_line: '19' + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_bison-exception-3.0_1.RULE + license_expression: gpl-3.0-plus WITH bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 121 + matched_length: 121 + match_coverage: '100.0' + rule_relevance: 100 + identifier: paul-hsieh-derivative_1.RULE + license_expression: paul-hsieh-derivative + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The derivative content includes raw computer source code, ideas, + opinions, and excerpts whose original source is covered under another + license and transformations of such derivatives. Note that mere excerpts + by themselves (with the exception of raw source code) are not considered + derivative works under this license. Use and redistribution is limited + to the following conditions: + + One may not create a derivative work which, in any way, violates the + Paul Hsieh exposition license described above on the original content. + + One may not apply a license to a derivative work that precludes + anyone else from using and redistributing derivative content. + + One may not attribute any derivative content to authors not involved + in the creation of the content, though an attribution to the author + is not necessary. + - score: '99.0' + start_line: 4 + end_line: 29 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-x11_10.RULE + license_expression: bsd-x11 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + Neither my name, Paul Hsieh, nor the names of any other contributors + to the code use may not be used to endorse or promote products + derived from this software without specific prior written permission. + + 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 + OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '99.38' + start_line: 1 + end_line: 120 + matcher: 3-seq + rule_length: 975 + matched_length: 969 + match_coverage: '99.38' + rule_relevance: 100 + identifier: cc0-1.0_116.RULE + license_expression: cc0-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + of Purpose + + The laws of most jurisdictions throughout the world automatically confer + exclusive Copyright and Related Rights (defined below) upon the creator + and subsequent owner(s) (each and all, an "owner") of an original work + of authorship and/or a database (each, a "Work"). + + Certain owners wish to permanently relinquish those rights to a Work + for the purpose of contributing to a commons of creative, cultural and + scientific works ("Commons") that the public can reliably and without + fear of later claims of infringement build upon, modify, incorporate in + other works, reuse and redistribute as freely as possible in any form + whatsoever and for any purposes, including without limitation commercial + purposes. These owners may contribute to the Commons to promote the ideal + of a free culture and the further production of creative, cultural and + scientific works, or to gain reputation or greater distribution for + their Work in part through the use and efforts of others. + + For these and/or other purposes and motivations, and without any + expectation of additional consideration or compensation, the person + associating CC0 with a Work (the "Affirmer"), to the extent that + he or she is an owner of Copyright and Related Rights in the Work, + voluntarily elects to apply CC0 to the Work and publicly distribute + the Work under its terms, with knowledge of his or her Copyright and + Related Rights in the Work and the meaning and intended legal effect + of CC0 on those rights. + + 1. Copyright and Related Rights. A Work made available under CC0 may be + protected by copyright and related or neighboring rights ("Copyright + and Related Rights"). Copyright and Related Rights include, but are + not limited to, the following: + + the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + + moral rights retained by the original author(s) and/or performer(s); + + publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + + rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + + rights protecting the extraction, dissemination, use and reuse of data in a Work; + + database rights (such as those arising under Directive 96/9/EC + of the European Parliament and of the Council of 11 March 1996 + on the legal protection of databases, and under any national + implementation thereof, including any amended or successor version + of such directive); and + + other similar, equivalent or corresponding rights throughout the world + based on applicable law or treaty, and any national implementations + thereof. + + 2. Waiver. To the greatest extent permitted by, but not in contravention + of, applicable law, Affirmer hereby overtly, fully, permanently, + irrevocably and unconditionally waives, abandons, and surrenders all + of Affirmer's Copyright and Related Rights and associated claims and + causes of action, whether now known or unknown (including existing + as well as future claims and causes of action), in the Work (i) in + all territories worldwide, (ii) for the maximum duration provided by + applicable law or treaty (including future time extensions), (iii) + in any current or future medium and for any number of copies, and (iv) + for any purpose whatsoever, including without limitation commercial, + advertising or promotional purposes (the "Waiver"). Affirmer makes the + Waiver for the benefit of each member of the public at large and to the + detriment of Affirmer's heirs and successors, fully intending that such + Waiver shall not be subject to revocation, rescission, cancellation, + termination, or any other legal or equitable action to disrupt the + quiet enjoyment of the Work by the public as contemplated by Affirmer's + express Statement of Purpose. + + 3. Public License Fallback. Should any part of the Waiver for any + reason be judged legally invalid or ineffective under applicable law, + then the Waiver shall be preserved to the maximum extent permitted + taking into account Affirmer's express Statement of Purpose. In + addition, to the extent the Waiver is so judged Affirmer hereby + grants to each affected person a royalty-free, non transferable, non + sublicensable, non exclusive, irrevocable and unconditional license + to exercise Affirmer's Copyright and Related Rights in the Work (i) + in all territories worldwide, (ii) for the maximum duration provided + by applicable law or treaty (including future time extensions), (iii) + in any current or future medium and for any number of copies, and (iv) + for any purpose whatsoever, including without limitation commercial, + advertising or promotional purposes (the "License"). The License shall + be deemed effective as of the date CC0 was applied by Affirmer to the + Work. Should any part of the License for any reason be judged legally + invalid or ineffective under applicable law, such partial invalidity + or ineffectiveness shall not invalidate the remainder of the License, + and in such case Affirmer hereby affirms that he or she will not (i) + exercise any of his or her remaining Copyright and Related Rights in + the Work or (ii) assert any associated claims and causes of action + with respect to the Work, in either case contrary to Affirmer's express + Statement of Purpose. + + 4. Limitations and Disclaimers. + + No trademark or patent rights held by Affirmer are waived, + abandoned, surrendered, licensed or otherwise affected by this + document. + + Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties + of title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, + or the present or absence of errors, whether or not discoverable, + all to the greatest extent permissible under applicable law. + + Affirmer disclaims responsibility for clearing rights of other + persons that may apply to the Work or any use thereof, including + without limitation any person's Copyright and Related Rights in the + Work. Further, Affirmer disclaims responsibility for obtaining any + necessary consents, permissions or other rights required for any + use of the Work. + + Affirmer understands and acknowledges that Creative Commons is not + a party to this document and has no duty or obligation with respect + to this CC0 or use of the Work. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap.LICENSE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, are + permitted in any medium without royalty provided the copyright notice and + this notice are preserved. This file is offered as-is, without any + warranty. + - score: '100.0' + start_line: 1 + end_line: 125 + matcher: 1-hash + rule_length: 946 + matched_length: 946 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-dist-1.0.LICENSE + license_expression: artistic-dist-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The "Artistic License" + + Preamble + + The intent of this document is to state the conditions under which a + Package may be copied, such that the Copyright Holder maintains some + semblance of artistic control over the development of the Package, + while giving the users of the package the right to use and distribute + the Package in a more-or-less customary fashion, plus the right to make + reasonable modifications. + + It also grants you the rights to reuse parts of a Package in your own + programs without transferring this License to those programs, provided + that you meet some reasonable requirements. + + Definitions: + + "Package" refers to the collection of files distributed by the + Copyright Holder, and derivatives of that collection of files + created through textual modification. + + "Standard Version" refers to such a Package if it has not been + modified, or has been modified in accordance with the wishes + of the Copyright Holder as specified below. + + "Copyright Holder" is whoever is named in the copyright or + copyrights for the package. + + "You" is you, if you're thinking about copying or distributing + this Package. + + "Reasonable copying fee" is whatever you can justify on the + basis of media cost, duplication charges, time of people involved, + and so on. (You will not be required to justify it to the + Copyright Holder, but only to the computing community at large + as a market that must bear the fee.) + + "Freely Available" means that no fee is charged for the item + itself, though there may be fees involved in handling the item. + It also means that recipients of the item may redistribute it + under the same conditions they received it. + + 1. You may make and give away verbatim copies of the source form of the + Standard Version of this Package without restriction, provided that you + duplicate all of the original copyright notices and associated disclaimers. + + 2. You may apply bug fixes, portability fixes and other modifications + derived from the Public Domain or from the Copyright Holder. A Package + modified in such a way shall still be considered the Standard Version. + + 3. You may otherwise modify your copy of this Package in any way, provided + that you insert a prominent notice in each changed file stating how and + when you changed that file, and provided that you do at least ONE of the + following: + + a) place your modifications in the Public Domain or otherwise make them + Freely Available, such as by posting said modifications to Usenet or + an equivalent medium, or placing the modifications on a major archive + site such as uunet.uu.net, or by allowing the Copyright Holder to include + your modifications in the Standard Version of the Package. + + b) use the modified Package only within your corporation or organization. + + c) rename any non-standard executables so the names do not conflict + with standard executables, which must also be provided, and provide + a separate manual page for each non-standard executable that clearly + documents how it differs from the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 4. You may distribute the programs of this Package in object code or + executable form, provided that you do at least ONE of the following: + + a) distribute a Standard Version of the executables and library files, + together with instructions (in the manual page or equivalent) on where + to get the Standard Version. + + b) accompany the distribution with the machine-readable source of + the Package with your modifications. + + c) give non-standard executables non-standard names, and clearly + document the differences in manual pages (or equivalent), together + with instructions on where to get the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 5. You may charge a reasonable copying fee for any distribution of this + Package. You may charge any fee you choose for support of this + Package. You may not charge a fee for this Package itself. However, + you may distribute this Package in aggregate with other (possibly + commercial) programs as part of a larger (possibly commercial) software + distribution provided that you do not advertise this Package as a + product of your own. + + 6. The scripts and library files supplied as input to or produced as + output from the programs of this Package do not automatically fall + under the copyright of this Package, but belong to whoever generated + them, and may be sold commercially, and may be aggregated with this + Package. If such scripts or library files are aggregated with this + Package via the so-called "undump" or "unexec" methods of producing a + binary executable image, then distribution of such an image shall + neither be construed as a distribution of this Package nor shall it + fall under the restrictions of Paragraphs 3 and 4, provided that you do + not represent such an executable image as a Standard Version of this + Package. + + 7. You may reuse parts of this Package in your own programs, provided that + you explicitly state where you got them from, in the source code (and, left + to your courtesy, in the documentation), duplicating all the associated + copyright notices and disclaimers. Besides your changes, if any, must be + clearly marked as such. Parts reused that way will no longer fall under this + license if, and only if, the name of your program(s) have no immediate + connection with the name of the Package itself or its associated programs. + You may then apply whatever restrictions you wish on the reused parts or + choose to place them in the Public Domain--this will apply only within the + context of your package. + + 8. The name of the Copyright Holder may not be used to endorse or promote + products derived from this software without specific prior written permission. + + 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + The End + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 2-aho + rule_length: 49 + matched_length: 49 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_14.RULE + license_expression: unicode + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For terms of use, see http://www.unicode.org/terms_of_use.html + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_26.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself, either Perl version 5.10.0 or, + at your option, any later version of Perl 5 you may have available. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software. You can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_34.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: All files are licensed under the same terms as Perl itself. + - score: '90.91' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_32.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: The [PerlUi] class is licensed under the same terms as Perl itself. + - score: '91.67' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_31.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: The [Symbian] port is licensed under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that the test code is licensed under the same terms + as Perl. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under the same + terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_11.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This package has the same copyright and license as the perl core. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the + same terms as Perl itself. + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the + same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 50 + matched_length: 50 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_13.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free + Software Foundation; either version 1, or (at your option) any + later version, or + + b) the "Artistic License" which comes with this kit. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_38.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the the Artistic License (2.0). + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 9 + end_line: 11 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_14.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute this work under the terms of either the GNU General + Public License or the Artistic License, as specified in perl's README + file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_15.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 47 + matched_length: 47 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-2.0-plus_3.RULE + license_expression: artistic-perl-1.0 OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the terms of the Perl Artistic License or the + GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any + later version. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute + it and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_15.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public License + or the Artistic License, as specified in the LICENCE file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_or_gpl-1.0-plus_or_artistic-perl-1.0_1.RULE + license_expression: mit OR gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is released under the MIT license cited below. Additionally, + when this software is distributed with Perl Kit, Version 5, you may also + redistribute it and/or modify it under the same terms as Perl itself. + - score: '66.67' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 10 + match_coverage: '66.67' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [these] [translations] [are] licensed under the same terms + as + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 2-aho + rule_length: 34 + matched_length: 34 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_8.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + + You may copy and distribute this program under the same terms as + Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 9 + end_line: 18 + matcher: 2-aho + rule_length: 87 + matched_length: 87 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_9.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this material + for any purpose and without fee is hereby granted, provided + that the above copyright notice and this permission notice + appear in all copies, and that the name of Bellcore not be + used in advertising or publicity pertaining to this + material without the specific, prior written permission + of an authorized representative of Bellcore. BELLCORE + MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY + OF THIS MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS", + WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_10.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This module is released under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; + you can redistribute it and/or modify it under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; + you can redistribute it and/or modify it under the same terms + as Perl itself. + - score: '73.33' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 11 + match_coverage: '73.33' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + it is assumed that [it] + is licensed under the same terms as + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '11.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic License. + - score: '100.0' + start_line: 12 + end_line: 16 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_286.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples here are in the public + domain. You are permitted and encouraged to use this code and any + derivatives thereof in your own programs for fun or for profit as you + see fit. A simple comment in the code giving credit to the FAQ would + be courteous but is not required. + - score: '100.0' + start_line: 20 + end_line: 22 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_and_public-domain-disclaimer_1.RULE + license_expression: artistic-2.0 AND public-domain-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document is available under the same terms as Perl itself. Code + examples in all the perlfaq documents are in the public domain. Use + them as you see fit (and at your own risk with no warranty from anyone). + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; + you can redistribute it and/or modify it under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under + the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 53 + matched_length: 53 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_287.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples in these files + are hereby placed into the public domain. You are permitted and + encouraged to use this code in your own programs for fun + or for profit as you see fit. A simple comment in the code giving + credit would be courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '12.7' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 63 + matched_length: 8 + match_coverage: '12.7' + rule_relevance: 100 + identifier: cc0-1.0_or_openssl-ssleay_or_apache-2.0_6.RULE + license_expression: cc0-1.0 OR openssl-ssleay OR apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + http://creativecommons.org/publicdomain/zero/1.0/ + [and] [the] [full] license + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed and/or + modified under the same terms as Perl itself. + - score: '11.84' + start_line: 2 + end_line: 5 + matcher: 3-seq + rule_length: 76 + matched_length: 9 + match_coverage: '11.84' + rule_relevance: 100 + identifier: agpl-3.0_209.RULE + license_expression: agpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + notices this [distribution]. + + [This] [library] [is] [free] [software]; [you] [may] redistribute and/or modify it + under the + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 61 + matched_length: 61 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-2.0-plus_2.RULE + license_expression: artistic-perl-1.0 OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + + These terms are your choice of any of (1) the Perl Artistic Licence, + or (2) version 2 of the GNU General Public License as published by the + Free Software Foundation, or (3) any later version of the GNU General + Public License. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same + terms as Perl. + - score: '84.86' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-new_242.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is licensed under the BSD-[like] license + - score: '11.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: other-permissive_16.RULE + license_expression: other-permissive + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: BSD-like + - score: '73.33' + start_line: 3 + end_line: 4 + matcher: 3-seq + rule_length: 15 + matched_length: 11 + match_coverage: '73.33' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that the [other] [parts] [are] licensed under the same + terms as + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_14.RULE + license_expression: unicode + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For terms of use, see http://www.unicode.org/terms_of_use.html + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_17.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '80.0' + start_line: 9 + end_line: 10 + matcher: 3-seq + rule_length: 10 + matched_length: 8 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_32.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed under the same terms + as Perl itself + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '73.33' + start_line: 3 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 11 + match_coverage: '73.33' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [they] [are] licensed under the same terms as Perl + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '15.0' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 40 + matched_length: 6 + match_coverage: '15.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_perl5_2.RULE + license_expression: artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: You can redistribute and/or modify + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '34.85' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 66 + matched_length: 23 + match_coverage: '34.85' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_2.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + + [The] [atmark]() [implementation]: [Copyright] [2001], [Lincoln] [Stein] <[lstein]@[cshl].[org]>. + [This] [module] is distributed under + - score: '100.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_11.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This package has the same copyright and license as the perl core. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '90.91' + start_line: 7 + end_line: 8 + matcher: 3-seq + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_763.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed + under the terms of the "BSD-3-clause-[GENERIC]" license + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: warranty-disclaimer_50.RULE + license_expression: warranty-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + provided "as is" without express + or implied warranty. + - score: '75.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 20 + matched_length: 15 + match_coverage: '75.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It may be used, redistributed and/or modified + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '80.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that [this] + [distribution] is licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '80.0' + start_line: 3 + end_line: 4 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that [it] is licensed under + the same terms as Perl + - score: '80.0' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [this] [file] is licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Artistic/' + - score: '50.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '90.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: artistic-1.0_11.RULE + license_expression: artistic-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the artistic license. + - score: '80.0' + start_line: 3 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [it] is licensed under the same terms as Perl + - score: '80.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + it is assumed that [this] [file] is licensed under the same terms + as Perl + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself, + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: artistic-1.0_11.RULE + license_expression: artistic-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Artistic License. + - score: '80.0' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [it] is licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same terms as Perl + itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_286.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples here are in the public + domain. You are permitted and encouraged to use this code and any + derivatives thereof in your own programs for fun or for profit as you + see fit. A simple comment in the code giving credit to the FAQ would + be courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_and_public-domain-disclaimer_1.RULE + license_expression: artistic-2.0 AND public-domain-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document is available under the same terms as Perl itself. Code + examples in all the perlfaq documents are in the public domain. Use + them as you see fit (and at your own risk with no warranty from anyone). + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 53 + matched_length: 53 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_287.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples in these files are + hereby placed into the public domain. You are permitted and + encouraged to use this code in your own programs for fun or for profit + as you see fit. A simple comment in the code giving credit would be + courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it under + the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 53 + matched_length: 53 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_287.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples in these files are + hereby placed into the public domain. You are permitted and + encouraged to use this code in your own programs for fun or for profit + as you see fit. A simple comment in the code giving credit would be + courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '21.28' + start_line: 17 + end_line: '19' + matcher: 3-seq + rule_length: 47 + matched_length: 10 + match_coverage: '21.28' + rule_relevance: 100 + identifier: artistic-2.0_4.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the "Artistic License" which comes with Perl, [or] + + [b]) the "Artistic License" + - score: '57.14' + start_line: 21 + end_line: 26 + matcher: 3-seq + rule_length: 49 + matched_length: 28 + match_coverage: '57.14' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License as published by the Free + Software Foundation; either version 1, or (at your option) any + later version ([see] [the] [file] "[Copying]" [that] [comes] [with] [the] + [Perl] [distribution]). + + [The] [full] [text] [of] the "Artistic License" which comes with + - score: '83.33' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_31.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: licensed under the [modified] Artistic license + - score: '11.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic License. + - score: '100.0' + start_line: 18 + end_line: 18 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the Public Domain-- + - score: '11.0' + start_line: 27 + end_line: 27 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic license. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 2-aho + rule_length: 49 + matched_length: 49 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_577.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the Expat license. + - score: '55.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 20 + matched_length: 11 + match_coverage: '55.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + redistributed + and/or modified under the same terms as Perl itself. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pulseaudio/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pulseaudio/stable_copyright-detailed.expected.yml index 064502206ed..30eeb72d9fe 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pulseaudio/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pulseaudio/stable_copyright-detailed.expected.yml @@ -1,20 +1,20 @@ -- -- -- lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND sun-source AND libpbm AND lgpl-2.1-plus - AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND gpl-2.0-plus AND lgpl-2.1-plus AND - lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND adrian AND lgpl-2.1-plus AND lgpl-2.1-plus +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND sun-source AND libpbm + AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND gpl-2.0-plus AND + lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND adrian AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus - AND mit AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus - AND lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.0 AND lgpl-2.0 AND lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1-plus AND mit AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.0 AND lgpl-2.0 AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus - AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND gpl-2.0-plus AND lgpl-2.1-plus AND - lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus -- | + AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND gpl-2.0-plus AND + lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus +copyright: | Copyright (c) 2004-2009 Lennart Poettering Copyright (c) 2006-2007 Pierre Ossman for Cendio AB Copyright (c) Sun Microsystems, Inc @@ -134,3 +134,1393 @@ Copyright 2006 Pierre Ossman for Cendio AB Copyright 2009 Ted Percival Copyright 2009 Jason Newton +matches: + - score: '100.0' + start_line: 17 + end_line: 17 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPL-2.1+' + - score: '100.0' + start_line: 18 + end_line: 33 + matcher: 2-aho + rule_length: 127 + matched_length: 127 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_267.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The upstream license clarifies pretty well that the sources of pulseaudio\ + \ are\n LGPL (please see LGPL license grant below), but that some parts will be\n effectively\ + \ GPL since they rely on GPL libraries, quoting the upstream\n LICENSE:\n \n \"\"\ + \"All PulseAudio source files are licensed under the GNU Lesser General\n Public License.\ + \ (see file LGPL for details)\n \n However, the server side links to the GPL-only\ + \ library 'libsamplerate'\n which practically downgrades the license of the server\ + \ part to GPL (see\n file GPL for details), exercising section 3 of the LGPL.\n \n\ + \ Hence you should treat the client library ('libpulse') of PulseAudio as\n being\ + \ LGPL licensed and the server part ('libpulsecore') as being GPL\n licensed. Since\ + \ the PulseAudio daemon and the modules link to\n 'libpulsecore' they are of course\ + \ also GPL licensed." + - score: '100.0' + start_line: 37 + end_line: 38 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_232.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '93.63' + start_line: 44 + end_line: 62 + matcher: 3-seq + rule_length: 157 + matched_length: 147 + match_coverage: '93.63' + rule_relevance: 100 + identifier: sun-source.LICENSE + license_expression: sun-source + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This source code is a product of Sun Microsystems, Inc. and is provided\n\ + \ for unrestricted use. Users may copy or modify this source code without\n charge.\n\ + \ \n SUN SOURCE CODE IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING\n THE\ + \ WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR\n PURPOSE, OR ARISING\ + \ FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.\n \n Sun source code is provided\ + \ with no support and without any obligation on\n the part of Sun Microsystems, Inc.\ + \ to assist in its use, correction,\n modification or enhancement.\n \n SUN MICROSYSTEMS,\ + \ INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE\n INFRINGEMENT OF COPYRIGHTS, TRADE\ + \ SECRETS OR ANY PATENTS BY THIS SOFTWARE\n OR ANY PART THEREOF.\n \n In no event will\ + \ Sun Microsystems, Inc. be liable for any lost revenue\n or profits or other special,\ + \ indirect and consequential damages, even if\n Sun has been advised of the possibility\ + \ of such damages." + - score: '100.0' + start_line: 68 + end_line: 73 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: libpbm.LICENSE + license_expression: libpbm + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, provided + that the above copyright notice appear in all copies and that both that + copyright notice and this permission notice appear in supporting + documentation. This software is provided "as is" without express or + implied warranty. + - score: '100.0' + start_line: 79 + end_line: 81 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 87 + end_line: 89 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 94 + end_line: 96 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 102 + end_line: 104 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_266.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2. + - score: '100.0' + start_line: 111 + end_line: 113 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_711.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: GPL-2+ + On Debian systems, the complete text of the GPL-2 can be found in + /usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 120 + end_line: 122 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 128 + end_line: 130 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 137 + end_line: 139 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 144 + end_line: 146 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 152 + end_line: 159 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: adrian.LICENSE + license_expression: adrian + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You are allowed to use this source code in any open source or closed + source software you want. You are allowed to use the algorithms for a + hardware solution. You are allowed to modify the source code. + You are not allowed to remove the name of the author from this memo or + from the source code files. You are not allowed to monopolize the + source code or the algorithms behind the source code as your + intellectual property. This source code is free of royalty and comes + with no warranty. + - score: '100.0' + start_line: 164 + end_line: 166 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 171 + end_line: 173 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 179 + end_line: 181 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 187 + end_line: 189 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: '195' + end_line: '197' + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 203 + end_line: 205 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 211 + end_line: 213 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 219 + end_line: 221 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 226 + end_line: 228 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 235 + end_line: 237 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 243 + end_line: 245 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 251 + end_line: 253 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 259 + end_line: 261 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 266 + end_line: 268 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 275 + end_line: 277 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 283 + end_line: 285 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 291 + end_line: 293 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 299 + end_line: 317 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation files\n (the \"Software\"), to\ + \ deal in the Software without restriction,\n including without limitation the rights\ + \ to use, copy, modify, merge,\n publish, distribute, sublicense, and/or sell copies\ + \ of the Software,\n and to permit persons to whom the Software is furnished to do so,\n\ + \ subject to the following conditions:\n \n The above copyright notice and this permission\ + \ notice shall be\n included in all copies or substantial portions of the Software.\n\ + \ \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR\ + \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS\ + \ FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\ + \ HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION\ + \ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE\ + \ OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 323 + end_line: 325 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 332 + end_line: 334 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 340 + end_line: 342 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 347 + end_line: 349 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 354 + end_line: 356 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 363 + end_line: 365 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 371 + end_line: 371 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPL-2+' + - score: '100.0' + start_line: 372 + end_line: 372 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_37.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: LGPL-2 + - score: '55.0' + start_line: 372 + end_line: 373 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: lgpl-2.0_157.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + can be found in + /usr/share/common-licenses/LGPL-2. + - score: '100.0' + start_line: 382 + end_line: 384 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 389 + end_line: 391 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 397 + end_line: 399 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 405 + end_line: 407 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 413 + end_line: 415 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 422 + end_line: 424 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 430 + end_line: 432 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 440 + end_line: 442 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 447 + end_line: 449 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 454 + end_line: 456 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 465 + end_line: 467 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 472 + end_line: 474 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 479 + end_line: 481 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 487 + end_line: 489 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 495 + end_line: 497 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 502 + end_line: 504 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 511 + end_line: 513 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 518 + end_line: 520 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 525 + end_line: 527 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 533 + end_line: 535 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 540 + end_line: 542 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 547 + end_line: 549 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 554 + end_line: 556 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 561 + end_line: 563 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 568 + end_line: 570 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 576 + end_line: 578 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_711.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: GPL-2+ + On Debian systems, the complete text of the GPL-2 can be found in + /usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 585 + end_line: 587 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 594 + end_line: 596 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 602 + end_line: 604 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 608 + end_line: 610 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pulseaudio/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pulseaudio/stable_copyright.expected.yml index 8d0f3050adf..435d8afbe8f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pulseaudio/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pulseaudio/stable_copyright.expected.yml @@ -1,8 +1,8 @@ -- -- -- lgpl-2.1-plus AND sun-source AND libpbm AND gpl-2.0-plus AND adrian AND mit AND lgpl-2.0-plus - AND lgpl-2.0 -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND sun-source AND libpbm AND gpl-2.0-plus AND adrian AND + mit AND lgpl-2.0-plus AND lgpl-2.0 +copyright: | Copyright (c) 2004-2009 Lennart Poettering Copyright (c) 2006-2007 Pierre Ossman for Cendio AB Copyright (c) Sun Microsystems, Inc @@ -122,3 +122,1393 @@ Copyright 2006 Pierre Ossman for Cendio AB Copyright 2009 Ted Percival Copyright 2009 Jason Newton +matches: + - score: '100.0' + start_line: 17 + end_line: 17 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPL-2.1+' + - score: '100.0' + start_line: 18 + end_line: 33 + matcher: 2-aho + rule_length: 127 + matched_length: 127 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_267.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The upstream license clarifies pretty well that the sources of pulseaudio\ + \ are\n LGPL (please see LGPL license grant below), but that some parts will be\n effectively\ + \ GPL since they rely on GPL libraries, quoting the upstream\n LICENSE:\n \n \"\"\ + \"All PulseAudio source files are licensed under the GNU Lesser General\n Public License.\ + \ (see file LGPL for details)\n \n However, the server side links to the GPL-only\ + \ library 'libsamplerate'\n which practically downgrades the license of the server\ + \ part to GPL (see\n file GPL for details), exercising section 3 of the LGPL.\n \n\ + \ Hence you should treat the client library ('libpulse') of PulseAudio as\n being\ + \ LGPL licensed and the server part ('libpulsecore') as being GPL\n licensed. Since\ + \ the PulseAudio daemon and the modules link to\n 'libpulsecore' they are of course\ + \ also GPL licensed." + - score: '100.0' + start_line: 37 + end_line: 38 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_232.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '93.63' + start_line: 44 + end_line: 62 + matcher: 3-seq + rule_length: 157 + matched_length: 147 + match_coverage: '93.63' + rule_relevance: 100 + identifier: sun-source.LICENSE + license_expression: sun-source + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This source code is a product of Sun Microsystems, Inc. and is provided\n\ + \ for unrestricted use. Users may copy or modify this source code without\n charge.\n\ + \ \n SUN SOURCE CODE IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING\n THE\ + \ WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR\n PURPOSE, OR ARISING\ + \ FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.\n \n Sun source code is provided\ + \ with no support and without any obligation on\n the part of Sun Microsystems, Inc.\ + \ to assist in its use, correction,\n modification or enhancement.\n \n SUN MICROSYSTEMS,\ + \ INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE\n INFRINGEMENT OF COPYRIGHTS, TRADE\ + \ SECRETS OR ANY PATENTS BY THIS SOFTWARE\n OR ANY PART THEREOF.\n \n In no event will\ + \ Sun Microsystems, Inc. be liable for any lost revenue\n or profits or other special,\ + \ indirect and consequential damages, even if\n Sun has been advised of the possibility\ + \ of such damages." + - score: '100.0' + start_line: 68 + end_line: 73 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: libpbm.LICENSE + license_expression: libpbm + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, provided + that the above copyright notice appear in all copies and that both that + copyright notice and this permission notice appear in supporting + documentation. This software is provided "as is" without express or + implied warranty. + - score: '100.0' + start_line: 79 + end_line: 81 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 87 + end_line: 89 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 94 + end_line: 96 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 102 + end_line: 104 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_266.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2. + - score: '100.0' + start_line: 111 + end_line: 113 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_711.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: GPL-2+ + On Debian systems, the complete text of the GPL-2 can be found in + /usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 120 + end_line: 122 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 128 + end_line: 130 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 137 + end_line: 139 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 144 + end_line: 146 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 152 + end_line: 159 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: adrian.LICENSE + license_expression: adrian + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You are allowed to use this source code in any open source or closed + source software you want. You are allowed to use the algorithms for a + hardware solution. You are allowed to modify the source code. + You are not allowed to remove the name of the author from this memo or + from the source code files. You are not allowed to monopolize the + source code or the algorithms behind the source code as your + intellectual property. This source code is free of royalty and comes + with no warranty. + - score: '100.0' + start_line: 164 + end_line: 166 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 171 + end_line: 173 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 179 + end_line: 181 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 187 + end_line: 189 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: '195' + end_line: '197' + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 203 + end_line: 205 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 211 + end_line: 213 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 219 + end_line: 221 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 226 + end_line: 228 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 235 + end_line: 237 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 243 + end_line: 245 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 251 + end_line: 253 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 259 + end_line: 261 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 266 + end_line: 268 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 275 + end_line: 277 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 283 + end_line: 285 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 291 + end_line: 293 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 299 + end_line: 317 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation files\n (the \"Software\"), to\ + \ deal in the Software without restriction,\n including without limitation the rights\ + \ to use, copy, modify, merge,\n publish, distribute, sublicense, and/or sell copies\ + \ of the Software,\n and to permit persons to whom the Software is furnished to do so,\n\ + \ subject to the following conditions:\n \n The above copyright notice and this permission\ + \ notice shall be\n included in all copies or substantial portions of the Software.\n\ + \ \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR\ + \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS\ + \ FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\ + \ HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION\ + \ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE\ + \ OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 323 + end_line: 325 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 332 + end_line: 334 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 340 + end_line: 342 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 347 + end_line: 349 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 354 + end_line: 356 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 363 + end_line: 365 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 371 + end_line: 371 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPL-2+' + - score: '100.0' + start_line: 372 + end_line: 372 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_37.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: LGPL-2 + - score: '55.0' + start_line: 372 + end_line: 373 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: lgpl-2.0_157.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + can be found in + /usr/share/common-licenses/LGPL-2. + - score: '100.0' + start_line: 382 + end_line: 384 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 389 + end_line: 391 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 397 + end_line: 399 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 405 + end_line: 407 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 413 + end_line: 415 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 422 + end_line: 424 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 430 + end_line: 432 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 440 + end_line: 442 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 447 + end_line: 449 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 454 + end_line: 456 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 465 + end_line: 467 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 472 + end_line: 474 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 479 + end_line: 481 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 487 + end_line: 489 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 495 + end_line: 497 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 502 + end_line: 504 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 511 + end_line: 513 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 518 + end_line: 520 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 525 + end_line: 527 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 533 + end_line: 535 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 540 + end_line: 542 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 547 + end_line: 549 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 554 + end_line: 556 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 561 + end_line: 563 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 568 + end_line: 570 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 576 + end_line: 578 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_711.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: GPL-2+ + On Debian systems, the complete text of the GPL-2 can be found in + /usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 585 + end_line: 587 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 594 + end_line: 596 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 602 + end_line: 604 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 608 + end_line: 610 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/python-django/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/python-django/stable_copyright-detailed.expected.yml index bc6c7935bb3..5c3a9bb5dc0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/python-django/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/python-django/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- bsd-new -- - BSD-3-Clause +primary_license: bsd-new +declared_license: + - BSD-3-Clause - BSD-3-Clause - Apache-2.0 - Expat @@ -19,10 +20,11 @@ - PSF-baseconv - BSD-2-Clause - BSD-3-Clause -- bsd-new AND bsd-new AND (apache-2.0 AND apache-2.0 AND apache-2.0) AND mit AND bsd-simplified - AND bsd-new AND bsd-new AND psf-2.0 AND (apache-2.0 AND apache-2.0 AND apache-2.0) AND mit - AND mit AND (bsd-new AND mit) AND bsd-new AND bsd-new AND bsd-new AND mit -- | +license_expression: bsd-new AND bsd-new AND (apache-2.0 AND apache-2.0 AND apache-2.0) AND mit + AND bsd-simplified AND bsd-new AND bsd-new AND psf-2.0 AND (apache-2.0 AND apache-2.0 AND + apache-2.0) AND mit AND mit AND (bsd-new AND mit) AND bsd-new AND bsd-new AND bsd-new AND + mit +copyright: | Django Software Foundation and individual contributors 2006-2008 Brett Parker , 2006-2008, 2010-2015 Raphael Hertzog , @@ -44,3 +46,256 @@ 2007 Robert Coup 2008 Yahoo! Inc. All rights reserved. 2010 Gary Wilson Jr. and contributors +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 2-aho + rule_length: 85 + matched_length: 85 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_7.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + - score: '100.0' + start_line: 13 + end_line: 14 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_865.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the Apache version 2.0 license + can be found in `/usr/share/common-licenses/Apache-2.0'. + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '89.32' + start_line: 1 + end_line: 49 + matcher: 3-seq + rule_length: 365 + matched_length: 326 + match_coverage: '89.32' + rule_relevance: 100 + identifier: psf-2.0.LICENSE + license_expression: psf-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 + -------------------------------------------- + + 1. This LICENSE AGREEMENT is between the [Guilherme] [Gondim], [Simon] + [Willison] [and] [Drew] [Perttula] ("[Baseconv] [Authors]"), and the Individual or + Organization ("Licensee") accessing and otherwise using this software + ("[Baseconv]") in source or binary form and its associated documentation. + + 2. Subject to the terms and conditions of this License Agreement, + [Baseconv] [Authors] hereby grants Licensee a nonexclusive, royalty-free, + world-wide license to reproduce, analyze, test, perform and/or display + publicly, prepare derivative works, distribute, and otherwise use + [Baseconv] alone or in any derivative version, provided, however, that + [Baseconv] [Authors]'s License Agreement and [Baseconv] [Author]'s [notice] [of] + [copyright], [i].[e]., "[Copyright] ([c]) [2010] [Guilherme] [Gondim].; [Copyright] + ([c]) [2009] [Simon] [Willison].; [Copyright] ([c]) [2002] [Drew] [Perttula].; All Rights + Reserved" are retained in [Baseconv] alone or in any derivative version + prepared by Licensee. + + 3. In the event Licensee prepares a derivative work that is based on or + incorporates [Baseconv] or any part thereof, and wants to make the + derivative work available to others as provided herein, then Licensee + hereby agrees to include in any such work a brief summary of the changes + made to [Baseconv]. + + [4]. [Baseconv] [Authors] [is] [making] [Baseconv] available to Licensee on + an "AS IS" basis. [BASECONV] [AUTHORS] MAKES NO REPRESENTATIONS OR + WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, + [BASECONV] [AUTHORS] MAKES NO AND DISCLAIMS ANY REPRESENTATION OR + WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR + THAT THE USE OF PYTHON WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + + 5. [BASECONV] [AUTHORS] SHALL NOT BE LIABLE TO LICENSEE OR ANY + OTHER USERS OF PYTHON FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL + DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE + USING PYTHON, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE + POSSIBILITY THEREOF. + + 6. This License Agreement will automatically terminate upon a material + breach of its terms and conditions. + + 7. Nothing in this License Agreement shall be deemed to create any + relationship of agency, partnership, or joint venture between [Baseconv] + [Authors] and Licensee. This License Agreement does not grant permission + to use [Baseconv] [Authors] trademarks or trade name in a trademark sense to + endorse or promote products or services of Licensee, or any third party. + + 8. By copying, installing or otherwise using [Baseconv], Licensee agrees + to be bound by the terms and conditions of this License Agreement. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_16.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '95.77' + start_line: 1 + end_line: 24 + matcher: 3-seq + rule_length: 213 + matched_length: 204 + match_coverage: '95.77' + rule_relevance: 100 + identifier: bsd-new_156.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3. Neither the name of <[NAME]> [nor] [the] [names] [of] [its] [contributors] [may] [be] [use] + to endorse or promote products derived from this software without + specific prior written permission. + + 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. + - score: '99.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-new_509.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Software License Agreement (BSD License), diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/python-django/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/python-django/stable_copyright.expected.yml index 3f9c62ca384..769d228ed9b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/python-django/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/python-django/stable_copyright.expected.yml @@ -1,12 +1,14 @@ -- bsd-new -- - BSD-3-Clause +primary_license: bsd-new +declared_license: + - BSD-3-Clause - Apache-2.0 - Expat - BSD-2-Clause - PSF-baseconv - BSD-3-Clause and Expat -- bsd-new AND apache-2.0 AND mit AND bsd-simplified AND psf-2.0 AND (bsd-new AND mit) -- | +license_expression: bsd-new AND apache-2.0 AND mit AND bsd-simplified AND psf-2.0 AND (bsd-new + AND mit) +copyright: | Django Software Foundation and individual contributors Copyright 2011 Google Inc. 2005, 2014 jQuery Foundation, Inc. and other contributors @@ -21,3 +23,256 @@ 2007 Robert Coup 2008 Yahoo! Inc. All rights reserved. 2010 Gary Wilson Jr. and contributors +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 2-aho + rule_length: 85 + matched_length: 85 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_7.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + - score: '100.0' + start_line: 13 + end_line: 14 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_865.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the Apache version 2.0 license + can be found in `/usr/share/common-licenses/Apache-2.0'. + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '89.32' + start_line: 1 + end_line: 49 + matcher: 3-seq + rule_length: 365 + matched_length: 326 + match_coverage: '89.32' + rule_relevance: 100 + identifier: psf-2.0.LICENSE + license_expression: psf-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 + -------------------------------------------- + + 1. This LICENSE AGREEMENT is between the [Guilherme] [Gondim], [Simon] + [Willison] [and] [Drew] [Perttula] ("[Baseconv] [Authors]"), and the Individual or + Organization ("Licensee") accessing and otherwise using this software + ("[Baseconv]") in source or binary form and its associated documentation. + + 2. Subject to the terms and conditions of this License Agreement, + [Baseconv] [Authors] hereby grants Licensee a nonexclusive, royalty-free, + world-wide license to reproduce, analyze, test, perform and/or display + publicly, prepare derivative works, distribute, and otherwise use + [Baseconv] alone or in any derivative version, provided, however, that + [Baseconv] [Authors]'s License Agreement and [Baseconv] [Author]'s [notice] [of] + [copyright], [i].[e]., "[Copyright] ([c]) [2010] [Guilherme] [Gondim].; [Copyright] + ([c]) [2009] [Simon] [Willison].; [Copyright] ([c]) [2002] [Drew] [Perttula].; All Rights + Reserved" are retained in [Baseconv] alone or in any derivative version + prepared by Licensee. + + 3. In the event Licensee prepares a derivative work that is based on or + incorporates [Baseconv] or any part thereof, and wants to make the + derivative work available to others as provided herein, then Licensee + hereby agrees to include in any such work a brief summary of the changes + made to [Baseconv]. + + [4]. [Baseconv] [Authors] [is] [making] [Baseconv] available to Licensee on + an "AS IS" basis. [BASECONV] [AUTHORS] MAKES NO REPRESENTATIONS OR + WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, + [BASECONV] [AUTHORS] MAKES NO AND DISCLAIMS ANY REPRESENTATION OR + WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR + THAT THE USE OF PYTHON WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + + 5. [BASECONV] [AUTHORS] SHALL NOT BE LIABLE TO LICENSEE OR ANY + OTHER USERS OF PYTHON FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL + DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE + USING PYTHON, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE + POSSIBILITY THEREOF. + + 6. This License Agreement will automatically terminate upon a material + breach of its terms and conditions. + + 7. Nothing in this License Agreement shall be deemed to create any + relationship of agency, partnership, or joint venture between [Baseconv] + [Authors] and Licensee. This License Agreement does not grant permission + to use [Baseconv] [Authors] trademarks or trade name in a trademark sense to + endorse or promote products or services of Licensee, or any third party. + + 8. By copying, installing or otherwise using [Baseconv], Licensee agrees + to be bound by the terms and conditions of this License Agreement. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_16.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '95.77' + start_line: 1 + end_line: 24 + matcher: 3-seq + rule_length: 213 + matched_length: 204 + match_coverage: '95.77' + rule_relevance: 100 + identifier: bsd-new_156.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3. Neither the name of <[NAME]> [nor] [the] [names] [of] [its] [contributors] [may] [be] [use] + to endorse or promote products derived from this software without + specific prior written permission. + + 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. + - score: '99.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-new_509.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Software License Agreement (BSD License), diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/reportbug/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/reportbug/stable_copyright-detailed.expected.yml index 807d5f3e5af..74e472b485a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/reportbug/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/reportbug/stable_copyright-detailed.expected.yml @@ -1,7 +1,7 @@ -- -- -- reportbug AND gpl-1.0-plus AND reportbug AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: reportbug AND gpl-1.0-plus AND reportbug AND gpl-2.0 +copyright: | Copyright (c) 1999-2006 Chris Lawrence Copyright (c) 2008-2019 Sandro Tosi Copyright (c) 1996-2000 Christoph Lameter @@ -9,3 +9,106 @@ (c) 2000 Chris Lawrence Copyright (c) 2006 Philipp Kern Copyright (c) 2008-2009 Luca Bruno +matches: + - score: '100.0' + start_line: 10 + end_line: 25 + matcher: 2-aho + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: reportbug_1.RULE + license_expression: reportbug + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: other + # This program is freely distributable per the following license: + # + # Permission to use, copy, modify, and distribute this software and its + # documentation for any purpose and without fee is hereby granted, + # provided that the above copyright notice appears in all copies and that + # both that copyright notice and this permission notice appear in + # supporting documentation. + # + # I DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL + # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL I + # BE LIABLE FOR ANY SPECIAL, 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 THIS + # SOFTWARE. + - score: '100.0' + start_line: 32 + end_line: 37 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_77.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: GPL-any + # You may freely redistribute, use and modify this software under the terms + # of the GNU General Public License. + . + On Debian systems, the complete text of the GNU General Public License + can be found in file "/usr/share/common-licenses/GPL". + - score: '100.0' + start_line: 43 + end_line: 58 + matcher: 2-aho + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: reportbug_1.RULE + license_expression: reportbug + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: other + # This program is freely distributable per the following license: + # + ## Permission to use, copy, modify, and distribute this software and its + ## documentation for any purpose and without fee is hereby granted, + ## provided that the above copyright notice appears in all copies and that + ## both that copyright notice and this permission notice appear in + ## supporting documentation. + ## + ## I DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL + ## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL I + ## BE LIABLE FOR ANY SPECIAL, 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 THIS + ## SOFTWARE. + - score: '100.0' + start_line: 61 + end_line: 61 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPL-2' diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/reportbug/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/reportbug/stable_copyright.expected.yml index c46cab22ba9..f051218a0f4 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/reportbug/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/reportbug/stable_copyright.expected.yml @@ -1,7 +1,7 @@ -- -- -- reportbug AND gpl-1.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: reportbug AND gpl-1.0-plus AND gpl-2.0 +copyright: | Copyright (c) 1999-2006 Chris Lawrence Copyright (c) 2008-2019 Sandro Tosi Copyright (c) 1996-2000 Christoph Lameter @@ -9,3 +9,106 @@ (c) 2000 Chris Lawrence Copyright (c) 2006 Philipp Kern Copyright (c) 2008-2009 Luca Bruno +matches: + - score: '100.0' + start_line: 10 + end_line: 25 + matcher: 2-aho + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: reportbug_1.RULE + license_expression: reportbug + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: other + # This program is freely distributable per the following license: + # + # Permission to use, copy, modify, and distribute this software and its + # documentation for any purpose and without fee is hereby granted, + # provided that the above copyright notice appears in all copies and that + # both that copyright notice and this permission notice appear in + # supporting documentation. + # + # I DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL + # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL I + # BE LIABLE FOR ANY SPECIAL, 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 THIS + # SOFTWARE. + - score: '100.0' + start_line: 32 + end_line: 37 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_77.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: GPL-any + # You may freely redistribute, use and modify this software under the terms + # of the GNU General Public License. + . + On Debian systems, the complete text of the GNU General Public License + can be found in file "/usr/share/common-licenses/GPL". + - score: '100.0' + start_line: 43 + end_line: 58 + matcher: 2-aho + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: reportbug_1.RULE + license_expression: reportbug + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: other + # This program is freely distributable per the following license: + # + ## Permission to use, copy, modify, and distribute this software and its + ## documentation for any purpose and without fee is hereby granted, + ## provided that the above copyright notice appears in all copies and that + ## both that copyright notice and this permission notice appear in + ## supporting documentation. + ## + ## I DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL + ## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL I + ## BE LIABLE FOR ANY SPECIAL, 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 THIS + ## SOFTWARE. + - score: '100.0' + start_line: 61 + end_line: 61 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPL-2' diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/ruby-airbrussh/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/ruby-airbrussh/stable_copyright-detailed.expected.yml index 66bd90a8ebc..801cf8011e8 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/ruby-airbrussh/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/ruby-airbrussh/stable_copyright-detailed.expected.yml @@ -1,8 +1,44 @@ -- mit -- - Expat +primary_license: mit +declared_license: - Expat - Expat -- mit AND mit -- | + - Expat +license_expression: mit AND mit +copyright: | 2015-2016 Matt Brictson 2017 Samuel Henrique +matches: + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/ruby-airbrussh/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/ruby-airbrussh/stable_copyright.expected.yml index 2aaaae142ed..9e0dc9df0da 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/ruby-airbrussh/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/ruby-airbrussh/stable_copyright.expected.yml @@ -1,4 +1,40 @@ -- mit -- - Expat -- mit -- 2015-2016 Matt Brictson +primary_license: mit +declared_license: + - Expat +license_expression: mit +copyright: 2015-2016 Matt Brictson +matches: + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/sendmail/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/sendmail/stable_copyright-detailed.expected.yml index 22ef4082e28..1587a0b75fe 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/sendmail/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/sendmail/stable_copyright-detailed.expected.yml @@ -1,9 +1,10 @@ -- sendmail -- - other-Sendmail +primary_license: sendmail +declared_license: - other-Sendmail - other-Sendmail -- sendmail AND sendmail -- | + - other-Sendmail +license_expression: sendmail AND sendmail +copyright: | Copyright (c) 1998-2015 Proofpoint, Inc. and its suppliers. All rights reserved. Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. Copyright (c) 1988, 1993 The Regents of the University of California. All rights reserved. @@ -11,3 +12,101 @@ 1997-1998 Johnie Ingram 1998-2010 Richard A Nelson © 2012-2018 Andreas Beckmann +matches: + - score: '97.65' + start_line: 1 + end_line: 81 + matcher: 3-seq + rule_length: 596 + matched_length: 582 + match_coverage: '97.65' + rule_relevance: 100 + identifier: sendmail-2014.RULE + license_expression: sendmail + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + SENDMAIL LICENSE + + The following license terms and conditions apply, unless a redistribution + agreement or other license is obtained from Proofpoint, Inc., 892 + Ross Street, Sunnyvale, CA, 94089, USA, or by electronic mail at + sendmail-license@proofpoint.com. + + License Terms: + + Use, Modification and Redistribution (including distribution of any + modified or derived work) in source and binary forms is permitted only if + each of the following conditions is met: + + 1. Redistributions qualify as "freeware" or "Open Source Software" under + one of the following terms: + + (a) Redistributions are made at no charge beyond the reasonable cost of + materials and delivery. + + (b) Redistributions are accompanied by a copy of the Source Code or by an + irrevocable offer to provide a copy of the Source Code for up to three + years at the cost of materials and delivery. Such redistributions + must allow further use, modification, and redistribution of the Source + Code under substantially the same terms as this license. For the + purposes of redistribution "Source Code" means the complete compilable + and linkable source code of sendmail and associated libraries and + utilities in the sendmail distribution including all modifications. + + 2. Redistributions of Source Code must retain the copyright notices as they + appear in each Source Code file, these license terms, and the + disclaimer/limitation of liability set forth as paragraph 6 below. + + 3. Redistributions in binary form must reproduce the Copyright Notice, + these license terms, and the disclaimer/limitation of liability set + forth as paragraph 6 below, in the documentation and/or other materials + provided with the distribution. For the purposes of binary distribution + the "Copyright Notice" refers to the following language: + "Copyright (c) 1998-[2013] Proofpoint, Inc. All rights reserved." + + 4. Neither the name of Proofpoint, Inc. nor the University of California nor + names of their contributors may be used to endorse or promote + products derived from this software without specific prior written + permission. The name "sendmail" is a trademark of Proofpoint, Inc. + + 5. All redistributions must comply with the conditions imposed by the + University of California on certain embedded code, which copyright + Notice and conditions for redistribution are as follows: + + (a) Copyright (c) 1988, 1993 The Regents of the University of + California. All rights reserved. + + (b) Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + (i) Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + (ii) 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. + + (iii) 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. + + 6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY + SENDMAIL, 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 SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF + CALIFORNIA 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 DAMAGES. + + $Revision: 8. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/sendmail/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/sendmail/stable_copyright.expected.yml index e0984680f2b..634e7a00758 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/sendmail/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/sendmail/stable_copyright.expected.yml @@ -1,7 +1,106 @@ -- sendmail -- - other-Sendmail -- sendmail -- | +primary_license: sendmail +declared_license: + - other-Sendmail +license_expression: sendmail +copyright: | Copyright (c) 1998-2015 Proofpoint, Inc. and its suppliers. All rights reserved. Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. Copyright (c) 1988, 1993 The Regents of the University of California. All rights reserved. +matches: + - score: '97.65' + start_line: 1 + end_line: 81 + matcher: 3-seq + rule_length: 596 + matched_length: 582 + match_coverage: '97.65' + rule_relevance: 100 + identifier: sendmail-2014.RULE + license_expression: sendmail + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + SENDMAIL LICENSE + + The following license terms and conditions apply, unless a redistribution + agreement or other license is obtained from Proofpoint, Inc., 892 + Ross Street, Sunnyvale, CA, 94089, USA, or by electronic mail at + sendmail-license@proofpoint.com. + + License Terms: + + Use, Modification and Redistribution (including distribution of any + modified or derived work) in source and binary forms is permitted only if + each of the following conditions is met: + + 1. Redistributions qualify as "freeware" or "Open Source Software" under + one of the following terms: + + (a) Redistributions are made at no charge beyond the reasonable cost of + materials and delivery. + + (b) Redistributions are accompanied by a copy of the Source Code or by an + irrevocable offer to provide a copy of the Source Code for up to three + years at the cost of materials and delivery. Such redistributions + must allow further use, modification, and redistribution of the Source + Code under substantially the same terms as this license. For the + purposes of redistribution "Source Code" means the complete compilable + and linkable source code of sendmail and associated libraries and + utilities in the sendmail distribution including all modifications. + + 2. Redistributions of Source Code must retain the copyright notices as they + appear in each Source Code file, these license terms, and the + disclaimer/limitation of liability set forth as paragraph 6 below. + + 3. Redistributions in binary form must reproduce the Copyright Notice, + these license terms, and the disclaimer/limitation of liability set + forth as paragraph 6 below, in the documentation and/or other materials + provided with the distribution. For the purposes of binary distribution + the "Copyright Notice" refers to the following language: + "Copyright (c) 1998-[2013] Proofpoint, Inc. All rights reserved." + + 4. Neither the name of Proofpoint, Inc. nor the University of California nor + names of their contributors may be used to endorse or promote + products derived from this software without specific prior written + permission. The name "sendmail" is a trademark of Proofpoint, Inc. + + 5. All redistributions must comply with the conditions imposed by the + University of California on certain embedded code, which copyright + Notice and conditions for redistribution are as follows: + + (a) Copyright (c) 1988, 1993 The Regents of the University of + California. All rights reserved. + + (b) Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + (i) Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + (ii) 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. + + (iii) 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. + + 6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY + SENDMAIL, 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 SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF + CALIFORNIA 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 DAMAGES. + + $Revision: 8. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/slirp4netns/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/slirp4netns/stable_copyright-detailed.expected.yml index b6e111e810b..0af29f2677c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/slirp4netns/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/slirp4netns/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND gpl-3.0-plus -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-3.0-plus +declared_license: + - GPL-2+ - GPL-2+ - BSD-3-clause - BSD-2-clause @@ -19,11 +20,11 @@ - GPL-2 - GPL-2+ - LGPL-2.1+ -- (gpl-2.0-plus AND gpl-3.0-plus) AND (gpl-2.0-plus AND gpl-3.0-plus) AND bsd-new AND bsd-simplified - AND mit AND mit AND bsd-simplified AND (gpl-2.0-plus AND gpl-3.0-plus) AND (gpl-2.0-plus AND - gpl-3.0-plus) AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND (lgpl-2.1-plus - AND lgpl-2.1-plus AND lgpl-2.1) -- | +license_expression: (gpl-2.0-plus AND gpl-3.0-plus) AND (gpl-2.0-plus AND gpl-3.0-plus) AND + bsd-new AND bsd-simplified AND mit AND mit AND bsd-simplified AND (gpl-2.0-plus AND gpl-3.0-plus) + AND (gpl-2.0-plus AND gpl-3.0-plus) AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified + AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) +copyright: | 2018 Giuseppe Scrivano Akihiro Suda 2018, Reinhard Tartler @@ -39,3 +40,324 @@ 1995, Danny Gasparovski 2013, Guillaume Subiron 2016, Renzo Davoli VirtualSquare +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_136.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: license BSD-2-clause + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '99.44' + start_line: 3 + end_line: 21 + matcher: 3-seq + rule_length: 177 + matched_length: 176 + match_coverage: '99.44' + rule_relevance: 100 + identifier: bsd-simplified_29.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 ``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 + [DANNY] [GASPAROVSKI] 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. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 3 + end_line: 5 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_822.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed under: + + The GNU General Public License, Version 2, + - score: '100.0' + start_line: 7 + end_line: 9 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 + - score: '100.0' + start_line: 10 + end_line: 11 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '97.62' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 123 + match_coverage: '97.62' + rule_relevance: 100 + identifier: gpl-3.0-plus_321.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [2] of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version [2] can be found in "/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_36.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2.1 of the License, or + (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this library. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General + Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/slirp4netns/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/slirp4netns/stable_copyright.expected.yml index 03a5fc84ae2..e148ad0b22d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/slirp4netns/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/slirp4netns/stable_copyright.expected.yml @@ -1,14 +1,15 @@ -- gpl-2.0-plus AND gpl-3.0-plus -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-3.0-plus +declared_license: + - GPL-2+ - BSD-3-clause - BSD-2-clause - Expat - Danny-SLIRP - LGPL-2.1+ - GPL-2 -- (gpl-2.0-plus AND gpl-3.0-plus) AND bsd-new AND bsd-simplified AND mit AND (lgpl-2.1-plus - AND lgpl-2.1) -- | +license_expression: (gpl-2.0-plus AND gpl-3.0-plus) AND bsd-new AND bsd-simplified AND mit AND + (lgpl-2.1-plus AND lgpl-2.1) +copyright: | 2018 Giuseppe Scrivano Akihiro Suda 1982, 1986, 1988, 1990-1994, The Regents of the University of California. @@ -22,3 +23,324 @@ 1995, Danny Gasparovski 2013, Guillaume Subiron 2016, Renzo Davoli VirtualSquare +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_136.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: license BSD-2-clause + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '99.44' + start_line: 3 + end_line: 21 + matcher: 3-seq + rule_length: 177 + matched_length: 176 + match_coverage: '99.44' + rule_relevance: 100 + identifier: bsd-simplified_29.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 ``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 + [DANNY] [GASPAROVSKI] 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. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 3 + end_line: 5 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_822.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed under: + + The GNU General Public License, Version 2, + - score: '100.0' + start_line: 7 + end_line: 9 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 + - score: '100.0' + start_line: 10 + end_line: 11 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '97.62' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 123 + match_coverage: '97.62' + rule_relevance: 100 + identifier: gpl-3.0-plus_321.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [2] of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version [2] can be found in "/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_36.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2.1 of the License, or + (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this library. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General + Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/subversion/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/subversion/stable_copyright-detailed.expected.yml index 264a14c5f50..f85c95645d6 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/subversion/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/subversion/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- apache-2.0 -- - Apache-2.0 +primary_license: apache-2.0 +declared_license: + - Apache-2.0 - BSD-3-clause or Apache-2.0 - Utfwidth - BSD-3-clause @@ -19,11 +20,11 @@ - Expat - Unicode - AFL-3 -- (apache-2.0 AND apache-2.0) AND (bsd-new OR (apache-2.0 AND apache-2.0)) AND other-permissive - AND bsd-new AND other-copyleft AND (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0) - AND (gpl-3.0-plus AND gpl-3.0) AND afl-3.0 AND (mit AND unicode) AND bsd-simplified AND bsd-new - AND bsd-simplified -- | +license_expression: (apache-2.0 AND apache-2.0) AND (bsd-new OR (apache-2.0 AND apache-2.0)) + AND other-permissive AND bsd-new AND other-copyleft AND (gpl-2.0-plus AND gpl-1.0-plus AND + gpl-2.0 AND gpl-2.0) AND (gpl-3.0-plus AND gpl-3.0) AND afl-3.0 AND (mit AND unicode) AND + bsd-simplified AND bsd-new AND bsd-simplified +copyright: | Apache Software Foundation 2007 Max Bowsher 2005 Greg Stein @@ -50,3 +51,547 @@ 2009 Paul Bakker 2010-2013, Peter Noordhuis 2010-2014, Salvatore Sanfilippo +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_wcwidth_1.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + for any purpose and without fee is hereby granted. The author + disclaims all warranties with regard to this software. + - score: '20.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 45 + matched_length: 9 + match_coverage: '20.0' + rule_relevance: 100 + identifier: other-copyleft_12.RULE + license_expression: other-copyleft + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to [everyone] [to] [use] and distribute [this] [work], + [without] [limitation], modified or unmodified, + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-1.0-plus_350.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: of the GPL + - score: '95.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 95 + identifier: gpl-2.0_183.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL version 2 + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '60.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: 12 + match_coverage: '60.0' + rule_relevance: 100 + identifier: gpl-3.0_238.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GPL [version] [3] license can be + found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 119 + matched_length: 119 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_2.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + - score: '100.0' + start_line: 3 + end_line: 27 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_970.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 + the documentation and/or other materials provided with the + distribution. + 3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR "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 AUTHOR 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. + - score: '100.0' + start_line: 3 + end_line: 22 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + 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. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '96.15' + start_line: 1 + end_line: 32 + matcher: 3-seq + rule_length: 338 + matched_length: 325 + match_coverage: '96.15' + rule_relevance: 100 + identifier: unicode_42.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Unicode data files and any associated documentation (the "Data + Files") or Unicode software and any associated documentation (the + "Software") to deal in the Data Files or Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, and/or sell copies of the Data Files or Software, and + to permit persons to whom the Data Files or Software are furnished to do + so, provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, (b) both the + above copyright notice(s) and this permission notice appear in associated + documentation, and (c) there is clear notice in each modified Data File or + in the Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 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 DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written + authorization of the copyright holder. + + Unicode and the Unicode logo are trademarks of Unicode, Inc., and may be + registered in some jurisdictions. All other trademarks and registered + trademarks mentioned herein are the property of their respective owners. + - score: '100.0' + start_line: 1 + end_line: 186 + matcher: 1-hash + rule_length: 1623 + matched_length: 1623 + match_coverage: '100.0' + rule_relevance: 100 + identifier: afl-3.0.LICENSE + license_expression: afl-3.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This Academic Free License (the "License") applies to any original + work of authorship (the "Original Work") whose owner (the "Licensor") + has placed the following licensing notice adjacent to the copyright + notice for the Original Work: + + Licensed under the Academic Free License version 3.0 + + 1) Grant of Copyright License. Licensor grants You a worldwide, + royalty-free, non-exclusive, sublicensable license, for the + duration of the copyright, to do the following: + a) to reproduce the Original Work in copies, either alone or as + part of a collective work; + b) to translate, adapt, alter, transform, modify, or arrange the + Original Work, thereby creating derivative works ("Derivative + Works") based upon the Original Work; + c) to distribute or communicate copies of the Original Work and + Derivative Works to the public, under any license of your + choice that does not contradict the terms and conditions, + including Licensor's reserved rights and remedies, in this + Academic Free License; + d) to perform the Original Work publicly; and + e) to display the Original Work publicly. + + 2) Grant of Patent License. Licensor grants You a worldwide, + royalty-free, non- exclusive, sublicensable license, under patent + claims owned or controlled by the Licensor that are embodied in + the Original Work as furnished by the Licensor, for the duration + of the patents, to make, use, sell, offer for sale, have made, and + import the Original Work and Derivative Works. + + 3) Grant of Source Code License. The term "Source Code" means the + preferred form of the Original Work for making modifications to it + and all available documentation describing how to modify the + Original Work. Licensor agrees to provide a machine-readable copy + of the Source Code of the Original Work along with each copy of + the Original Work that Licensor distributes. Licensor reserves the + right to satisfy this obligation by placing a machine-readable + copy of the Source Code in an information repository reasonably + calculated to permit inexpensive and convenient access by You for + as long as Licensor continues to distribute the Original Work. + + 4) Exclusions From License Grant. Neither the names of Licensor, nor + the names of any contributors to the Original Work, nor any of + their trademarks or service marks, may be used to endorse or + promote products derived from this Original Work without express + prior permission of the Licensor. Except as expressly stated + herein, nothing in this License grants any license to Licensor's + trademarks, copyrights, patents, trade secrets or any other + intellectual property. No patent license is granted to make, use, + sell, offer for sale, have made, or import embodiments of any + patent claims other than the licensed claims defined in Section + 2. No license is granted to the trademarks of Licensor even if + such marks are included in the Original Work. Nothing in this + License shall be interpreted to prohibit Licensor from licensing + under terms different from this License any Original Work that + Licensor otherwise would have a right to license. + + 5) External Deployment. The term "External Deployment" means the use, + distribution, or communication of the Original Work or Derivative + Works in any way such that the Original Work or Derivative Works + may be used by anyone other than You, whether those works are + distributed or communicated to those persons or made available as + an application intended for use over a network. As an express + condition for the grants of license hereunder, You must treat any + External Deployment by You of the Original Work or a Derivative + Work as a distribution under section 1(c). + + 6) Attribution Rights. You must retain, in the Source Code of any + Derivative Works that You create, all copyright, patent, or + trademark notices from the Source Code of the Original Work, as + well as any notices of licensing and any descriptive text + identified therein as an "Attribution Notice." You must cause the + Source Code for any Derivative Works that You create to carry a + prominent Attribution Notice reasonably calculated to inform + recipients that You have modified the Original Work. + + 7) Warranty of Provenance and Disclaimer of Warranty. Licensor + warrants that the copyright in and to the Original Work and the + patent rights granted herein by Licensor are owned by the Licensor + or are sublicensed to You under the terms of this License with the + permission of the contributor(s) of those copyrights and patent + rights. Except as expressly stated in the immediately preceding + sentence, the Original Work is provided under this License on an + "AS IS" BASIS and WITHOUT WARRANTY, either express or implied, + including, without limitation, the warranties of non-infringement, + merchantability or fitness for a particular purpose. THE ENTIRE + RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU. This + DISCLAIMER OF WARRANTY constitutes an essential part of this + License. No license to the Original Work is granted by this + License except under this disclaimer. + + 8) Limitation of Liability. Under no circumstances and under no legal + theory, whether in tort (including negligence), contract, or + otherwise, shall the Licensor be liable to anyone for any + indirect, special, incidental, or consequential damages of any + character arising as a result of this License or the use of the + Original Work including, without limitation, damages for loss of + goodwill, work stoppage, computer failure or malfunction, or any + and all other commercial damages or losses. This limitation of + liability shall not apply to the extent applicable law prohibits + such limitation. + + 9) Acceptance and Termination. If, at any time, You expressly + assented to this License, that assent indicates your clear and + irrevocable acceptance of this License and all of its terms and + conditions. If You distribute or communicate copies of the + Original Work or a Derivative Work, You must make a reasonable + effort under the circumstances to obtain the express assent of + recipients to the terms of this License. This License conditions + your rights to undertake the activities listed in Section 1, + including your right to create Derivative Works based upon the + Original Work, and doing so without honoring these terms and + conditions is prohibited by copyright law and international + treaty. Nothing in this License is intended to affect copyright + exceptions and limitations (including "fair use" or "fair + dealing"). This License shall terminate immediately and You may no + longer exercise any of the rights granted to You by this License + upon your failure to honor the conditions in Section 1(c). + + 10) Termination for Patent Action. This License shall terminate + automatically and You may no longer exercise any of the rights + granted to You by this License as of the date You commence an + action, including a cross-claim or counterclaim, against Licensor + or any licensee alleging that the Original Work infringes a + patent. This termination provision shall not apply for an action + alleging patent infringement by combinations of the Original Work + with other software or hardware. + + 11) Jurisdiction, Venue and Governing Law. Any action or suit relating + to this License may be brought only in the courts of a + jurisdiction wherein the Licensor resides or in which Licensor + conducts its primary business, and under the laws of that + jurisdiction excluding its conflict-of-law provisions. The + application of the United Nations Convention on Contracts for the + International Sale of Goods is expressly excluded. Any use of the + Original Work outside the scope of this License or after its + termination shall be subject to the requirements and penalties of + copyright or patent law in the appropriate jurisdiction. This + section shall survive the termination of this License. + + 12) Attorneys' Fees. In any action to enforce the terms of this + License or seeking damages relating thereto, the prevailing party + shall be entitled to recover its costs and expenses, including, + without limitation, reasonable attorneys' fees and costs incurred + in connection with such action, including any appeal of such + action. This section shall survive the termination of this + License. + + 13) Miscellaneous. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. + + 14) Definition of "You" in This License. "You" throughout this + License, whether in upper or lower case, means an individual or a + legal entity exercising rights under, and complying with all of + the terms of, this License. For legal entities, "You" includes any + entity that controls, is controlled by, or is under common control + with you. For purposes of this definition, "control" means (i) the + power, direct or indirect, to cause the direction or management of + such entity, whether by contract or otherwise, or (ii) ownership + of fifty percent (50%) or more of the outstanding shares, or (iii) + beneficial ownership of such entity. + + 15) Right to Use. You may use the Original Work in all ways not + otherwise restricted or conditioned by this License or by law, and + Licensor promises not to interfere with or be responsible for such + uses by You. + + 16) Modification of This License. This License is Copyright © 2005 + Lawrence Rosen. Permission is granted to copy, distribute, or + communicate this License without modification. Nothing in this + License permits You to modify this License as applied to the + Original Work or to Derivative Works. However, You may modify the + text of this License and copy, distribute or communicate your + modified version (the "Modified License") and apply it to other + original works of authorship subject to the following conditions: + (i) You may not indicate in any way that your Modified License is + the "Academic Free License" or "AFL" and you may not use those + names in the name of your Modified License; (ii) You must replace + the notice specified in the first paragraph above with the notice + "Licensed under " or with a notice + of your own that is not confusingly similar to the notice in this + License; and (iii) You may not claim that your original works are + open source software unless your Modified License has been + approved by Open Source Initiative (OSI) and You comply with its + license review and certification process. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/subversion/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/subversion/stable_copyright.expected.yml index 18732240d44..201eb1378d6 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/subversion/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/subversion/stable_copyright.expected.yml @@ -1,5 +1,6 @@ -- apache-2.0 -- - Apache-2.0 +primary_license: apache-2.0 +declared_license: + - Apache-2.0 - BSD-3-clause or Apache-2.0 - Utfwidth - BSD-3-clause @@ -11,10 +12,10 @@ - BSD-2-clause - Expat - Unicode -- apache-2.0 AND (bsd-new OR apache-2.0) AND other-permissive AND bsd-new AND other-copyleft - AND (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-3.0-plus AND gpl-3.0) AND afl-3.0 - AND (mit AND unicode) AND bsd-simplified -- | +license_expression: apache-2.0 AND (bsd-new OR apache-2.0) AND other-permissive AND bsd-new + AND other-copyleft AND (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-3.0-plus AND gpl-3.0) + AND afl-3.0 AND (mit AND unicode) AND bsd-simplified +copyright: | Apache Software Foundation 2007 Max Bowsher 2005 Greg Stein @@ -41,3 +42,547 @@ 2009 Paul Bakker 2010-2013, Peter Noordhuis 2010-2014, Salvatore Sanfilippo +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_wcwidth_1.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + for any purpose and without fee is hereby granted. The author + disclaims all warranties with regard to this software. + - score: '20.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 45 + matched_length: 9 + match_coverage: '20.0' + rule_relevance: 100 + identifier: other-copyleft_12.RULE + license_expression: other-copyleft + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to [everyone] [to] [use] and distribute [this] [work], + [without] [limitation], modified or unmodified, + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-1.0-plus_350.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: of the GPL + - score: '95.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 95 + identifier: gpl-2.0_183.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL version 2 + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '60.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: 12 + match_coverage: '60.0' + rule_relevance: 100 + identifier: gpl-3.0_238.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GPL [version] [3] license can be + found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 119 + matched_length: 119 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_2.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + - score: '100.0' + start_line: 3 + end_line: 27 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_970.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 + the documentation and/or other materials provided with the + distribution. + 3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR "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 AUTHOR 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. + - score: '100.0' + start_line: 3 + end_line: 22 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + 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. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '96.15' + start_line: 1 + end_line: 32 + matcher: 3-seq + rule_length: 338 + matched_length: 325 + match_coverage: '96.15' + rule_relevance: 100 + identifier: unicode_42.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Unicode data files and any associated documentation (the "Data + Files") or Unicode software and any associated documentation (the + "Software") to deal in the Data Files or Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, and/or sell copies of the Data Files or Software, and + to permit persons to whom the Data Files or Software are furnished to do + so, provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, (b) both the + above copyright notice(s) and this permission notice appear in associated + documentation, and (c) there is clear notice in each modified Data File or + in the Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 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 DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written + authorization of the copyright holder. + + Unicode and the Unicode logo are trademarks of Unicode, Inc., and may be + registered in some jurisdictions. All other trademarks and registered + trademarks mentioned herein are the property of their respective owners. + - score: '100.0' + start_line: 1 + end_line: 186 + matcher: 1-hash + rule_length: 1623 + matched_length: 1623 + match_coverage: '100.0' + rule_relevance: 100 + identifier: afl-3.0.LICENSE + license_expression: afl-3.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This Academic Free License (the "License") applies to any original + work of authorship (the "Original Work") whose owner (the "Licensor") + has placed the following licensing notice adjacent to the copyright + notice for the Original Work: + + Licensed under the Academic Free License version 3.0 + + 1) Grant of Copyright License. Licensor grants You a worldwide, + royalty-free, non-exclusive, sublicensable license, for the + duration of the copyright, to do the following: + a) to reproduce the Original Work in copies, either alone or as + part of a collective work; + b) to translate, adapt, alter, transform, modify, or arrange the + Original Work, thereby creating derivative works ("Derivative + Works") based upon the Original Work; + c) to distribute or communicate copies of the Original Work and + Derivative Works to the public, under any license of your + choice that does not contradict the terms and conditions, + including Licensor's reserved rights and remedies, in this + Academic Free License; + d) to perform the Original Work publicly; and + e) to display the Original Work publicly. + + 2) Grant of Patent License. Licensor grants You a worldwide, + royalty-free, non- exclusive, sublicensable license, under patent + claims owned or controlled by the Licensor that are embodied in + the Original Work as furnished by the Licensor, for the duration + of the patents, to make, use, sell, offer for sale, have made, and + import the Original Work and Derivative Works. + + 3) Grant of Source Code License. The term "Source Code" means the + preferred form of the Original Work for making modifications to it + and all available documentation describing how to modify the + Original Work. Licensor agrees to provide a machine-readable copy + of the Source Code of the Original Work along with each copy of + the Original Work that Licensor distributes. Licensor reserves the + right to satisfy this obligation by placing a machine-readable + copy of the Source Code in an information repository reasonably + calculated to permit inexpensive and convenient access by You for + as long as Licensor continues to distribute the Original Work. + + 4) Exclusions From License Grant. Neither the names of Licensor, nor + the names of any contributors to the Original Work, nor any of + their trademarks or service marks, may be used to endorse or + promote products derived from this Original Work without express + prior permission of the Licensor. Except as expressly stated + herein, nothing in this License grants any license to Licensor's + trademarks, copyrights, patents, trade secrets or any other + intellectual property. No patent license is granted to make, use, + sell, offer for sale, have made, or import embodiments of any + patent claims other than the licensed claims defined in Section + 2. No license is granted to the trademarks of Licensor even if + such marks are included in the Original Work. Nothing in this + License shall be interpreted to prohibit Licensor from licensing + under terms different from this License any Original Work that + Licensor otherwise would have a right to license. + + 5) External Deployment. The term "External Deployment" means the use, + distribution, or communication of the Original Work or Derivative + Works in any way such that the Original Work or Derivative Works + may be used by anyone other than You, whether those works are + distributed or communicated to those persons or made available as + an application intended for use over a network. As an express + condition for the grants of license hereunder, You must treat any + External Deployment by You of the Original Work or a Derivative + Work as a distribution under section 1(c). + + 6) Attribution Rights. You must retain, in the Source Code of any + Derivative Works that You create, all copyright, patent, or + trademark notices from the Source Code of the Original Work, as + well as any notices of licensing and any descriptive text + identified therein as an "Attribution Notice." You must cause the + Source Code for any Derivative Works that You create to carry a + prominent Attribution Notice reasonably calculated to inform + recipients that You have modified the Original Work. + + 7) Warranty of Provenance and Disclaimer of Warranty. Licensor + warrants that the copyright in and to the Original Work and the + patent rights granted herein by Licensor are owned by the Licensor + or are sublicensed to You under the terms of this License with the + permission of the contributor(s) of those copyrights and patent + rights. Except as expressly stated in the immediately preceding + sentence, the Original Work is provided under this License on an + "AS IS" BASIS and WITHOUT WARRANTY, either express or implied, + including, without limitation, the warranties of non-infringement, + merchantability or fitness for a particular purpose. THE ENTIRE + RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU. This + DISCLAIMER OF WARRANTY constitutes an essential part of this + License. No license to the Original Work is granted by this + License except under this disclaimer. + + 8) Limitation of Liability. Under no circumstances and under no legal + theory, whether in tort (including negligence), contract, or + otherwise, shall the Licensor be liable to anyone for any + indirect, special, incidental, or consequential damages of any + character arising as a result of this License or the use of the + Original Work including, without limitation, damages for loss of + goodwill, work stoppage, computer failure or malfunction, or any + and all other commercial damages or losses. This limitation of + liability shall not apply to the extent applicable law prohibits + such limitation. + + 9) Acceptance and Termination. If, at any time, You expressly + assented to this License, that assent indicates your clear and + irrevocable acceptance of this License and all of its terms and + conditions. If You distribute or communicate copies of the + Original Work or a Derivative Work, You must make a reasonable + effort under the circumstances to obtain the express assent of + recipients to the terms of this License. This License conditions + your rights to undertake the activities listed in Section 1, + including your right to create Derivative Works based upon the + Original Work, and doing so without honoring these terms and + conditions is prohibited by copyright law and international + treaty. Nothing in this License is intended to affect copyright + exceptions and limitations (including "fair use" or "fair + dealing"). This License shall terminate immediately and You may no + longer exercise any of the rights granted to You by this License + upon your failure to honor the conditions in Section 1(c). + + 10) Termination for Patent Action. This License shall terminate + automatically and You may no longer exercise any of the rights + granted to You by this License as of the date You commence an + action, including a cross-claim or counterclaim, against Licensor + or any licensee alleging that the Original Work infringes a + patent. This termination provision shall not apply for an action + alleging patent infringement by combinations of the Original Work + with other software or hardware. + + 11) Jurisdiction, Venue and Governing Law. Any action or suit relating + to this License may be brought only in the courts of a + jurisdiction wherein the Licensor resides or in which Licensor + conducts its primary business, and under the laws of that + jurisdiction excluding its conflict-of-law provisions. The + application of the United Nations Convention on Contracts for the + International Sale of Goods is expressly excluded. Any use of the + Original Work outside the scope of this License or after its + termination shall be subject to the requirements and penalties of + copyright or patent law in the appropriate jurisdiction. This + section shall survive the termination of this License. + + 12) Attorneys' Fees. In any action to enforce the terms of this + License or seeking damages relating thereto, the prevailing party + shall be entitled to recover its costs and expenses, including, + without limitation, reasonable attorneys' fees and costs incurred + in connection with such action, including any appeal of such + action. This section shall survive the termination of this + License. + + 13) Miscellaneous. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. + + 14) Definition of "You" in This License. "You" throughout this + License, whether in upper or lower case, means an individual or a + legal entity exercising rights under, and complying with all of + the terms of, this License. For legal entities, "You" includes any + entity that controls, is controlled by, or is under common control + with you. For purposes of this definition, "control" means (i) the + power, direct or indirect, to cause the direction or management of + such entity, whether by contract or otherwise, or (ii) ownership + of fifty percent (50%) or more of the outstanding shares, or (iii) + beneficial ownership of such entity. + + 15) Right to Use. You may use the Original Work in all ways not + otherwise restricted or conditioned by this License or by law, and + Licensor promises not to interfere with or be responsible for such + uses by You. + + 16) Modification of This License. This License is Copyright © 2005 + Lawrence Rosen. Permission is granted to copy, distribute, or + communicate this License without modification. Nothing in this + License permits You to modify this License as applied to the + Original Work or to Derivative Works. However, You may modify the + text of this License and copy, distribute or communicate your + modified version (the "Modified License") and apply it to other + original works of authorship subject to the following conditions: + (i) You may not indicate in any way that your Modified License is + the "Academic Free License" or "AFL" and you may not use those + names in the name of your Modified License; (ii) You must replace + the notice specified in the first paragraph above with the notice + "Licensed under " or with a notice + of your own that is not confusingly similar to the notice in this + License; and (iii) You may not claim that your original works are + open source software unless your Modified License has been + approved by Open Source Initiative (OSI) and You comply with its + license review and certification process. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/systemd/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/systemd/stable_copyright-detailed.expected.yml index e01680b6c22..aac8821f89c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/systemd/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/systemd/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- lgpl-2.1-plus AND lgpl-2.1 -- - LGPL-2.1+ +primary_license: lgpl-2.1-plus AND lgpl-2.1 +declared_license: + - LGPL-2.1+ - CC0-1.0 - GPL-2 - GPL-2 @@ -15,12 +16,12 @@ - GPL-2+ - LGPL-2.1+ - CC0-1.0 -- (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (cc0-1.0 AND cc0-1.0 AND cc0-1.0) AND (gpl-2.0 - AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND - (gpl-2.0-plus AND gpl-2.0-plus) AND mit AND public-domain-disclaimer AND (gpl-2.0-plus AND - gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-2.0 AND gpl-2.0 - AND gpl-2.0 AND gpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) -- | +license_expression: (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (cc0-1.0 AND cc0-1.0 + AND cc0-1.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND + gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus) AND mit AND public-domain-disclaimer + AND (gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND + (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) +copyright: | 2008-2015 Kay Sievers 2010-2015 Lennart Poettering 2012-2015 Zbigniew Jędrzejewski-Szmek @@ -80,3 +81,300 @@ 2010-2013 Tollef Fog Heen 2013-2018 Michael Biebl 2013 Michael Stapelberg +matches: + - score: '94.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 94 + identifier: public-domain-disclaimer_7.RULE + license_expression: public-domain-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You can use this free for any purpose. It's in the public domain. It has no + warranty. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_95.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_27.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all copyright + and related and neighboring rights to this software to the public domain + worldwide. This software is distributed without any warranty. + + You should have received a copy of the CC0 Public Domain Dedication along with + this software. If not, see . + - score: '100.0' + start_line: 8 + end_line: 9 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_101.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the CC0 1.0 Universal license can be + found in ‘/usr/share/common-licenses/CC0-1.0’. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/systemd/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/systemd/stable_copyright.expected.yml index 0c76827e2d1..acf87732934 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/systemd/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/systemd/stable_copyright.expected.yml @@ -1,12 +1,14 @@ -- lgpl-2.1-plus AND lgpl-2.1 -- - LGPL-2.1+ +primary_license: lgpl-2.1-plus AND lgpl-2.1 +declared_license: + - LGPL-2.1+ - CC0-1.0 - GPL-2 - GPL-2+ - Expat - public-domain -- (lgpl-2.1-plus AND lgpl-2.1) AND cc0-1.0 AND gpl-2.0 AND gpl-2.0-plus AND mit AND public-domain-disclaimer -- | +license_expression: (lgpl-2.1-plus AND lgpl-2.1) AND cc0-1.0 AND gpl-2.0 AND gpl-2.0-plus AND + mit AND public-domain-disclaimer +copyright: | 2008-2015 Kay Sievers 2010-2015 Lennart Poettering 2012-2015 Zbigniew Jędrzejewski-Szmek @@ -61,3 +63,300 @@ 2014 Carlos Garnacho 2007-2013 Kay Sievers 2013 Tom Gundersen +matches: + - score: '94.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 94 + identifier: public-domain-disclaimer_7.RULE + license_expression: public-domain-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You can use this free for any purpose. It's in the public domain. It has no + warranty. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_95.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_27.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all copyright + and related and neighboring rights to this software to the public domain + worldwide. This software is distributed without any warranty. + + You should have received a copy of the CC0 Public Domain Dedication along with + this software. If not, see . + - score: '100.0' + start_line: 8 + end_line: 9 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_101.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the CC0 1.0 Universal license can be + found in ‘/usr/share/common-licenses/CC0-1.0’. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/t/tzdata/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/t/tzdata/stable_copyright-detailed.expected.yml index 510a3c13e76..094efafcce0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/t/tzdata/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/t/tzdata/stable_copyright-detailed.expected.yml @@ -1,4 +1,21 @@ -- -- -- public-domain -- +primary_license: +declared_license: +license_expression: public-domain +copyright: +matches: + - score: '100.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_285.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is in the public domain. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/t/tzdata/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/t/tzdata/stable_copyright.expected.yml index 510a3c13e76..094efafcce0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/t/tzdata/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/t/tzdata/stable_copyright.expected.yml @@ -1,4 +1,21 @@ -- -- -- public-domain -- +primary_license: +declared_license: +license_expression: public-domain +copyright: +matches: + - score: '100.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_285.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is in the public domain. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/u/unzip/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/u/unzip/stable_copyright-detailed.expected.yml index db0b6c79fe3..3a70b6d4974 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/u/unzip/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/u/unzip/stable_copyright-detailed.expected.yml @@ -1,4 +1,64 @@ -- -- -- info-zip-2009-01 -- Copyright (c) 1990-2009 Info-ZIP. +primary_license: +declared_license: +license_expression: info-zip-2009-01 +copyright: Copyright (c) 1990-2009 Info-ZIP. +matches: + - score: '99.24' + start_line: 15 + end_line: 76 + matcher: 3-seq + rule_length: 521 + matched_length: 521 + match_coverage: '100.0' + rule_relevance: 100 + identifier: info-zip-2009-01.LICENSE + license_expression: info-zip-2009-01 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This is version 2009-Jan-02 of the Info-ZIP license.\n The definitive version\ + \ of this document should be available at\n ftp://ftp.info-zip.org/pub/infozip/license.html\ + \ indefinitely and\n a copy at http://www.info-zip.org/pub/infozip/license.html.\n \n\ + \ \n Copyright (c) 1990-2009 Info-ZIP. All rights reserved.\n \n For the purposes of\ + \ this copyright and license, \"Info-ZIP\" is defined as\n the following set of individuals:\n\ + \ \n Mark Adler, John Bush, Karl Davis, Harald Denker, Jean-Michel Dubois,\n Jean-loup\ + \ Gailly, Hunter Goatley, Ed Gordon, Ian Gorman, Chris Herborth,\n Dirk Haase, Greg\ + \ Hartwig, Robert Heath, Jonathan Hudson, Paul Kienitz,\n David Kirschbaum, Johnny\ + \ Lee, Onno van der Linden, Igor Mandrichenko,\n Steve P. Miller, Sergio Monesi, Keith\ + \ Owens, George Petrov, Greg Roelofs,\n Kai Uwe Rommel, Steve Salisbury, Dave Smith,\ + \ Steven M. Schweda,\n Christian Spieler, Cosmin Truta, Antoine Verheijen, Paul von\ + \ Behren,\n Rich Wales, Mike White.\n \n This software is provided \"as is,\" without\ + \ warranty of any kind, express\n or implied. In no event shall Info-ZIP or its contributors\ + \ be held liable\n for any direct, indirect, incidental, special or consequential damages\n\ + \ arising out of the use of or inability to use this software.\n \n Permission is granted\ + \ to anyone to use this software for any purpose,\n including commercial applications,\ + \ and to alter it and redistribute it\n freely, subject to the above disclaimer and the\ + \ following restrictions:\n \n [1]. Redistributions of source code (in whole or in\ + \ part) must retain\n the above copyright notice, definition, disclaimer, and this\ + \ list\n of conditions.\n \n [2]. Redistributions in binary form (compiled\ + \ executables and libraries)\n must reproduce the above copyright notice, definition,\ + \ disclaimer,\n and this list of conditions in documentation and/or other materials\n\ + \ provided with the distribution. Additional documentation is not needed\n \ + \ for executables where a command line license option provides these and\n \ + \ a note regarding this option is in the executable's startup banner. The\n sole\ + \ exception to this condition is redistribution of a standard\n UnZipSFX binary\ + \ (including SFXWiz) as part of a self-extracting archive;\n that is permitted\ + \ without inclusion of this license, as long as the\n normal SFX banner has not\ + \ been removed from the binary or disabled.\n \n [3]. Altered versions--including,\ + \ but not limited to, ports to new operating\n systems, existing ports with new\ + \ graphical interfaces, versions with\n modified or added functionality, and dynamic,\ + \ shared, or static library\n versions not from Info-ZIP--must be plainly marked\ + \ as such and must not\n be misrepresented as being the original source or, if\ + \ binaries,\n compiled from the original source. Such altered versions also must\ + \ not\n be misrepresented as being Info-ZIP releases--including, but not\n \ + \ limited to, labeling of the altered versions with the names \"Info-ZIP\"\n \ + \ (or any variation thereof, including, but not limited to, different\n capitalizations),\ + \ \"Pocket UnZip,\" \"WiZ\" or \"MacZip\" without the\n explicit permission of\ + \ Info-ZIP. Such altered versions are further\n prohibited from misrepresentative\ + \ use of the Zip-Bugs or Info-ZIP\n e-mail addresses or the Info-ZIP URL(s), such\ + \ as to imply Info-ZIP\n will provide support for the altered versions.\n \n \ + \ [4]. Info-ZIP retains the right to use the names \"Info-ZIP,\" \"Zip,\" \"UnZip,\"\ + \n \"UnZipSFX,\" \"WiZ,\" \"Pocket UnZip,\" \"Pocket Zip,\" and \"MacZip\" for\ + \ its\n own source and binary releases." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/u/unzip/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/u/unzip/stable_copyright.expected.yml index db0b6c79fe3..3a70b6d4974 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/u/unzip/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/u/unzip/stable_copyright.expected.yml @@ -1,4 +1,64 @@ -- -- -- info-zip-2009-01 -- Copyright (c) 1990-2009 Info-ZIP. +primary_license: +declared_license: +license_expression: info-zip-2009-01 +copyright: Copyright (c) 1990-2009 Info-ZIP. +matches: + - score: '99.24' + start_line: 15 + end_line: 76 + matcher: 3-seq + rule_length: 521 + matched_length: 521 + match_coverage: '100.0' + rule_relevance: 100 + identifier: info-zip-2009-01.LICENSE + license_expression: info-zip-2009-01 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This is version 2009-Jan-02 of the Info-ZIP license.\n The definitive version\ + \ of this document should be available at\n ftp://ftp.info-zip.org/pub/infozip/license.html\ + \ indefinitely and\n a copy at http://www.info-zip.org/pub/infozip/license.html.\n \n\ + \ \n Copyright (c) 1990-2009 Info-ZIP. All rights reserved.\n \n For the purposes of\ + \ this copyright and license, \"Info-ZIP\" is defined as\n the following set of individuals:\n\ + \ \n Mark Adler, John Bush, Karl Davis, Harald Denker, Jean-Michel Dubois,\n Jean-loup\ + \ Gailly, Hunter Goatley, Ed Gordon, Ian Gorman, Chris Herborth,\n Dirk Haase, Greg\ + \ Hartwig, Robert Heath, Jonathan Hudson, Paul Kienitz,\n David Kirschbaum, Johnny\ + \ Lee, Onno van der Linden, Igor Mandrichenko,\n Steve P. Miller, Sergio Monesi, Keith\ + \ Owens, George Petrov, Greg Roelofs,\n Kai Uwe Rommel, Steve Salisbury, Dave Smith,\ + \ Steven M. Schweda,\n Christian Spieler, Cosmin Truta, Antoine Verheijen, Paul von\ + \ Behren,\n Rich Wales, Mike White.\n \n This software is provided \"as is,\" without\ + \ warranty of any kind, express\n or implied. In no event shall Info-ZIP or its contributors\ + \ be held liable\n for any direct, indirect, incidental, special or consequential damages\n\ + \ arising out of the use of or inability to use this software.\n \n Permission is granted\ + \ to anyone to use this software for any purpose,\n including commercial applications,\ + \ and to alter it and redistribute it\n freely, subject to the above disclaimer and the\ + \ following restrictions:\n \n [1]. Redistributions of source code (in whole or in\ + \ part) must retain\n the above copyright notice, definition, disclaimer, and this\ + \ list\n of conditions.\n \n [2]. Redistributions in binary form (compiled\ + \ executables and libraries)\n must reproduce the above copyright notice, definition,\ + \ disclaimer,\n and this list of conditions in documentation and/or other materials\n\ + \ provided with the distribution. Additional documentation is not needed\n \ + \ for executables where a command line license option provides these and\n \ + \ a note regarding this option is in the executable's startup banner. The\n sole\ + \ exception to this condition is redistribution of a standard\n UnZipSFX binary\ + \ (including SFXWiz) as part of a self-extracting archive;\n that is permitted\ + \ without inclusion of this license, as long as the\n normal SFX banner has not\ + \ been removed from the binary or disabled.\n \n [3]. Altered versions--including,\ + \ but not limited to, ports to new operating\n systems, existing ports with new\ + \ graphical interfaces, versions with\n modified or added functionality, and dynamic,\ + \ shared, or static library\n versions not from Info-ZIP--must be plainly marked\ + \ as such and must not\n be misrepresented as being the original source or, if\ + \ binaries,\n compiled from the original source. Such altered versions also must\ + \ not\n be misrepresented as being Info-ZIP releases--including, but not\n \ + \ limited to, labeling of the altered versions with the names \"Info-ZIP\"\n \ + \ (or any variation thereof, including, but not limited to, different\n capitalizations),\ + \ \"Pocket UnZip,\" \"WiZ\" or \"MacZip\" without the\n explicit permission of\ + \ Info-ZIP. Such altered versions are further\n prohibited from misrepresentative\ + \ use of the Zip-Bugs or Info-ZIP\n e-mail addresses or the Info-ZIP URL(s), such\ + \ as to imply Info-ZIP\n will provide support for the altered versions.\n \n \ + \ [4]. Info-ZIP retains the right to use the names \"Info-ZIP,\" \"Zip,\" \"UnZip,\"\ + \n \"UnZipSFX,\" \"WiZ,\" \"Pocket UnZip,\" \"Pocket Zip,\" and \"MacZip\" for\ + \ its\n own source and binary releases." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/webkit2gtk/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/webkit2gtk/stable_copyright-detailed.expected.yml index 8ab883e451c..b7be4242e2c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/webkit2gtk/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/webkit2gtk/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- bsd-simplified -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: + - BSD-2-clause - BSD-3-clause - Expat - GPL-3+ @@ -28,13 +29,13 @@ - MPL-1.1 - Apache-2.0 - ISC -- bsd-simplified AND bsd-simplified AND bsd-new AND mit AND (gpl-3.0-plus AND gpl-3.0-plus) - AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus - AND lgpl-2.1-plus) AND x11 AND ((mpl-1.1 AND mpl-1.1) OR (gpl-2.0-plus AND gpl-2.0-plus) OR - (lgpl-2.1-plus AND lgpl-2.1-plus)) AND public-domain AND (apache-2.0 AND apache-2.0 AND apache-2.0) - AND (bsd-new AND boost-1.0) AND isc AND (lgpl-2.0 AND lgpl-2.1-plus) AND (lgpl-2.0-plus AND - lgpl-2.1-plus) -- | +license_expression: bsd-simplified AND bsd-simplified AND bsd-new AND mit AND (gpl-3.0-plus + AND gpl-3.0-plus) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND (lgpl-2.1 AND lgpl-2.1-plus AND + lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus) AND x11 AND ((mpl-1.1 AND mpl-1.1) OR (gpl-2.0-plus + AND gpl-2.0-plus) OR (lgpl-2.1-plus AND lgpl-2.1-plus)) AND public-domain AND (apache-2.0 + AND apache-2.0 AND apache-2.0) AND (bsd-new AND boost-1.0) AND isc AND (lgpl-2.0 AND lgpl-2.1-plus) + AND (lgpl-2.0-plus AND lgpl-2.1-plus) +copyright: | © 2002-2019 Apple Inc. and others © 2002-2014 Apple Inc. and others © 2007-2009 The Khronos Group Inc. @@ -54,3 +55,1082 @@ © 2007-2009 Mike Hommey © 2009 Gustavo Noronha Silva © 2014-2019 Alberto Garcia +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_303.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This code was written by Colin Plumb in 1993, no copyright is + claimed. + This code is in the public domain; do with it what you wish. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_31.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 APPLE COMPUTER, INC. ``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 APPLE COMPUTER, INC. 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. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_684.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. Neither the name of [Ericsson] 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 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 + OWNER 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. + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 202 + matched_length: 202 + match_coverage: '100.0' + rule_relevance: 100 + identifier: boost-1.0_9.RULE + license_expression: boost-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person or + organization obtaining a copy of the software and accompanying + documentation covered by this license (the "Software") to use, + reproduce, display, distribute, execute, and transmit the Software, + and to prepare derivative works of the Software, and to permit + third-parties to whom the Software is furnished to do so, all subject + to the following: + + The copyright notices in the Software and this entire statement, + including the above license grant, this restriction and the following + disclaimer, must be included in all copies of the Software, in whole + or in part, and all derivative works of the Software, unless such + copies or derivative works are solely in the form of + machine-executable object code generated by a source language + processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND + NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE + DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER + LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT + OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_12.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2' + - score: '84.04' + start_line: 1 + end_line: 10 + matcher: 3-seq + rule_length: 94 + matched_length: 79 + match_coverage: '84.04' + rule_relevance: 100 + identifier: lgpl-2.1-plus_202.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License [version] [2] + as published by the Free Software Foundation. + + This module is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '97.87' + start_line: 1 + end_line: 11 + matcher: 3-seq + rule_length: 94 + matched_length: 92 + match_coverage: '97.87' + rule_relevance: 100 + identifier: lgpl-2.1-plus_202.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This module is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '85.11' + start_line: 1 + end_line: 10 + matcher: 3-seq + rule_length: 94 + matched_length: 80 + match_coverage: '85.11' + rule_relevance: 100 + identifier: lgpl-2.1-plus_202.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License [version] + [2].[1] as published by the Free Software Foundation. + + This module is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/LGPL-2.1 + - score: '100.0' + start_line: 2 + end_line: 3 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_282.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU Lesser General Public License version + 2.1 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_202.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2.1 of the + License, or (at your option) any later version. + + This module is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/LGPL-2.1 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 91 + matched_length: 91 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_655.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at + your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '93.0' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 100 + matched_length: 93 + match_coverage: '93.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_234.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or (at + your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + On Debian systems, the complete text of the license [can] [be] [found] [in] + [the] [file] /usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 225 + matched_length: 225 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11.LICENSE + license_expression: x11 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, and/or sell copies of the Software, and to permit persons + to whom the Software is furnished to do so, provided that the above + copyright notice(s) and this permission notice appear in all copies + of the Software and that both the above copyright notice(s) and this + permission notice appear in supporting documentation. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT + OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR + HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY + SPECIAL 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 THIS SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in this Software without prior written + authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mpl-1.1_24.RULE + license_expression: mpl-1.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: mpl-1.1' + - score: '100.0' + start_line: 1 + end_line: 467 + matcher: 1-hash + rule_length: 3690 + matched_length: 3690 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mpl-1.1.LICENSE + license_expression: mpl-1.1 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + MOZILLA PUBLIC LICENSE + Version 1.1 + + --------------- + + 1. Definitions. + + 1.0.1. "Commercial Use" means distribution or otherwise making the + Covered Code available to a third party. + + 1.1. "Contributor" means each entity that creates or contributes to + the creation of Modifications. + + 1.2. "Contributor Version" means the combination of the Original + Code, prior Modifications used by a Contributor, and the Modifications + made by that particular Contributor. + + 1.3. "Covered Code" means the Original Code or Modifications or the + combination of the Original Code and Modifications, in each case + including portions thereof. + + 1.4. "Electronic Distribution Mechanism" means a mechanism generally + accepted in the software development community for the electronic + transfer of data. + + 1.5. "Executable" means Covered Code in any form other than Source + Code. + + 1.6. "Initial Developer" means the individual or entity identified + as the Initial Developer in the Source Code notice required by Exhibit + A. + + 1.7. "Larger Work" means a work which combines Covered Code or + portions thereof with code not governed by the terms of this License. + + 1.8. "License" means this document. + + 1.8.1. "Licensable" means having the right to grant, to the maximum + extent possible, whether at the time of the initial grant or + subsequently acquired, any and all of the rights conveyed herein. + + 1.9. "Modifications" means any addition to or deletion from the + substance or structure of either the Original Code or any previous + Modifications. When Covered Code is released as a series of files, a + Modification is: + A. Any addition to or deletion from the contents of a file + containing Original Code or previous Modifications. + + B. Any new file that contains any part of the Original Code or + previous Modifications. + + 1.10. "Original Code" means Source Code of computer software code + which is described in the Source Code notice required by Exhibit A as + Original Code, and which, at the time of its release under this + License is not already Covered Code governed by this License. + + 1.10.1. "Patent Claims" means any patent claim(s), now owned or + hereafter acquired, including without limitation, method, process, + and apparatus claims, in any patent Licensable by grantor. + + 1.11. "Source Code" means the preferred form of the Covered Code for + making modifications to it, including all modules it contains, plus + any associated interface definition files, scripts used to control + compilation and installation of an Executable, or source code + differential comparisons against either the Original Code or another + well known, available Covered Code of the Contributor's choice. The + Source Code can be in a compressed or archival form, provided the + appropriate decompression or de-archiving software is widely available + for no charge. + + 1.12. "You" (or "Your") means an individual or a legal entity + exercising rights under, and complying with all of the terms of, this + License or a future version of this License issued under Section 6.1. + For legal entities, "You" includes any entity which controls, is + controlled by, or is under common control with You. For purposes of + this definition, "control" means (a) the power, direct or indirect, + to cause the direction or management of such entity, whether by + contract or otherwise, or (b) ownership of more than fifty percent + (50%) of the outstanding shares or beneficial ownership of such + entity. + + 2. Source Code License. + + 2.1. The Initial Developer Grant. + The Initial Developer hereby grants You a world-wide, royalty-free, + non-exclusive license, subject to third party intellectual property + claims: + (a) under intellectual property rights (other than patent or + trademark) Licensable by Initial Developer to use, reproduce, + modify, display, perform, sublicense and distribute the Original + Code (or portions thereof) with or without Modifications, and/or + as part of a Larger Work; and + + (b) under Patents Claims infringed by the making, using or + selling of Original Code, to make, have made, use, practice, + sell, and offer for sale, and/or otherwise dispose of the + Original Code (or portions thereof). + + (c) the licenses granted in this Section 2.1(a) and (b) are + effective on the date Initial Developer first distributes + Original Code under the terms of this License. + + (d) Notwithstanding Section 2.1(b) above, no patent license is + granted: 1) for code that You delete from the Original Code; 2) + separate from the Original Code; or 3) for infringements caused + by: i) the modification of the Original Code or ii) the + combination of the Original Code with other software or devices. + + 2.2. Contributor Grant. + Subject to third party intellectual property claims, each Contributor + hereby grants You a world-wide, royalty-free, non-exclusive license + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Contributor, to use, reproduce, modify, + display, perform, sublicense and distribute the Modifications + created by such Contributor (or portions thereof) either on an + unmodified basis, with other Modifications, as Covered Code + and/or as part of a Larger Work; and + + (b) under Patent Claims infringed by the making, using, or + selling of Modifications made by that Contributor either alone + and/or in combination with its Contributor Version (or portions + of such combination), to make, use, sell, offer for sale, have + made, and/or otherwise dispose of: 1) Modifications made by that + Contributor (or portions thereof); and 2) the combination of + Modifications made by that Contributor with its Contributor + Version (or portions of such combination). + + (c) the licenses granted in Sections 2.2(a) and 2.2(b) are + effective on the date Contributor first makes Commercial Use of + the Covered Code. + (d) Notwithstanding Section 2.2(b) above, no patent license is + granted: 1) for any code that Contributor has deleted from the + Contributor Version; 2) separate from the Contributor Version; + 3) for infringements caused by: i) third party modifications of + Contributor Version or ii) the combination of Modifications made + by that Contributor with other software (except as part of the + Contributor Version) or other devices; or 4) under Patent Claims + infringed by Covered Code in the absence of Modifications made by + that Contributor. + + 3. Distribution Obligations. + + 3.1. Application of License. + The Modifications which You create or to which You contribute are + governed by the terms of this License, including without limitation + Section 2.2. The Source Code version of Covered Code may be + distributed only under the terms of this License or a future version + of this License released under Section 6.1, and You must include a + copy of this License with every copy of the Source Code You + distribute. You may not offer or impose any terms on any Source Code + version that alters or restricts the applicable version of this + License or the recipients' rights hereunder. However, You may include + an additional document offering the additional rights described in + Section 3.5. + + 3.2. Availability of Source Code. + Any Modification which You create or to which You contribute must be + made available in Source Code form under the terms of this License + either on the same media as an Executable version or via an accepted + Electronic Distribution Mechanism to anyone to whom you made an + Executable version available; and if made available via Electronic + Distribution Mechanism, must remain available for at least twelve (12) + months after the date it initially became available, or at least six + (6) months after a subsequent version of that particular Modification + has been made available to such recipients. You are responsible for + ensuring that the Source Code version remains available even if the + Electronic Distribution Mechanism is maintained by a third party. + + 3.3. Description of Modifications. + You must cause all Covered Code to which You contribute to contain a + file documenting the changes You made to create that Covered Code and + the date of any change. You must include a prominent statement that + the Modification is derived, directly or indirectly, from Original + Code provided by the Initial Developer and including the name of the + Initial Developer in (a) the Source Code, and (b) in any notice in an + Executable version or related documentation in which You describe the + origin or ownership of the Covered Code. + + 3.4. Intellectual Property Matters + (a) Third Party Claims. + If Contributor has knowledge that a license under a third party's + intellectual property rights is required to exercise the rights + granted by such Contributor under Sections 2.1 or 2.2, + Contributor must include a text file with the Source Code + distribution titled "LEGAL" which describes the claim and the + party making the claim in sufficient detail that a recipient will + know whom to contact. If Contributor obtains such knowledge after + the Modification is made available as described in Section 3.2, + Contributor shall promptly modify the LEGAL file in all copies + Contributor makes available thereafter and shall take other steps + (such as notifying appropriate mailing lists or newsgroups) + reasonably calculated to inform those who received the Covered + Code that new knowledge has been obtained. + + (b) Contributor APIs. + If Contributor's Modifications include an application programming + interface and Contributor has knowledge of patent licenses which + are reasonably necessary to implement that API, Contributor must + also include this information in the LEGAL file. + + (c) Representations. + Contributor represents that, except as disclosed pursuant to + Section 3.4(a) above, Contributor believes that Contributor's + Modifications are Contributor's original creation(s) and/or + Contributor has sufficient rights to grant the rights conveyed by + this License. + + 3.5. Required Notices. + You must duplicate the notice in Exhibit A in each file of the Source + Code. If it is not possible to put such notice in a particular Source + Code file due to its structure, then You must include such notice in a + location (such as a relevant directory) where a user would be likely + to look for such a notice. If You created one or more Modification(s) + You may add your name as a Contributor to the notice described in + Exhibit A. You must also duplicate this License in any documentation + for the Source Code where You describe recipients' rights or ownership + rights relating to Covered Code. You may choose to offer, and to + charge a fee for, warranty, support, indemnity or liability + obligations to one or more recipients of Covered Code. However, You + may do so only on Your own behalf, and not on behalf of the Initial + Developer or any Contributor. You must make it absolutely clear than + any such warranty, support, indemnity or liability obligation is + offered by You alone, and You hereby agree to indemnify the Initial + Developer and every Contributor for any liability incurred by the + Initial Developer or such Contributor as a result of warranty, + support, indemnity or liability terms You offer. + + 3.6. Distribution of Executable Versions. + You may distribute Covered Code in Executable form only if the + requirements of Section 3.1-3.5 have been met for that Covered Code, + and if You include a notice stating that the Source Code version of + the Covered Code is available under the terms of this License, + including a description of how and where You have fulfilled the + obligations of Section 3.2. The notice must be conspicuously included + in any notice in an Executable version, related documentation or + collateral in which You describe recipients' rights relating to the + Covered Code. You may distribute the Executable version of Covered + Code or ownership rights under a license of Your choice, which may + contain terms different from this License, provided that You are in + compliance with the terms of this License and that the license for the + Executable version does not attempt to limit or alter the recipient's + rights in the Source Code version from the rights set forth in this + License. If You distribute the Executable version under a different + license You must make it absolutely clear that any terms which differ + from this License are offered by You alone, not by the Initial + Developer or any Contributor. You hereby agree to indemnify the + Initial Developer and every Contributor for any liability incurred by + the Initial Developer or such Contributor as a result of any such + terms You offer. + + 3.7. Larger Works. + You may create a Larger Work by combining Covered Code with other code + not governed by the terms of this License and distribute the Larger + Work as a single product. In such a case, You must make sure the + requirements of this License are fulfilled for the Covered Code. + + 4. Inability to Comply Due to Statute or Regulation. + + If it is impossible for You to comply with any of the terms of this + License with respect to some or all of the Covered Code due to + statute, judicial order, or regulation then You must: (a) comply with + the terms of this License to the maximum extent possible; and (b) + describe the limitations and the code they affect. Such description + must be included in the LEGAL file described in Section 3.4 and must + be included with all distributions of the Source Code. Except to the + extent prohibited by statute or regulation, such description must be + sufficiently detailed for a recipient of ordinary skill to be able to + understand it. + + 5. Application of this License. + + This License applies to code to which the Initial Developer has + attached the notice in Exhibit A and to related Covered Code. + + 6. Versions of the License. + + 6.1. New Versions. + Netscape Communications Corporation ("Netscape") may publish revised + and/or new versions of the License from time to time. Each version + will be given a distinguishing version number. + + 6.2. Effect of New Versions. + Once Covered Code has been published under a particular version of the + License, You may always continue to use it under the terms of that + version. You may also choose to use such Covered Code under the terms + of any subsequent version of the License published by Netscape. No one + other than Netscape has the right to modify the terms applicable to + Covered Code created under this License. + + 6.3. Derivative Works. + If You create or use a modified version of this License (which you may + only do in order to apply it to code which is not already Covered Code + governed by this License), You must (a) rename Your license so that + the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", + "MPL", "NPL" or any confusingly similar phrase do not appear in your + license (except to note that your license differs from this License) + and (b) otherwise make it clear that Your version of the license + contains terms which differ from the Mozilla Public License and + Netscape Public License. (Filling in the name of the Initial + Developer, Original Code or Contributor in the notice described in + Exhibit A shall not of themselves be deemed to be modifications of + this License.) + + 7. DISCLAIMER OF WARRANTY. + COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF + DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. + THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE + IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, + YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE + COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER + OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF + ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + + 8. TERMINATION. + + 8.1. This License and the rights granted hereunder will terminate + automatically if You fail to comply with terms herein and fail to cure + such breach within 30 days of becoming aware of the breach. All + sublicenses to the Covered Code which are properly granted shall + survive any termination of this License. Provisions which, by their + nature, must remain in effect beyond the termination of this License + shall survive. + + 8.2. If You initiate litigation by asserting a patent infringement + claim (excluding declatory judgment actions) against Initial Developer + or a Contributor (the Initial Developer or Contributor against whom + You file such action is referred to as "Participant") alleging that: + + (a) such Participant's Contributor Version directly or indirectly + infringes any patent, then any and all rights granted by such + Participant to You under Sections 2.1 and/or 2.2 of this License + shall, upon 60 days notice from Participant terminate prospectively, + unless if within 60 days after receipt of notice You either: (i) + agree in writing to pay Participant a mutually agreeable reasonable + royalty for Your past and future use of Modifications made by such + Participant, or (ii) withdraw Your litigation claim with respect to + the Contributor Version against such Participant. If within 60 days + of notice, a reasonable royalty and payment arrangement are not + mutually agreed upon in writing by the parties or the litigation claim + is not withdrawn, the rights granted by Participant to You under + Sections 2.1 and/or 2.2 automatically terminate at the expiration of + the 60 day notice period specified above. + + (b) any software, hardware, or device, other than such Participant's + Contributor Version, directly or indirectly infringes any patent, then + any rights granted to You by such Participant under Sections 2.1(b) + and 2.2(b) are revoked effective as of the date You first made, used, + sold, distributed, or had made, Modifications made by that + Participant. + + 8.3. If You assert a patent infringement claim against Participant + alleging that such Participant's Contributor Version directly or + indirectly infringes any patent where such claim is resolved (such as + by license or settlement) prior to the initiation of patent + infringement litigation, then the reasonable value of the licenses + granted by such Participant under Sections 2.1 or 2.2 shall be taken + into account in determining the amount or value of any payment or + license. + + 8.4. In the event of termination under Sections 8.1 or 8.2 above, + all end user license agreements (excluding distributors and resellers) + which have been validly granted by You or any distributor hereunder + prior to termination shall survive termination. + + 9. LIMITATION OF LIABILITY. + + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL + DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, + OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR + ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY + CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, + WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER + COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN + INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF + LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY + RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW + PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO + THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + + 10. U.S. GOVERNMENT END USERS. + + The Covered Code is a "commercial item," as that term is defined in + 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer + software" and "commercial computer software documentation," as such + terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 + C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), + all U.S. Government End Users acquire Covered Code with only those + rights set forth herein. + + 11. MISCELLANEOUS. + + This License represents the complete agreement concerning subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. This License shall be governed by + California law provisions (except to the extent applicable law, if + any, provides otherwise), excluding its conflict-of-law provisions. + With respect to disputes in which at least one party is a citizen of, + or an entity chartered or registered to do business in the United + States of America, any litigation relating to this License shall be + subject to the jurisdiction of the Federal Courts of the Northern + District of California, with venue lying in Santa Clara County, + California, with the losing party responsible for costs, including + without limitation, court costs and reasonable attorneys' fees and + expenses. The application of the United Nations Convention on + Contracts for the International Sale of Goods is expressly excluded. + Any law or regulation which provides that the language of a contract + shall be construed against the drafter shall not apply to this + License. + + 12. RESPONSIBILITY FOR CLAIMS. + + As between Initial Developer and the Contributors, each party is + responsible for claims and damages arising, directly or indirectly, + out of its utilization of rights under this License and You agree to + work with Initial Developer and Contributors to distribute such + responsibility on an equitable basis. Nothing herein is intended or + shall be deemed to constitute any admission of liability. + + 13. MULTIPLE-LICENSED CODE. + + Initial Developer may designate portions of the Covered Code as + "Multiple-Licensed". "Multiple-Licensed" means that the Initial + Developer permits you to utilize portions of the Covered Code under + Your choice of the NPL or the alternative licenses, if any, specified + by the Initial Developer in the file described in Exhibit A. + + EXHIBIT A -Mozilla Public License. + + ``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 ______________________ are Copyright (C) ______ + _______________________. All Rights Reserved. + + Contributor(s): ______________________________________. + + Alternatively, the contents of this file may be used under the terms + of the _____ license (the "[___] License"), in which case the + provisions of [______] License are applicable instead of those + above. If you wish to allow use of your version of this file only + under the terms of the [____] License 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 [___] License. If you do not delete + the provisions above, a recipient may use your version of this file + under either the MPL or the [___] License." + + [NOTE: The text of this Exhibit A may differ slightly from the text of + the notices in the Source Code files of the Original Code. You should + use the text of this Exhibit A rather than the text found in the + Original Code Source Code for Your Modifications.] + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_392.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Apache license version 2 + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache-2.0'. + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the + above copyright notice and this permission notice appear in all + copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS 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 THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: spdx_license_id_bsd-2-clause_for_bsd-simplified.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: BSD 2-clause, diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/webkit2gtk/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/webkit2gtk/stable_copyright.expected.yml index 8cb8106e9cb..1baf5524528 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/webkit2gtk/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/webkit2gtk/stable_copyright.expected.yml @@ -1,5 +1,6 @@ -- bsd-simplified -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: + - BSD-2-clause - BSD-3-clause - Expat - GPL-3+ @@ -16,11 +17,11 @@ - BSL - GPL-2+ - MPL-1.1 -- bsd-simplified AND bsd-new AND mit AND gpl-3.0-plus AND (lgpl-2.0-plus AND lgpl-2.1-plus) - AND (lgpl-2.1 AND lgpl-2.1-plus) AND lgpl-2.1-plus AND x11 AND (mpl-1.1 OR gpl-2.0-plus OR - lgpl-2.1-plus) AND public-domain AND apache-2.0 AND (bsd-new AND boost-1.0) AND isc AND (lgpl-2.0 - AND lgpl-2.1-plus) -- | +license_expression: bsd-simplified AND bsd-new AND mit AND gpl-3.0-plus AND (lgpl-2.0-plus AND + lgpl-2.1-plus) AND (lgpl-2.1 AND lgpl-2.1-plus) AND lgpl-2.1-plus AND x11 AND (mpl-1.1 OR + gpl-2.0-plus OR lgpl-2.1-plus) AND public-domain AND apache-2.0 AND (bsd-new AND boost-1.0) + AND isc AND (lgpl-2.0 AND lgpl-2.1-plus) +copyright: | © 2002-2019 Apple Inc. and others © 2002-2014 Apple Inc. and others © 2007-2009 The Khronos Group Inc. @@ -30,3 +31,1082 @@ © 2007 Google Inc. © 1996 David Mazieres © 2008 Damien Miller +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_303.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This code was written by Colin Plumb in 1993, no copyright is + claimed. + This code is in the public domain; do with it what you wish. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_31.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 APPLE COMPUTER, INC. ``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 APPLE COMPUTER, INC. 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. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_684.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. Neither the name of [Ericsson] 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 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 + OWNER 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. + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 202 + matched_length: 202 + match_coverage: '100.0' + rule_relevance: 100 + identifier: boost-1.0_9.RULE + license_expression: boost-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person or + organization obtaining a copy of the software and accompanying + documentation covered by this license (the "Software") to use, + reproduce, display, distribute, execute, and transmit the Software, + and to prepare derivative works of the Software, and to permit + third-parties to whom the Software is furnished to do so, all subject + to the following: + + The copyright notices in the Software and this entire statement, + including the above license grant, this restriction and the following + disclaimer, must be included in all copies of the Software, in whole + or in part, and all derivative works of the Software, unless such + copies or derivative works are solely in the form of + machine-executable object code generated by a source language + processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND + NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE + DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER + LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT + OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_12.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2' + - score: '84.04' + start_line: 1 + end_line: 10 + matcher: 3-seq + rule_length: 94 + matched_length: 79 + match_coverage: '84.04' + rule_relevance: 100 + identifier: lgpl-2.1-plus_202.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License [version] [2] + as published by the Free Software Foundation. + + This module is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '97.87' + start_line: 1 + end_line: 11 + matcher: 3-seq + rule_length: 94 + matched_length: 92 + match_coverage: '97.87' + rule_relevance: 100 + identifier: lgpl-2.1-plus_202.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This module is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '85.11' + start_line: 1 + end_line: 10 + matcher: 3-seq + rule_length: 94 + matched_length: 80 + match_coverage: '85.11' + rule_relevance: 100 + identifier: lgpl-2.1-plus_202.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License [version] + [2].[1] as published by the Free Software Foundation. + + This module is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/LGPL-2.1 + - score: '100.0' + start_line: 2 + end_line: 3 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_282.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU Lesser General Public License version + 2.1 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_202.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2.1 of the + License, or (at your option) any later version. + + This module is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/LGPL-2.1 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 91 + matched_length: 91 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_655.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at + your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '93.0' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 100 + matched_length: 93 + match_coverage: '93.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_234.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or (at + your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + On Debian systems, the complete text of the license [can] [be] [found] [in] + [the] [file] /usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 225 + matched_length: 225 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11.LICENSE + license_expression: x11 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, and/or sell copies of the Software, and to permit persons + to whom the Software is furnished to do so, provided that the above + copyright notice(s) and this permission notice appear in all copies + of the Software and that both the above copyright notice(s) and this + permission notice appear in supporting documentation. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT + OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR + HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY + SPECIAL 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 THIS SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in this Software without prior written + authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mpl-1.1_24.RULE + license_expression: mpl-1.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: mpl-1.1' + - score: '100.0' + start_line: 1 + end_line: 467 + matcher: 1-hash + rule_length: 3690 + matched_length: 3690 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mpl-1.1.LICENSE + license_expression: mpl-1.1 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + MOZILLA PUBLIC LICENSE + Version 1.1 + + --------------- + + 1. Definitions. + + 1.0.1. "Commercial Use" means distribution or otherwise making the + Covered Code available to a third party. + + 1.1. "Contributor" means each entity that creates or contributes to + the creation of Modifications. + + 1.2. "Contributor Version" means the combination of the Original + Code, prior Modifications used by a Contributor, and the Modifications + made by that particular Contributor. + + 1.3. "Covered Code" means the Original Code or Modifications or the + combination of the Original Code and Modifications, in each case + including portions thereof. + + 1.4. "Electronic Distribution Mechanism" means a mechanism generally + accepted in the software development community for the electronic + transfer of data. + + 1.5. "Executable" means Covered Code in any form other than Source + Code. + + 1.6. "Initial Developer" means the individual or entity identified + as the Initial Developer in the Source Code notice required by Exhibit + A. + + 1.7. "Larger Work" means a work which combines Covered Code or + portions thereof with code not governed by the terms of this License. + + 1.8. "License" means this document. + + 1.8.1. "Licensable" means having the right to grant, to the maximum + extent possible, whether at the time of the initial grant or + subsequently acquired, any and all of the rights conveyed herein. + + 1.9. "Modifications" means any addition to or deletion from the + substance or structure of either the Original Code or any previous + Modifications. When Covered Code is released as a series of files, a + Modification is: + A. Any addition to or deletion from the contents of a file + containing Original Code or previous Modifications. + + B. Any new file that contains any part of the Original Code or + previous Modifications. + + 1.10. "Original Code" means Source Code of computer software code + which is described in the Source Code notice required by Exhibit A as + Original Code, and which, at the time of its release under this + License is not already Covered Code governed by this License. + + 1.10.1. "Patent Claims" means any patent claim(s), now owned or + hereafter acquired, including without limitation, method, process, + and apparatus claims, in any patent Licensable by grantor. + + 1.11. "Source Code" means the preferred form of the Covered Code for + making modifications to it, including all modules it contains, plus + any associated interface definition files, scripts used to control + compilation and installation of an Executable, or source code + differential comparisons against either the Original Code or another + well known, available Covered Code of the Contributor's choice. The + Source Code can be in a compressed or archival form, provided the + appropriate decompression or de-archiving software is widely available + for no charge. + + 1.12. "You" (or "Your") means an individual or a legal entity + exercising rights under, and complying with all of the terms of, this + License or a future version of this License issued under Section 6.1. + For legal entities, "You" includes any entity which controls, is + controlled by, or is under common control with You. For purposes of + this definition, "control" means (a) the power, direct or indirect, + to cause the direction or management of such entity, whether by + contract or otherwise, or (b) ownership of more than fifty percent + (50%) of the outstanding shares or beneficial ownership of such + entity. + + 2. Source Code License. + + 2.1. The Initial Developer Grant. + The Initial Developer hereby grants You a world-wide, royalty-free, + non-exclusive license, subject to third party intellectual property + claims: + (a) under intellectual property rights (other than patent or + trademark) Licensable by Initial Developer to use, reproduce, + modify, display, perform, sublicense and distribute the Original + Code (or portions thereof) with or without Modifications, and/or + as part of a Larger Work; and + + (b) under Patents Claims infringed by the making, using or + selling of Original Code, to make, have made, use, practice, + sell, and offer for sale, and/or otherwise dispose of the + Original Code (or portions thereof). + + (c) the licenses granted in this Section 2.1(a) and (b) are + effective on the date Initial Developer first distributes + Original Code under the terms of this License. + + (d) Notwithstanding Section 2.1(b) above, no patent license is + granted: 1) for code that You delete from the Original Code; 2) + separate from the Original Code; or 3) for infringements caused + by: i) the modification of the Original Code or ii) the + combination of the Original Code with other software or devices. + + 2.2. Contributor Grant. + Subject to third party intellectual property claims, each Contributor + hereby grants You a world-wide, royalty-free, non-exclusive license + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Contributor, to use, reproduce, modify, + display, perform, sublicense and distribute the Modifications + created by such Contributor (or portions thereof) either on an + unmodified basis, with other Modifications, as Covered Code + and/or as part of a Larger Work; and + + (b) under Patent Claims infringed by the making, using, or + selling of Modifications made by that Contributor either alone + and/or in combination with its Contributor Version (or portions + of such combination), to make, use, sell, offer for sale, have + made, and/or otherwise dispose of: 1) Modifications made by that + Contributor (or portions thereof); and 2) the combination of + Modifications made by that Contributor with its Contributor + Version (or portions of such combination). + + (c) the licenses granted in Sections 2.2(a) and 2.2(b) are + effective on the date Contributor first makes Commercial Use of + the Covered Code. + (d) Notwithstanding Section 2.2(b) above, no patent license is + granted: 1) for any code that Contributor has deleted from the + Contributor Version; 2) separate from the Contributor Version; + 3) for infringements caused by: i) third party modifications of + Contributor Version or ii) the combination of Modifications made + by that Contributor with other software (except as part of the + Contributor Version) or other devices; or 4) under Patent Claims + infringed by Covered Code in the absence of Modifications made by + that Contributor. + + 3. Distribution Obligations. + + 3.1. Application of License. + The Modifications which You create or to which You contribute are + governed by the terms of this License, including without limitation + Section 2.2. The Source Code version of Covered Code may be + distributed only under the terms of this License or a future version + of this License released under Section 6.1, and You must include a + copy of this License with every copy of the Source Code You + distribute. You may not offer or impose any terms on any Source Code + version that alters or restricts the applicable version of this + License or the recipients' rights hereunder. However, You may include + an additional document offering the additional rights described in + Section 3.5. + + 3.2. Availability of Source Code. + Any Modification which You create or to which You contribute must be + made available in Source Code form under the terms of this License + either on the same media as an Executable version or via an accepted + Electronic Distribution Mechanism to anyone to whom you made an + Executable version available; and if made available via Electronic + Distribution Mechanism, must remain available for at least twelve (12) + months after the date it initially became available, or at least six + (6) months after a subsequent version of that particular Modification + has been made available to such recipients. You are responsible for + ensuring that the Source Code version remains available even if the + Electronic Distribution Mechanism is maintained by a third party. + + 3.3. Description of Modifications. + You must cause all Covered Code to which You contribute to contain a + file documenting the changes You made to create that Covered Code and + the date of any change. You must include a prominent statement that + the Modification is derived, directly or indirectly, from Original + Code provided by the Initial Developer and including the name of the + Initial Developer in (a) the Source Code, and (b) in any notice in an + Executable version or related documentation in which You describe the + origin or ownership of the Covered Code. + + 3.4. Intellectual Property Matters + (a) Third Party Claims. + If Contributor has knowledge that a license under a third party's + intellectual property rights is required to exercise the rights + granted by such Contributor under Sections 2.1 or 2.2, + Contributor must include a text file with the Source Code + distribution titled "LEGAL" which describes the claim and the + party making the claim in sufficient detail that a recipient will + know whom to contact. If Contributor obtains such knowledge after + the Modification is made available as described in Section 3.2, + Contributor shall promptly modify the LEGAL file in all copies + Contributor makes available thereafter and shall take other steps + (such as notifying appropriate mailing lists or newsgroups) + reasonably calculated to inform those who received the Covered + Code that new knowledge has been obtained. + + (b) Contributor APIs. + If Contributor's Modifications include an application programming + interface and Contributor has knowledge of patent licenses which + are reasonably necessary to implement that API, Contributor must + also include this information in the LEGAL file. + + (c) Representations. + Contributor represents that, except as disclosed pursuant to + Section 3.4(a) above, Contributor believes that Contributor's + Modifications are Contributor's original creation(s) and/or + Contributor has sufficient rights to grant the rights conveyed by + this License. + + 3.5. Required Notices. + You must duplicate the notice in Exhibit A in each file of the Source + Code. If it is not possible to put such notice in a particular Source + Code file due to its structure, then You must include such notice in a + location (such as a relevant directory) where a user would be likely + to look for such a notice. If You created one or more Modification(s) + You may add your name as a Contributor to the notice described in + Exhibit A. You must also duplicate this License in any documentation + for the Source Code where You describe recipients' rights or ownership + rights relating to Covered Code. You may choose to offer, and to + charge a fee for, warranty, support, indemnity or liability + obligations to one or more recipients of Covered Code. However, You + may do so only on Your own behalf, and not on behalf of the Initial + Developer or any Contributor. You must make it absolutely clear than + any such warranty, support, indemnity or liability obligation is + offered by You alone, and You hereby agree to indemnify the Initial + Developer and every Contributor for any liability incurred by the + Initial Developer or such Contributor as a result of warranty, + support, indemnity or liability terms You offer. + + 3.6. Distribution of Executable Versions. + You may distribute Covered Code in Executable form only if the + requirements of Section 3.1-3.5 have been met for that Covered Code, + and if You include a notice stating that the Source Code version of + the Covered Code is available under the terms of this License, + including a description of how and where You have fulfilled the + obligations of Section 3.2. The notice must be conspicuously included + in any notice in an Executable version, related documentation or + collateral in which You describe recipients' rights relating to the + Covered Code. You may distribute the Executable version of Covered + Code or ownership rights under a license of Your choice, which may + contain terms different from this License, provided that You are in + compliance with the terms of this License and that the license for the + Executable version does not attempt to limit or alter the recipient's + rights in the Source Code version from the rights set forth in this + License. If You distribute the Executable version under a different + license You must make it absolutely clear that any terms which differ + from this License are offered by You alone, not by the Initial + Developer or any Contributor. You hereby agree to indemnify the + Initial Developer and every Contributor for any liability incurred by + the Initial Developer or such Contributor as a result of any such + terms You offer. + + 3.7. Larger Works. + You may create a Larger Work by combining Covered Code with other code + not governed by the terms of this License and distribute the Larger + Work as a single product. In such a case, You must make sure the + requirements of this License are fulfilled for the Covered Code. + + 4. Inability to Comply Due to Statute or Regulation. + + If it is impossible for You to comply with any of the terms of this + License with respect to some or all of the Covered Code due to + statute, judicial order, or regulation then You must: (a) comply with + the terms of this License to the maximum extent possible; and (b) + describe the limitations and the code they affect. Such description + must be included in the LEGAL file described in Section 3.4 and must + be included with all distributions of the Source Code. Except to the + extent prohibited by statute or regulation, such description must be + sufficiently detailed for a recipient of ordinary skill to be able to + understand it. + + 5. Application of this License. + + This License applies to code to which the Initial Developer has + attached the notice in Exhibit A and to related Covered Code. + + 6. Versions of the License. + + 6.1. New Versions. + Netscape Communications Corporation ("Netscape") may publish revised + and/or new versions of the License from time to time. Each version + will be given a distinguishing version number. + + 6.2. Effect of New Versions. + Once Covered Code has been published under a particular version of the + License, You may always continue to use it under the terms of that + version. You may also choose to use such Covered Code under the terms + of any subsequent version of the License published by Netscape. No one + other than Netscape has the right to modify the terms applicable to + Covered Code created under this License. + + 6.3. Derivative Works. + If You create or use a modified version of this License (which you may + only do in order to apply it to code which is not already Covered Code + governed by this License), You must (a) rename Your license so that + the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", + "MPL", "NPL" or any confusingly similar phrase do not appear in your + license (except to note that your license differs from this License) + and (b) otherwise make it clear that Your version of the license + contains terms which differ from the Mozilla Public License and + Netscape Public License. (Filling in the name of the Initial + Developer, Original Code or Contributor in the notice described in + Exhibit A shall not of themselves be deemed to be modifications of + this License.) + + 7. DISCLAIMER OF WARRANTY. + COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF + DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. + THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE + IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, + YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE + COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER + OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF + ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + + 8. TERMINATION. + + 8.1. This License and the rights granted hereunder will terminate + automatically if You fail to comply with terms herein and fail to cure + such breach within 30 days of becoming aware of the breach. All + sublicenses to the Covered Code which are properly granted shall + survive any termination of this License. Provisions which, by their + nature, must remain in effect beyond the termination of this License + shall survive. + + 8.2. If You initiate litigation by asserting a patent infringement + claim (excluding declatory judgment actions) against Initial Developer + or a Contributor (the Initial Developer or Contributor against whom + You file such action is referred to as "Participant") alleging that: + + (a) such Participant's Contributor Version directly or indirectly + infringes any patent, then any and all rights granted by such + Participant to You under Sections 2.1 and/or 2.2 of this License + shall, upon 60 days notice from Participant terminate prospectively, + unless if within 60 days after receipt of notice You either: (i) + agree in writing to pay Participant a mutually agreeable reasonable + royalty for Your past and future use of Modifications made by such + Participant, or (ii) withdraw Your litigation claim with respect to + the Contributor Version against such Participant. If within 60 days + of notice, a reasonable royalty and payment arrangement are not + mutually agreed upon in writing by the parties or the litigation claim + is not withdrawn, the rights granted by Participant to You under + Sections 2.1 and/or 2.2 automatically terminate at the expiration of + the 60 day notice period specified above. + + (b) any software, hardware, or device, other than such Participant's + Contributor Version, directly or indirectly infringes any patent, then + any rights granted to You by such Participant under Sections 2.1(b) + and 2.2(b) are revoked effective as of the date You first made, used, + sold, distributed, or had made, Modifications made by that + Participant. + + 8.3. If You assert a patent infringement claim against Participant + alleging that such Participant's Contributor Version directly or + indirectly infringes any patent where such claim is resolved (such as + by license or settlement) prior to the initiation of patent + infringement litigation, then the reasonable value of the licenses + granted by such Participant under Sections 2.1 or 2.2 shall be taken + into account in determining the amount or value of any payment or + license. + + 8.4. In the event of termination under Sections 8.1 or 8.2 above, + all end user license agreements (excluding distributors and resellers) + which have been validly granted by You or any distributor hereunder + prior to termination shall survive termination. + + 9. LIMITATION OF LIABILITY. + + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL + DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, + OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR + ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY + CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, + WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER + COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN + INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF + LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY + RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW + PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO + THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + + 10. U.S. GOVERNMENT END USERS. + + The Covered Code is a "commercial item," as that term is defined in + 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer + software" and "commercial computer software documentation," as such + terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 + C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), + all U.S. Government End Users acquire Covered Code with only those + rights set forth herein. + + 11. MISCELLANEOUS. + + This License represents the complete agreement concerning subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. This License shall be governed by + California law provisions (except to the extent applicable law, if + any, provides otherwise), excluding its conflict-of-law provisions. + With respect to disputes in which at least one party is a citizen of, + or an entity chartered or registered to do business in the United + States of America, any litigation relating to this License shall be + subject to the jurisdiction of the Federal Courts of the Northern + District of California, with venue lying in Santa Clara County, + California, with the losing party responsible for costs, including + without limitation, court costs and reasonable attorneys' fees and + expenses. The application of the United Nations Convention on + Contracts for the International Sale of Goods is expressly excluded. + Any law or regulation which provides that the language of a contract + shall be construed against the drafter shall not apply to this + License. + + 12. RESPONSIBILITY FOR CLAIMS. + + As between Initial Developer and the Contributors, each party is + responsible for claims and damages arising, directly or indirectly, + out of its utilization of rights under this License and You agree to + work with Initial Developer and Contributors to distribute such + responsibility on an equitable basis. Nothing herein is intended or + shall be deemed to constitute any admission of liability. + + 13. MULTIPLE-LICENSED CODE. + + Initial Developer may designate portions of the Covered Code as + "Multiple-Licensed". "Multiple-Licensed" means that the Initial + Developer permits you to utilize portions of the Covered Code under + Your choice of the NPL or the alternative licenses, if any, specified + by the Initial Developer in the file described in Exhibit A. + + EXHIBIT A -Mozilla Public License. + + ``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 ______________________ are Copyright (C) ______ + _______________________. All Rights Reserved. + + Contributor(s): ______________________________________. + + Alternatively, the contents of this file may be used under the terms + of the _____ license (the "[___] License"), in which case the + provisions of [______] License are applicable instead of those + above. If you wish to allow use of your version of this file only + under the terms of the [____] License 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 [___] License. If you do not delete + the provisions above, a recipient may use your version of this file + under either the MPL or the [___] License." + + [NOTE: The text of this Exhibit A may differ slightly from the text of + the notices in the Source Code files of the Original Code. You should + use the text of this Exhibit A rather than the text found in the + Original Code Source Code for Your Modifications.] + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_392.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Apache license version 2 + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache-2.0'. + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the + above copyright notice and this permission notice appear in all + copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS 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 THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: spdx_license_id_bsd-2-clause_for_bsd-simplified.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: BSD 2-clause, diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/win32-loader/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/win32-loader/stable_copyright-detailed.expected.yml index 03a70276ea0..b9da690a268 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/win32-loader/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/win32-loader/stable_copyright-detailed.expected.yml @@ -1,6 +1,86 @@ -- gpl-3.0-plus AND gpl-3.0 -- - GPL-3+ -- gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0 -- | +primary_license: gpl-3.0-plus AND gpl-3.0 +declared_license: + - GPL-3+ +license_expression: gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0 +copyright: | 2007, 2008, 2009 Robert Millan 2010, 2011, 2016 +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/win32-loader/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/win32-loader/stable_copyright.expected.yml index d6c689260ef..c470adfbabd 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/win32-loader/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/win32-loader/stable_copyright.expected.yml @@ -1,6 +1,86 @@ -- gpl-3.0-plus AND gpl-3.0 -- - GPL-3+ -- gpl-3.0-plus AND gpl-3.0 -- | +primary_license: gpl-3.0-plus AND gpl-3.0 +declared_license: + - GPL-3+ +license_expression: gpl-3.0-plus AND gpl-3.0 +copyright: | 2007, 2008, 2009 Robert Millan 2010, 2011, 2016 +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright-detailed.expected.yml index 22af5f5e4fb..b8b085b4da8 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-1.0-plus AND gpl-2.0 -- - GPL-2 with OpenSSL exception +primary_license: gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2 with OpenSSL exception - GPL-2 with OpenSSL exception - GPL-2 - GPL-2 @@ -15,12 +16,12 @@ - GPL - Zlib - BSD-3-Clause -- (gpl-1.0-plus AND gpl-2.0) AND (gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-1.0-plus AND - gpl-2.0) AND (gpl-2.0 AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-1.0-plus AND - gpl-2.0-plus AND gpl-2.0) AND (zlib AND (gpl-1.0-plus AND gpl-1.0-plus AND gfdl-1.2 AND gpl-2.0 - AND gpl-1.0-plus)) AND (gpl-1.0-plus AND zlib) AND ssleay-windows AND public-domain AND bsd-new - AND mit-old-style-no-advert -- | +license_expression: (gpl-1.0-plus AND gpl-2.0) AND (gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0 AND + gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND + gpl-1.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (zlib AND (gpl-1.0-plus AND gpl-1.0-plus AND + gfdl-1.2 AND gpl-2.0 AND gpl-1.0-plus)) AND (gpl-1.0-plus AND zlib) AND ssleay-windows AND + public-domain AND bsd-new AND mit-old-style-no-advert +copyright: | 2002-2016 Henrik Størner 2005-2007 Henrik Størner 2007-2016 Christoph Berg @@ -36,3 +37,489 @@ 2005, 2007 Olivier Gay 1998, 2000 by the Massachusetts Institute of Technology. 2004 by Daniel Stenberg et al +matches: + - score: '99.56' + start_line: 3 + end_line: 60 + matcher: 3-seq + rule_length: 452 + matched_length: 450 + match_coverage: '99.56' + rule_relevance: 100 + identifier: ssleay-windows.LICENSE + license_expression: ssleay-windows + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is an SSL implementation written + by Eric Young (eay@cryptsoft.com). + + The implementation was written so as to conform with Netscapes SSL. + + This library is free for commercial and non-commercial use as long as + the following conditions are [adhered] to. The following conditions + apply to all code found in this distribution, be it the RC4, RSA, + lhash, DES, etc., code; not just the SSL code. The SSL documentation + included with this distribution is covered by the same copyright terms + except that the holder is Tim Hudson (tjh@cryptsoft.com). + + Copyright remains Eric Young's, and as such any Copyright notices in + the code are not to be removed. + + If this package is used in a product, Eric Young should be given attribution + as the author of the parts of the library used. + This can be in the form of a textual message at program startup or + in documentation (online or textual) provided with the package. + + 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 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. + + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + "This product includes cryptographic software written by + Eric Young (eay@cryptsoft.com)" + The word 'cryptographic' can be left out if the [routines] from the library + being used are not cryptographic related :-). + + 4. If you include any Windows specific code (or a derivative thereof) from + the apps directory (application code) you must include an acknowledgement: + "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" + + THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``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 AUTHOR 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. + + The licence and distribution terms for any publically available version or + derivative of this code cannot be changed. i.e. this code cannot simply be + copied and put under another distribution licence + [including the GNU [General] Public Licence.] + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_125.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: 100% Public Domain, + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 96 + matched_length: 96 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_1.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this + software and its documentation for any purpose and without + fee is hereby granted, provided that the above copyright + notice appear in all copies and that both that copyright + notice and this permission notice appear in supporting + documentation, and that the name of M.I.T. not be used in + advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + M.I.T. makes no representations about the suitability of + this software for any purpose. It is provided "as is" + without express or implied warranty. + - score: '49.91' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 11 + matched_length: 9 + match_coverage: '81.82' + rule_relevance: 61 + identifier: gpl_86.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: is released under the GNU General Public License (GPL), + - score: '75.68' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 37 + matched_length: 28 + match_coverage: '75.68' + rule_relevance: 100 + identifier: gpl-2.0_1009.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License ([GPL]), + [version] [2], [with] [the] [explicit] [exemption] [that] [linking] [with] [the] [OpenSSL] + [libraries] [is] [permitted]. + + On Debian GNU/[Linux] systems, the complete text of the GNU General + Public License [version] [2] can be found in + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '49.91' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 11 + matched_length: 9 + match_coverage: '81.82' + rule_relevance: 61 + identifier: gpl_86.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: is released under the GNU General Public License (GPL), + - score: '75.68' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 37 + matched_length: 28 + match_coverage: '75.68' + rule_relevance: 100 + identifier: gpl-2.0_1009.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License ([GPL]), + [version] [2]. + + On Debian GNU/[Linux] systems, the complete text of the GNU General + Public License [version] [2] can be found in + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '49.91' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 11 + matched_length: 9 + match_coverage: '81.82' + rule_relevance: 61 + identifier: gpl_86.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: is released under the GNU General Public License (GPL), + - score: '71.79' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 39 + matched_length: 28 + match_coverage: '71.79' + rule_relevance: 100 + identifier: gpl-2.0-plus_2.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License ([GPL]), + either version 2 of the License, or (at your option) any later + version. + + On Debian GNU/Linux systems, [the] [complete] [text] [of] [the] [GNU] [General] + [Public] [License] [version] [2] [can] [be] [found] [in] + `/usr/share/common-licenses/GPL- + - score: '75.68' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 37 + matched_length: 28 + match_coverage: '75.68' + rule_relevance: 100 + identifier: gpl-2.0_1009.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License ([GPL]), + [either] [version] [2] [of] [the] [License], [or] ([at] [your] [option]) [any] [later] + [version]. + + On Debian GNU/[Linux] systems, the complete text of the GNU General + Public License [version] [2] can be found in + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_72.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl' + - score: '49.91' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 11 + matched_length: 9 + match_coverage: '81.82' + rule_relevance: 61 + identifier: gpl_86.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: is released under the GNU General Public License (GPL). + - score: '59.38' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 32 + matched_length: '19' + match_coverage: '59.38' + rule_relevance: 100 + identifier: gfdl-1.2_7.RULE + license_expression: gfdl-1.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the GNU [General] [Public] License ([GPL]). + + On Debian GNU/Linux systems, the complete text of [the] [latest] [version] + [of] [the] [GNU] [General] [Public] License [version] [can] [be] [found] in + `/usr/share/common-licenses/ + - score: '62.16' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 37 + matched_length: 23 + match_coverage: '62.16' + rule_relevance: 100 + identifier: gpl-2.0_1009.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License ([GPL]). + + On Debian GNU/[Linux] [systems], [the] [complete] [text] [of] [the] [latest] [version] + of the GNU General Public License [version] can be found in + `/usr/share/common-licenses/GPL'. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-1.0-plus_350.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: of the GPL + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 26 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_66.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3. Neither the name of the project 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 BY THE PROJECT 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 PROJECT 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. + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_bare_gnu_gpl.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GNU GPL." + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_7.RULE + license_expression: zlib + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: zlib license diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright.expected.yml index e6f480a0b85..7457854ed5f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright.expected.yml @@ -1,5 +1,6 @@ -- gpl-1.0-plus AND gpl-2.0 -- - GPL-2 with OpenSSL exception +primary_license: gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2 with OpenSSL exception - GPL-2 - GPL-2+ - Zlib and GPL @@ -9,10 +10,10 @@ - BSD-ish - GPL - Zlib -- (gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus AND gpl-1.0-plus - AND gpl-2.0) AND (zlib AND (gpl-1.0-plus AND gfdl-1.2 AND gpl-2.0)) AND (gpl-1.0-plus AND - zlib) AND ssleay-windows AND public-domain AND bsd-new AND mit-old-style-no-advert -- | +license_expression: (gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus + AND gpl-1.0-plus AND gpl-2.0) AND (zlib AND (gpl-1.0-plus AND gfdl-1.2 AND gpl-2.0)) AND (gpl-1.0-plus + AND zlib) AND ssleay-windows AND public-domain AND bsd-new AND mit-old-style-no-advert +copyright: | 2002-2016 Henrik Størner 2005-2011 Henrik Størner 2006 Charles Goyard @@ -25,3 +26,489 @@ 2005, 2007 Olivier Gay 1998, 2000 by the Massachusetts Institute of Technology. 2004 by Daniel Stenberg et al +matches: + - score: '99.56' + start_line: 3 + end_line: 60 + matcher: 3-seq + rule_length: 452 + matched_length: 450 + match_coverage: '99.56' + rule_relevance: 100 + identifier: ssleay-windows.LICENSE + license_expression: ssleay-windows + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is an SSL implementation written + by Eric Young (eay@cryptsoft.com). + + The implementation was written so as to conform with Netscapes SSL. + + This library is free for commercial and non-commercial use as long as + the following conditions are [adhered] to. The following conditions + apply to all code found in this distribution, be it the RC4, RSA, + lhash, DES, etc., code; not just the SSL code. The SSL documentation + included with this distribution is covered by the same copyright terms + except that the holder is Tim Hudson (tjh@cryptsoft.com). + + Copyright remains Eric Young's, and as such any Copyright notices in + the code are not to be removed. + + If this package is used in a product, Eric Young should be given attribution + as the author of the parts of the library used. + This can be in the form of a textual message at program startup or + in documentation (online or textual) provided with the package. + + 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 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. + + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + "This product includes cryptographic software written by + Eric Young (eay@cryptsoft.com)" + The word 'cryptographic' can be left out if the [routines] from the library + being used are not cryptographic related :-). + + 4. If you include any Windows specific code (or a derivative thereof) from + the apps directory (application code) you must include an acknowledgement: + "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" + + THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``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 AUTHOR 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. + + The licence and distribution terms for any publically available version or + derivative of this code cannot be changed. i.e. this code cannot simply be + copied and put under another distribution licence + [including the GNU [General] Public Licence.] + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_125.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: 100% Public Domain, + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 96 + matched_length: 96 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_1.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this + software and its documentation for any purpose and without + fee is hereby granted, provided that the above copyright + notice appear in all copies and that both that copyright + notice and this permission notice appear in supporting + documentation, and that the name of M.I.T. not be used in + advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + M.I.T. makes no representations about the suitability of + this software for any purpose. It is provided "as is" + without express or implied warranty. + - score: '49.91' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 11 + matched_length: 9 + match_coverage: '81.82' + rule_relevance: 61 + identifier: gpl_86.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: is released under the GNU General Public License (GPL), + - score: '75.68' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 37 + matched_length: 28 + match_coverage: '75.68' + rule_relevance: 100 + identifier: gpl-2.0_1009.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License ([GPL]), + [version] [2], [with] [the] [explicit] [exemption] [that] [linking] [with] [the] [OpenSSL] + [libraries] [is] [permitted]. + + On Debian GNU/[Linux] systems, the complete text of the GNU General + Public License [version] [2] can be found in + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '49.91' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 11 + matched_length: 9 + match_coverage: '81.82' + rule_relevance: 61 + identifier: gpl_86.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: is released under the GNU General Public License (GPL), + - score: '75.68' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 37 + matched_length: 28 + match_coverage: '75.68' + rule_relevance: 100 + identifier: gpl-2.0_1009.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License ([GPL]), + [version] [2]. + + On Debian GNU/[Linux] systems, the complete text of the GNU General + Public License [version] [2] can be found in + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '49.91' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 11 + matched_length: 9 + match_coverage: '81.82' + rule_relevance: 61 + identifier: gpl_86.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: is released under the GNU General Public License (GPL), + - score: '71.79' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 39 + matched_length: 28 + match_coverage: '71.79' + rule_relevance: 100 + identifier: gpl-2.0-plus_2.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License ([GPL]), + either version 2 of the License, or (at your option) any later + version. + + On Debian GNU/Linux systems, [the] [complete] [text] [of] [the] [GNU] [General] + [Public] [License] [version] [2] [can] [be] [found] [in] + `/usr/share/common-licenses/GPL- + - score: '75.68' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 37 + matched_length: 28 + match_coverage: '75.68' + rule_relevance: 100 + identifier: gpl-2.0_1009.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License ([GPL]), + [either] [version] [2] [of] [the] [License], [or] ([at] [your] [option]) [any] [later] + [version]. + + On Debian GNU/[Linux] systems, the complete text of the GNU General + Public License [version] [2] can be found in + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_72.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl' + - score: '49.91' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 11 + matched_length: 9 + match_coverage: '81.82' + rule_relevance: 61 + identifier: gpl_86.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: is released under the GNU General Public License (GPL). + - score: '59.38' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 32 + matched_length: '19' + match_coverage: '59.38' + rule_relevance: 100 + identifier: gfdl-1.2_7.RULE + license_expression: gfdl-1.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the GNU [General] [Public] License ([GPL]). + + On Debian GNU/Linux systems, the complete text of [the] [latest] [version] + [of] [the] [GNU] [General] [Public] License [version] [can] [be] [found] in + `/usr/share/common-licenses/ + - score: '62.16' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 37 + matched_length: 23 + match_coverage: '62.16' + rule_relevance: 100 + identifier: gpl-2.0_1009.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License ([GPL]). + + On Debian GNU/[Linux] [systems], [the] [complete] [text] [of] [the] [latest] [version] + of the GNU General Public License [version] can be found in + `/usr/share/common-licenses/GPL'. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-1.0-plus_350.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: of the GPL + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 26 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_66.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3. Neither the name of the project 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 BY THE PROJECT 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 PROJECT 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. + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_bare_gnu_gpl.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GNU GPL." + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_7.RULE + license_expression: zlib + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: zlib license diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/z/z3/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/z/z3/stable_copyright-detailed.expected.yml index 65cc1e8257c..16a2331afe4 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/z/z3/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/z/z3/stable_copyright-detailed.expected.yml @@ -1,8 +1,90 @@ -- mit -- - Expat +primary_license: mit +declared_license: + - Expat - GPL-2+ -- mit AND (gpl-2.0-plus AND gpl-2.0-plus) -- | +license_expression: mit AND (gpl-2.0-plus AND gpl-2.0-plus) +copyright: | Microsoft Corporation 2016 Fabian Wolff 2011 Michael Tautschnig +matches: + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the ""Software""), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '98.41' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 124 + match_coverage: '98.41' + rule_relevance: 100 + identifier: gpl-2.0-plus_38.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/z/z3/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/z/z3/stable_copyright.expected.yml index 6e966ae3a2d..ffff8861c2d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/z/z3/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/z/z3/stable_copyright.expected.yml @@ -1,4 +1,86 @@ -- mit -- - Expat -- mit -- Microsoft Corporation +primary_license: mit +declared_license: + - Expat +license_expression: mit +copyright: Microsoft Corporation +matches: + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the ""Software""), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '98.41' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 124 + match_coverage: '98.41' + rule_relevance: 100 + identifier: gpl-2.0-plus_38.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-adi.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-adi.copyright-detailed.expected.yml index e1aca6b0cb9..8bf73205cab 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-adi.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-adi.copyright-detailed.expected.yml @@ -1,6 +1,49 @@ -- -- -- gpl-2.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0 +copyright: | Copyright 2006-2009 Bastian Blank Copyright 2009 Ben Hutchings +matches: + - score: '100.0' + start_line: 6 + end_line: 20 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_68.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This package is free software; you can redistribute it\ + \ and/or modify\n it under the terms of the GNU General Public License as published\ + \ by\n the Free Software Foundation; either version 2 of the License, or\n (at\ + \ your option) any later version.\n \n This package is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ General Public License\n along with this package; if not, write to the Free Software\n\ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA" + - score: '100.0' + start_line: 22 + end_line: 23 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-adi.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-adi.copyright.expected.yml index e1aca6b0cb9..8bf73205cab 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-adi.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-adi.copyright.expected.yml @@ -1,6 +1,49 @@ -- -- -- gpl-2.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0 +copyright: | Copyright 2006-2009 Bastian Blank Copyright 2009 Ben Hutchings +matches: + - score: '100.0' + start_line: 6 + end_line: 20 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_68.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This package is free software; you can redistribute it\ + \ and/or modify\n it under the terms of the GNU General Public License as published\ + \ by\n the Free Software Foundation; either version 2 of the License, or\n (at\ + \ your option) any later version.\n \n This package is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ General Public License\n along with this package; if not, write to the Free Software\n\ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA" + - score: '100.0' + start_line: 22 + end_line: 23 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-amd-graphics.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-amd-graphics.copyright-detailed.expected.yml index 9e050ed72d0..2e4060a7930 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-amd-graphics.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-amd-graphics.copyright-detailed.expected.yml @@ -1,7 +1,108 @@ -- None -- - Binary redistribution (AMD permissive) +primary_license: None +declared_license: + - Binary redistribution (AMD permissive) - Binary redistribution (AMD restrictive) -- mit AND proprietary-license -- | +license_expression: mit AND proprietary-license +copyright: | 2000-2009, Advanced Micro Devices, Inc. 2009-2016, Advanced Micro Devices, Inc. +matches: + - score: '97.66' + start_line: 3 + end_line: 20 + matcher: 3-seq + rule_length: 167 + matched_length: 167 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_x11-r75_58.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice (including the next + paragraph) shall be included in all copies or substantial portions of the + Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + [IN] [NO] [EVENT] [SHALL] THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 3 + end_line: 51 + matcher: 2-aho + rule_length: 425 + matched_length: 425 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_450.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + REDISTRIBUTION: Permission is hereby granted, free of any license fees, + to any person obtaining a copy of this microcode (the "Software"), to + install, reproduce, copy and distribute copies, in binary form only, of + the Software and to permit persons to whom the Software is provided to + do the same, provided that the following conditions are met: + + No reverse engineering, decompilation, or disassembly of this Software + is permitted. + + Redistributions must reproduce the above copyright notice, this + permission notice, and the following disclaimers and notices in the + Software documentation and/or other materials provided with the + Software. + + DISCLAIMER: THE USE OF THE SOFTWARE IS AT YOUR SOLE RISK. THE SOFTWARE + IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND AND COPYRIGHT + HOLDER AND ITS LICENSORS EXPRESSLY DISCLAIM ALL WARRANTIES, EXPRESS AND + IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. + COPYRIGHT HOLDER AND ITS LICENSORS DO NOT WARRANT THAT THE SOFTWARE WILL + MEET YOUR REQUIREMENTS, OR THAT THE OPERATION OF THE SOFTWARE WILL BE + UNINTERRUPTED OR ERROR-FREE. THE ENTIRE RISK ASSOCIATED WITH THE USE OF + THE SOFTWARE IS ASSUMED BY YOU. FURTHERMORE, COPYRIGHT HOLDER AND ITS + LICENSORS DO NOT WARRANT OR MAKE ANY REPRESENTATIONS REGARDING THE USE + OR THE RESULTS OF THE USE OF THE SOFTWARE IN TERMS OF ITS CORRECTNESS, + ACCURACY, RELIABILITY, CURRENTNESS, OR OTHERWISE. + + DISCLAIMER: UNDER NO CIRCUMSTANCES INCLUDING NEGLIGENCE, SHALL COPYRIGHT + HOLDER AND ITS LICENSORS OR ITS DIRECTORS, OFFICERS, EMPLOYEES OR AGENTS + ("AUTHORIZED REPRESENTATIVES") BE LIABLE FOR ANY INCIDENTAL, INDIRECT, + SPECIAL OR CONSEQUENTIAL DAMAGES (INCLUDING DAMAGES FOR LOSS OF BUSINESS + PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, AND THE + LIKE) ARISING OUT OF THE USE, MISUSE OR INABILITY TO USE THE SOFTWARE, + BREACH OR DEFAULT, INCLUDING THOSE ARISING FROM INFRINGEMENT OR ALLEGED + INFRINGEMENT OF ANY PATENT, TRADEMARK, COPYRIGHT OR OTHER INTELLECTUAL + PROPERTY RIGHT EVEN IF COPYRIGHT HOLDER AND ITS AUTHORIZED + REPRESENTATIVES HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN + NO EVENT SHALL COPYRIGHT HOLDER OR ITS AUTHORIZED REPRESENTATIVES TOTAL + LIABILITY FOR ALL DAMAGES, LOSSES, AND CAUSES OF ACTION (WHETHER IN + CONTRACT, TORT (INCLUDING NEGLIGENCE) OR OTHERWISE) EXCEED THE AMOUNT OF + US$10. + + Notice: The Software is subject to United States export laws and + regulations. You agree to comply with all domestic and international + export laws and regulations that apply to the Software, including but + not limited to the Export Administration Regulations administered by the + U.S. Department of Commerce and International Traffic in Arm Regulations + administered by the U.S. Department of State. These laws include + restrictions on destinations, end users and end use. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-amd-graphics.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-amd-graphics.copyright.expected.yml index 9e050ed72d0..2e4060a7930 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-amd-graphics.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-amd-graphics.copyright.expected.yml @@ -1,7 +1,108 @@ -- None -- - Binary redistribution (AMD permissive) +primary_license: None +declared_license: + - Binary redistribution (AMD permissive) - Binary redistribution (AMD restrictive) -- mit AND proprietary-license -- | +license_expression: mit AND proprietary-license +copyright: | 2000-2009, Advanced Micro Devices, Inc. 2009-2016, Advanced Micro Devices, Inc. +matches: + - score: '97.66' + start_line: 3 + end_line: 20 + matcher: 3-seq + rule_length: 167 + matched_length: 167 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_x11-r75_58.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice (including the next + paragraph) shall be included in all copies or substantial portions of the + Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + [IN] [NO] [EVENT] [SHALL] THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 3 + end_line: 51 + matcher: 2-aho + rule_length: 425 + matched_length: 425 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_450.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + REDISTRIBUTION: Permission is hereby granted, free of any license fees, + to any person obtaining a copy of this microcode (the "Software"), to + install, reproduce, copy and distribute copies, in binary form only, of + the Software and to permit persons to whom the Software is provided to + do the same, provided that the following conditions are met: + + No reverse engineering, decompilation, or disassembly of this Software + is permitted. + + Redistributions must reproduce the above copyright notice, this + permission notice, and the following disclaimers and notices in the + Software documentation and/or other materials provided with the + Software. + + DISCLAIMER: THE USE OF THE SOFTWARE IS AT YOUR SOLE RISK. THE SOFTWARE + IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND AND COPYRIGHT + HOLDER AND ITS LICENSORS EXPRESSLY DISCLAIM ALL WARRANTIES, EXPRESS AND + IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. + COPYRIGHT HOLDER AND ITS LICENSORS DO NOT WARRANT THAT THE SOFTWARE WILL + MEET YOUR REQUIREMENTS, OR THAT THE OPERATION OF THE SOFTWARE WILL BE + UNINTERRUPTED OR ERROR-FREE. THE ENTIRE RISK ASSOCIATED WITH THE USE OF + THE SOFTWARE IS ASSUMED BY YOU. FURTHERMORE, COPYRIGHT HOLDER AND ITS + LICENSORS DO NOT WARRANT OR MAKE ANY REPRESENTATIONS REGARDING THE USE + OR THE RESULTS OF THE USE OF THE SOFTWARE IN TERMS OF ITS CORRECTNESS, + ACCURACY, RELIABILITY, CURRENTNESS, OR OTHERWISE. + + DISCLAIMER: UNDER NO CIRCUMSTANCES INCLUDING NEGLIGENCE, SHALL COPYRIGHT + HOLDER AND ITS LICENSORS OR ITS DIRECTORS, OFFICERS, EMPLOYEES OR AGENTS + ("AUTHORIZED REPRESENTATIVES") BE LIABLE FOR ANY INCIDENTAL, INDIRECT, + SPECIAL OR CONSEQUENTIAL DAMAGES (INCLUDING DAMAGES FOR LOSS OF BUSINESS + PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, AND THE + LIKE) ARISING OUT OF THE USE, MISUSE OR INABILITY TO USE THE SOFTWARE, + BREACH OR DEFAULT, INCLUDING THOSE ARISING FROM INFRINGEMENT OR ALLEGED + INFRINGEMENT OF ANY PATENT, TRADEMARK, COPYRIGHT OR OTHER INTELLECTUAL + PROPERTY RIGHT EVEN IF COPYRIGHT HOLDER AND ITS AUTHORIZED + REPRESENTATIVES HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN + NO EVENT SHALL COPYRIGHT HOLDER OR ITS AUTHORIZED REPRESENTATIVES TOTAL + LIABILITY FOR ALL DAMAGES, LOSSES, AND CAUSES OF ACTION (WHETHER IN + CONTRACT, TORT (INCLUDING NEGLIGENCE) OR OTHERWISE) EXCEED THE AMOUNT OF + US$10. + + Notice: The Software is subject to United States export laws and + regulations. You agree to comply with all domestic and international + export laws and regulations that apply to the Software, including but + not limited to the Export Administration Regulations administered by the + U.S. Department of Commerce and International Traffic in Arm Regulations + administered by the U.S. Department of State. These laws include + restrictions on destinations, end users and end use. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-atheros.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-atheros.copyright-detailed.expected.yml index cc2693e6bbf..882eb0d9af8 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-atheros.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-atheros.copyright-detailed.expected.yml @@ -1,13 +1,14 @@ -- None -- - Binary redistribution (Atheros) +primary_license: None +declared_license: + - Binary redistribution (Atheros) - Open ath9k HTC firmware - Binary redistribution (Qualcomm Atheros) - Binary redistribution (Qualcomm Atheros) - Binary redistribution (Qualcomm Atheros) - Binary redistribution (Qualcomm Atheros) -- intel AND (clear-bsd AND isc AND bsd-no-mod AND gpl-2.0-plus AND ecos-exception-2.0 AND mit) - AND proprietary-license AND proprietary-license AND proprietary-license -- | +license_expression: intel AND (clear-bsd AND isc AND bsd-no-mod AND gpl-2.0-plus AND ecos-exception-2.0 + AND mit) AND proprietary-license AND proprietary-license AND proprietary-license +copyright: | 2008-2010, Atheros Communications, Inc. 1998-2002, Red Hat, Inc. 2002, Gary Thomas @@ -44,3 +45,311 @@ 2011-2012, 2014-2015, Qualcomm Atheros, Inc. 2015-2016, The Android Open Source Project 2015, Qualcomm Atheros, Inc. +matches: + - score: '86.25' + start_line: 3 + end_line: 37 + matcher: 3-seq + rule_length: 293 + matched_length: 266 + match_coverage: '90.78' + rule_relevance: 95 + identifier: intel_3.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + + * Neither the name of [Atheros] [Communications], Inc. nor the names of + its suppliers may be used to endorse or promote products derived + from this software without specific prior written permission. + + * No reverse engineering, decompilation, or disassembly of this + software is permitted. + + Limited patent license. [Atheros] [Communications], Inc. grants a + world-wide, royalty-free, non-exclusive license under patents it + now or hereafter owns or controls to make, have made, use, import, + offer to sell and sell ("Utilize") this software, but solely to + the extent that any such patent is necessary to Utilize the software + [in] [conjunction] [with] [an] [Atheros] [Chipset]. The patent license shall not + apply to any other combinations which include this software. No + hardware per se is licensed hereunder. + + DISCLAIMER. 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 OWNER 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. + - score: '99.15' + start_line: 3 + end_line: 31 + matcher: 3-seq + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: clear-bsd_3.RULE + license_expression: clear-bsd + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted (subject to the limitations in the + disclaimer below) provided that the following conditions are met: + + * Redistributions of source code 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. + + * Neither the name of [Qualcomm] [Atheros] nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE + GRANTED BY THIS LICENSE. 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 OWNER 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. + - score: '100.0' + start_line: 33 + end_line: 43 + matcher: 2-aho + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc.LICENSE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS 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 THIS SOFTWARE. + - score: '100.0' + start_line: 45 + end_line: 74 + matcher: 2-aho + rule_length: 231 + matched_length: 231 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-no-mod.LICENSE + license_expression: bsd-no-mod + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + provided that the following conditions are met: + 1. The materials contained herein are unmodified and are used + unmodified. + 2. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following NO + ''WARRANTY'' disclaimer below (''Disclaimer''), without + modification. + 3. Redistributions in binary form must reproduce at minimum a + disclaimer similar to the Disclaimer below and any redistribution + must be conditioned upon including a substantially similar + Disclaimer requirement for further binary redistribution. + 4. Neither the names of the above-listed copyright holders nor the + names of any contributors may be used to endorse or promote + product derived from this software without specific prior written + permission. + + NO WARRANTY + 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 NONINFRINGEMENT, + MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE + FOR 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 DAMAGES. + - score: '100.0' + start_line: 76 + end_line: 78 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_409.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 or (at your option) any later version. + - score: '100.0' + start_line: 80 + end_line: 88 + matcher: 2-aho + rule_length: 100 + matched_length: 100 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ecos-exception-2.0.LICENSE + license_expression: ecos-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, if other files instantiate templates or use macros + or inline functions from this file, or you compile this file and link it + with other works to produce a work based on this file, this file does not + by itself cause the resulting work to be covered by the GNU General Public + License. However the source code for this file must still be made available + in accordance with section (3) of the GNU General Public License. + + This exception does not invalidate any other reasons why a work based on + this file might be covered by the GNU General Public License. + - score: '100.0' + start_line: 90 + end_line: 107 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '99.21' + start_line: 3 + end_line: 46 + matcher: 3-seq + rule_length: 382 + matched_length: 379 + match_coverage: '99.21' + rule_relevance: 100 + identifier: proprietary-license_327.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Reproduction and redistribution in binary form, without + modification, for use solely in conjunction with a [Qualcomm] [Atheros], [Inc]. + chipset, is permitted provided that the following conditions are met: + + • Redistributions must reproduce the above copyright notice and the following + disclaimer in the documentation and/or other materials provided with the + distribution. + + • Neither the name of [Qualcomm] [Atheros], [Inc]. nor the names of its suppliers + may be used to endorse or promote products derived from this Software + without specific prior written permission. + + • No reverse engineering, decompilation, or disassembly of this Software is + permitted. + + Limited patent license. [Qualcomm] [Atheros], [Inc]. (“Licensor”) grants you + (“Licensee”) a limited, worldwide, royalty-free, non-exclusive license under + the Patents to make, have made, use, import, offer to sell and sell the + Software. No hardware per se is licensed hereunder. + The term “Patents” as used in this agreement means only those patents or patent + applications owned solely and exclusively by Licensor as of the date of + Licensor’s submission of the Software and any patents deriving priority (i.e., + having a first effective filing date) therefrom. The term “Software” as used in + this agreement means the firmware image submitted by Licensor, under the terms + of this license, to git://git.kernel.org/pub/scm/linux/kernel/git/firmware/ + linux-firmware.git. + Notwithstanding anything to the contrary herein, Licensor does not grant and + Licensee does not receive, by virtue of this agreement or the Licensor’s + submission of any Software, any license or other rights under any patent or + patent application owned by any affiliate of Licensor or any other entity + (other than Licensor), whether expressly, impliedly, by virtue of estoppel or + exhaustion, or otherwise. + + DISCLAIMER. 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 OWNER 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-atheros.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-atheros.copyright.expected.yml index 7167f5fd8a4..d0d63d856c1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-atheros.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-atheros.copyright.expected.yml @@ -1,10 +1,11 @@ -- None -- - Binary redistribution (Atheros) +primary_license: None +declared_license: + - Binary redistribution (Atheros) - Open ath9k HTC firmware - Binary redistribution (Qualcomm Atheros) -- intel AND (clear-bsd AND isc AND bsd-no-mod AND gpl-2.0-plus AND ecos-exception-2.0 AND mit) - AND proprietary-license -- | +license_expression: intel AND (clear-bsd AND isc AND bsd-no-mod AND gpl-2.0-plus AND ecos-exception-2.0 + AND mit) AND proprietary-license +copyright: | 2008-2010, Atheros Communications, Inc. 1998-2002, Red Hat, Inc. 2002, Gary Thomas @@ -29,3 +30,311 @@ 2011-2012, 2014-2015, Qualcomm Atheros, Inc. 2015-2016, The Android Open Source Project 2015, Qualcomm Atheros, Inc. +matches: + - score: '86.25' + start_line: 3 + end_line: 37 + matcher: 3-seq + rule_length: 293 + matched_length: 266 + match_coverage: '90.78' + rule_relevance: 95 + identifier: intel_3.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + + * Neither the name of [Atheros] [Communications], Inc. nor the names of + its suppliers may be used to endorse or promote products derived + from this software without specific prior written permission. + + * No reverse engineering, decompilation, or disassembly of this + software is permitted. + + Limited patent license. [Atheros] [Communications], Inc. grants a + world-wide, royalty-free, non-exclusive license under patents it + now or hereafter owns or controls to make, have made, use, import, + offer to sell and sell ("Utilize") this software, but solely to + the extent that any such patent is necessary to Utilize the software + [in] [conjunction] [with] [an] [Atheros] [Chipset]. The patent license shall not + apply to any other combinations which include this software. No + hardware per se is licensed hereunder. + + DISCLAIMER. 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 OWNER 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. + - score: '99.15' + start_line: 3 + end_line: 31 + matcher: 3-seq + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: clear-bsd_3.RULE + license_expression: clear-bsd + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted (subject to the limitations in the + disclaimer below) provided that the following conditions are met: + + * Redistributions of source code 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. + + * Neither the name of [Qualcomm] [Atheros] nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE + GRANTED BY THIS LICENSE. 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 OWNER 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. + - score: '100.0' + start_line: 33 + end_line: 43 + matcher: 2-aho + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc.LICENSE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS 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 THIS SOFTWARE. + - score: '100.0' + start_line: 45 + end_line: 74 + matcher: 2-aho + rule_length: 231 + matched_length: 231 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-no-mod.LICENSE + license_expression: bsd-no-mod + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + provided that the following conditions are met: + 1. The materials contained herein are unmodified and are used + unmodified. + 2. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following NO + ''WARRANTY'' disclaimer below (''Disclaimer''), without + modification. + 3. Redistributions in binary form must reproduce at minimum a + disclaimer similar to the Disclaimer below and any redistribution + must be conditioned upon including a substantially similar + Disclaimer requirement for further binary redistribution. + 4. Neither the names of the above-listed copyright holders nor the + names of any contributors may be used to endorse or promote + product derived from this software without specific prior written + permission. + + NO WARRANTY + 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 NONINFRINGEMENT, + MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE + FOR 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 DAMAGES. + - score: '100.0' + start_line: 76 + end_line: 78 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_409.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 or (at your option) any later version. + - score: '100.0' + start_line: 80 + end_line: 88 + matcher: 2-aho + rule_length: 100 + matched_length: 100 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ecos-exception-2.0.LICENSE + license_expression: ecos-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, if other files instantiate templates or use macros + or inline functions from this file, or you compile this file and link it + with other works to produce a work based on this file, this file does not + by itself cause the resulting work to be covered by the GNU General Public + License. However the source code for this file must still be made available + in accordance with section (3) of the GNU General Public License. + + This exception does not invalidate any other reasons why a work based on + this file might be covered by the GNU General Public License. + - score: '100.0' + start_line: 90 + end_line: 107 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '99.21' + start_line: 3 + end_line: 46 + matcher: 3-seq + rule_length: 382 + matched_length: 379 + match_coverage: '99.21' + rule_relevance: 100 + identifier: proprietary-license_327.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Reproduction and redistribution in binary form, without + modification, for use solely in conjunction with a [Qualcomm] [Atheros], [Inc]. + chipset, is permitted provided that the following conditions are met: + + • Redistributions must reproduce the above copyright notice and the following + disclaimer in the documentation and/or other materials provided with the + distribution. + + • Neither the name of [Qualcomm] [Atheros], [Inc]. nor the names of its suppliers + may be used to endorse or promote products derived from this Software + without specific prior written permission. + + • No reverse engineering, decompilation, or disassembly of this Software is + permitted. + + Limited patent license. [Qualcomm] [Atheros], [Inc]. (“Licensor”) grants you + (“Licensee”) a limited, worldwide, royalty-free, non-exclusive license under + the Patents to make, have made, use, import, offer to sell and sell the + Software. No hardware per se is licensed hereunder. + The term “Patents” as used in this agreement means only those patents or patent + applications owned solely and exclusively by Licensor as of the date of + Licensor’s submission of the Software and any patents deriving priority (i.e., + having a first effective filing date) therefrom. The term “Software” as used in + this agreement means the firmware image submitted by Licensor, under the terms + of this license, to git://git.kernel.org/pub/scm/linux/kernel/git/firmware/ + linux-firmware.git. + Notwithstanding anything to the contrary herein, Licensor does not grant and + Licensee does not receive, by virtue of this agreement or the Licensor’s + submission of any Software, any license or other rights under any patent or + patent application owned by any affiliate of Licensor or any other entity + (other than Licensor), whether expressly, impliedly, by virtue of estoppel or + exhaustion, or otherwise. + + DISCLAIMER. 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 OWNER 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2.copyright-detailed.expected.yml index 59d1d9b5375..8e2fb729fb5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2.copyright-detailed.expected.yml @@ -1,4 +1,24 @@ -- -- -- free-unknown -- Copyright (c) 2004 - 2010 Broadcom Corporation +primary_license: +declared_license: +license_expression: free-unknown +copyright: Copyright (c) 2004 - 2010 Broadcom Corporation +matches: + - score: '87.5' + start_line: 4 + end_line: 9 + matcher: 3-seq + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: free-unknown_43.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file contains firmware data derived from proprietary unpublished\n source\ + \ code, Copyright ([c]) [2004] - [2010] [Broadcom] [Corporation].\n \n Permission is hereby\ + \ granted for the distribution of this firmware data\n in hexadecimal or equivalent format,\ + \ provided this copyright notice is\n accompanying it." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2.copyright.expected.yml index 59d1d9b5375..8e2fb729fb5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2.copyright.expected.yml @@ -1,4 +1,24 @@ -- -- -- free-unknown -- Copyright (c) 2004 - 2010 Broadcom Corporation +primary_license: +declared_license: +license_expression: free-unknown +copyright: Copyright (c) 2004 - 2010 Broadcom Corporation +matches: + - score: '87.5' + start_line: 4 + end_line: 9 + matcher: 3-seq + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: free-unknown_43.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file contains firmware data derived from proprietary unpublished\n source\ + \ code, Copyright ([c]) [2004] - [2010] [Broadcom] [Corporation].\n \n Permission is hereby\ + \ granted for the distribution of this firmware data\n in hexadecimal or equivalent format,\ + \ provided this copyright notice is\n accompanying it." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2x.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2x.copyright-detailed.expected.yml index 8fdc951e1f9..b8d1278d222 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2x.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2x.copyright-detailed.expected.yml @@ -1,6 +1,44 @@ -- -- -- proprietary-license AND other-permissive -- | +primary_license: +declared_license: +license_expression: proprietary-license AND other-permissive +copyright: | Copyright (c) 2007-2010 Broadcom Corporation Copyright (c) 2007-2009 Broadcom Corporation +matches: + - score: '33.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: proprietary_30.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + derived from proprietary unpublished + source code, + - score: '100.0' + start_line: 9 + end_line: 11 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware data + in hexadecimal or equivalent format, provided this copyright notice is + accompanying it. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2x.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2x.copyright.expected.yml index 8fdc951e1f9..b8d1278d222 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2x.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2x.copyright.expected.yml @@ -1,6 +1,44 @@ -- -- -- proprietary-license AND other-permissive -- | +primary_license: +declared_license: +license_expression: proprietary-license AND other-permissive +copyright: | Copyright (c) 2007-2010 Broadcom Corporation Copyright (c) 2007-2009 Broadcom Corporation +matches: + - score: '33.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: proprietary_30.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + derived from proprietary unpublished + source code, + - score: '100.0' + start_line: 9 + end_line: 11 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware data + in hexadecimal or equivalent format, provided this copyright notice is + accompanying it. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-brcm80211.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-brcm80211.copyright-detailed.expected.yml index a8e98dac738..30381c9c0d2 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-brcm80211.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-brcm80211.copyright-detailed.expected.yml @@ -1,4 +1,156 @@ -- -- -- broadcom-proprietary -- +primary_license: +declared_license: +license_expression: broadcom-proprietary +copyright: +matches: + - score: '100.0' + start_line: 4 + end_line: 207 + matcher: 2-aho + rule_length: 1764 + matched_length: 1764 + match_coverage: '100.0' + rule_relevance: 100 + identifier: broadcom-proprietary_1.RULE + license_expression: broadcom-proprietary + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "SOFTWARE LICENSE AGREEMENT\n \n Unless you and Broadcom Corporation (“Broadcom”)\ + \ execute a separate written\n software license agreement governing use of the accompanying\ + \ software, this\n software is licensed to you under the terms of this Software License\ + \ Agreement\n (“Agreement”).\n \n ANY USE, REPRODUCTION OR DISTRIBUTION OF THE SOFTWARE\ + \ CONSTITUTES YOUR\n ACCEPTANCE OF THIS AGREEMENT.\n \n 1.\tDEFINITIONS.\n \n 1.1.\t“Broadcom\ + \ Product” means any of the proprietary integrated circuit\n product(s) sold by Broadcom\ + \ with which the Software was designed to be used, or\n their successors.\n \n 1.2.\t\ + “Licensee” means you or if you are accepting on behalf of an entity\n then the entity\ + \ and its affiliates exercising rights under, and complying with\n all of the terms of\ + \ this Agreement.\n \n 1.3.\t“Software” shall mean that software made available by Broadcom\ + \ to\n Licensee in binary code form with this Agreement.\n \n 2.\tLICENSE GRANT; OWNERSHIP\n\ + \ \n 2.1.\tLicense Grants. Subject to the terms and conditions of this Agreement,\n Broadcom\ + \ hereby grants to Licensee a non-exclusive, non-transferable,\n royalty-free license\ + \ (i) to use and integrate the Software in conjunction with\n any other software; and\ + \ (ii) to reproduce and distribute the Software complete,\n unmodified and as provided\ + \ by Broadcom, and only for use with a Broadcom\n Product.\n \n 2.2.\tRestriction on Modification.\ + \ Licensee may not make any modifications\n to the Software.\n \n 2.3.\tRestriction on\ + \ Distribution. Licensee shall only distribute the\n Software under the terms of this\ + \ Agreement and a copy of this Agreement\n accompanies such distribution.\n \n 2.4.\t\ + Proprietary Notices. Licensee shall not remove, efface or obscure any\n copyright or\ + \ trademark notices from the Software. Licensee shall include\n reproductions of the\ + \ Broadcom copyright notice with each copy of the Software,\n except where such Software\ + \ is embedded in a manner not readily accessible to\n the end user. Licensee acknowledges\ + \ that any symbols, trademarks, tradenames,\n and service marks adopted by Broadcom to\ + \ identify the Software belong to\n Broadcom and that Licensee shall have no rights therein.\n\ + \ \n 2.5.\tOwnership. Broadcom shall retain all right, title and interest,\n including\ + \ all intellectual property rights, in and to the Software. Licensee\n hereby covenants\ + \ that it will not assert any claim that the Software created by\n or for Broadcom infringe\ + \ any intellectual property right owned or controlled by\n Licensee; provided however,\ + \ the foregoing shall not apply in case the Agreement\n is terminated.\n \n 2.6.\tNo Other\ + \ Rights Granted; Restrictions. Apart from the license rights\n expressly set forth in\ + \ this Agreement, Broadcom does not grant and Licensee\n does not receive any ownership\ + \ right, title or interest nor any security\n interest or other interest in any intellectual\ + \ property rights relating to the\n Software, nor in any copy of any part of the foregoing.\ + \ No license is granted\n to Licensee in any human readable code of the Software (source\ + \ code). Licensee\n shall not (i) use, license, sell or otherwise distribute the Software\ + \ except as\n provided in this Agreement, (ii) attempt to modify in any way, reverse\n\ + \ engineer, decompile or disassemble any portion of the Software; or (iii) use\n the Software\ + \ or other material in violation of any applicable law or\n regulation, including but\ + \ not limited to any regulatory agency, such as FCC,\n rules.\n \n 3.\tNO WARRANTY OR\ + \ SUPPORT\n \n 3.1.\tNo Warranty. THE SOFTWARE IS OFFERED “AS IS,” AND BROADCOM GRANTS\ + \ AND\n LICENSEE RECEIVES NO WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, BY STATUTE,\n\ + \ COMMUNICATION OR CONDUCT WITH LICENSEE, OR OTHERWISE. BROADCOM SPECIFICALLY\n DISCLAIMS\ + \ ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A SPECIFIC\n PURPOSE OR NONINFRINGEMENT\ + \ CONCERNING THE SOFTWARE OR ANY UPGRADES TO OR\n DOCUMENTATION FOR THE SOFTWARE. WITHOUT\ + \ LIMITATION OF THE ABOVE, BROADCOM\n GRANTS NO WARRANTY THAT THE SOFTWARE IS ERROR-FREE\ + \ OR WILL OPERATE WITHOUT\n INTERRUPTION, AND GRANTS NO WARRANTY REGARDING ITS USE OR\ + \ THE RESULTS THEREFROM\n INCLUDING, WITHOUT LIMITATION, ITS CORRECTNESS, ACCURACY OR\ + \ RELIABILITY.\n \n 3.2.\tNo Support. Nothing in this agreement shall obligate Broadcom\ + \ to\n provide any support for the Software. Broadcom may, but shall be under no\n obligation\ + \ to, correct any defects in the Software and/or provide updates to\n licensees of the\ + \ Software. Licensee shall make reasonable efforts to promptly\n report to Broadcom any\ + \ defects it finds in the Software, as an aid to creating\n improved revisions of the\ + \ Software.\n \n 3.3.\tDangerous Applications. The Software is not designed, intended,\ + \ or\n certified for use in components of systems intended for the operation of\n weapons,\ + \ weapons systems, nuclear installations, means of mass transportation,\n aviation, life-support\ + \ computers or equipment (including resuscitation\n equipment and surgical implants),\ + \ pollution control, hazardous substances\n management, or for any other dangerous application\ + \ in which the failure of the\n Software could create a situation where personal injury\ + \ or death may occur. \n Licensee understands that use of the Software in such applications\ + \ is fully at\n the risk of Licensee.\n \n 4.\tTERM AND TERMINATION\n \n 4.1.\tTermination.\ + \ This Agreement will automatically terminate if Licensee\n fails to comply with any\ + \ of the terms and conditions hereof. In such event,\n Licensee must destroy all copies\ + \ of the Software and all of its component\n parts.\n \n 4.2.\tEffect Of Termination.\ + \ Upon any termination of this Agreement, the\n rights and licenses granted to Licensee\ + \ under this Agreement shall immediately\n terminate.\n \n 4.3.\tSurvival. The rights\ + \ and obligations under this Agreement which by\n their nature should survive termination\ + \ will remain in effect after expiration\n or termination of this Agreement.\n \n 5.\t\ + CONFIDENTIALITY\n \n 5.1.\tObligations. Licensee acknowledges and agrees that any documentation\n\ + \ relating to the Software, and any other information (if such other information\n is\ + \ identified as confidential or should be recognized as confidential under the\n circumstances)\ + \ provided to Licensee by Broadcom hereunder (collectively,\n “Confidential Information”)\ + \ constitute the confidential and proprietary\n information of Broadcom, and that Licensee’s\ + \ protection thereof is an essential\n condition to Licensee’s use and possession of the\ + \ Software. Licensee shall\n retain all Confidential Information in strict confidence\ + \ and not disclose it to\n any third party or use it in any way except under a written\ + \ agreement with\n terms and conditions at least as protective as the terms of this Section.\n\ + \ Licensee will exercise at least the same amount of diligence in preserving the\n secrecy\ + \ of the Confidential Information as it uses in preserving the secrecy of\n its own most\ + \ valuable confidential information, but in no event less than\n reasonable diligence.\ + \ Information shall not be considered Confidential\n Information if and to the extent\ + \ that it: (i) was in the public domain at the\n time it was disclosed or has entered\ + \ the public domain through no fault of\n Licensee; (ii) was known to Licensee, without\ + \ restriction, at the time of\n disclosure as proven by the files of Licensee in existence\ + \ at the time of\n disclosure; or (iii) becomes known to Licensee, without restriction,\ + \ from a\n source other than Broadcom without breach of this Agreement by Licensee and\n\ + \ otherwise not in violation of Broadcom’s rights.\n \n 5.2.\tReturn of Confidential Information.\ + \ Notwithstanding the foregoing, all\n documents and other tangible objects containing\ + \ or representing Broadcom\n Confidential Information and all copies thereof which are\ + \ in the possession of\n Licensee shall be and remain the property of Broadcom, and shall\ + \ be promptly\n returned to Broadcom upon written request by Broadcom or upon termination\ + \ of\n this Agreement.\n \n 6.\tLIMITATION OF LIABILITY TO THE MAXIMUM EXTENT PERMITTED\ + \ BY LAW, IN NO\n EVENT SHALL BROADCOM OR ANY OF BROADCOM’S LICENSORS HAVE ANY LIABILITY\ + \ FOR ANY\n INDIRECT, INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND\ + \ ON\n ANY THEORY OF LIABILITY, WHETHER FOR BREACH OF CONTRACT, TORT (INCLUDING\n NEGLIGENCE)\ + \ OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, INCLUDING BUT NOT\n LIMITED TO LOSS OF\ + \ PROFITS, EVEN IF SUCH PARTY HAS BEEN ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGES. IN\ + \ NO EVENT WILL BROADCOM’S LIABILITY WHETHER IN\n CONTRACT, TORT (INCLUDING NEGLIGENCE),\ + \ OR OTHERWISE, EXCEED THE AMOUNT PAID BY\n LICENSEE FOR SOFTWARE UNDER THIS AGREEMENT.\ + \ THESE LIMITATIONS SHALL APPLY\n NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF\ + \ ANY LIMITED REMEDY.\n \n 7.\tMISCELLANEOUS\n \n 7.1.\tExport Regulations. YOU UNDERSTAND\ + \ AND AGREE THAT THE SOFTWARE IS\n SUBJECT TO UNITED STATES AND OTHER APPLICABLE EXPORT-RELATED\ + \ LAWS AND\n REGULATIONS AND THAT YOU MAY NOT EXPORT, RE-EXPORT OR TRANSFER THE SOFTWARE\ + \ OR\n ANY DIRECT PRODUCT OF THE SOFTWARE EXCEPT AS PERMITTED UNDER THOSE LAWS.\n WITHOUT\ + \ LIMITING THE FOREGOING, EXPORT, RE-EXPORT OR TRANSFER OF THE SOFTWARE\n TO CUBA, IRAN,\ + \ NORTH KOREA, SUDAN AND SYRIA IS PROHIBITED.\n \n 7.2\tAssignment. This Agreement shall\ + \ be binding upon and inure to the\n benefit of the parties and their respective successors\ + \ and assigns, provided,\n however that Licensee may not assign this Agreement or any\ + \ rights or obligation\n hereunder, directly or indirectly, by operation of law or otherwise,\ + \ without\n the prior written consent of Broadcom, and any such attempted assignment shall\n\ + \ be void. Notwithstanding the foregoing, Licensee may assign this Agreement to\n a successor\ + \ to all or substantially all of its business or assets to which this\n Agreement relates\ + \ that is not a competitor of Broadcom.\n \n 7.3.\tGoverning Law; Venue. This Agreement\ + \ shall be governed by the laws of\n California without regard to any conflict-of-laws\ + \ rules, and the United Nations\n Convention on Contracts for the International Sale of\ + \ Goods is hereby excluded.\n The sole jurisdiction and venue for actions related to the\ + \ subject matter\n hereof shall be the state and federal courts located in the County\ + \ of Orange,\n California, and both parties hereby consent to such jurisdiction and venue.\n\ + \ \n 7.4.\tSeverability. All terms and provisions of this Agreement shall, if\n possible,\ + \ be construed in a manner which makes them valid, but in the event any\n term or provision\ + \ of this Agreement is found by a court of competent\n jurisdiction to be illegal or unenforceable,\ + \ the validity or enforceability of\n the remainder of this Agreement shall not be affected\ + \ if the illegal or\n unenforceable provision does not materially affect the intent of\ + \ this\n Agreement. If the illegal or unenforceable provision materially affects the\n\ + \ intent of the parties to this Agreement, this Agreement shall become\n terminated.\n\ + \ \n 7.5.\tEquitable Relief. Licensee hereby acknowledges that its breach of this\n Agreement\ + \ would cause irreparable harm and significant injury to Broadcom that\n may be difficult\ + \ to ascertain and that a remedy at law would be inadequate.\n Accordingly, Licensee agrees\ + \ that Broadcom shall have the right to seek and\n obtain immediate injunctive relief\ + \ to enforce obligations under the Agreement\n in addition to any other rights and remedies\ + \ it may have.\n \n 7.6.\tWaiver. The waiver of, or failure to enforce, any breach or\ + \ default\n hereunder shall not constitute the waiver of any other or subsequent breach\ + \ or\n default.\n \n 7.7.\tEntire Agreement. This Agreement sets forth the entire Agreement\n\ + \ between the parties and supersedes any and all prior proposals, agreements and\n representations\ + \ between them, whether written or oral concerning the Software.\n This Agreement may\ + \ be changed only by mutual agreement of the parties in\n writing." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-brcm80211.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-brcm80211.copyright.expected.yml index a8e98dac738..30381c9c0d2 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-brcm80211.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-brcm80211.copyright.expected.yml @@ -1,4 +1,156 @@ -- -- -- broadcom-proprietary -- +primary_license: +declared_license: +license_expression: broadcom-proprietary +copyright: +matches: + - score: '100.0' + start_line: 4 + end_line: 207 + matcher: 2-aho + rule_length: 1764 + matched_length: 1764 + match_coverage: '100.0' + rule_relevance: 100 + identifier: broadcom-proprietary_1.RULE + license_expression: broadcom-proprietary + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "SOFTWARE LICENSE AGREEMENT\n \n Unless you and Broadcom Corporation (“Broadcom”)\ + \ execute a separate written\n software license agreement governing use of the accompanying\ + \ software, this\n software is licensed to you under the terms of this Software License\ + \ Agreement\n (“Agreement”).\n \n ANY USE, REPRODUCTION OR DISTRIBUTION OF THE SOFTWARE\ + \ CONSTITUTES YOUR\n ACCEPTANCE OF THIS AGREEMENT.\n \n 1.\tDEFINITIONS.\n \n 1.1.\t“Broadcom\ + \ Product” means any of the proprietary integrated circuit\n product(s) sold by Broadcom\ + \ with which the Software was designed to be used, or\n their successors.\n \n 1.2.\t\ + “Licensee” means you or if you are accepting on behalf of an entity\n then the entity\ + \ and its affiliates exercising rights under, and complying with\n all of the terms of\ + \ this Agreement.\n \n 1.3.\t“Software” shall mean that software made available by Broadcom\ + \ to\n Licensee in binary code form with this Agreement.\n \n 2.\tLICENSE GRANT; OWNERSHIP\n\ + \ \n 2.1.\tLicense Grants. Subject to the terms and conditions of this Agreement,\n Broadcom\ + \ hereby grants to Licensee a non-exclusive, non-transferable,\n royalty-free license\ + \ (i) to use and integrate the Software in conjunction with\n any other software; and\ + \ (ii) to reproduce and distribute the Software complete,\n unmodified and as provided\ + \ by Broadcom, and only for use with a Broadcom\n Product.\n \n 2.2.\tRestriction on Modification.\ + \ Licensee may not make any modifications\n to the Software.\n \n 2.3.\tRestriction on\ + \ Distribution. Licensee shall only distribute the\n Software under the terms of this\ + \ Agreement and a copy of this Agreement\n accompanies such distribution.\n \n 2.4.\t\ + Proprietary Notices. Licensee shall not remove, efface or obscure any\n copyright or\ + \ trademark notices from the Software. Licensee shall include\n reproductions of the\ + \ Broadcom copyright notice with each copy of the Software,\n except where such Software\ + \ is embedded in a manner not readily accessible to\n the end user. Licensee acknowledges\ + \ that any symbols, trademarks, tradenames,\n and service marks adopted by Broadcom to\ + \ identify the Software belong to\n Broadcom and that Licensee shall have no rights therein.\n\ + \ \n 2.5.\tOwnership. Broadcom shall retain all right, title and interest,\n including\ + \ all intellectual property rights, in and to the Software. Licensee\n hereby covenants\ + \ that it will not assert any claim that the Software created by\n or for Broadcom infringe\ + \ any intellectual property right owned or controlled by\n Licensee; provided however,\ + \ the foregoing shall not apply in case the Agreement\n is terminated.\n \n 2.6.\tNo Other\ + \ Rights Granted; Restrictions. Apart from the license rights\n expressly set forth in\ + \ this Agreement, Broadcom does not grant and Licensee\n does not receive any ownership\ + \ right, title or interest nor any security\n interest or other interest in any intellectual\ + \ property rights relating to the\n Software, nor in any copy of any part of the foregoing.\ + \ No license is granted\n to Licensee in any human readable code of the Software (source\ + \ code). Licensee\n shall not (i) use, license, sell or otherwise distribute the Software\ + \ except as\n provided in this Agreement, (ii) attempt to modify in any way, reverse\n\ + \ engineer, decompile or disassemble any portion of the Software; or (iii) use\n the Software\ + \ or other material in violation of any applicable law or\n regulation, including but\ + \ not limited to any regulatory agency, such as FCC,\n rules.\n \n 3.\tNO WARRANTY OR\ + \ SUPPORT\n \n 3.1.\tNo Warranty. THE SOFTWARE IS OFFERED “AS IS,” AND BROADCOM GRANTS\ + \ AND\n LICENSEE RECEIVES NO WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, BY STATUTE,\n\ + \ COMMUNICATION OR CONDUCT WITH LICENSEE, OR OTHERWISE. BROADCOM SPECIFICALLY\n DISCLAIMS\ + \ ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A SPECIFIC\n PURPOSE OR NONINFRINGEMENT\ + \ CONCERNING THE SOFTWARE OR ANY UPGRADES TO OR\n DOCUMENTATION FOR THE SOFTWARE. WITHOUT\ + \ LIMITATION OF THE ABOVE, BROADCOM\n GRANTS NO WARRANTY THAT THE SOFTWARE IS ERROR-FREE\ + \ OR WILL OPERATE WITHOUT\n INTERRUPTION, AND GRANTS NO WARRANTY REGARDING ITS USE OR\ + \ THE RESULTS THEREFROM\n INCLUDING, WITHOUT LIMITATION, ITS CORRECTNESS, ACCURACY OR\ + \ RELIABILITY.\n \n 3.2.\tNo Support. Nothing in this agreement shall obligate Broadcom\ + \ to\n provide any support for the Software. Broadcom may, but shall be under no\n obligation\ + \ to, correct any defects in the Software and/or provide updates to\n licensees of the\ + \ Software. Licensee shall make reasonable efforts to promptly\n report to Broadcom any\ + \ defects it finds in the Software, as an aid to creating\n improved revisions of the\ + \ Software.\n \n 3.3.\tDangerous Applications. The Software is not designed, intended,\ + \ or\n certified for use in components of systems intended for the operation of\n weapons,\ + \ weapons systems, nuclear installations, means of mass transportation,\n aviation, life-support\ + \ computers or equipment (including resuscitation\n equipment and surgical implants),\ + \ pollution control, hazardous substances\n management, or for any other dangerous application\ + \ in which the failure of the\n Software could create a situation where personal injury\ + \ or death may occur. \n Licensee understands that use of the Software in such applications\ + \ is fully at\n the risk of Licensee.\n \n 4.\tTERM AND TERMINATION\n \n 4.1.\tTermination.\ + \ This Agreement will automatically terminate if Licensee\n fails to comply with any\ + \ of the terms and conditions hereof. In such event,\n Licensee must destroy all copies\ + \ of the Software and all of its component\n parts.\n \n 4.2.\tEffect Of Termination.\ + \ Upon any termination of this Agreement, the\n rights and licenses granted to Licensee\ + \ under this Agreement shall immediately\n terminate.\n \n 4.3.\tSurvival. The rights\ + \ and obligations under this Agreement which by\n their nature should survive termination\ + \ will remain in effect after expiration\n or termination of this Agreement.\n \n 5.\t\ + CONFIDENTIALITY\n \n 5.1.\tObligations. Licensee acknowledges and agrees that any documentation\n\ + \ relating to the Software, and any other information (if such other information\n is\ + \ identified as confidential or should be recognized as confidential under the\n circumstances)\ + \ provided to Licensee by Broadcom hereunder (collectively,\n “Confidential Information”)\ + \ constitute the confidential and proprietary\n information of Broadcom, and that Licensee’s\ + \ protection thereof is an essential\n condition to Licensee’s use and possession of the\ + \ Software. Licensee shall\n retain all Confidential Information in strict confidence\ + \ and not disclose it to\n any third party or use it in any way except under a written\ + \ agreement with\n terms and conditions at least as protective as the terms of this Section.\n\ + \ Licensee will exercise at least the same amount of diligence in preserving the\n secrecy\ + \ of the Confidential Information as it uses in preserving the secrecy of\n its own most\ + \ valuable confidential information, but in no event less than\n reasonable diligence.\ + \ Information shall not be considered Confidential\n Information if and to the extent\ + \ that it: (i) was in the public domain at the\n time it was disclosed or has entered\ + \ the public domain through no fault of\n Licensee; (ii) was known to Licensee, without\ + \ restriction, at the time of\n disclosure as proven by the files of Licensee in existence\ + \ at the time of\n disclosure; or (iii) becomes known to Licensee, without restriction,\ + \ from a\n source other than Broadcom without breach of this Agreement by Licensee and\n\ + \ otherwise not in violation of Broadcom’s rights.\n \n 5.2.\tReturn of Confidential Information.\ + \ Notwithstanding the foregoing, all\n documents and other tangible objects containing\ + \ or representing Broadcom\n Confidential Information and all copies thereof which are\ + \ in the possession of\n Licensee shall be and remain the property of Broadcom, and shall\ + \ be promptly\n returned to Broadcom upon written request by Broadcom or upon termination\ + \ of\n this Agreement.\n \n 6.\tLIMITATION OF LIABILITY TO THE MAXIMUM EXTENT PERMITTED\ + \ BY LAW, IN NO\n EVENT SHALL BROADCOM OR ANY OF BROADCOM’S LICENSORS HAVE ANY LIABILITY\ + \ FOR ANY\n INDIRECT, INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND\ + \ ON\n ANY THEORY OF LIABILITY, WHETHER FOR BREACH OF CONTRACT, TORT (INCLUDING\n NEGLIGENCE)\ + \ OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, INCLUDING BUT NOT\n LIMITED TO LOSS OF\ + \ PROFITS, EVEN IF SUCH PARTY HAS BEEN ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGES. IN\ + \ NO EVENT WILL BROADCOM’S LIABILITY WHETHER IN\n CONTRACT, TORT (INCLUDING NEGLIGENCE),\ + \ OR OTHERWISE, EXCEED THE AMOUNT PAID BY\n LICENSEE FOR SOFTWARE UNDER THIS AGREEMENT.\ + \ THESE LIMITATIONS SHALL APPLY\n NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF\ + \ ANY LIMITED REMEDY.\n \n 7.\tMISCELLANEOUS\n \n 7.1.\tExport Regulations. YOU UNDERSTAND\ + \ AND AGREE THAT THE SOFTWARE IS\n SUBJECT TO UNITED STATES AND OTHER APPLICABLE EXPORT-RELATED\ + \ LAWS AND\n REGULATIONS AND THAT YOU MAY NOT EXPORT, RE-EXPORT OR TRANSFER THE SOFTWARE\ + \ OR\n ANY DIRECT PRODUCT OF THE SOFTWARE EXCEPT AS PERMITTED UNDER THOSE LAWS.\n WITHOUT\ + \ LIMITING THE FOREGOING, EXPORT, RE-EXPORT OR TRANSFER OF THE SOFTWARE\n TO CUBA, IRAN,\ + \ NORTH KOREA, SUDAN AND SYRIA IS PROHIBITED.\n \n 7.2\tAssignment. This Agreement shall\ + \ be binding upon and inure to the\n benefit of the parties and their respective successors\ + \ and assigns, provided,\n however that Licensee may not assign this Agreement or any\ + \ rights or obligation\n hereunder, directly or indirectly, by operation of law or otherwise,\ + \ without\n the prior written consent of Broadcom, and any such attempted assignment shall\n\ + \ be void. Notwithstanding the foregoing, Licensee may assign this Agreement to\n a successor\ + \ to all or substantially all of its business or assets to which this\n Agreement relates\ + \ that is not a competitor of Broadcom.\n \n 7.3.\tGoverning Law; Venue. This Agreement\ + \ shall be governed by the laws of\n California without regard to any conflict-of-laws\ + \ rules, and the United Nations\n Convention on Contracts for the International Sale of\ + \ Goods is hereby excluded.\n The sole jurisdiction and venue for actions related to the\ + \ subject matter\n hereof shall be the state and federal courts located in the County\ + \ of Orange,\n California, and both parties hereby consent to such jurisdiction and venue.\n\ + \ \n 7.4.\tSeverability. All terms and provisions of this Agreement shall, if\n possible,\ + \ be construed in a manner which makes them valid, but in the event any\n term or provision\ + \ of this Agreement is found by a court of competent\n jurisdiction to be illegal or unenforceable,\ + \ the validity or enforceability of\n the remainder of this Agreement shall not be affected\ + \ if the illegal or\n unenforceable provision does not materially affect the intent of\ + \ this\n Agreement. If the illegal or unenforceable provision materially affects the\n\ + \ intent of the parties to this Agreement, this Agreement shall become\n terminated.\n\ + \ \n 7.5.\tEquitable Relief. Licensee hereby acknowledges that its breach of this\n Agreement\ + \ would cause irreparable harm and significant injury to Broadcom that\n may be difficult\ + \ to ascertain and that a remedy at law would be inadequate.\n Accordingly, Licensee agrees\ + \ that Broadcom shall have the right to seek and\n obtain immediate injunctive relief\ + \ to enforce obligations under the Agreement\n in addition to any other rights and remedies\ + \ it may have.\n \n 7.6.\tWaiver. The waiver of, or failure to enforce, any breach or\ + \ default\n hereunder shall not constitute the waiver of any other or subsequent breach\ + \ or\n default.\n \n 7.7.\tEntire Agreement. This Agreement sets forth the entire Agreement\n\ + \ between the parties and supersedes any and all prior proposals, agreements and\n representations\ + \ between them, whether written or oral concerning the Software.\n This Agreement may\ + \ be changed only by mutual agreement of the parties in\n writing." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-cavium.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-cavium.copyright-detailed.expected.yml index 23468d723ae..f071bfc9c3f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-cavium.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-cavium.copyright-detailed.expected.yml @@ -1,4 +1,64 @@ -- -- -- proprietary-license -- Copyright (c) 2015, Cavium, Inc. +primary_license: +declared_license: +license_expression: proprietary-license +copyright: Copyright (c) 2015, Cavium, Inc. +matches: + - score: '100.0' + start_line: 6 + end_line: 62 + matcher: 2-aho + rule_length: 537 + matched_length: 537 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_449.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Software License Agreement\n \n ANY USE, REPRODUCTION, OR DISTRIBUTION OF\ + \ THE ACCOMPANYING BINARY SOFTWARE\n CONSTITUTES LICENSEEE'S ACCEPTANCE OF THE TERMS AND\ + \ CONDITIONS OF THIS AGREEMENT.\n \n Licensed Software. Subject to the terms and conditions\ + \ of this Agreement,\n Cavium, Inc. (\"Cavium\") grants to Licensee a worldwide, non-exclusive,\ + \ and\n royalty-free license to use, reproduce, and distribute the binary software in\n\ + \ its complete and unmodified form as provided by Cavium.\n \n Restrictions. Licensee\ + \ must reproduce the Cavium copyright notice above with\n each binary software copy. Licensee\ + \ must not reverse engineer, decompile,\n disassemble or modify in any way the binary\ + \ software. Licensee must not use\n the binary software in violation of any applicable\ + \ law or regulation. This\n Agreement shall automatically terminate upon Licensee's breach\ + \ of any term or\n condition of this Agreement in which case, Licensee shall destroy all\ + \ copies of\n the binary software.\n \n Warranty Disclaimer. THE LICENSED SOFTWARE IS\ + \ OFFERED \"AS IS,\" AND CAVIUM\n GRANTS AND LICENSEE RECEIVES NO WARRANTIES OF ANY KIND,\ + \ WHETHER EXPRESS,\n IMPLIED, STATUTORY, OR BY COURSE OF COMMUNICATION OR DEALING WITH\ + \ LICENSEE, OR\n OTHERWISE. CAVIUM AND ITS LICENSORS SPECIFICALLY DISCLAIM ANY IMPLIED\n\ + \ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, OR\n NONINFRINGEMENT\ + \ OF THIRD PARTY RIGHTS, CONCERNING THE LICENSED SOFTWARE,\n DERIVATIVE WORKS, OR ANY\ + \ DOCUMENTATION PROVIDED WITH THE FOREGOING. WITHOUT\n LIMITING THE GENERALITY OF THE\ + \ FOREGOING, CAVIUM DOES NOT WARRANT THAT THE\n LICENSED SOFTWARE IS ERROR-FREE OR WILL\ + \ OPERATE WITHOUT INTERRUPTION, AND\n CAVIUM GRANTS NO WARRANTY REGARDING ITS USE OR THE\ + \ RESULTS THEREFROM, INCLUDING\n ITS CORRECTNESS, ACCURACY, OR RELIABILITY.\n \n Limitation\ + \ of Liability. IN NO EVENT WILL LICENSEE, CAVIUM, OR ANY OF CAVIUM'S\n LICENSORS HAVE\ + \ ANY LIABILITY HEREUNDER FOR ANY INDIRECT, SPECIAL, OR\n CONSEQUENTIAL DAMAGES, HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\n FOR BREACH OF CONTRACT, TORT (INCLUDING\ + \ NEGLIGENCE), OR OTHERWISE, ARISING OUT\n OF THIS AGREEMENT, INCLUDING DAMAGES FOR LOSS\ + \ OF PROFITS, OR THE COST OF\n PROCUREMENT OF SUBSTITUTE GOODS, EVEN IF SUCH PARTY HAS\ + \ BEEN ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGES.\n \n Export and Import Laws. Licensee\ + \ acknowledges and agrees that the Licensed\n Software (including technical data and related\ + \ technology) may be controlled by\n the export control laws, rules, regulations, restrictions\ + \ and national security\n controls of the United States and other applicable foreign agencies\ + \ (the\n \"Export Controls\"), and agrees not export or re-export, or allow the export\ + \ or\n re-export of export-controlled the Licensed Software (including technical data\n\ + \ and related technology) or any copy, portion or direct product of the foregoing\n in\ + \ violation of the Export Controls. Licensee hereby represents that\n (i) Licensee is\ + \ not an entity or person to whom provision of the Licensed\n Software (including technical\ + \ data and related technology) is restricted or\n prohibited by the Export Controls; and\ + \ (ii) Licensee will not export, re-export\n or otherwise transfer the export-controlled\ + \ Licensed Software (including\n technical data and related technology) in violation of\ + \ U.S. sanction programs\n or export control regulations to (a) any country, or national\ + \ or resident of\n any country, subject to a United States trade embargo, (b) any person\ + \ or entity\n to whom shipment is restricted or prohibited by the Export Controls, or\n\ + \ (c) anyone who is engaged in activities related to the design, development,\n production,\ + \ or use of nuclear materials, nuclear facilities, nuclear weapons,\n missiles or chemical\ + \ or biological weapons." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-cavium.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-cavium.copyright.expected.yml index 23468d723ae..f071bfc9c3f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-cavium.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-cavium.copyright.expected.yml @@ -1,4 +1,64 @@ -- -- -- proprietary-license -- Copyright (c) 2015, Cavium, Inc. +primary_license: +declared_license: +license_expression: proprietary-license +copyright: Copyright (c) 2015, Cavium, Inc. +matches: + - score: '100.0' + start_line: 6 + end_line: 62 + matcher: 2-aho + rule_length: 537 + matched_length: 537 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_449.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Software License Agreement\n \n ANY USE, REPRODUCTION, OR DISTRIBUTION OF\ + \ THE ACCOMPANYING BINARY SOFTWARE\n CONSTITUTES LICENSEEE'S ACCEPTANCE OF THE TERMS AND\ + \ CONDITIONS OF THIS AGREEMENT.\n \n Licensed Software. Subject to the terms and conditions\ + \ of this Agreement,\n Cavium, Inc. (\"Cavium\") grants to Licensee a worldwide, non-exclusive,\ + \ and\n royalty-free license to use, reproduce, and distribute the binary software in\n\ + \ its complete and unmodified form as provided by Cavium.\n \n Restrictions. Licensee\ + \ must reproduce the Cavium copyright notice above with\n each binary software copy. Licensee\ + \ must not reverse engineer, decompile,\n disassemble or modify in any way the binary\ + \ software. Licensee must not use\n the binary software in violation of any applicable\ + \ law or regulation. This\n Agreement shall automatically terminate upon Licensee's breach\ + \ of any term or\n condition of this Agreement in which case, Licensee shall destroy all\ + \ copies of\n the binary software.\n \n Warranty Disclaimer. THE LICENSED SOFTWARE IS\ + \ OFFERED \"AS IS,\" AND CAVIUM\n GRANTS AND LICENSEE RECEIVES NO WARRANTIES OF ANY KIND,\ + \ WHETHER EXPRESS,\n IMPLIED, STATUTORY, OR BY COURSE OF COMMUNICATION OR DEALING WITH\ + \ LICENSEE, OR\n OTHERWISE. CAVIUM AND ITS LICENSORS SPECIFICALLY DISCLAIM ANY IMPLIED\n\ + \ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, OR\n NONINFRINGEMENT\ + \ OF THIRD PARTY RIGHTS, CONCERNING THE LICENSED SOFTWARE,\n DERIVATIVE WORKS, OR ANY\ + \ DOCUMENTATION PROVIDED WITH THE FOREGOING. WITHOUT\n LIMITING THE GENERALITY OF THE\ + \ FOREGOING, CAVIUM DOES NOT WARRANT THAT THE\n LICENSED SOFTWARE IS ERROR-FREE OR WILL\ + \ OPERATE WITHOUT INTERRUPTION, AND\n CAVIUM GRANTS NO WARRANTY REGARDING ITS USE OR THE\ + \ RESULTS THEREFROM, INCLUDING\n ITS CORRECTNESS, ACCURACY, OR RELIABILITY.\n \n Limitation\ + \ of Liability. IN NO EVENT WILL LICENSEE, CAVIUM, OR ANY OF CAVIUM'S\n LICENSORS HAVE\ + \ ANY LIABILITY HEREUNDER FOR ANY INDIRECT, SPECIAL, OR\n CONSEQUENTIAL DAMAGES, HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\n FOR BREACH OF CONTRACT, TORT (INCLUDING\ + \ NEGLIGENCE), OR OTHERWISE, ARISING OUT\n OF THIS AGREEMENT, INCLUDING DAMAGES FOR LOSS\ + \ OF PROFITS, OR THE COST OF\n PROCUREMENT OF SUBSTITUTE GOODS, EVEN IF SUCH PARTY HAS\ + \ BEEN ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGES.\n \n Export and Import Laws. Licensee\ + \ acknowledges and agrees that the Licensed\n Software (including technical data and related\ + \ technology) may be controlled by\n the export control laws, rules, regulations, restrictions\ + \ and national security\n controls of the United States and other applicable foreign agencies\ + \ (the\n \"Export Controls\"), and agrees not export or re-export, or allow the export\ + \ or\n re-export of export-controlled the Licensed Software (including technical data\n\ + \ and related technology) or any copy, portion or direct product of the foregoing\n in\ + \ violation of the Export Controls. Licensee hereby represents that\n (i) Licensee is\ + \ not an entity or person to whom provision of the Licensed\n Software (including technical\ + \ data and related technology) is restricted or\n prohibited by the Export Controls; and\ + \ (ii) Licensee will not export, re-export\n or otherwise transfer the export-controlled\ + \ Licensed Software (including\n technical data and related technology) in violation of\ + \ U.S. sanction programs\n or export control regulations to (a) any country, or national\ + \ or resident of\n any country, subject to a United States trade embargo, (b) any person\ + \ or entity\n to whom shipment is restricted or prohibited by the Export Controls, or\n\ + \ (c) anyone who is engaged in activities related to the design, development,\n production,\ + \ or use of nuclear materials, nuclear facilities, nuclear weapons,\n missiles or chemical\ + \ or biological weapons." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intel-sound.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intel-sound.copyright-detailed.expected.yml index e9dd0d803c3..1489fdd58e5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intel-sound.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intel-sound.copyright-detailed.expected.yml @@ -1,15 +1,16 @@ -- None -- - Binary redistribution (Intel 1) +primary_license: None +declared_license: + - Binary redistribution (Intel 1) - Binary redistribution (Intel 2) - Binary redistribution (Intel 3) -- intel AND intel AND (intel AND free-unknown AND bsd-new AND bsd-new AND x11-lucent AND standard-ml-nj - AND amd-historical AND sunpro AND osf-1990 AND nilsson-historical AND newlib-historical AND - bsd-new AND amd-historical AND bsd-new AND bsd-simplified AND bsd-simplified AND bsd-simplified - AND x11-hanson AND bsd-simplified AND bsd-new AND delorie-historical AND intel-osl-1993 AND - osf-1990 AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new) AND (bsd-simplified - AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND - bsd-new AND bsd-new AND newlib-historical AND bsd-new AND bsd-new AND bsd-simplified) -- | +license_expression: intel AND intel AND (intel AND free-unknown AND bsd-new AND bsd-new AND + x11-lucent AND standard-ml-nj AND amd-historical AND sunpro AND osf-1990 AND nilsson-historical + AND newlib-historical AND bsd-new AND amd-historical AND bsd-new AND bsd-simplified AND bsd-simplified + AND bsd-simplified AND x11-hanson AND bsd-simplified AND bsd-new AND delorie-historical AND + intel-osl-1993 AND osf-1990 AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new) + AND (bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified + AND bsd-new AND bsd-new AND bsd-new AND newlib-historical AND bsd-new AND bsd-new AND bsd-simplified) +copyright: | 2014, Intel Corporation. 2014, Intel Corporation 1981-2000, The Regents of the University of California @@ -20,3 +21,1417 @@ 1993, Sun Microsystems, Inc. 1994-2014, Red Hat Inc. and other newlib contributors 1993, 2014-15, Intel Corporation +matches: + - score: '100.0' + start_line: 3 + end_line: 38 + matcher: 2-aho + rule_length: 295 + matched_length: 295 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel.LICENSE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Intel Corporation nor the names of its suppliers + may be used to endorse or promote products derived from this software + without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. Intel Corporation grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. 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 OWNER 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. + - score: '95.0' + start_line: 3 + end_line: 37 + matcher: 2-aho + rule_length: 268 + matched_length: 268 + match_coverage: '100.0' + rule_relevance: 95 + identifier: intel_2.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. + + Redistribution and use in binary form, without modification, are permitted + provided that the following conditions are met: + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Intel Corporation nor the names of its suppliers may + be used to endorse or promote products derived from this software without + specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software is + permitted. + + Limited patent license. + + Intel Corporation grants a world-wide, royalty-free, non-exclusive license + under patents it now or hereafter owns or controls to make, have made, use, + import, offer to sell and sell ("Utilize") this software, but solely to the + extent that any such patent is necessary to Utilize the software alone. The + patent license shall not apply to any combinations which include this software. + No hardware per se is licensed hereunder. + + DISCLAIMER. + + 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 OWNER 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. + - score: '95.0' + start_line: 3 + end_line: 37 + matcher: 2-aho + rule_length: 268 + matched_length: 268 + match_coverage: '100.0' + rule_relevance: 95 + identifier: intel_2.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. + + Redistribution and use in binary form, without modification, are permitted + provided that the following conditions are met: + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Intel Corporation nor the names of its suppliers may + be used to endorse or promote products derived from this software without + specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software is + permitted. + + Limited patent license. + + Intel Corporation grants a world-wide, royalty-free, non-exclusive license + under patents it now or hereafter owns or controls to make, have made, use, + import, offer to sell and sell ("Utilize") this software, but solely to the + extent that any such patent is necessary to Utilize the software alone. The + patent license shall not apply to any combinations which include this software. + No hardware per se is licensed hereunder. + + DISCLAIMER. + + 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 OWNER 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. + - score: '100.0' + start_line: 43 + end_line: 45 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: free-unknown_47.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: yes + matched_text: | + Each file may have its own copyright/license that is embedded in the source + file. Unless otherwise noted in the body of the source file(s), the following copyright + notices will apply to the contents of the newlib subdirectory: + - score: '100.0' + start_line: 51 + end_line: 60 + matcher: 2-aho + rule_length: 103 + matched_length: 103 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_newlib.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This copyrighted material is made available to anyone wishing to use, + modify, copy, or redistribute it subject to the terms and conditions + of the BSD License. This program is distributed in the hope that + it will be useful, but WITHOUT ANY WARRANTY expressed or implied, + including the implied warranties of MERCHANTABILITY or FITNESS FOR + A PARTICULAR PURPOSE. A copy of this license is available at + http://www.opensource.org/licenses. Any Red Hat trademarks that are + incorporated in the source code or documentation are not subject to + the BSD License and may only be used or replicated with the express + permission of Red Hat, Inc. + - score: '100.0' + start_line: 67 + end_line: 88 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_newlib3.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + * 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 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 OWNER 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. + - score: '100.0' + start_line: 96 + end_line: 105 + matcher: 2-aho + rule_length: 93 + matched_length: 93 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-lucent.RULE + license_expression: x11-lucent + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose without fee is hereby granted, provided that this entire notice + is included in all copies of any software which is or includes a copy + or modification of this software and in all copies of the supporting + documentation for such software. + + THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED + WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR AT&T MAKES ANY + REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY + OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. + - score: '100.0' + start_line: 114 + end_line: 131 + matcher: 2-aho + rule_length: 151 + matched_length: 151 + match_coverage: '100.0' + rule_relevance: 100 + identifier: standard-ml-nj_3.RULE + license_expression: standard-ml-nj + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appear in all + copies and that both that the copyright notice and this + permission notice and warranty disclaimer appear in supporting + documentation, and that the name of Lucent or any of its entities + not be used in advertising or publicity pertaining to + distribution of the software without specific, written prior + permission. + + LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. + IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY + SPECIAL, 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 + THIS SOFTWARE. + - score: '100.0' + start_line: 138 + end_line: 149 + matcher: 2-aho + rule_length: 98 + matched_length: 98 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical_1.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is the property of Advanced Micro Devices, Inc (AMD) which + specifically grants the user the right to modify, use and distribute this + software provided this notice is not removed or altered. All other rights + are reserved by AMD. + + AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS + SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL + DAMAGES IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR + USE OF THIS SOFTWARE. + + So that all may benefit from your experience, please report any problems + or suggestions about this software + - score: '100.0' + start_line: 168 + end_line: 170 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + Permission to use, copy, modify, and distribute this + software is freely granted, provided that this notice is preserved. + - score: '100.0' + start_line: 176 + end_line: 185 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: '191' + end_line: '198' + matcher: 2-aho + rule_length: 55 + matched_length: 55 + match_coverage: '100.0' + rule_relevance: 100 + identifier: nilsson-historical.LICENSE + license_expression: nilsson-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software is + freely granted, provided that the above copyright notice, this notice + and the following disclaimer are preserved with no changes. + + 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. + - score: '100.0' + start_line: 204 + end_line: 212 + matcher: 2-aho + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: newlib-historical.LICENSE + license_expression: newlib-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, provided + that existing copyright notices are retained in all copies and that this + notice is included verbatim in any distributions. No written agreement, + license, or royalty fee is required for any of the authorized uses. + Modifications to this software may be copyrighted by their authors + and need not follow the licensing terms described here, provided that + the new terms are clearly indicated on the first page of each file where + they apply. + - score: '100.0' + start_line: 219 + end_line: 239 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + - score: '95.0' + start_line: 245 + end_line: 256 + matcher: 2-aho + rule_length: 95 + matched_length: 95 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical4.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is the property of [SuperH], Inc ([SuperH]) which specifically + grants the user the right to modify, use and distribute this software + provided this notice is not removed or altered. All other rights are + reserved by [SuperH]. + + [SUPERH] MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO + THIS SOFTWARE. IN NO EVENT SHALL [SUPERH] BE LIABLE FOR INDIRECT, SPECIAL, + INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH OR ARISING FROM + THE FURNISHING, PERFORMANCE, OR USE OF THIS SOFTWARE. + + So that all may benefit from your experience, please report any problems + or suggestions about this software to the + - score: '100.0' + start_line: 271 + end_line: 296 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3. Neither the name of KTH 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 BY KTH AND ITS 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 KTH OR ITS 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. + - score: '100.0' + start_line: 303 + end_line: 322 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. + - score: '100.0' + start_line: 329 + end_line: 348 + matcher: 2-aho + rule_length: 181 + matched_length: 181 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_newlib3.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR ``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 REGENTS 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. + - score: '100.0' + start_line: 355 + end_line: 374 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. + - score: '85.71' + start_line: 378 + end_line: 391 + matcher: 3-seq + rule_length: 105 + matched_length: 90 + match_coverage: '85.71' + rule_relevance: 100 + identifier: x11-hanson_1.RULE + license_expression: x11-hanson + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Author: S. [L]. [Moshier]. + + [Copyright] ([c]) [1984],[2000] S.[L]. [Moshier] + + Permission to use, copy, modify, and distribute this software for any + purpose without fee is hereby granted, provided that this entire notice + is included in all copies of any software which is or includes a copy + or modification of this software and in all copies of the supporting + documentation for such software. + + THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED + WARRANTY. IN PARTICULAR, THE AUTHOR MAKES NO REPRESENTATION + OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS + SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. + - score: '100.0' + start_line: 398 + end_line: 417 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. + - score: '100.0' + start_line: 424 + end_line: 444 + matcher: 2-aho + rule_length: 200 + matched_length: 200 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_76.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. The name of the author 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 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 AUTHOR 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. + - score: '100.0' + start_line: 450 + end_line: 455 + matcher: 2-aho + rule_length: 45 + matched_length: 45 + match_coverage: '100.0' + rule_relevance: 100 + identifier: delorie-historical.LICENSE + license_expression: delorie-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution, modification, and use in source and binary forms is permitted + provided that the above copyright notice and following paragraph are + duplicated in all such forms. + + This file is distributed WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 465 + end_line: 487 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel-osl-1993.LICENSE + license_expression: intel-osl-1993 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Intel hereby grants you permission to copy, modify, and distribute this + software and its documentation. Intel grants this permission provided + that the above copyright notice appears in all copies and that both the + copyright notice and this permission notice appear in supporting + documentation. In addition, Intel grants this permission provided that + you prominently mark as "not part of the original" any modifications + made to this software or documentation, and that the name of Intel + Corporation not be used in advertising or publicity pertaining to + distribution of the software or the documentation without specific, + written prior permission. + + Intel Corporation provides this AS IS, WITHOUT ANY WARRANTY, EXPRESS OR + IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY + OR FITNESS FOR A PARTICULAR PURPOSE. Intel makes no guarantee or + representations regarding the use of, or the results of the use of, + the software and documentation in terms of correctness, accuracy, + reliability, currentness, or otherwise; and you rely on the software, + documentation and results solely at your own risk. + + IN NO EVENT SHALL INTEL BE LIABLE FOR ANY LOSS OF USE, LOSS OF BUSINESS, + LOSS OF PROFITS, INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES + OF ANY KIND. IN NO EVENT SHALL INTEL'S TOTAL LIABILITY EXCEED THE SUM + PAID TO INTEL FOR THE PRODUCT LICENSED HEREUNDER. + - score: '100.0' + start_line: 493 + end_line: 502 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: 511 + end_line: 530 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. + - score: '100.0' + start_line: 537 + end_line: 556 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. + - score: '100.0' + start_line: 565 + end_line: 584 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. + - score: '100.0' + start_line: 595 + end_line: 617 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_206.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + * Neither the names of the copyright holders nor the names of their + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. + + 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 OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 2-aho + rule_length: 179 + matched_length: 179 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_8.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR ``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 AUTHOR 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. + - score: '100.0' + start_line: 27 + end_line: 46 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. + - score: '100.0' + start_line: 53 + end_line: 72 + matcher: 2-aho + rule_length: 181 + matched_length: 181 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_newlib3.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR ``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 REGENTS 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. + - score: '100.0' + start_line: 79 + end_line: 98 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_newlib5.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 REGENTS 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. + - score: '100.0' + start_line: 105 + end_line: 124 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. + - score: '100.0' + start_line: 132 + end_line: 153 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_183.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. The name of the company may not be used to endorse or promote + products derived from this software without specific prior written + permission. + . + THIS SOFTWARE IS PROVIDED BY ARM LTD ``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 ARM LTD 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. + - score: '100.0' + start_line: 159 + end_line: 184 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_412.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + . + 1. Redistributions 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. + . + 3. Neither the name of Xilinx 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 BY THE COPYRIGHT HOLDER 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. + - score: '100.0' + start_line: '192' + end_line: 219 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_517.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + . + Neither the name of Texas Instruments Incorporated 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 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 + OWNER 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. + - score: '100.0' + start_line: 225 + end_line: 233 + matcher: 2-aho + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: newlib-historical.LICENSE + license_expression: newlib-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, provided + that existing copyright notices are retained in all copies and that this + notice is included verbatim in any distributions. No written agreement, + license, or royalty fee is required for any of the authorized uses. + Modifications to this software may be copyrighted by their authors + and need not follow the licensing terms described here, provided that + the new terms are clearly indicated on the first page of each file where + they apply. + - score: '100.0' + start_line: 240 + end_line: 260 + matcher: 2-aho + rule_length: 211 + matched_length: 211 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_979.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + * Neither the name of Adapteva 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 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. + - score: '100.0' + start_line: 267 + end_line: 290 + matcher: 2-aho + rule_length: 218 + matched_length: 218 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_410.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + o Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + o 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. + o Neither the name of Altera Corporation 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 BY ALTERA CORPORATION, THE COPYRIGHT HOLDER, + AND ITS 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. + - score: '100.0' + start_line: 297 + end_line: 316 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intel-sound.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intel-sound.copyright.expected.yml index 6dd8896224d..6e120f1b8f6 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intel-sound.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intel-sound.copyright.expected.yml @@ -1,12 +1,13 @@ -- None -- - Binary redistribution (Intel 1) +primary_license: None +declared_license: + - Binary redistribution (Intel 1) - Binary redistribution (Intel 2) - Binary redistribution (Intel 3) -- intel AND (intel AND free-unknown AND bsd-new AND x11-lucent AND standard-ml-nj AND amd-historical - AND sunpro AND osf-1990 AND nilsson-historical AND newlib-historical AND bsd-simplified AND - x11-hanson AND delorie-historical AND intel-osl-1993) AND (bsd-simplified AND bsd-new AND - newlib-historical) -- | +license_expression: intel AND (intel AND free-unknown AND bsd-new AND x11-lucent AND standard-ml-nj + AND amd-historical AND sunpro AND osf-1990 AND nilsson-historical AND newlib-historical AND + bsd-simplified AND x11-hanson AND delorie-historical AND intel-osl-1993) AND (bsd-simplified + AND bsd-new AND newlib-historical) +copyright: | 2014, Intel Corporation. 2014, Intel Corporation 1981-2000, The Regents of the University of California @@ -17,3 +18,1417 @@ 1993, Sun Microsystems, Inc. 1994-2014, Red Hat Inc. and other newlib contributors 1993, 2014-15, Intel Corporation +matches: + - score: '100.0' + start_line: 3 + end_line: 38 + matcher: 2-aho + rule_length: 295 + matched_length: 295 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel.LICENSE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Intel Corporation nor the names of its suppliers + may be used to endorse or promote products derived from this software + without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. Intel Corporation grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. 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 OWNER 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. + - score: '95.0' + start_line: 3 + end_line: 37 + matcher: 2-aho + rule_length: 268 + matched_length: 268 + match_coverage: '100.0' + rule_relevance: 95 + identifier: intel_2.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. + + Redistribution and use in binary form, without modification, are permitted + provided that the following conditions are met: + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Intel Corporation nor the names of its suppliers may + be used to endorse or promote products derived from this software without + specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software is + permitted. + + Limited patent license. + + Intel Corporation grants a world-wide, royalty-free, non-exclusive license + under patents it now or hereafter owns or controls to make, have made, use, + import, offer to sell and sell ("Utilize") this software, but solely to the + extent that any such patent is necessary to Utilize the software alone. The + patent license shall not apply to any combinations which include this software. + No hardware per se is licensed hereunder. + + DISCLAIMER. + + 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 OWNER 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. + - score: '95.0' + start_line: 3 + end_line: 37 + matcher: 2-aho + rule_length: 268 + matched_length: 268 + match_coverage: '100.0' + rule_relevance: 95 + identifier: intel_2.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. + + Redistribution and use in binary form, without modification, are permitted + provided that the following conditions are met: + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Intel Corporation nor the names of its suppliers may + be used to endorse or promote products derived from this software without + specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software is + permitted. + + Limited patent license. + + Intel Corporation grants a world-wide, royalty-free, non-exclusive license + under patents it now or hereafter owns or controls to make, have made, use, + import, offer to sell and sell ("Utilize") this software, but solely to the + extent that any such patent is necessary to Utilize the software alone. The + patent license shall not apply to any combinations which include this software. + No hardware per se is licensed hereunder. + + DISCLAIMER. + + 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 OWNER 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. + - score: '100.0' + start_line: 43 + end_line: 45 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: free-unknown_47.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: yes + matched_text: | + Each file may have its own copyright/license that is embedded in the source + file. Unless otherwise noted in the body of the source file(s), the following copyright + notices will apply to the contents of the newlib subdirectory: + - score: '100.0' + start_line: 51 + end_line: 60 + matcher: 2-aho + rule_length: 103 + matched_length: 103 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_newlib.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This copyrighted material is made available to anyone wishing to use, + modify, copy, or redistribute it subject to the terms and conditions + of the BSD License. This program is distributed in the hope that + it will be useful, but WITHOUT ANY WARRANTY expressed or implied, + including the implied warranties of MERCHANTABILITY or FITNESS FOR + A PARTICULAR PURPOSE. A copy of this license is available at + http://www.opensource.org/licenses. Any Red Hat trademarks that are + incorporated in the source code or documentation are not subject to + the BSD License and may only be used or replicated with the express + permission of Red Hat, Inc. + - score: '100.0' + start_line: 67 + end_line: 88 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_newlib3.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + * 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 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 OWNER 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. + - score: '100.0' + start_line: 96 + end_line: 105 + matcher: 2-aho + rule_length: 93 + matched_length: 93 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-lucent.RULE + license_expression: x11-lucent + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose without fee is hereby granted, provided that this entire notice + is included in all copies of any software which is or includes a copy + or modification of this software and in all copies of the supporting + documentation for such software. + + THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED + WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR AT&T MAKES ANY + REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY + OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. + - score: '100.0' + start_line: 114 + end_line: 131 + matcher: 2-aho + rule_length: 151 + matched_length: 151 + match_coverage: '100.0' + rule_relevance: 100 + identifier: standard-ml-nj_3.RULE + license_expression: standard-ml-nj + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appear in all + copies and that both that the copyright notice and this + permission notice and warranty disclaimer appear in supporting + documentation, and that the name of Lucent or any of its entities + not be used in advertising or publicity pertaining to + distribution of the software without specific, written prior + permission. + + LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. + IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY + SPECIAL, 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 + THIS SOFTWARE. + - score: '100.0' + start_line: 138 + end_line: 149 + matcher: 2-aho + rule_length: 98 + matched_length: 98 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical_1.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is the property of Advanced Micro Devices, Inc (AMD) which + specifically grants the user the right to modify, use and distribute this + software provided this notice is not removed or altered. All other rights + are reserved by AMD. + + AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS + SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL + DAMAGES IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR + USE OF THIS SOFTWARE. + + So that all may benefit from your experience, please report any problems + or suggestions about this software + - score: '100.0' + start_line: 168 + end_line: 170 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + Permission to use, copy, modify, and distribute this + software is freely granted, provided that this notice is preserved. + - score: '100.0' + start_line: 176 + end_line: 185 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: '191' + end_line: '198' + matcher: 2-aho + rule_length: 55 + matched_length: 55 + match_coverage: '100.0' + rule_relevance: 100 + identifier: nilsson-historical.LICENSE + license_expression: nilsson-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software is + freely granted, provided that the above copyright notice, this notice + and the following disclaimer are preserved with no changes. + + 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. + - score: '100.0' + start_line: 204 + end_line: 212 + matcher: 2-aho + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: newlib-historical.LICENSE + license_expression: newlib-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, provided + that existing copyright notices are retained in all copies and that this + notice is included verbatim in any distributions. No written agreement, + license, or royalty fee is required for any of the authorized uses. + Modifications to this software may be copyrighted by their authors + and need not follow the licensing terms described here, provided that + the new terms are clearly indicated on the first page of each file where + they apply. + - score: '100.0' + start_line: 219 + end_line: 239 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + - score: '95.0' + start_line: 245 + end_line: 256 + matcher: 2-aho + rule_length: 95 + matched_length: 95 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical4.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is the property of [SuperH], Inc ([SuperH]) which specifically + grants the user the right to modify, use and distribute this software + provided this notice is not removed or altered. All other rights are + reserved by [SuperH]. + + [SUPERH] MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO + THIS SOFTWARE. IN NO EVENT SHALL [SUPERH] BE LIABLE FOR INDIRECT, SPECIAL, + INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH OR ARISING FROM + THE FURNISHING, PERFORMANCE, OR USE OF THIS SOFTWARE. + + So that all may benefit from your experience, please report any problems + or suggestions about this software to the + - score: '100.0' + start_line: 271 + end_line: 296 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3. Neither the name of KTH 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 BY KTH AND ITS 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 KTH OR ITS 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. + - score: '100.0' + start_line: 303 + end_line: 322 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. + - score: '100.0' + start_line: 329 + end_line: 348 + matcher: 2-aho + rule_length: 181 + matched_length: 181 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_newlib3.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR ``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 REGENTS 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. + - score: '100.0' + start_line: 355 + end_line: 374 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. + - score: '85.71' + start_line: 378 + end_line: 391 + matcher: 3-seq + rule_length: 105 + matched_length: 90 + match_coverage: '85.71' + rule_relevance: 100 + identifier: x11-hanson_1.RULE + license_expression: x11-hanson + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Author: S. [L]. [Moshier]. + + [Copyright] ([c]) [1984],[2000] S.[L]. [Moshier] + + Permission to use, copy, modify, and distribute this software for any + purpose without fee is hereby granted, provided that this entire notice + is included in all copies of any software which is or includes a copy + or modification of this software and in all copies of the supporting + documentation for such software. + + THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED + WARRANTY. IN PARTICULAR, THE AUTHOR MAKES NO REPRESENTATION + OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS + SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. + - score: '100.0' + start_line: 398 + end_line: 417 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. + - score: '100.0' + start_line: 424 + end_line: 444 + matcher: 2-aho + rule_length: 200 + matched_length: 200 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_76.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. The name of the author 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 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 AUTHOR 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. + - score: '100.0' + start_line: 450 + end_line: 455 + matcher: 2-aho + rule_length: 45 + matched_length: 45 + match_coverage: '100.0' + rule_relevance: 100 + identifier: delorie-historical.LICENSE + license_expression: delorie-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution, modification, and use in source and binary forms is permitted + provided that the above copyright notice and following paragraph are + duplicated in all such forms. + + This file is distributed WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 465 + end_line: 487 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel-osl-1993.LICENSE + license_expression: intel-osl-1993 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Intel hereby grants you permission to copy, modify, and distribute this + software and its documentation. Intel grants this permission provided + that the above copyright notice appears in all copies and that both the + copyright notice and this permission notice appear in supporting + documentation. In addition, Intel grants this permission provided that + you prominently mark as "not part of the original" any modifications + made to this software or documentation, and that the name of Intel + Corporation not be used in advertising or publicity pertaining to + distribution of the software or the documentation without specific, + written prior permission. + + Intel Corporation provides this AS IS, WITHOUT ANY WARRANTY, EXPRESS OR + IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY + OR FITNESS FOR A PARTICULAR PURPOSE. Intel makes no guarantee or + representations regarding the use of, or the results of the use of, + the software and documentation in terms of correctness, accuracy, + reliability, currentness, or otherwise; and you rely on the software, + documentation and results solely at your own risk. + + IN NO EVENT SHALL INTEL BE LIABLE FOR ANY LOSS OF USE, LOSS OF BUSINESS, + LOSS OF PROFITS, INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES + OF ANY KIND. IN NO EVENT SHALL INTEL'S TOTAL LIABILITY EXCEED THE SUM + PAID TO INTEL FOR THE PRODUCT LICENSED HEREUNDER. + - score: '100.0' + start_line: 493 + end_line: 502 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: 511 + end_line: 530 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. + - score: '100.0' + start_line: 537 + end_line: 556 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. + - score: '100.0' + start_line: 565 + end_line: 584 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. + - score: '100.0' + start_line: 595 + end_line: 617 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_206.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + * Neither the names of the copyright holders nor the names of their + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. + + 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 OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 2-aho + rule_length: 179 + matched_length: 179 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_8.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR ``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 AUTHOR 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. + - score: '100.0' + start_line: 27 + end_line: 46 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. + - score: '100.0' + start_line: 53 + end_line: 72 + matcher: 2-aho + rule_length: 181 + matched_length: 181 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_newlib3.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR ``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 REGENTS 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. + - score: '100.0' + start_line: 79 + end_line: 98 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_newlib5.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 REGENTS 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. + - score: '100.0' + start_line: 105 + end_line: 124 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. + - score: '100.0' + start_line: 132 + end_line: 153 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_183.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. The name of the company may not be used to endorse or promote + products derived from this software without specific prior written + permission. + . + THIS SOFTWARE IS PROVIDED BY ARM LTD ``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 ARM LTD 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. + - score: '100.0' + start_line: 159 + end_line: 184 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_412.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + . + 1. Redistributions 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. + . + 3. Neither the name of Xilinx 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 BY THE COPYRIGHT HOLDER 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. + - score: '100.0' + start_line: '192' + end_line: 219 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_517.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + . + Neither the name of Texas Instruments Incorporated 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 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 + OWNER 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. + - score: '100.0' + start_line: 225 + end_line: 233 + matcher: 2-aho + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: newlib-historical.LICENSE + license_expression: newlib-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, provided + that existing copyright notices are retained in all copies and that this + notice is included verbatim in any distributions. No written agreement, + license, or royalty fee is required for any of the authorized uses. + Modifications to this software may be copyrighted by their authors + and need not follow the licensing terms described here, provided that + the new terms are clearly indicated on the first page of each file where + they apply. + - score: '100.0' + start_line: 240 + end_line: 260 + matcher: 2-aho + rule_length: 211 + matched_length: 211 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_979.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + * Neither the name of Adapteva 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 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. + - score: '100.0' + start_line: 267 + end_line: 290 + matcher: 2-aho + rule_length: 218 + matched_length: 218 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_410.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + o Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + o 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. + o Neither the name of Altera Corporation 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 BY ALTERA CORPORATION, THE COPYRIGHT HOLDER, + AND ITS 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. + - score: '100.0' + start_line: 297 + end_line: 316 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intelwimax.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intelwimax.copyright-detailed.expected.yml index fa6a2febd07..ef84dabf45b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intelwimax.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intelwimax.copyright-detailed.expected.yml @@ -1,4 +1,42 @@ -- -- -- intel -- Copyright (c) 2008, Intel Corporation +primary_license: +declared_license: +license_expression: intel +copyright: Copyright (c) 2008, Intel Corporation +matches: + - score: '95.0' + start_line: 8 + end_line: 46 + matcher: 2-aho + rule_length: 268 + matched_length: 268 + match_coverage: '100.0' + rule_relevance: 95 + identifier: intel_2.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution. \n \n Redistribution and use in binary form, without modification,\ + \ are\n permitted provided that the following conditions are met:\n \n * Redistributions\ + \ must reproduce the above copyright notice and the\n following disclaimer in the documentation\ + \ and/or other materials\n provided with the distribution.\n \n * Neither the name\ + \ of Intel Corporation nor the names of its\n suppliers may be used to endorse or promote\ + \ products derived from\n this software without specific prior written permission.\n\ + \ \n * No reverse engineering, decompilation, or disassembly of this\n software is\ + \ permitted.\n \n Limited patent license.\n \n Intel Corporation grants a world-wide,\ + \ royalty-free, non-exclusive\n license under patents it now or hereafter owns or controls\ + \ to make,\n have made, use, import, offer to sell and sell (“Utilize”) this\n software,\ + \ but solely to the extent that any such patent is necessary\n to Utilize the software\ + \ alone. The patent license shall not apply to\n any combinations which include this\ + \ software. No hardware per se is\n licensed hereunder.\n \n DISCLAIMER. \n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intelwimax.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intelwimax.copyright.expected.yml index fa6a2febd07..ef84dabf45b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intelwimax.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intelwimax.copyright.expected.yml @@ -1,4 +1,42 @@ -- -- -- intel -- Copyright (c) 2008, Intel Corporation +primary_license: +declared_license: +license_expression: intel +copyright: Copyright (c) 2008, Intel Corporation +matches: + - score: '95.0' + start_line: 8 + end_line: 46 + matcher: 2-aho + rule_length: 268 + matched_length: 268 + match_coverage: '100.0' + rule_relevance: 95 + identifier: intel_2.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution. \n \n Redistribution and use in binary form, without modification,\ + \ are\n permitted provided that the following conditions are met:\n \n * Redistributions\ + \ must reproduce the above copyright notice and the\n following disclaimer in the documentation\ + \ and/or other materials\n provided with the distribution.\n \n * Neither the name\ + \ of Intel Corporation nor the names of its\n suppliers may be used to endorse or promote\ + \ products derived from\n this software without specific prior written permission.\n\ + \ \n * No reverse engineering, decompilation, or disassembly of this\n software is\ + \ permitted.\n \n Limited patent license.\n \n Intel Corporation grants a world-wide,\ + \ royalty-free, non-exclusive\n license under patents it now or hereafter owns or controls\ + \ to make,\n have made, use, import, offer to sell and sell (“Utilize”) this\n software,\ + \ but solely to the extent that any such patent is necessary\n to Utilize the software\ + \ alone. The patent license shall not apply to\n any combinations which include this\ + \ software. No hardware per se is\n licensed hereunder.\n \n DISCLAIMER. \n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ipw2x00.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ipw2x00.copyright-detailed.expected.yml index dcaf969d7a3..bfccd8baf94 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ipw2x00.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ipw2x00.copyright-detailed.expected.yml @@ -1,4 +1,250 @@ -- -- -- proprietary-license -- Copyright 2003-2009 Intel Corporation +primary_license: +declared_license: +license_expression: proprietary-license +copyright: Copyright 2003-2009 Intel Corporation +matches: + - score: '100.0' + start_line: 7 + end_line: 332 + matcher: 2-aho + rule_length: 2958 + matched_length: 2958 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_521.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "TERMS AND CONDITIONS\n IMPORTANT - PLEASE READ BEFORE INSTALLING OR USING\ + \ THIS INTEL(C) SOFTWARE\n \n Do not use or load this firmware (the \"Software\") until\ + \ you have carefully read\n the following terms and conditions. By loading or using the\ + \ Software, you agree\n to the terms of this Agreement. If you do not wish to so agree,\ + \ do not install\n or use the Software.\n \n LICENSEES:\n \n Please note: \n \n * If you\ + \ are an End-User, only Exhibit A, the SOFTWARE LICENSE AGREEMENT,\n applies.\n * If\ + \ you are an Original Equipment Manufacturer (OEM), Independent Hardware\n Vendor (IHV),\ + \ or Independent Software Vendor (ISV), this complete Agreement\n applies \n - A part\ + \ of the license is for ipw 2100 firmware\n - Another part of the license is for ipw\ + \ 2200/2915 firmware\n \n \n ipw2100 firmware license For OEMs, IHVs, and ISVs:\n =================================================\n\ + \ \n LICENSE. This Software is licensed for use only in conjunction with Intel\n component\ + \ products. Use of the Software in conjunction with non-Intel component\n products is\ + \ not licensed hereunder. Subject to the terms of this Agreement,\n Intel grants to you\ + \ a nonexclusive, nontransferable, worldwide, fully paid-up\n license under Intel's copyrights\ + \ to: (i) copy the Software internally for your\n own development and maintenance purposes;\ + \ (ii) copy and distribute the Software\n to your end-users, but only under a license\ + \ agreement with terms at least as\n restrictive as those contained in Intel's Final,\ + \ Single User License Agreement,\n attached as Exhibit A; and (iii) modify, copy and distribute\ + \ the end-user\n documentation which may accompany the Software, but only in association\ + \ with\n the Software. \n \n If you are not the final manufacturer or vendor of a computer\ + \ system or software\n program incorporating the Software, then you may transfer a copy\ + \ of the\n Software, including any related documentation (modified or unmodified) to your\n\ + \ recipient for use in accordance with the terms of this Agreement, provided such\n recipient\ + \ agrees to be fully bound by the terms hereof. You shall not otherwise\n assign, sublicense,\ + \ lease, or in any other way transfer or disclose Software to\n any third party. You may\ + \ not, nor may you assist any other person or entity to\n modify, translate, convert to\ + \ another programming language, decompile, reverse\n engineer, or disassemble any portion\ + \ of the Software or otherwise attempt to\n derive source code from any object code modules\ + \ of the Software or any internal\n data files generated by the Software. Your rights\ + \ to redistribute the Software\n shall be contingent upon your installation of this Agreement\ + \ in its entirety in\n the same directory as the Software.\n \n CONFIDENTIALITY. If you\ + \ wish to have a third party consultant or subcontractor\n (\"Contractor\") perform work\ + \ on your behalf which involves access to or use of\n Software, you shall obtain a written\ + \ confidentiality agreement from the\n Contractor which contains provisions with respect\ + \ to access to or use of the\n Software no less restrictive than those set forth in this\ + \ Agreement and\n excluding any distribution rights, and use for any other purpose. Except\ + \ as \n expressly provided herein, you shall not disclose the terms or existence of \n\ + \ this Agreement or use Intel's name in any publications, advertisements, or \n other\ + \ announcements without Intel's prior written consent. You do not have any \n rights to\ + \ use any Intel trademarks or logos.\n \n OWNERSHIP OF SOFTWARE AND COPYRIGHTS. Software\ + \ and accompanying materials, if\n any, are owned by Intel or its suppliers and licensors\ + \ and may be protected by\n copyright, trademark, patent and trade secret law and international\ + \ treaties. \n Any rights, express or implied, in the intellectual property embodied in\ + \ the\n foregoing, other than those specified in this Agreement, are reserved by Intel\n\ + \ and its suppliers and licensors or otherwise as set forth in any applicable\n open source\ + \ license agreement. You will keep the Software free of liens,\n attachments, and other\ + \ encumbrances. You agree not to remove any proprietary\n notices and/or any labels from\ + \ the Software and accompanying materials without\n prior written approval by Intel\n\ + \ \n LIMITATION OF LIABILITY. IN NO EVENT SHALL INTEL OR ITS SUPPLIERS AND LICENSORS\n\ + \ BE LIABLE FOR ANY DAMAGES WHATSOEVER FROM ANY CAUSE OF ACTION OF ANY KIND\n (INCLUDING,\ + \ WITHOUT LIMITATION, LOST PROFITS, BUSINESS INTERRUPTION, OR LOST\n INFORMATION) ARISING\ + \ OUT OF THE USE, MODIFICATION, OR INABILITY TO USE THE\n INTEL SOFTWARE, OR OTHERWISE,\ + \ NOR FOR PUNITIVE, INCIDENTAL, CONSEQUENTIAL, OR\n SPECIAL DAMAGES OF ANY KIND, EVEN\ + \ IF INTEL OR ITS SUPPLIERS AND LICENSORS HAS\n BEEN ADVISED OF THE POSSIBILITY OF SUCH\ + \ DAMAGES. SOME JURISDICTIONS PROHIBIT\n EXCLUSION OR LIMITATION OF LIABILITY FOR IMPLIED\ + \ WARRANTIES, CONSEQUENTIAL OR\n INCIDENTAL DAMAGES, SO CERTAIN LIMITATIONS MAY NOT APPLY.\ + \ YOU MAY ALSO HAVE\n OTHER LEGAL RIGHTS THAT VARY BETWEEN JURISDICTIONS. \n \n EXCLUSION\ + \ OF WARRANTIES. THE SOFTWARE IS PROVIDED \"AS IS\" AND POSSIBLY WITH\n FAULTS. UNLESS\ + \ EXPRESSLY AGREED OTHERWISE, INTEL AND ITS SUPPLIERS AND\n LICENSORS DISCLAIM ANY AND\ + \ ALL WARRANTIES AND GUARANTEES, EXPRESS, IMPLIED OR\n OTHERWISE, INCLUDING BUT NOT LIMITED\ + \ TO THE WARRANTIES OF MERCHANTABILITY,\n NONINFRINGEMENT, OR FITNESS FOR A PARTICULAR\ + \ PURPOSE. Intel does not warrant\n or assume responsibility for the accuracy or completeness\ + \ of any information,\n text, graphics, links or other items contained within the Software.\ + \ You assume\n all liability, financial or otherwise, associated with Your use or disposition\n\ + \ of the Software.\n \t\t\n APPLICABLE LAW. Claims arising under this Agreement shall\ + \ be governed by the\n laws of State of California], excluding its principles of conflict\ + \ of laws and\n the United Nations Convention on Contracts for the Sale of Goods. \n\ + \ \n WAIVER AND AMENDMENT. No modification, amendment or waiver of any provision of\n\ + \ this Agreement shall be effective unless in writing and signed by an officer of\n Intel.\ + \ No failure or delay in exercising any right, power, or remedy under\n this Agreement\ + \ shall operate as a waiver of any such right, power or remedy. \n Without limiting the\ + \ foregoing, terms and conditions on any purchase orders or\n similar materials submitted\ + \ by you to Intel, and any terms contained in Intel\x92s\n standard acknowledgment form\ + \ that are in conflict with these terms, shall be of\n no force or effect.\n \n SEVERABILITY.\ + \ If any provision of this Agreement is held by a court of\n competent jurisdiction to\ + \ be contrary to law, such provision shall be changed\n and interpreted so as to best\ + \ accomplish the objectives of the original\n provision to the fullest extent allowed\ + \ by law and the remaining provisions of\n this Agreement shall remain in full force and\ + \ effect.\n \n EXPORT RESTRICTIONS. Each party acknowledges that the Software is subject\ + \ to\n applicable import and export regulations of the United States and of the\n countries\ + \ in which each party transacts business, specifically including U.S.\n Export Administration\ + \ Act and Export Administration Regulations. Each party\n shall comply with such laws\ + \ and regulations, as well as all other laws and\n regulations applicable to the Software.\ + \ Without limiting the generality of the\n foregoing, each party agrees that it will\ + \ not export, re-export, transfer or\n divert any of the Software or the direct programs\ + \ thereof to any restricted\n place or party in accordance with U.S. export regulations.\ + \ Note that Software\n containing encryption may be subject to additional restrictions.\n\ + \ \n GOVERNMENT RESTRICTED RIGHTS. The Software is provided with \"RESTRICTED RIGHTS.\"\ + \n Use, duplication, or disclosure by the Government is subject to restrictions as\n set\ + \ forth in FAR52.227-14 and DFAR252.227-7013 et seq. or their successors. Use\n of the\ + \ Software by the Government constitutes acknowledgment of Intel's\n proprietary rights\ + \ therein. Contractor or Manufacturer is Intel Corporation,\n 2200 Mission College Blvd.,\ + \ Santa Clara, CA 95052.\n \n TERMINATION OF THE AGREEMENT. Intel may terminate this\ + \ Agreement if you violate\n its terms. Upon termination, you will immediately destroy\ + \ the Software or\n return all copies of the Software to Intel.\n --------------------------------------------------------------------------------\n\ + \ \n \n ipw 2200, 2915 firmware license For OEMs, IHVs, and ISVs:\n =========================================================\n\ + \ \n LICENSE. This Software is licensed for use only in conjunction with Intel\n component\ + \ products. Use of the Software in conjunction with non-Intel component\n products is\ + \ not licensed hereunder. Subject to the terms of this Agreement,\n Intel grants to you\ + \ a nonexclusive, nontransferable, worldwide, fully paid-up\n license under Intel's copyrights\ + \ to: (i) copy the Software internally for your\n own development and maintenance purposes;\ + \ (ii) copy and distribute the Software\n to your end-users, but only under a license\ + \ agreement with terms at least as\n restrictive as those contained in Intel's Final,\ + \ Single User License Agreement,\n attached as Exhibit A; and (iii) modify, copy and distribute\ + \ the end-user\n documentation which may accompany the Software, but only in association\ + \ with\n the Software. \n \n If you are not the final manufacturer or vendor of a computer\ + \ system or software\n program incorporating the Software, then you may transfer a copy\ + \ of the\n Software, including any related documentation (modified or unmodified) to your\n\ + \ recipient for use in accordance with the terms of this Agreement, provided such\n recipient\ + \ agrees to be fully bound by the terms hereof. You shall not otherwise\n assign, sublicense,\ + \ lease, or in any other way transfer or disclose Software to\n any third party. You may\ + \ not, nor may you assist any other person or entity to\n modify, translate, convert to\ + \ another programming language, decompile, reverse\n engineer, or disassemble any portion\ + \ of the Software or otherwise attempt to\n derive source code from any object code modules\ + \ of the Software or any internal\n data files generated by the Software. Your rights\ + \ to redistribute the Software\n shall be contingent upon your installation of this Agreement\ + \ in its entirety in\n the same directory as the Software.\n \n CONTRACTORS. For the purpose\ + \ of this Agreement, and notwithstanding anything \n to the contrary hereunder, solely\ + \ with respect to the requirements for \n compliance with the terms hereunder, any contractors\ + \ or consultants that You \n use to perform the work or otherwise assist You in the development\ + \ or products \n using this Software shall be deemed to be End Users and accordingly,\ + \ upon \n receipt of the Software, shall be bound by the terms of Exhibit A, Software\ + \ \n License Agreement. No additional agreement between You and such consultants or \n\ + \ contractors is required under this Agreement to detail such compliance.\n \n TRADEMARKS.\ + \ Except as expressly provided herein, you shall not use Intel's \n name in any publications,\ + \ advertisements, or other announcements without \n Intel's prior written consent. You\ + \ do not have any rights to use any Intel \n trademarks or logos.\n \n OWNERSHIP OF SOFTWARE\ + \ AND COPYRIGHTS. Software and accompanying materials, if\n any, are owned by Intel or\ + \ its suppliers and licensors and may be protected by\n copyright, trademark, patent and\ + \ trade secret law and international treaties. \n Any rights, express or implied, in the\ + \ intellectual property embodied in the\n foregoing, other than those specified in this\ + \ Agreement, are reserved by Intel\n and its suppliers and licensors or otherwise as set\ + \ forth in any applicable\n open source license agreement. You will keep the Software\ + \ free of liens,\n attachments, and other encumbrances. You agree not to remove any proprietary\n\ + \ notices and/or any labels from the Software and accompanying materials without\n prior\ + \ written approval by Intel\n \n LIMITATION OF LIABILITY. IN NO EVENT SHALL INTEL OR ITS\ + \ SUPPLIERS AND LICENSORS\n BE LIABLE FOR ANY DAMAGES WHATSOEVER FROM ANY CAUSE OF ACTION\ + \ OF ANY KIND\n (INCLUDING, WITHOUT LIMITATION, LOST PROFITS, BUSINESS INTERRUPTION, OR\ + \ LOST\n INFORMATION) ARISING OUT OF THE USE, MODIFICATION, OR INABILITY TO USE THE\n\ + \ INTEL SOFTWARE, OR OTHERWISE, NOR FOR PUNITIVE, INCIDENTAL, CONSEQUENTIAL, OR\n SPECIAL\ + \ DAMAGES OF ANY KIND, EVEN IF INTEL OR ITS SUPPLIERS AND LICENSORS HAS\n BEEN ADVISED\ + \ OF THE POSSIBILITY OF SUCH DAMAGES. SOME JURISDICTIONS PROHIBIT\n EXCLUSION OR LIMITATION\ + \ OF LIABILITY FOR IMPLIED WARRANTIES, CONSEQUENTIAL OR\n INCIDENTAL DAMAGES, SO CERTAIN\ + \ LIMITATIONS MAY NOT APPLY. YOU MAY ALSO HAVE\n OTHER LEGAL RIGHTS THAT VARY BETWEEN\ + \ JURISDICTIONS. \n \n EXCLUSION OF WARRANTIES. THE SOFTWARE IS PROVIDED \"AS IS\" AND\ + \ POSSIBLY WITH\n FAULTS. UNLESS EXPRESSLY AGREED OTHERWISE, INTEL AND ITS SUPPLIERS AND\n\ + \ LICENSORS DISCLAIM ANY AND ALL WARRANTIES AND GUARANTEES, EXPRESS, IMPLIED OR\n OTHERWISE,\ + \ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n NONINFRINGEMENT, OR\ + \ FITNESS FOR A PARTICULAR PURPOSE. Intel does not warrant\n or assume responsibility\ + \ for the accuracy or completeness of any information,\n text, graphics, links or other\ + \ items contained within the Software. You assume\n all liability, financial or otherwise,\ + \ associated with Your use or disposition\n of the Software.\n \t\t\n APPLICABLE LAW.\ + \ Claims arising under this Agreement shall be governed by the\n laws of State of California],\ + \ excluding its principles of conflict of laws and\n the United Nations Convention on\ + \ Contracts for the Sale of Goods. \n \n WAIVER AND AMENDMENT. No modification, amendment\ + \ or waiver of any provision of\n this Agreement shall be effective unless in writing\ + \ and signed by an officer of\n Intel. No failure or delay in exercising any right, power,\ + \ or remedy under\n this Agreement shall operate as a waiver of any such right, power\ + \ or remedy. \n Without limiting the foregoing, terms and conditions on any purchase orders\ + \ or\n similar materials submitted by you to Intel, and any terms contained in Intel\x92\ + s\n standard acknowledgment form that are in conflict with these terms, shall be of\n\ + \ no force or effect.\n \n SEVERABILITY. If any provision of this Agreement is held by\ + \ a court of\n competent jurisdiction to be contrary to law, such provision shall be changed\n\ + \ and interpreted so as to best accomplish the objectives of the original\n provision\ + \ to the fullest extent allowed by law and the remaining provisions of\n this Agreement\ + \ shall remain in full force and effect.\n \n EXPORT RESTRICTIONS. Each party acknowledges\ + \ that the Software is subject to\n applicable import and export regulations of the United\ + \ States and of the\n countries in which each party transacts business, specifically including\ + \ U.S.\n Export Administration Act and Export Administration Regulations. Each party\n\ + \ shall comply with such laws and regulations, as well as all other laws and\n regulations\ + \ applicable to the Software. Without limiting the generality of the\n foregoing, each\ + \ party agrees that it will not export, re-export, transfer or\n divert any of the Software\ + \ or the direct programs thereof to any restricted\n place or party in accordance with\ + \ U.S. export regulations. Note that Software\n containing encryption may be subject\ + \ to additional restrictions.\n \n GOVERNMENT RESTRICTED RIGHTS. The Software is provided\ + \ with \"RESTRICTED RIGHTS.\"\n Use, duplication, or disclosure by the Government is subject\ + \ to restrictions as\n set forth in FAR52.227-14 and DFAR252.227-7013 et seq. or their\ + \ successors. Use\n of the Software by the Government constitutes acknowledgment of Intel's\n\ + \ proprietary rights therein. Contractor or Manufacturer is Intel Corporation,\n 2200\ + \ Mission College Blvd., Santa Clara, CA 95052.\n \n TERMINATION OF THE AGREEMENT. Intel\ + \ may terminate this Agreement if you violate\n its terms. Upon termination, you will\ + \ immediately destroy the Software or\n return all copies of the Software to Intel.\n\ + \ --------------------------------------------------------------------------------\n \n\ + \ \n ipw 2100, 2200 and 2915 SOFTWARE LICENSE AGREEMENT (Final, Single User)\n =======================================================================\n\ + \ \n \n EXHIBIT \"A\"\n \n SOFTWARE LICENSE AGREEMENT (Final, Single User)\n \n IMPORTANT\ + \ - READ BEFORE COPYING, INSTALLING OR USING.\n \n Do not use or load this firmware image\ + \ (the \"Software\") until you have carefully\n read the following terms and conditions.\ + \ By loading or using the Software, you\n agree to the terms of this Agreement. If you\ + \ do not wish to so agree, do not\n install or use the Software.\n \n LICENSE. You may\ + \ copy and use the Software, subject to these conditions: \n 1. This Software is licensed\ + \ for use only in conjunction with Intel component\n products. Use of the Software\ + \ in conjunction with non-Intel component \n products is not licensed hereunder. \n\ + \ 2. You may not copy, modify, rent, sell, distribute or transfer any part of the\n \ + \ Software except as provided in this Agreement, and you agree to prevent\n unauthorized\ + \ copying of the Software. \n 3. You may not reverse engineer, decompile, or disassemble\ + \ the Software. \n 4. You may not sublicense the Software. \n 5. The Software may contain\ + \ the software or other property of third party\n suppliers. \n \n OWNERSHIP OF SOFTWARE\ + \ AND COPYRIGHTS. Title to all copies of the Software\n remains with Intel or its suppliers.\ + \ The Software is copyrighted and protected\n by the laws of the United States and other\ + \ countries, and international treaty\n provisions. You may not remove any copyright notices\ + \ from the Software. Intel\n may make changes to the Software, or items referenced therein,\ + \ at any time\n without notice, but is not obligated to support or update the Software.\ + \ Except\n as otherwise expressly provided, Intel grants no express or implied right under\n\ + \ Intel patents, copyrights, trademarks, or other intellectual property rights.\n You\ + \ may transfer the Software only if a copy of this license accompanies the \n Software\ + \ and the recipient agrees to be fully bound by these terms.\n \n EXCLUSION OF OTHER WARRANTIES\ + \ EXCEPT AS PROVIDED ABOVE, THE SOFTWARE IS PROVIDED\n \"AS IS\" WITHOUT ANY EXPRESS OR\ + \ IMPLIED WARRANTY OF ANY KIND INCLUDING\n WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT,\ + \ OR FITNESS FOR A PARTICULAR\n PURPOSE. Intel does not warrant or assume responsibility\ + \ for the accuracy or\n completeness of any information, text, graphics, links or other\ + \ items contained\n within the Software.\n \n LIMITATION OF LIABILITY. IN NO EVENT SHALL\ + \ INTEL OR ITS SUPPLIERS BE LIABLE FOR\n ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION,\ + \ LOST PROFITS, BUSINESS\n INTERRUPTION, OR LOST INFORMATION) ARISING OUT OF THE USE OF\ + \ OR INABILITY TO\n USE THE SOFTWARE, EVEN IF INTEL HAS BEEN ADVISED OF THE POSSIBILITY\ + \ OF SUCH\n DAMAGES. SOME JURISDICTIONS PROHIBIT EXCLUSION OR LIMITATION OF LIABILITY\ + \ FOR\n IMPLIED WARRANTIES OR CONSEQUENTIAL OR INCIDENTAL DAMAGES, SO THE ABOVE\n LIMITATION\ + \ MAY NOT APPLY TO YOU. YOU MAY ALSO HAVE OTHER LEGAL RIGHTS THAT VARY\n BETWEEN JURISDICTIONS.\n\ + \ \n TERMINATION OF THIS AGREEMENT. Intel may terminate this Agreement at any time if\n\ + \ you violate its terms. Upon termination, you will immediately destroy the\n Software.\n\ + \ \n APPLICABLE LAWS. Claims arising under this Agreement shall be governed by the\n laws\ + \ of California, excluding its principles of conflict of laws and the United\n Nations\ + \ Convention on Contracts for the Sale of Goods. You may not export the\n Software in\ + \ violation of applicable export laws and regulations. Intel is not\n obligated under\ + \ any other agreements unless they are in writing and signed by\n an authorized representative\ + \ \n of Intel.\n \n GOVERNMENT RESTRICTED RIGHTS. The Software is provided with \"RESTRICTED\ + \ RIGHTS.\"\n Use, duplication, or disclosure by the Government is subject to restrictions\ + \ as\n set forth in FAR52.227-14 and DFAR252.227-7013 et seq. or their successors. Use\n\ + \ of the Software by the Government constitutes acknowledgment of Intel's\n proprietary\ + \ rights therein. Contractor or Manufacturer is Intel Corporation,\n 2200 Mission College\ + \ Blvd., Santa Clara, CA 95052." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ipw2x00.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ipw2x00.copyright.expected.yml index dcaf969d7a3..bfccd8baf94 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ipw2x00.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ipw2x00.copyright.expected.yml @@ -1,4 +1,250 @@ -- -- -- proprietary-license -- Copyright 2003-2009 Intel Corporation +primary_license: +declared_license: +license_expression: proprietary-license +copyright: Copyright 2003-2009 Intel Corporation +matches: + - score: '100.0' + start_line: 7 + end_line: 332 + matcher: 2-aho + rule_length: 2958 + matched_length: 2958 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_521.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "TERMS AND CONDITIONS\n IMPORTANT - PLEASE READ BEFORE INSTALLING OR USING\ + \ THIS INTEL(C) SOFTWARE\n \n Do not use or load this firmware (the \"Software\") until\ + \ you have carefully read\n the following terms and conditions. By loading or using the\ + \ Software, you agree\n to the terms of this Agreement. If you do not wish to so agree,\ + \ do not install\n or use the Software.\n \n LICENSEES:\n \n Please note: \n \n * If you\ + \ are an End-User, only Exhibit A, the SOFTWARE LICENSE AGREEMENT,\n applies.\n * If\ + \ you are an Original Equipment Manufacturer (OEM), Independent Hardware\n Vendor (IHV),\ + \ or Independent Software Vendor (ISV), this complete Agreement\n applies \n - A part\ + \ of the license is for ipw 2100 firmware\n - Another part of the license is for ipw\ + \ 2200/2915 firmware\n \n \n ipw2100 firmware license For OEMs, IHVs, and ISVs:\n =================================================\n\ + \ \n LICENSE. This Software is licensed for use only in conjunction with Intel\n component\ + \ products. Use of the Software in conjunction with non-Intel component\n products is\ + \ not licensed hereunder. Subject to the terms of this Agreement,\n Intel grants to you\ + \ a nonexclusive, nontransferable, worldwide, fully paid-up\n license under Intel's copyrights\ + \ to: (i) copy the Software internally for your\n own development and maintenance purposes;\ + \ (ii) copy and distribute the Software\n to your end-users, but only under a license\ + \ agreement with terms at least as\n restrictive as those contained in Intel's Final,\ + \ Single User License Agreement,\n attached as Exhibit A; and (iii) modify, copy and distribute\ + \ the end-user\n documentation which may accompany the Software, but only in association\ + \ with\n the Software. \n \n If you are not the final manufacturer or vendor of a computer\ + \ system or software\n program incorporating the Software, then you may transfer a copy\ + \ of the\n Software, including any related documentation (modified or unmodified) to your\n\ + \ recipient for use in accordance with the terms of this Agreement, provided such\n recipient\ + \ agrees to be fully bound by the terms hereof. You shall not otherwise\n assign, sublicense,\ + \ lease, or in any other way transfer or disclose Software to\n any third party. You may\ + \ not, nor may you assist any other person or entity to\n modify, translate, convert to\ + \ another programming language, decompile, reverse\n engineer, or disassemble any portion\ + \ of the Software or otherwise attempt to\n derive source code from any object code modules\ + \ of the Software or any internal\n data files generated by the Software. Your rights\ + \ to redistribute the Software\n shall be contingent upon your installation of this Agreement\ + \ in its entirety in\n the same directory as the Software.\n \n CONFIDENTIALITY. If you\ + \ wish to have a third party consultant or subcontractor\n (\"Contractor\") perform work\ + \ on your behalf which involves access to or use of\n Software, you shall obtain a written\ + \ confidentiality agreement from the\n Contractor which contains provisions with respect\ + \ to access to or use of the\n Software no less restrictive than those set forth in this\ + \ Agreement and\n excluding any distribution rights, and use for any other purpose. Except\ + \ as \n expressly provided herein, you shall not disclose the terms or existence of \n\ + \ this Agreement or use Intel's name in any publications, advertisements, or \n other\ + \ announcements without Intel's prior written consent. You do not have any \n rights to\ + \ use any Intel trademarks or logos.\n \n OWNERSHIP OF SOFTWARE AND COPYRIGHTS. Software\ + \ and accompanying materials, if\n any, are owned by Intel or its suppliers and licensors\ + \ and may be protected by\n copyright, trademark, patent and trade secret law and international\ + \ treaties. \n Any rights, express or implied, in the intellectual property embodied in\ + \ the\n foregoing, other than those specified in this Agreement, are reserved by Intel\n\ + \ and its suppliers and licensors or otherwise as set forth in any applicable\n open source\ + \ license agreement. You will keep the Software free of liens,\n attachments, and other\ + \ encumbrances. You agree not to remove any proprietary\n notices and/or any labels from\ + \ the Software and accompanying materials without\n prior written approval by Intel\n\ + \ \n LIMITATION OF LIABILITY. IN NO EVENT SHALL INTEL OR ITS SUPPLIERS AND LICENSORS\n\ + \ BE LIABLE FOR ANY DAMAGES WHATSOEVER FROM ANY CAUSE OF ACTION OF ANY KIND\n (INCLUDING,\ + \ WITHOUT LIMITATION, LOST PROFITS, BUSINESS INTERRUPTION, OR LOST\n INFORMATION) ARISING\ + \ OUT OF THE USE, MODIFICATION, OR INABILITY TO USE THE\n INTEL SOFTWARE, OR OTHERWISE,\ + \ NOR FOR PUNITIVE, INCIDENTAL, CONSEQUENTIAL, OR\n SPECIAL DAMAGES OF ANY KIND, EVEN\ + \ IF INTEL OR ITS SUPPLIERS AND LICENSORS HAS\n BEEN ADVISED OF THE POSSIBILITY OF SUCH\ + \ DAMAGES. SOME JURISDICTIONS PROHIBIT\n EXCLUSION OR LIMITATION OF LIABILITY FOR IMPLIED\ + \ WARRANTIES, CONSEQUENTIAL OR\n INCIDENTAL DAMAGES, SO CERTAIN LIMITATIONS MAY NOT APPLY.\ + \ YOU MAY ALSO HAVE\n OTHER LEGAL RIGHTS THAT VARY BETWEEN JURISDICTIONS. \n \n EXCLUSION\ + \ OF WARRANTIES. THE SOFTWARE IS PROVIDED \"AS IS\" AND POSSIBLY WITH\n FAULTS. UNLESS\ + \ EXPRESSLY AGREED OTHERWISE, INTEL AND ITS SUPPLIERS AND\n LICENSORS DISCLAIM ANY AND\ + \ ALL WARRANTIES AND GUARANTEES, EXPRESS, IMPLIED OR\n OTHERWISE, INCLUDING BUT NOT LIMITED\ + \ TO THE WARRANTIES OF MERCHANTABILITY,\n NONINFRINGEMENT, OR FITNESS FOR A PARTICULAR\ + \ PURPOSE. Intel does not warrant\n or assume responsibility for the accuracy or completeness\ + \ of any information,\n text, graphics, links or other items contained within the Software.\ + \ You assume\n all liability, financial or otherwise, associated with Your use or disposition\n\ + \ of the Software.\n \t\t\n APPLICABLE LAW. Claims arising under this Agreement shall\ + \ be governed by the\n laws of State of California], excluding its principles of conflict\ + \ of laws and\n the United Nations Convention on Contracts for the Sale of Goods. \n\ + \ \n WAIVER AND AMENDMENT. No modification, amendment or waiver of any provision of\n\ + \ this Agreement shall be effective unless in writing and signed by an officer of\n Intel.\ + \ No failure or delay in exercising any right, power, or remedy under\n this Agreement\ + \ shall operate as a waiver of any such right, power or remedy. \n Without limiting the\ + \ foregoing, terms and conditions on any purchase orders or\n similar materials submitted\ + \ by you to Intel, and any terms contained in Intel\x92s\n standard acknowledgment form\ + \ that are in conflict with these terms, shall be of\n no force or effect.\n \n SEVERABILITY.\ + \ If any provision of this Agreement is held by a court of\n competent jurisdiction to\ + \ be contrary to law, such provision shall be changed\n and interpreted so as to best\ + \ accomplish the objectives of the original\n provision to the fullest extent allowed\ + \ by law and the remaining provisions of\n this Agreement shall remain in full force and\ + \ effect.\n \n EXPORT RESTRICTIONS. Each party acknowledges that the Software is subject\ + \ to\n applicable import and export regulations of the United States and of the\n countries\ + \ in which each party transacts business, specifically including U.S.\n Export Administration\ + \ Act and Export Administration Regulations. Each party\n shall comply with such laws\ + \ and regulations, as well as all other laws and\n regulations applicable to the Software.\ + \ Without limiting the generality of the\n foregoing, each party agrees that it will\ + \ not export, re-export, transfer or\n divert any of the Software or the direct programs\ + \ thereof to any restricted\n place or party in accordance with U.S. export regulations.\ + \ Note that Software\n containing encryption may be subject to additional restrictions.\n\ + \ \n GOVERNMENT RESTRICTED RIGHTS. The Software is provided with \"RESTRICTED RIGHTS.\"\ + \n Use, duplication, or disclosure by the Government is subject to restrictions as\n set\ + \ forth in FAR52.227-14 and DFAR252.227-7013 et seq. or their successors. Use\n of the\ + \ Software by the Government constitutes acknowledgment of Intel's\n proprietary rights\ + \ therein. Contractor or Manufacturer is Intel Corporation,\n 2200 Mission College Blvd.,\ + \ Santa Clara, CA 95052.\n \n TERMINATION OF THE AGREEMENT. Intel may terminate this\ + \ Agreement if you violate\n its terms. Upon termination, you will immediately destroy\ + \ the Software or\n return all copies of the Software to Intel.\n --------------------------------------------------------------------------------\n\ + \ \n \n ipw 2200, 2915 firmware license For OEMs, IHVs, and ISVs:\n =========================================================\n\ + \ \n LICENSE. This Software is licensed for use only in conjunction with Intel\n component\ + \ products. Use of the Software in conjunction with non-Intel component\n products is\ + \ not licensed hereunder. Subject to the terms of this Agreement,\n Intel grants to you\ + \ a nonexclusive, nontransferable, worldwide, fully paid-up\n license under Intel's copyrights\ + \ to: (i) copy the Software internally for your\n own development and maintenance purposes;\ + \ (ii) copy and distribute the Software\n to your end-users, but only under a license\ + \ agreement with terms at least as\n restrictive as those contained in Intel's Final,\ + \ Single User License Agreement,\n attached as Exhibit A; and (iii) modify, copy and distribute\ + \ the end-user\n documentation which may accompany the Software, but only in association\ + \ with\n the Software. \n \n If you are not the final manufacturer or vendor of a computer\ + \ system or software\n program incorporating the Software, then you may transfer a copy\ + \ of the\n Software, including any related documentation (modified or unmodified) to your\n\ + \ recipient for use in accordance with the terms of this Agreement, provided such\n recipient\ + \ agrees to be fully bound by the terms hereof. You shall not otherwise\n assign, sublicense,\ + \ lease, or in any other way transfer or disclose Software to\n any third party. You may\ + \ not, nor may you assist any other person or entity to\n modify, translate, convert to\ + \ another programming language, decompile, reverse\n engineer, or disassemble any portion\ + \ of the Software or otherwise attempt to\n derive source code from any object code modules\ + \ of the Software or any internal\n data files generated by the Software. Your rights\ + \ to redistribute the Software\n shall be contingent upon your installation of this Agreement\ + \ in its entirety in\n the same directory as the Software.\n \n CONTRACTORS. For the purpose\ + \ of this Agreement, and notwithstanding anything \n to the contrary hereunder, solely\ + \ with respect to the requirements for \n compliance with the terms hereunder, any contractors\ + \ or consultants that You \n use to perform the work or otherwise assist You in the development\ + \ or products \n using this Software shall be deemed to be End Users and accordingly,\ + \ upon \n receipt of the Software, shall be bound by the terms of Exhibit A, Software\ + \ \n License Agreement. No additional agreement between You and such consultants or \n\ + \ contractors is required under this Agreement to detail such compliance.\n \n TRADEMARKS.\ + \ Except as expressly provided herein, you shall not use Intel's \n name in any publications,\ + \ advertisements, or other announcements without \n Intel's prior written consent. You\ + \ do not have any rights to use any Intel \n trademarks or logos.\n \n OWNERSHIP OF SOFTWARE\ + \ AND COPYRIGHTS. Software and accompanying materials, if\n any, are owned by Intel or\ + \ its suppliers and licensors and may be protected by\n copyright, trademark, patent and\ + \ trade secret law and international treaties. \n Any rights, express or implied, in the\ + \ intellectual property embodied in the\n foregoing, other than those specified in this\ + \ Agreement, are reserved by Intel\n and its suppliers and licensors or otherwise as set\ + \ forth in any applicable\n open source license agreement. You will keep the Software\ + \ free of liens,\n attachments, and other encumbrances. You agree not to remove any proprietary\n\ + \ notices and/or any labels from the Software and accompanying materials without\n prior\ + \ written approval by Intel\n \n LIMITATION OF LIABILITY. IN NO EVENT SHALL INTEL OR ITS\ + \ SUPPLIERS AND LICENSORS\n BE LIABLE FOR ANY DAMAGES WHATSOEVER FROM ANY CAUSE OF ACTION\ + \ OF ANY KIND\n (INCLUDING, WITHOUT LIMITATION, LOST PROFITS, BUSINESS INTERRUPTION, OR\ + \ LOST\n INFORMATION) ARISING OUT OF THE USE, MODIFICATION, OR INABILITY TO USE THE\n\ + \ INTEL SOFTWARE, OR OTHERWISE, NOR FOR PUNITIVE, INCIDENTAL, CONSEQUENTIAL, OR\n SPECIAL\ + \ DAMAGES OF ANY KIND, EVEN IF INTEL OR ITS SUPPLIERS AND LICENSORS HAS\n BEEN ADVISED\ + \ OF THE POSSIBILITY OF SUCH DAMAGES. SOME JURISDICTIONS PROHIBIT\n EXCLUSION OR LIMITATION\ + \ OF LIABILITY FOR IMPLIED WARRANTIES, CONSEQUENTIAL OR\n INCIDENTAL DAMAGES, SO CERTAIN\ + \ LIMITATIONS MAY NOT APPLY. YOU MAY ALSO HAVE\n OTHER LEGAL RIGHTS THAT VARY BETWEEN\ + \ JURISDICTIONS. \n \n EXCLUSION OF WARRANTIES. THE SOFTWARE IS PROVIDED \"AS IS\" AND\ + \ POSSIBLY WITH\n FAULTS. UNLESS EXPRESSLY AGREED OTHERWISE, INTEL AND ITS SUPPLIERS AND\n\ + \ LICENSORS DISCLAIM ANY AND ALL WARRANTIES AND GUARANTEES, EXPRESS, IMPLIED OR\n OTHERWISE,\ + \ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n NONINFRINGEMENT, OR\ + \ FITNESS FOR A PARTICULAR PURPOSE. Intel does not warrant\n or assume responsibility\ + \ for the accuracy or completeness of any information,\n text, graphics, links or other\ + \ items contained within the Software. You assume\n all liability, financial or otherwise,\ + \ associated with Your use or disposition\n of the Software.\n \t\t\n APPLICABLE LAW.\ + \ Claims arising under this Agreement shall be governed by the\n laws of State of California],\ + \ excluding its principles of conflict of laws and\n the United Nations Convention on\ + \ Contracts for the Sale of Goods. \n \n WAIVER AND AMENDMENT. No modification, amendment\ + \ or waiver of any provision of\n this Agreement shall be effective unless in writing\ + \ and signed by an officer of\n Intel. No failure or delay in exercising any right, power,\ + \ or remedy under\n this Agreement shall operate as a waiver of any such right, power\ + \ or remedy. \n Without limiting the foregoing, terms and conditions on any purchase orders\ + \ or\n similar materials submitted by you to Intel, and any terms contained in Intel\x92\ + s\n standard acknowledgment form that are in conflict with these terms, shall be of\n\ + \ no force or effect.\n \n SEVERABILITY. If any provision of this Agreement is held by\ + \ a court of\n competent jurisdiction to be contrary to law, such provision shall be changed\n\ + \ and interpreted so as to best accomplish the objectives of the original\n provision\ + \ to the fullest extent allowed by law and the remaining provisions of\n this Agreement\ + \ shall remain in full force and effect.\n \n EXPORT RESTRICTIONS. Each party acknowledges\ + \ that the Software is subject to\n applicable import and export regulations of the United\ + \ States and of the\n countries in which each party transacts business, specifically including\ + \ U.S.\n Export Administration Act and Export Administration Regulations. Each party\n\ + \ shall comply with such laws and regulations, as well as all other laws and\n regulations\ + \ applicable to the Software. Without limiting the generality of the\n foregoing, each\ + \ party agrees that it will not export, re-export, transfer or\n divert any of the Software\ + \ or the direct programs thereof to any restricted\n place or party in accordance with\ + \ U.S. export regulations. Note that Software\n containing encryption may be subject\ + \ to additional restrictions.\n \n GOVERNMENT RESTRICTED RIGHTS. The Software is provided\ + \ with \"RESTRICTED RIGHTS.\"\n Use, duplication, or disclosure by the Government is subject\ + \ to restrictions as\n set forth in FAR52.227-14 and DFAR252.227-7013 et seq. or their\ + \ successors. Use\n of the Software by the Government constitutes acknowledgment of Intel's\n\ + \ proprietary rights therein. Contractor or Manufacturer is Intel Corporation,\n 2200\ + \ Mission College Blvd., Santa Clara, CA 95052.\n \n TERMINATION OF THE AGREEMENT. Intel\ + \ may terminate this Agreement if you violate\n its terms. Upon termination, you will\ + \ immediately destroy the Software or\n return all copies of the Software to Intel.\n\ + \ --------------------------------------------------------------------------------\n \n\ + \ \n ipw 2100, 2200 and 2915 SOFTWARE LICENSE AGREEMENT (Final, Single User)\n =======================================================================\n\ + \ \n \n EXHIBIT \"A\"\n \n SOFTWARE LICENSE AGREEMENT (Final, Single User)\n \n IMPORTANT\ + \ - READ BEFORE COPYING, INSTALLING OR USING.\n \n Do not use or load this firmware image\ + \ (the \"Software\") until you have carefully\n read the following terms and conditions.\ + \ By loading or using the Software, you\n agree to the terms of this Agreement. If you\ + \ do not wish to so agree, do not\n install or use the Software.\n \n LICENSE. You may\ + \ copy and use the Software, subject to these conditions: \n 1. This Software is licensed\ + \ for use only in conjunction with Intel component\n products. Use of the Software\ + \ in conjunction with non-Intel component \n products is not licensed hereunder. \n\ + \ 2. You may not copy, modify, rent, sell, distribute or transfer any part of the\n \ + \ Software except as provided in this Agreement, and you agree to prevent\n unauthorized\ + \ copying of the Software. \n 3. You may not reverse engineer, decompile, or disassemble\ + \ the Software. \n 4. You may not sublicense the Software. \n 5. The Software may contain\ + \ the software or other property of third party\n suppliers. \n \n OWNERSHIP OF SOFTWARE\ + \ AND COPYRIGHTS. Title to all copies of the Software\n remains with Intel or its suppliers.\ + \ The Software is copyrighted and protected\n by the laws of the United States and other\ + \ countries, and international treaty\n provisions. You may not remove any copyright notices\ + \ from the Software. Intel\n may make changes to the Software, or items referenced therein,\ + \ at any time\n without notice, but is not obligated to support or update the Software.\ + \ Except\n as otherwise expressly provided, Intel grants no express or implied right under\n\ + \ Intel patents, copyrights, trademarks, or other intellectual property rights.\n You\ + \ may transfer the Software only if a copy of this license accompanies the \n Software\ + \ and the recipient agrees to be fully bound by these terms.\n \n EXCLUSION OF OTHER WARRANTIES\ + \ EXCEPT AS PROVIDED ABOVE, THE SOFTWARE IS PROVIDED\n \"AS IS\" WITHOUT ANY EXPRESS OR\ + \ IMPLIED WARRANTY OF ANY KIND INCLUDING\n WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT,\ + \ OR FITNESS FOR A PARTICULAR\n PURPOSE. Intel does not warrant or assume responsibility\ + \ for the accuracy or\n completeness of any information, text, graphics, links or other\ + \ items contained\n within the Software.\n \n LIMITATION OF LIABILITY. IN NO EVENT SHALL\ + \ INTEL OR ITS SUPPLIERS BE LIABLE FOR\n ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION,\ + \ LOST PROFITS, BUSINESS\n INTERRUPTION, OR LOST INFORMATION) ARISING OUT OF THE USE OF\ + \ OR INABILITY TO\n USE THE SOFTWARE, EVEN IF INTEL HAS BEEN ADVISED OF THE POSSIBILITY\ + \ OF SUCH\n DAMAGES. SOME JURISDICTIONS PROHIBIT EXCLUSION OR LIMITATION OF LIABILITY\ + \ FOR\n IMPLIED WARRANTIES OR CONSEQUENTIAL OR INCIDENTAL DAMAGES, SO THE ABOVE\n LIMITATION\ + \ MAY NOT APPLY TO YOU. YOU MAY ALSO HAVE OTHER LEGAL RIGHTS THAT VARY\n BETWEEN JURISDICTIONS.\n\ + \ \n TERMINATION OF THIS AGREEMENT. Intel may terminate this Agreement at any time if\n\ + \ you violate its terms. Upon termination, you will immediately destroy the\n Software.\n\ + \ \n APPLICABLE LAWS. Claims arising under this Agreement shall be governed by the\n laws\ + \ of California, excluding its principles of conflict of laws and the United\n Nations\ + \ Convention on Contracts for the Sale of Goods. You may not export the\n Software in\ + \ violation of applicable export laws and regulations. Intel is not\n obligated under\ + \ any other agreements unless they are in writing and signed by\n an authorized representative\ + \ \n of Intel.\n \n GOVERNMENT RESTRICTED RIGHTS. The Software is provided with \"RESTRICTED\ + \ RIGHTS.\"\n Use, duplication, or disclosure by the Government is subject to restrictions\ + \ as\n set forth in FAR52.227-14 and DFAR252.227-7013 et seq. or their successors. Use\n\ + \ of the Software by the Government constitutes acknowledgment of Intel's\n proprietary\ + \ rights therein. Contractor or Manufacturer is Intel Corporation,\n 2200 Mission College\ + \ Blvd., Santa Clara, CA 95052." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ivtv.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ivtv.copyright-detailed.expected.yml index f82bd08f9ad..a956f644438 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ivtv.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ivtv.copyright-detailed.expected.yml @@ -1,4 +1,118 @@ -- -- -- hauppauge-firmware-oem -- Copyright 2003-2006 Hauppauge +primary_license: +declared_license: +license_expression: hauppauge-firmware-oem +copyright: Copyright 2003-2006 Hauppauge +matches: + - score: '100.0' + start_line: 6 + end_line: 154 + matcher: 2-aho + rule_length: 1270 + matched_length: 1270 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hauppauge-firmware-oem.LICENSE + license_expression: hauppauge-firmware-oem + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "OEM/IHV/ISV FIRMWARE LICENSE AGREEMENT\n \n IMPORTANT - PLEASE READ BEFORE\ + \ INSTALLING OR USING THIS FIRMWARE\n \n Do not use or load this firmware image (the \"\ + Firmware\") until you have\n carefully read the following terms and conditions. By loading\ + \ or using\n the Firmware, you agree to the terms of this Agreement. If you do not\n wish\ + \ to so agree, do not install or use the Firmware.\n \n LICENSEES: Please note:\n \n *\ + \ If you are an End-User, only the END-USER FIRMWARE LICENSE AGREEMENT\n applies.\n\ + \ \n * If you are an Original Equipment Manufacturer (OEM), Independent\n Hardware Vendor\ + \ (IHV), or Independent Firmware Vendor (ISV), the\n OEM/IHV/ISV FIRMWARE LICENSE AGREEMENT\ + \ applies (this license), as\n well as the END-USER FIRMWARE LICENSE AGREEMENT.\n \n\ + \ LICENSE. This Firmware is licensed for use only in conjunction with\n Hauppauge component\ + \ products. Use of the Firmware in conjunction with\n non-Hauppauge component products\ + \ is not licensed hereunder. Subject to\n the terms of this Agreement, Hauppauge grants\ + \ to you a nonexclusive,\n nontransferable, worldwide, fully paid-up license under Hauppauge's\n\ + \ copyrights to: (i) copy the Firmware internally for your own\n development and maintenance\ + \ purposes; (ii) copy and distribute the\n Firmware to your end-users, but only under\ + \ a license agreement with\n terms at least as restrictive as those contained in Hauppauge's\n\ + \ END-USER FIRMWARE LICENSE AGREEMENT; and (iii) modify, copy and\n distribute the end-user\ + \ documentation which may accompany the\n Firmware, but only in association with the Firmware.\n\ + \ \n If you are not the final manufacturer or vendor of a computer system\n or firmware\ + \ program incorporating the Firmware, then you may transfer\n a copy of the Firmware,\ + \ including any related documentation (modified\n or unmodified) to your recipient for\ + \ use in accordance with the terms\n of this Agreement, provided such recipient agrees\ + \ to be fully bound by\n the terms hereof. You shall not otherwise assign, sublicense,\ + \ lease,\n or in any other way transfer or disclose Firmware to any third\n party. You\ + \ may not, nor may you assist any other person or entity to\n modify, translate, convert\ + \ to another programming language, decompile,\n reverse engineer, or disassemble any portion\ + \ of the Firmware or\n otherwise attempt to derive source code from any object code modules\n\ + \ of the Firmware or any internal data files generated by the\n Firmware. Your rights\ + \ to redistribute the Firmware shall be contingent\n upon your installation of this Agreement\ + \ in its entirety in the same\n directory as the Firmware.\n \n CONTRACTORS. For the purpose\ + \ of this Agreement, and notwithstanding\n anything to the contrary hereunder, solely\ + \ with respect to the\n requirements for compliance with the terms hereunder, any contractors\n\ + \ or consultants that You use to perform the work or otherwise assist\n You in the development\ + \ or products using this Firmware shall be deemed\n to be End Users and accordingly, upon\ + \ receipt of the Firmware, shall\n be bound by the terms of the END-USER FIRMWARE LICENSE\ + \ AGREEMENT. No\n additional agreement between You and such consultants or contractors\n\ + \ is required under this Agreement to detail such compliance.\n \n TRADEMARKS. Except\ + \ as expressly provided herein, you shall not use\n Hauppauge's name in any publications,\ + \ advertisements, or other\n announcements without Hauppauge's prior written consent.\ + \ You do not\n have any rights to use any Hauppauge trademarks or logos.\n \n OWNERSHIP\ + \ OF FIRMWARE AND COPYRIGHTS. Firmware and accompanying\n materials, if any, are owned\ + \ by Hauppauge or its suppliers and\n licensors and may be protected by copyright, trademark,\ + \ patent and\n trade secret law and international treaties. Any rights, express or\n implied,\ + \ in the intellectual property embodied in the foregoing, other\n than those specified\ + \ in this Agreement, are reserved by Hauppauge and\n its suppliers and licensors or otherwise\ + \ as set forth in any\n applicable open source license agreement. You will keep the Firmware\n\ + \ free of liens, attachments, and other encumbrances. You agree not to\n remove any proprietary\ + \ notices and/or any labels from the Firmware and\n accompanying materials without prior\ + \ written approval by Hauppauge\n \n EXCLUSION OF WARRANTIES.\n THE FIRMWARE IS PROVIDED\ + \ \"AS IS\" AND POSSIBLY WITH FAULTS. UNLESS\n EXPRESSLY AGREED OTHERWISE, HAUPPAUGE AND\ + \ ITS SUPPLIERS AND LICENSORS\n DISCLAIM ANY AND ALL WARRANTIES AND GUARANTEES, EXPRESS,\ + \ IMPLIED OR\n OTHERWISE, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ NONINFRINGEMENT, OR FITNESS FOR A PARTICULAR PURPOSE.\n Hauppauge does not warrant or\ + \ assume responsibility for the accuracy\n or completeness of any information, text, graphics,\ + \ links or other\n items contained within the Firmware. You assume all liability,\n financial\ + \ or otherwise, associated with Your use or disposition of the\n Firmware.\n \n LIMITATION\ + \ OF LIABILITY. IN NO EVENT SHALL HAUPPAUGE OR ITS SUPPLIERS\n AND LICENSORS BE LIABLE\ + \ FOR ANY DAMAGES WHATSOEVER FROM ANY CAUSE OF\n ACTION OF ANY KIND (INCLUDING, WITHOUT\ + \ LIMITATION, LOST PROFITS,\n BUSINESS INTERRUPTION, OR LOST INFORMATION) ARISING OUT\ + \ OF THE USE,\n MODIFICATION, OR INABILITY TO USE THE FIRMWARE, OR OTHERWISE, NOR FOR\n\ + \ PUNITIVE, INCIDENTAL, CONSEQUENTIAL, OR SPECIAL DAMAGES OF ANY KIND,\n EVEN IF HAUPPAUGE\ + \ OR ITS SUPPLIERS AND LICENSORS HAVE BEEN ADVISED OF\n THE POSSIBILITY OF SUCH DAMAGES.\ + \ SOME JURISDICTIONS PROHIBIT EXCLUSION\n OR LIMITATION OF LIABILITY FOR IMPLIED WARRANTIES\ + \ OR CONSEQUENTIAL OR\n INCIDENTAL DAMAGES, SO CERTAIN LIMITATIONS MAY NOT APPLY. YOU\ + \ MAY ALSO\n HAVE OTHER LEGAL RIGHTS THAT VARY BETWEEN JURISDICTIONS.\n \n WAIVER AND\ + \ AMENDMENT. No modification, amendment or waiver of any\n provision of this Agreement\ + \ shall be effective unless in writing and\n signed by an officer of Hauppauge. No failure\ + \ or delay in exercising\n any right, power, or remedy under this Agreement shall operate\ + \ as a\n waiver of any such right, power or remedy. Without limiting the\n foregoing,\ + \ terms and conditions on any purchase orders or similar\n materials submitted by you\ + \ to Hauppauge, and any terms contained in\n Hauppauges standard acknowledgment form that\ + \ are in conflict with\n these terms, shall be of no force or effect.\n \n SEVERABILITY.\ + \ If any provision of this Agreement is held by a court of\n competent jurisdiction to\ + \ be contrary to law, such provision shall be\n changed and interpreted so as to best\ + \ accomplish the objectives of the\n original provision to the fullest extent allowed\ + \ by law and the\n remaining provisions of this Agreement shall remain in full force and\n\ + \ effect.\n \n EXPORT RESTRICTIONS. Each party acknowledges that the Firmware is\n subject\ + \ to applicable import and export regulations of the United\n States and of the countries\ + \ in which each party transacts business,\n specifically including U.S. Export Administration\ + \ Act and Export\n Administration Regulations. Each party shall comply with such laws\ + \ and\n regulations, as well as all other laws and regulations applicable to\n the Firmware.\ + \ Without limiting the generality of the foregoing, each\n party agrees that it will not\ + \ export, re-export, transfer or divert\n any of the Firmware or the direct programs thereof\ + \ to any restricted\n place or party in accordance with U.S. export regulations. Note\ + \ that\n Firmware containing encryption may be subject to additional\n restrictions.\n\ + \ \n APPLICABLE LAWS. Claims arising under this Agreement shall be governed\n by the laws\ + \ of New York, excluding its principles of conflict of laws\n and the United Nations Convention\ + \ on Contracts for the Sale of\n Goods. You may not export the Firmware in violation of\ + \ applicable\n export laws and regulations. Hauppauge is not obligated under any\n other\ + \ agreements unless they are in writing and signed by an\n authorized representative of\ + \ Hauppauge.\n \n GOVERNMENT RESTRICTED RIGHTS. The Firmware is provided with\n \"RESTRICTED\ + \ RIGHTS.\" Use, duplication, or disclosure by the Government\n is subject to restrictions\ + \ as set forth in FAR52.227-14 and\n DFAR252.227-7013 et seq. or their successors. Use\ + \ of the Firmware by\n the Government constitutes acknowledgment of Hauppauge's proprietary\n\ + \ rights therein. Contractor or Manufacturer is Hauppauge Computer\n Works, Inc. 91 Cabot\ + \ Court Hauppauge, NY 11788\n \n TERMINATION OF THIS AGREEMENT. Hauppauge may terminate\ + \ this Agreement\n at any time if you violate its terms. Upon termination, you will\n\ + \ immediately destroy the Firmware or return all copies of the Firmware\n to Hauppauge." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ivtv.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ivtv.copyright.expected.yml index f82bd08f9ad..a956f644438 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ivtv.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ivtv.copyright.expected.yml @@ -1,4 +1,118 @@ -- -- -- hauppauge-firmware-oem -- Copyright 2003-2006 Hauppauge +primary_license: +declared_license: +license_expression: hauppauge-firmware-oem +copyright: Copyright 2003-2006 Hauppauge +matches: + - score: '100.0' + start_line: 6 + end_line: 154 + matcher: 2-aho + rule_length: 1270 + matched_length: 1270 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hauppauge-firmware-oem.LICENSE + license_expression: hauppauge-firmware-oem + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "OEM/IHV/ISV FIRMWARE LICENSE AGREEMENT\n \n IMPORTANT - PLEASE READ BEFORE\ + \ INSTALLING OR USING THIS FIRMWARE\n \n Do not use or load this firmware image (the \"\ + Firmware\") until you have\n carefully read the following terms and conditions. By loading\ + \ or using\n the Firmware, you agree to the terms of this Agreement. If you do not\n wish\ + \ to so agree, do not install or use the Firmware.\n \n LICENSEES: Please note:\n \n *\ + \ If you are an End-User, only the END-USER FIRMWARE LICENSE AGREEMENT\n applies.\n\ + \ \n * If you are an Original Equipment Manufacturer (OEM), Independent\n Hardware Vendor\ + \ (IHV), or Independent Firmware Vendor (ISV), the\n OEM/IHV/ISV FIRMWARE LICENSE AGREEMENT\ + \ applies (this license), as\n well as the END-USER FIRMWARE LICENSE AGREEMENT.\n \n\ + \ LICENSE. This Firmware is licensed for use only in conjunction with\n Hauppauge component\ + \ products. Use of the Firmware in conjunction with\n non-Hauppauge component products\ + \ is not licensed hereunder. Subject to\n the terms of this Agreement, Hauppauge grants\ + \ to you a nonexclusive,\n nontransferable, worldwide, fully paid-up license under Hauppauge's\n\ + \ copyrights to: (i) copy the Firmware internally for your own\n development and maintenance\ + \ purposes; (ii) copy and distribute the\n Firmware to your end-users, but only under\ + \ a license agreement with\n terms at least as restrictive as those contained in Hauppauge's\n\ + \ END-USER FIRMWARE LICENSE AGREEMENT; and (iii) modify, copy and\n distribute the end-user\ + \ documentation which may accompany the\n Firmware, but only in association with the Firmware.\n\ + \ \n If you are not the final manufacturer or vendor of a computer system\n or firmware\ + \ program incorporating the Firmware, then you may transfer\n a copy of the Firmware,\ + \ including any related documentation (modified\n or unmodified) to your recipient for\ + \ use in accordance with the terms\n of this Agreement, provided such recipient agrees\ + \ to be fully bound by\n the terms hereof. You shall not otherwise assign, sublicense,\ + \ lease,\n or in any other way transfer or disclose Firmware to any third\n party. You\ + \ may not, nor may you assist any other person or entity to\n modify, translate, convert\ + \ to another programming language, decompile,\n reverse engineer, or disassemble any portion\ + \ of the Firmware or\n otherwise attempt to derive source code from any object code modules\n\ + \ of the Firmware or any internal data files generated by the\n Firmware. Your rights\ + \ to redistribute the Firmware shall be contingent\n upon your installation of this Agreement\ + \ in its entirety in the same\n directory as the Firmware.\n \n CONTRACTORS. For the purpose\ + \ of this Agreement, and notwithstanding\n anything to the contrary hereunder, solely\ + \ with respect to the\n requirements for compliance with the terms hereunder, any contractors\n\ + \ or consultants that You use to perform the work or otherwise assist\n You in the development\ + \ or products using this Firmware shall be deemed\n to be End Users and accordingly, upon\ + \ receipt of the Firmware, shall\n be bound by the terms of the END-USER FIRMWARE LICENSE\ + \ AGREEMENT. No\n additional agreement between You and such consultants or contractors\n\ + \ is required under this Agreement to detail such compliance.\n \n TRADEMARKS. Except\ + \ as expressly provided herein, you shall not use\n Hauppauge's name in any publications,\ + \ advertisements, or other\n announcements without Hauppauge's prior written consent.\ + \ You do not\n have any rights to use any Hauppauge trademarks or logos.\n \n OWNERSHIP\ + \ OF FIRMWARE AND COPYRIGHTS. Firmware and accompanying\n materials, if any, are owned\ + \ by Hauppauge or its suppliers and\n licensors and may be protected by copyright, trademark,\ + \ patent and\n trade secret law and international treaties. Any rights, express or\n implied,\ + \ in the intellectual property embodied in the foregoing, other\n than those specified\ + \ in this Agreement, are reserved by Hauppauge and\n its suppliers and licensors or otherwise\ + \ as set forth in any\n applicable open source license agreement. You will keep the Firmware\n\ + \ free of liens, attachments, and other encumbrances. You agree not to\n remove any proprietary\ + \ notices and/or any labels from the Firmware and\n accompanying materials without prior\ + \ written approval by Hauppauge\n \n EXCLUSION OF WARRANTIES.\n THE FIRMWARE IS PROVIDED\ + \ \"AS IS\" AND POSSIBLY WITH FAULTS. UNLESS\n EXPRESSLY AGREED OTHERWISE, HAUPPAUGE AND\ + \ ITS SUPPLIERS AND LICENSORS\n DISCLAIM ANY AND ALL WARRANTIES AND GUARANTEES, EXPRESS,\ + \ IMPLIED OR\n OTHERWISE, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ NONINFRINGEMENT, OR FITNESS FOR A PARTICULAR PURPOSE.\n Hauppauge does not warrant or\ + \ assume responsibility for the accuracy\n or completeness of any information, text, graphics,\ + \ links or other\n items contained within the Firmware. You assume all liability,\n financial\ + \ or otherwise, associated with Your use or disposition of the\n Firmware.\n \n LIMITATION\ + \ OF LIABILITY. IN NO EVENT SHALL HAUPPAUGE OR ITS SUPPLIERS\n AND LICENSORS BE LIABLE\ + \ FOR ANY DAMAGES WHATSOEVER FROM ANY CAUSE OF\n ACTION OF ANY KIND (INCLUDING, WITHOUT\ + \ LIMITATION, LOST PROFITS,\n BUSINESS INTERRUPTION, OR LOST INFORMATION) ARISING OUT\ + \ OF THE USE,\n MODIFICATION, OR INABILITY TO USE THE FIRMWARE, OR OTHERWISE, NOR FOR\n\ + \ PUNITIVE, INCIDENTAL, CONSEQUENTIAL, OR SPECIAL DAMAGES OF ANY KIND,\n EVEN IF HAUPPAUGE\ + \ OR ITS SUPPLIERS AND LICENSORS HAVE BEEN ADVISED OF\n THE POSSIBILITY OF SUCH DAMAGES.\ + \ SOME JURISDICTIONS PROHIBIT EXCLUSION\n OR LIMITATION OF LIABILITY FOR IMPLIED WARRANTIES\ + \ OR CONSEQUENTIAL OR\n INCIDENTAL DAMAGES, SO CERTAIN LIMITATIONS MAY NOT APPLY. YOU\ + \ MAY ALSO\n HAVE OTHER LEGAL RIGHTS THAT VARY BETWEEN JURISDICTIONS.\n \n WAIVER AND\ + \ AMENDMENT. No modification, amendment or waiver of any\n provision of this Agreement\ + \ shall be effective unless in writing and\n signed by an officer of Hauppauge. No failure\ + \ or delay in exercising\n any right, power, or remedy under this Agreement shall operate\ + \ as a\n waiver of any such right, power or remedy. Without limiting the\n foregoing,\ + \ terms and conditions on any purchase orders or similar\n materials submitted by you\ + \ to Hauppauge, and any terms contained in\n Hauppauges standard acknowledgment form that\ + \ are in conflict with\n these terms, shall be of no force or effect.\n \n SEVERABILITY.\ + \ If any provision of this Agreement is held by a court of\n competent jurisdiction to\ + \ be contrary to law, such provision shall be\n changed and interpreted so as to best\ + \ accomplish the objectives of the\n original provision to the fullest extent allowed\ + \ by law and the\n remaining provisions of this Agreement shall remain in full force and\n\ + \ effect.\n \n EXPORT RESTRICTIONS. Each party acknowledges that the Firmware is\n subject\ + \ to applicable import and export regulations of the United\n States and of the countries\ + \ in which each party transacts business,\n specifically including U.S. Export Administration\ + \ Act and Export\n Administration Regulations. Each party shall comply with such laws\ + \ and\n regulations, as well as all other laws and regulations applicable to\n the Firmware.\ + \ Without limiting the generality of the foregoing, each\n party agrees that it will not\ + \ export, re-export, transfer or divert\n any of the Firmware or the direct programs thereof\ + \ to any restricted\n place or party in accordance with U.S. export regulations. Note\ + \ that\n Firmware containing encryption may be subject to additional\n restrictions.\n\ + \ \n APPLICABLE LAWS. Claims arising under this Agreement shall be governed\n by the laws\ + \ of New York, excluding its principles of conflict of laws\n and the United Nations Convention\ + \ on Contracts for the Sale of\n Goods. You may not export the Firmware in violation of\ + \ applicable\n export laws and regulations. Hauppauge is not obligated under any\n other\ + \ agreements unless they are in writing and signed by an\n authorized representative of\ + \ Hauppauge.\n \n GOVERNMENT RESTRICTED RIGHTS. The Firmware is provided with\n \"RESTRICTED\ + \ RIGHTS.\" Use, duplication, or disclosure by the Government\n is subject to restrictions\ + \ as set forth in FAR52.227-14 and\n DFAR252.227-7013 et seq. or their successors. Use\ + \ of the Firmware by\n the Government constitutes acknowledgment of Hauppauge's proprietary\n\ + \ rights therein. Contractor or Manufacturer is Hauppauge Computer\n Works, Inc. 91 Cabot\ + \ Court Hauppauge, NY 11788\n \n TERMINATION OF THIS AGREEMENT. Hauppauge may terminate\ + \ this Agreement\n at any time if you violate its terms. Upon termination, you will\n\ + \ immediately destroy the Firmware or return all copies of the Firmware\n to Hauppauge." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-iwlwifi.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-iwlwifi.copyright-detailed.expected.yml index e4715e349bd..efb93ccbf3b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-iwlwifi.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-iwlwifi.copyright-detailed.expected.yml @@ -1,4 +1,44 @@ -- -- -- intel -- Copyright (c) 2006-2016, Intel Corporation +primary_license: +declared_license: +license_expression: intel +copyright: Copyright (c) 2006-2016, Intel Corporation +matches: + - score: '100.0' + start_line: 7 + end_line: 42 + matcher: 2-aho + rule_length: 295 + matched_length: 295 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel.LICENSE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution. Redistribution and use in binary form, without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ must reproduce the above copyright notice and the\n following disclaimer in the documentation\ + \ and/or other materials\n provided with the distribution.\n * Neither the name of Intel\ + \ Corporation nor the names of its suppliers\n may be used to endorse or promote products\ + \ derived from this software\n without specific prior written permission.\n * No reverse\ + \ engineering, decompilation, or disassembly of this software\n is permitted.\n \n Limited\ + \ patent license. Intel Corporation grants a world-wide,\n royalty-free, non-exclusive\ + \ license under patents it now or hereafter\n owns or controls to make, have made, use,\ + \ import, offer to sell and\n sell (\"Utilize\") this software, but solely to the extent\ + \ that any\n such patent is necessary to Utilize the software alone, or in\n combination\ + \ with an operating system licensed under an approved Open\n Source license as listed\ + \ by the Open Source Initiative at\n http://opensource.org/licenses. The patent license\ + \ shall not apply to\n any other combinations which include this software. No hardware\ + \ per\n se is licensed hereunder.\n \n DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND\n CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\n\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\n FITNESS FOR A PARTICULAR\ + \ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE\ + \ FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\ + \ (INCLUDING,\n BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS\n\ + \ OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY\ + \ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF SUCH\n DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-iwlwifi.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-iwlwifi.copyright.expected.yml index e4715e349bd..efb93ccbf3b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-iwlwifi.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-iwlwifi.copyright.expected.yml @@ -1,4 +1,44 @@ -- -- -- intel -- Copyright (c) 2006-2016, Intel Corporation +primary_license: +declared_license: +license_expression: intel +copyright: Copyright (c) 2006-2016, Intel Corporation +matches: + - score: '100.0' + start_line: 7 + end_line: 42 + matcher: 2-aho + rule_length: 295 + matched_length: 295 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel.LICENSE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution. Redistribution and use in binary form, without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ must reproduce the above copyright notice and the\n following disclaimer in the documentation\ + \ and/or other materials\n provided with the distribution.\n * Neither the name of Intel\ + \ Corporation nor the names of its suppliers\n may be used to endorse or promote products\ + \ derived from this software\n without specific prior written permission.\n * No reverse\ + \ engineering, decompilation, or disassembly of this software\n is permitted.\n \n Limited\ + \ patent license. Intel Corporation grants a world-wide,\n royalty-free, non-exclusive\ + \ license under patents it now or hereafter\n owns or controls to make, have made, use,\ + \ import, offer to sell and\n sell (\"Utilize\") this software, but solely to the extent\ + \ that any\n such patent is necessary to Utilize the software alone, or in\n combination\ + \ with an operating system licensed under an approved Open\n Source license as listed\ + \ by the Open Source Initiative at\n http://opensource.org/licenses. The patent license\ + \ shall not apply to\n any other combinations which include this software. No hardware\ + \ per\n se is licensed hereunder.\n \n DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND\n CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\n\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\n FITNESS FOR A PARTICULAR\ + \ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE\ + \ FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\ + \ (INCLUDING,\n BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS\n\ + \ OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY\ + \ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF SUCH\n DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-libertas.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-libertas.copyright-detailed.expected.yml index 85aa65d4a95..250e36c6d2c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-libertas.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-libertas.copyright-detailed.expected.yml @@ -1,7 +1,109 @@ -- None -- - Binary redistribution (Marvell 1) +primary_license: None +declared_license: + - Binary redistribution (Marvell 1) - Binary redistribution (Marvell 2) -- proprietary-license AND marvell-firmware -- | +license_expression: proprietary-license AND marvell-firmware +copyright: | Marvell International Ltd. 2006, One Laptop per Child and Marvell Corporation. +matches: + - score: '96.37' + start_line: 3 + end_line: 40 + matcher: 3-seq + rule_length: 303 + matched_length: 292 + match_coverage: '96.37' + rule_relevance: 100 + identifier: proprietary-license_319.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + + * Neither the name of [Marvell] [International] [Ltd]. nor the names of its + suppliers may be used to endorse or promote products derived from + this software without specific prior written permission. + + * No reverse engineering, decompilation, or disassembly of this + software is permitted. + + Limited patent license. [Marvell] [International] Ltd. grants a + world-wide, royalty-free, non-exclusive license under patents it now + or hereafter owns or controls to make, have made, use, import, offer + to sell and sell ("Utilize") this software, but solely to the extent + that any such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per se + is licensed hereunder. + + DISCLAIMER. 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 OWNER 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. + - score: '100.0' + start_line: 3 + end_line: 32 + matcher: 2-aho + rule_length: 242 + matched_length: 242 + match_coverage: '100.0' + rule_relevance: 100 + identifier: marvell-firmware.LICENSE + license_expression: marvell-firmware + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Marvell Corporation nor the names of its suppliers + may be used to endorse or promote products derived from this software + without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + * You may not use or attempt to use this software in conjunction with + any product that is offered by a third party as a replacement, + substitute or alternative to a Marvell Product where a Marvell Product + is defined as a proprietary wireless LAN embedded client solution of + Marvell or a Marvell Affiliate. + + DISCLAIMER. 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 OWNER 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-libertas.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-libertas.copyright.expected.yml index 85aa65d4a95..250e36c6d2c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-libertas.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-libertas.copyright.expected.yml @@ -1,7 +1,109 @@ -- None -- - Binary redistribution (Marvell 1) +primary_license: None +declared_license: + - Binary redistribution (Marvell 1) - Binary redistribution (Marvell 2) -- proprietary-license AND marvell-firmware -- | +license_expression: proprietary-license AND marvell-firmware +copyright: | Marvell International Ltd. 2006, One Laptop per Child and Marvell Corporation. +matches: + - score: '96.37' + start_line: 3 + end_line: 40 + matcher: 3-seq + rule_length: 303 + matched_length: 292 + match_coverage: '96.37' + rule_relevance: 100 + identifier: proprietary-license_319.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + + * Neither the name of [Marvell] [International] [Ltd]. nor the names of its + suppliers may be used to endorse or promote products derived from + this software without specific prior written permission. + + * No reverse engineering, decompilation, or disassembly of this + software is permitted. + + Limited patent license. [Marvell] [International] Ltd. grants a + world-wide, royalty-free, non-exclusive license under patents it now + or hereafter owns or controls to make, have made, use, import, offer + to sell and sell ("Utilize") this software, but solely to the extent + that any such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per se + is licensed hereunder. + + DISCLAIMER. 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 OWNER 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. + - score: '100.0' + start_line: 3 + end_line: 32 + matcher: 2-aho + rule_length: 242 + matched_length: 242 + match_coverage: '100.0' + rule_relevance: 100 + identifier: marvell-firmware.LICENSE + license_expression: marvell-firmware + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Marvell Corporation nor the names of its suppliers + may be used to endorse or promote products derived from this software + without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + * You may not use or attempt to use this software in conjunction with + any product that is offered by a third party as a replacement, + substitute or alternative to a Marvell Product where a Marvell Product + is defined as a proprietary wireless LAN embedded client solution of + Marvell or a Marvell Affiliate. + + DISCLAIMER. 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 OWNER 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux-nonfree.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux-nonfree.copyright-detailed.expected.yml index e1aca6b0cb9..8bf73205cab 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux-nonfree.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux-nonfree.copyright-detailed.expected.yml @@ -1,6 +1,49 @@ -- -- -- gpl-2.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0 +copyright: | Copyright 2006-2009 Bastian Blank Copyright 2009 Ben Hutchings +matches: + - score: '100.0' + start_line: 6 + end_line: 20 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_68.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This package is free software; you can redistribute it\ + \ and/or modify\n it under the terms of the GNU General Public License as published\ + \ by\n the Free Software Foundation; either version 2 of the License, or\n (at\ + \ your option) any later version.\n \n This package is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ General Public License\n along with this package; if not, write to the Free Software\n\ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA" + - score: '100.0' + start_line: 22 + end_line: 23 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux-nonfree.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux-nonfree.copyright.expected.yml index e1aca6b0cb9..8bf73205cab 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux-nonfree.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux-nonfree.copyright.expected.yml @@ -1,6 +1,49 @@ -- -- -- gpl-2.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0 +copyright: | Copyright 2006-2009 Bastian Blank Copyright 2009 Ben Hutchings +matches: + - score: '100.0' + start_line: 6 + end_line: 20 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_68.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This package is free software; you can redistribute it\ + \ and/or modify\n it under the terms of the GNU General Public License as published\ + \ by\n the Free Software Foundation; either version 2 of the License, or\n (at\ + \ your option) any later version.\n \n This package is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ General Public License\n along with this package; if not, write to the Free Software\n\ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA" + - score: '100.0' + start_line: 22 + end_line: 23 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux.copyright-detailed.expected.yml index e1aca6b0cb9..8bf73205cab 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux.copyright-detailed.expected.yml @@ -1,6 +1,49 @@ -- -- -- gpl-2.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0 +copyright: | Copyright 2006-2009 Bastian Blank Copyright 2009 Ben Hutchings +matches: + - score: '100.0' + start_line: 6 + end_line: 20 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_68.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This package is free software; you can redistribute it\ + \ and/or modify\n it under the terms of the GNU General Public License as published\ + \ by\n the Free Software Foundation; either version 2 of the License, or\n (at\ + \ your option) any later version.\n \n This package is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ General Public License\n along with this package; if not, write to the Free Software\n\ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA" + - score: '100.0' + start_line: 22 + end_line: 23 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux.copyright.expected.yml index e1aca6b0cb9..8bf73205cab 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux.copyright.expected.yml @@ -1,6 +1,49 @@ -- -- -- gpl-2.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0 +copyright: | Copyright 2006-2009 Bastian Blank Copyright 2009 Ben Hutchings +matches: + - score: '100.0' + start_line: 6 + end_line: 20 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_68.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This package is free software; you can redistribute it\ + \ and/or modify\n it under the terms of the GNU General Public License as published\ + \ by\n the Free Software Foundation; either version 2 of the License, or\n (at\ + \ your option) any later version.\n \n This package is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ General Public License\n along with this package; if not, write to the Free Software\n\ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA" + - score: '100.0' + start_line: 22 + end_line: 23 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-misc-nonfree.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-misc-nonfree.copyright-detailed.expected.yml index 55ff470284b..08e2356f6ef 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-misc-nonfree.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-misc-nonfree.copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- None -- - BSD (3Com) +primary_license: None +declared_license: + - BSD (3Com) - Permissive (Advansys) - BSD (Agere) - Binary redistribution (Abilis) @@ -34,14 +35,14 @@ - BSD (Ikanos) - Binary redistribution (Conexant) - Binary redistribution (Intel) -- 3com-microcode AND bsd-simplified-source AND agere-bsd AND isc AND proprietary-license AND - other-permissive AND linux-openib AND proprietary-license AND bsd-simplified-source AND proprietary-license - AND isc AND isc AND proprietary-license AND bsd-new AND isc AND proprietary-license AND proprietary-license - AND intel AND intel AND proprietary-license AND bsd-original AND mit AND proprietary-license - AND ralink-firmware AND proprietary-license AND proprietary-license AND intel AND proprietary-license - AND proprietary-license AND ralink-firmware AND other-permissive AND other-permissive AND - (bsd-new AND proprietary-license) AND proprietary-license -- | +license_expression: 3com-microcode AND bsd-simplified-source AND agere-bsd AND isc AND proprietary-license + AND other-permissive AND linux-openib AND proprietary-license AND bsd-simplified-source AND + proprietary-license AND isc AND isc AND proprietary-license AND bsd-new AND isc AND proprietary-license + AND proprietary-license AND intel AND intel AND proprietary-license AND bsd-original AND mit + AND proprietary-license AND ralink-firmware AND proprietary-license AND proprietary-license + AND intel AND proprietary-license AND proprietary-license AND ralink-firmware AND other-permissive + AND other-permissive AND (bsd-new AND proprietary-license) AND proprietary-license +copyright: | 1999-2004, 3Com Corporation 1995-2000, Advanced System Products, Inc. 2000-2001, ConnectCom Solutions, Inc. @@ -78,3 +79,1272 @@ 2007, Tehuti Networks Ltd. 2000-2003, Broadcom Corporation. 2006, Ikanos Communications, Inc. +matches: + - score: '100.0' + start_line: 3 + end_line: 30 + matcher: 2-aho + rule_length: 264 + matched_length: 264 + match_coverage: '100.0' + rule_relevance: 100 + identifier: 3com-microcode3.RULE + license_expression: 3com-microcode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms of the 3c990img.h + microcode software are permitted provided that the following conditions + are met: + 1. Redistribution of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistribution 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. + 3. The name of 3Com may not be used to endorse or promote products + derived from this software without specific prior written permission + + THIS SOFTWARE IS PROVIDED BY 3COM ``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 AUTHOR 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. + + USER ACKNOWLEDGES AND AGREES THAT PURCHASE OR USE OF THE 3c990img.h + MICROCODE SOFTWARE WILL NOT CREATE OR GIVE GROUNDS FOR A LICENSE BY + IMPLICATION, ESTOPPEL, OR OTHERWISE IN ANY INTELLECTUAL PROPERTY RIGHTS + (PATENT, COPYRIGHT, TRADE SECRET, MASK WORK, OR OTHER PROPRIETARY RIGHT) + EMBODIED IN ANY OTHER 3COM HARDWARE OR SOFTWARE EITHER SOLELY OR IN + COMBINATION WITH THE 3c990img.h MICROCODE SOFTWARE + - score: '100.0' + start_line: 3 + end_line: 6 + matcher: 2-aho + rule_length: 30 + matched_length: 30 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified-source.LICENSE + license_expression: bsd-simplified-source + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that redistributions of source + code retain the above copyright notice and this comment without + modification. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 296 + matched_length: 296 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agere-bsd_1.RULE + license_expression: agere-bsd + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided subject to the following terms and conditions, + which you should read carefully before using the software. Using this + software indicates your acceptance of these terms and conditions. If you do + not agree with these terms and conditions, do not use the software. + + All rights reserved. + + Redistribution and use in source or binary forms, with or without + modifications, are permitted provided that the following conditions are met: + + Redistributions of source code must retain the above copyright notice, this + list of conditions and the following Disclaimer as comments in the code as + well as in the documentation and/or other materials provided with the + distribution. + + 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. + + Neither the name of Agere Systems Inc. nor the names of the contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + Disclaimer + + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, INFRINGEMENT AND THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ANY + USE, MODIFICATION OR DISTRIBUTION OF THIS SOFTWARE IS SOLELY AT THE USERS OWN + RISK. IN NO EVENT SHALL AGERE SYSTEMS INC. 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, INCLUDING, BUT NOT LIMITED TO, 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. + - score: '99.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 99 + identifier: isc_53.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for + any purpose with or without fee is hereby granted, provided that the + above copyright notice and this permission notice appear in all + copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS 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 + TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 3 + end_line: 46 + matcher: 2-aho + rule_length: 364 + matched_length: 364 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_336.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Creative Technology Ltd or its affiliates ("CTL") + nor the names of its suppliers may be used to endorse or promote + products derived from this software without specific prior written + permission. + * No reverse engineering, decompilation, or disassembly of this software + (or any part thereof) is permitted. + + Limited patent license. CTL grants a limited, world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but strictly only to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not be + applicable, to any other combinations which include this software. + No hardware per se is licensed hereunder. + + DISCLAIMER. 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 OWNER 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 OTHER RIGHTS GRANTED. USER HEREBY ACKNOWLEDGES AND AGREES THAT USE OF + THIS SOFTWARE SHALL NOT CREATE OR GIVE GROUNDS FOR A LICENSE BY + IMPLICATION, ESTOPPEL, OR OTHERWISE TO ANY INTELLECTUAL PROPERTY RIGHTS + (PATENT, COPYRIGHT, TRADE SECRET, MASK WORK, OR OTHER PROPRIETARY RIGHT) + EMBODIED IN ANY OTHER CTL HARDWARE OR SOFTWARE WHETHER SOLELY OR IN + COMBINATION WITH THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware + data in hexadecimal or equivalent format, provided this copyright + notice is accompanying it. + - score: '100.0' + start_line: 3 + end_line: 23 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 100 + identifier: linux-openib.LICENSE + license_expression: linux-openib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 3 + end_line: 26 + matcher: 2-aho + rule_length: '199' + matched_length: '199' + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_334.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in binary form, without modification, are + permitted provided that the following conditions are met: + + 1. Redistribution 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. + 2. The name of Chelsio Communications may not be used to endorse or + promote products derived from this software without specific prior + written permission. + 3. Reverse engineering, decompilation, or disassembly of this + firmware is not permitted. + + DISCLAIMER. 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 OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 30 + matched_length: 30 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified-source.LICENSE + license_expression: bsd-simplified-source + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that redistributions of source + code retain the above copyright notice and this comment without + modification. + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 1-hash + rule_length: 120 + matched_length: 120 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_332.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software, only + for use with Xceive ICs, for any purpose with or without fee is hereby + granted, provided that the above copyright notice and this permission + notice appear in all source code copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS 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 THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc.LICENSE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for + any purpose with or without fee is hereby granted, provided that the + above copyright notice and this permission notice appear in all + copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS 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 THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc.LICENSE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for + any purpose with or without fee is hereby granted, provided that the + above copyright notice and this permission notice appear in all + copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS 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 THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_331.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + TERRATEC grants permission to use and redistribute these firmware + files for use with TERRATEC devices, but not as part of the Linux + kernel or in any other form which would require these files themselves + to be covered by the terms of the GNU General Public License. + + These firmware files are distributed in the hope that they will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 3 + end_line: 26 + matcher: 2-aho + rule_length: 211 + matched_length: 211 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_786.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3. Neither the name of Intel Corporation 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 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 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. + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 1-hash + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc.LICENSE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS 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 THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_330.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Sensoray grants permission to use and redistribute these firmware + files for use with Sensoray devices, but not as a part of the Linux + kernel or in any other form which would require these files themselves + to be covered by the terms of the GNU General Public License. + These firmware files are distributed in the hope that they will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 73 + matched_length: 73 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_328.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The firmware files included in the firmware/ directory may be freely + redistributed only in conjunction with this document [LICENCE.go7007]; + but modification, tampering and reverse engineering are prohibited. + + MICRONAS USA, INC., MAKES NO WARRANTIES TO ANY PERSON OR ENTITY WITH + RESPECT TO THE SOFTWARE OR ANY DERIVATIVES THEREOF OR ANY SERVICES OR + LICENSES AND DISCLAIMS ALL IMPLIED WARRANTIES, INCLUDING WITHOUT LIMITATION + WARRANTIES OF MERCHANTABILITY, SUPPORT, AND FITNESS FOR A PARTICULAR + PURPOSE AND NON-INFRINGEMENT. + - score: '95.0' + start_line: 3 + end_line: 36 + matcher: 2-aho + rule_length: 268 + matched_length: 268 + match_coverage: '100.0' + rule_relevance: 95 + identifier: intel_2.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. + + Redistribution and use in binary form, without modification, are permitted + provided that the following conditions are met: + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Intel Corporation nor the names of its suppliers may + be used to endorse or promote products derived from this software without + specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software is + permitted. + + Limited patent license. + + Intel Corporation grants a world-wide, royalty-free, non-exclusive license + under patents it now or hereafter owns or controls to make, have made, use, + import, offer to sell and sell (“Utilize”) this software, but solely to the + extent that any such patent is necessary to Utilize the software alone. The + patent license shall not apply to any combinations which include this software. + No hardware per se is licensed hereunder. + + DISCLAIMER. + + 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 OWNER 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. + - score: '100.0' + start_line: 3 + end_line: 46 + matcher: 2-aho + rule_length: 382 + matched_length: 382 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_327.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Reproduction and redistribution in binary form, without + modification, for use solely in conjunction with a NXP + chipset, is permitted provided that the following conditions are met: + + . Redistributions must reproduce the above copyright notice and the following + disclaimer in the documentation and/or other materials provided with the + distribution. + + . Neither the name of NXP nor the names of its suppliers + may be used to endorse or promote products derived from this Software + without specific prior written permission. + + . No reverse engineering, decompilation, or disassembly of this Software is + permitted. + + Limited patent license. NXP (.Licensor.) grants you + (.Licensee.) a limited, worldwide, royalty-free, non-exclusive license under + the Patents to make, have made, use, import, offer to sell and sell the + Software. No hardware per se is licensed hereunder. + The term .Patents. as used in this agreement means only those patents or patent + applications owned solely and exclusively by Licensor as of the date of + Licensor.s submission of the Software and any patents deriving priority (i.e., + having a first effective filing date) therefrom. The term .Software. as used in + this agreement means the firmware image submitted by Licensor, under the terms + of this license, to git://git.kernel.org/pub/scm/linux/kernel/git/firmware/ + linux-firmware.git. + Notwithstanding anything to the contrary herein, Licensor does not grant and + Licensee does not receive, by virtue of this agreement or the Licensor's + submission of any Software, any license or other rights under any patent or + patent application owned by any affiliate of Licensor or any other entity + (other than Licensor), whether expressly, impliedly, by virtue of estoppel or + exhaustion, or otherwise. + + DISCLAIMER. 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 OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 26 + matcher: 1-hash + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_44.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by Kawasaki LSI. + 4. Neither the name of the company 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 BY KAWASAKI LSI ``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 KAWASAKI LSI 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. + - score: '98.77' + start_line: 3 + end_line: '19' + matcher: 3-seq + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_712.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + [MATROX] [GRAPHICS] INC., OR ANY OTHER CONTRIBUTORS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE + OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 142 + matched_length: 142 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_326.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The software accompanying this license statement (the “Software”) + is the property of Moxa Inc. (the “Moxa”), and is protected by + United States and International Copyright Laws and International + treaty provisions. No ownership rights are granted by this + Agreement or possession of the Software. Therefore, you must treat + the Licensed Software like any other copyrighted material. Your + rights and obligations in its use are described as follows: + + 1. You may freely redistribute this software under this license. + 2. You may freely download and use this software on Moxa's device. + 3. You may not modify or attempt to reverse engineer the software, or + make any attempt to change or even examine the source code of the + software. + 4. You may not re-license or sub-license the software to any person or + business, using any other license. + 5. Moxa(r) is worldwide registered trademark. + - score: '100.0' + start_line: 3 + end_line: 38 + matcher: 2-aho + rule_length: 297 + matched_length: 297 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ralink-firmware.LICENSE + license_expression: ralink-firmware + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Ralink Technology Corporation nor the names of its + suppliers may be used to endorse or promote products derived from this + software without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. Ralink Technology Corporation grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. 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 OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_324.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: All firmware components are redistributable in binary form. + - score: '100.0' + start_line: 1 + end_line: 127 + matcher: 1-hash + rule_length: 952 + matched_length: 952 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_325.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + IMPORTANT NOTICE -- READ CAREFULLY: This License For Customer Use of + NVIDIA Software ("LICENSE") is the agreement which governs use of + the software of NVIDIA Corporation and its subsidiaries ("NVIDIA") + downloadable herefrom, including computer software and associated + printed materials ("SOFTWARE"). By downloading, installing, copying, + or otherwise using the SOFTWARE, you agree to be bound by the terms + of this LICENSE. If you do not agree to the terms of this LICENSE, + do not download the SOFTWARE. + + RECITALS + + Use of NVIDIA's products requires three elements: the SOFTWARE, the + hardware, and a personal computer. The SOFTWARE is protected by copyright + laws and international copyright treaties, as well as other intellectual + property laws and treaties. The SOFTWARE may be protected by various + patents, and is not sold, and instead is only licensed for use, strictly + in accordance with this document. The hardware is protected by various + patents, and is sold, but this agreement does not cover that sale, since + it may not necessarily be sold as a package with the SOFTWARE. This + agreement sets forth the terms and conditions of the SOFTWARE LICENSE only. + + 1. DEFINITIONS + + 1.1 Customer. Customer means the entity or individual that + downloads or otherwise obtains the SOFTWARE. + + 2. GRANT OF LICENSE + + 2.1 Rights and Limitations of Grant. NVIDIA hereby grants Customer + the following non-exclusive, non-transferable right to use the + SOFTWARE, with the following limitations: + + 2.1.1 Rights. Customer may install and use multiple copies of the + SOFTWARE on a shared computer or concurrently on different computers, + and make multiple back-up copies of the SOFTWARE, solely for Customer's + use within Customer's Enterprise. "Enterprise" shall mean individual use + by Customer or any legal entity (such as a corporation or university) + and the subsidiaries it owns by more than fifty percent (50%). + + 2.1.2 Open Source Exception. Notwithstanding the foregoing terms + of Section 2.1.1, SOFTWARE may be copied and redistributed solely for + use on operating systems distributed under the terms of an OSI-approved + open source license as listed by the Open Source Initiative at + http://opensource.org, provided that the binary files thereof are not + modified, and Customer provides a copy of this license with the SOFTWARE. + + 2.1.3 Limitations. + + No Reverse Engineering. Customer may not reverse engineer, + decompile, or disassemble the SOFTWARE, nor attempt in any other + manner to obtain the source code. + + Usage. SOFTWARE is licensed only for use with microprocessor(s) which have + been (i) designed by NVIDIA and (ii) either (a) sold by or (b) licensed by + NVIDIA. Customer shall not use SOFTWARE in conjunction with, nor cause + SOFTWARE to be executed by, any other microprocessor. + + No Translation. Customer shall not translate SOFTWARE, nor cause or permit + SOFTWARE to be translated, from the architecture or language in which it is + originally provided by NVIDIA, into any other architecture or language. + + No Rental. Customer may not rent or lease the SOFTWARE to someone + else. + + 3. TERMINATION + + This LICENSE will automatically terminate if Customer fails to + comply with any of the terms and conditions hereof. In such event, + Customer must destroy all copies of the SOFTWARE and all of its + component parts. + + Defensive Suspension. If Customer commences or participates in any legal + proceeding against NVIDIA, then NVIDIA may, in its sole discretion, + suspend or terminate all license grants and any other rights provided + under this LICENSE during the pendency of such legal proceedings. + + 4. COPYRIGHT + + All title and copyrights in and to the SOFTWARE (including but + not limited to all images, photographs, animations, video, audio, + music, text, and other information incorporated into the SOFTWARE), + the accompanying printed materials, and any copies of the SOFTWARE, + are owned by NVIDIA, or its suppliers. The SOFTWARE is protected + by copyright laws and international treaty provisions. Accordingly, + Customer is required to treat the SOFTWARE like any other copyrighted + material, except as otherwise allowed pursuant to this LICENSE + and that it may make one copy of the SOFTWARE solely for backup or + archive purposes. + + 5. APPLICABLE LAW + + This agreement shall be deemed to have been made in, and shall be + construed pursuant to, the laws of the State of California. + + 6. DISCLAIMER OF WARRANTIES AND LIMITATION ON LIABILITY + + 6.1 No Warranties. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE + LAW, THE SOFTWARE IS PROVIDED "AS IS" AND NVIDIA AND ITS SUPPLIERS + DISCLAIM ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT + NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE. + + 6.2 No Liability for Consequential Damages. TO THE MAXIMUM + EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL NVIDIA OR + ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR + CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, + DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS + OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT + OF THE USE OF OR INABILITY TO USE THE SOFTWARE, EVEN IF NVIDIA HAS + BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + 7. MISCELLANEOUS + + The United Nations Convention on Contracts for the International + Sale of Goods is specifically disclaimed. If any provision of this + LICENSE is inconsistent with, or cannot be fully enforced under, + the law, such provision will be construed as limited to the extent + necessary to be consistent with and fully enforceable under the law. + This agreement is the final, complete and exclusive agreement between + the parties relating to the subject matter hereof, and supersedes + all prior or contemporaneous understandings and agreements relating + to such subject matter, whether oral or written. Customer agrees + that it will not ship, transfer or export the SOFTWARE into any + country, or use the SOFTWARE in any manner, prohibited by the + United States Bureau of Export Administration or any export laws, + restrictions or regulations. This LICENSE may only be modified in + writing signed by an authorized officer of NVIDIA. + - score: '100.0' + start_line: 3 + end_line: 40 + matcher: 2-aho + rule_length: 303 + matched_length: 303 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_319.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + + * Neither the name of Fuzhou Rockchip Electronics Co.Ltd, its products + nor the names of its suppliers may be used to endorse or promote products + derived from this Software without specific prior written permission. + + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. Fuzhou Rockchip Electronics Co.Ltd grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. 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 OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_311.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Comtrol grants permission to use and redistribute these firmware + files for use with Comtrol devices, but not as part of the Linux + kernel or in any other form which would require these files themselves + to be covered by the terms of the GNU General Public License. + + These firmware files are distributed in the hope that they will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 3 + end_line: 38 + matcher: 2-aho + rule_length: 297 + matched_length: 297 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ralink-firmware.LICENSE + license_expression: ralink-firmware + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Ralink Technology Corporation nor the names of its + suppliers may be used to endorse or promote products derived from this + software without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. Ralink Technology Corporation grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. 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 OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware + data in hexadecimal or equivalent format, provided this copyright + notice is accompanying it. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware + data in hexadecimal or equivalent format, provided this copyright + notice is accompanying it. + - score: '100.0' + start_line: 1 + end_line: 33 + matcher: 1-hash + rule_length: 266 + matched_length: 266 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_and_proprietary-license_1.RULE + license_expression: bsd-new AND proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following + conditions are met: + + * Redistribution of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistribution 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. + + * The name of Ikanos Corporation may not be used to endorse + or promote products derived from this source code without specific + prior written consent of Ikanos Corporation. + + 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 + OWNER 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. + USER ACKNOWLEDGES AND AGREES THAT THE PURCHASE OR USE OF THIS + SOFTWARE WILL NOT CREATE OR GIVE GROUNDS FOR A LICENSE BY + IMPLICATION, ESTOPPEL, OR OTHERWISE IN ANY INTELLECTUAL PROPERTY + RIGHTS (PATENT, COPYRIGHT, TRADE SECRET, MASK WORK, OR OTHER + PROPRIETARY RIGHT) EMBODIED IN ANY OTHER IKANOS HARDWARE OR SOFTWARE + EITHER SOLELY OR IN COMBINATION WITH THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_308.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Conexant grants permission to use and redistribute these firmware + files for use with Conexant devices, but not as a part of the Linux + kernel or in any other form which would require these files themselves + to be covered by the terms of the GNU General Public License. + These firmware files are distributed in the hope that they will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 3 + end_line: 38 + matcher: 2-aho + rule_length: 295 + matched_length: 295 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel.LICENSE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Intel Corporation nor the names of its suppliers + may be used to endorse or promote products derived from this software + without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. Intel Corporation grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. 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 OWNER 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-misc-nonfree.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-misc-nonfree.copyright.expected.yml index 863e0fbac54..74b0f0ee182 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-misc-nonfree.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-misc-nonfree.copyright.expected.yml @@ -1,5 +1,6 @@ -- None -- - BSD (3Com) +primary_license: None +declared_license: + - BSD (3Com) - Permissive (Advansys) - BSD (Agere) - Binary redistribution (Abilis) @@ -30,10 +31,10 @@ - Binary redistribution (Ralink) - BSD (Ikanos) - Binary redistribution (Conexant) -- 3com-microcode AND bsd-simplified-source AND agere-bsd AND isc AND proprietary-license AND - other-permissive AND linux-openib AND bsd-new AND intel AND bsd-original AND mit AND ralink-firmware +license_expression: 3com-microcode AND bsd-simplified-source AND agere-bsd AND isc AND proprietary-license + AND other-permissive AND linux-openib AND bsd-new AND intel AND bsd-original AND mit AND ralink-firmware AND (bsd-new AND proprietary-license) -- | +copyright: | 1999-2004, 3Com Corporation 1995-2000, Advanced System Products, Inc. 2000-2001, ConnectCom Solutions, Inc. @@ -69,3 +70,1272 @@ 2007, Tehuti Networks Ltd. 2000-2003, Broadcom Corporation. 2006, Ikanos Communications, Inc. +matches: + - score: '100.0' + start_line: 3 + end_line: 30 + matcher: 2-aho + rule_length: 264 + matched_length: 264 + match_coverage: '100.0' + rule_relevance: 100 + identifier: 3com-microcode3.RULE + license_expression: 3com-microcode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms of the 3c990img.h + microcode software are permitted provided that the following conditions + are met: + 1. Redistribution of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistribution 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. + 3. The name of 3Com may not be used to endorse or promote products + derived from this software without specific prior written permission + + THIS SOFTWARE IS PROVIDED BY 3COM ``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 AUTHOR 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. + + USER ACKNOWLEDGES AND AGREES THAT PURCHASE OR USE OF THE 3c990img.h + MICROCODE SOFTWARE WILL NOT CREATE OR GIVE GROUNDS FOR A LICENSE BY + IMPLICATION, ESTOPPEL, OR OTHERWISE IN ANY INTELLECTUAL PROPERTY RIGHTS + (PATENT, COPYRIGHT, TRADE SECRET, MASK WORK, OR OTHER PROPRIETARY RIGHT) + EMBODIED IN ANY OTHER 3COM HARDWARE OR SOFTWARE EITHER SOLELY OR IN + COMBINATION WITH THE 3c990img.h MICROCODE SOFTWARE + - score: '100.0' + start_line: 3 + end_line: 6 + matcher: 2-aho + rule_length: 30 + matched_length: 30 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified-source.LICENSE + license_expression: bsd-simplified-source + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that redistributions of source + code retain the above copyright notice and this comment without + modification. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 296 + matched_length: 296 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agere-bsd_1.RULE + license_expression: agere-bsd + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided subject to the following terms and conditions, + which you should read carefully before using the software. Using this + software indicates your acceptance of these terms and conditions. If you do + not agree with these terms and conditions, do not use the software. + + All rights reserved. + + Redistribution and use in source or binary forms, with or without + modifications, are permitted provided that the following conditions are met: + + Redistributions of source code must retain the above copyright notice, this + list of conditions and the following Disclaimer as comments in the code as + well as in the documentation and/or other materials provided with the + distribution. + + 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. + + Neither the name of Agere Systems Inc. nor the names of the contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + Disclaimer + + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, INFRINGEMENT AND THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ANY + USE, MODIFICATION OR DISTRIBUTION OF THIS SOFTWARE IS SOLELY AT THE USERS OWN + RISK. IN NO EVENT SHALL AGERE SYSTEMS INC. 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, INCLUDING, BUT NOT LIMITED TO, 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. + - score: '99.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 99 + identifier: isc_53.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for + any purpose with or without fee is hereby granted, provided that the + above copyright notice and this permission notice appear in all + copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS 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 + TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 3 + end_line: 46 + matcher: 2-aho + rule_length: 364 + matched_length: 364 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_336.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Creative Technology Ltd or its affiliates ("CTL") + nor the names of its suppliers may be used to endorse or promote + products derived from this software without specific prior written + permission. + * No reverse engineering, decompilation, or disassembly of this software + (or any part thereof) is permitted. + + Limited patent license. CTL grants a limited, world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but strictly only to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not be + applicable, to any other combinations which include this software. + No hardware per se is licensed hereunder. + + DISCLAIMER. 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 OWNER 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 OTHER RIGHTS GRANTED. USER HEREBY ACKNOWLEDGES AND AGREES THAT USE OF + THIS SOFTWARE SHALL NOT CREATE OR GIVE GROUNDS FOR A LICENSE BY + IMPLICATION, ESTOPPEL, OR OTHERWISE TO ANY INTELLECTUAL PROPERTY RIGHTS + (PATENT, COPYRIGHT, TRADE SECRET, MASK WORK, OR OTHER PROPRIETARY RIGHT) + EMBODIED IN ANY OTHER CTL HARDWARE OR SOFTWARE WHETHER SOLELY OR IN + COMBINATION WITH THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware + data in hexadecimal or equivalent format, provided this copyright + notice is accompanying it. + - score: '100.0' + start_line: 3 + end_line: 23 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 100 + identifier: linux-openib.LICENSE + license_expression: linux-openib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 3 + end_line: 26 + matcher: 2-aho + rule_length: '199' + matched_length: '199' + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_334.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in binary form, without modification, are + permitted provided that the following conditions are met: + + 1. Redistribution 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. + 2. The name of Chelsio Communications may not be used to endorse or + promote products derived from this software without specific prior + written permission. + 3. Reverse engineering, decompilation, or disassembly of this + firmware is not permitted. + + DISCLAIMER. 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 OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 30 + matched_length: 30 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified-source.LICENSE + license_expression: bsd-simplified-source + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that redistributions of source + code retain the above copyright notice and this comment without + modification. + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 1-hash + rule_length: 120 + matched_length: 120 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_332.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software, only + for use with Xceive ICs, for any purpose with or without fee is hereby + granted, provided that the above copyright notice and this permission + notice appear in all source code copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS 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 THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc.LICENSE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for + any purpose with or without fee is hereby granted, provided that the + above copyright notice and this permission notice appear in all + copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS 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 THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc.LICENSE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for + any purpose with or without fee is hereby granted, provided that the + above copyright notice and this permission notice appear in all + copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS 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 THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_331.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + TERRATEC grants permission to use and redistribute these firmware + files for use with TERRATEC devices, but not as part of the Linux + kernel or in any other form which would require these files themselves + to be covered by the terms of the GNU General Public License. + + These firmware files are distributed in the hope that they will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 3 + end_line: 26 + matcher: 2-aho + rule_length: 211 + matched_length: 211 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_786.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3. Neither the name of Intel Corporation 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 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 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. + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 1-hash + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc.LICENSE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS 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 THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_330.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Sensoray grants permission to use and redistribute these firmware + files for use with Sensoray devices, but not as a part of the Linux + kernel or in any other form which would require these files themselves + to be covered by the terms of the GNU General Public License. + These firmware files are distributed in the hope that they will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 73 + matched_length: 73 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_328.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The firmware files included in the firmware/ directory may be freely + redistributed only in conjunction with this document [LICENCE.go7007]; + but modification, tampering and reverse engineering are prohibited. + + MICRONAS USA, INC., MAKES NO WARRANTIES TO ANY PERSON OR ENTITY WITH + RESPECT TO THE SOFTWARE OR ANY DERIVATIVES THEREOF OR ANY SERVICES OR + LICENSES AND DISCLAIMS ALL IMPLIED WARRANTIES, INCLUDING WITHOUT LIMITATION + WARRANTIES OF MERCHANTABILITY, SUPPORT, AND FITNESS FOR A PARTICULAR + PURPOSE AND NON-INFRINGEMENT. + - score: '95.0' + start_line: 3 + end_line: 36 + matcher: 2-aho + rule_length: 268 + matched_length: 268 + match_coverage: '100.0' + rule_relevance: 95 + identifier: intel_2.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. + + Redistribution and use in binary form, without modification, are permitted + provided that the following conditions are met: + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Intel Corporation nor the names of its suppliers may + be used to endorse or promote products derived from this software without + specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software is + permitted. + + Limited patent license. + + Intel Corporation grants a world-wide, royalty-free, non-exclusive license + under patents it now or hereafter owns or controls to make, have made, use, + import, offer to sell and sell (“Utilize”) this software, but solely to the + extent that any such patent is necessary to Utilize the software alone. The + patent license shall not apply to any combinations which include this software. + No hardware per se is licensed hereunder. + + DISCLAIMER. + + 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 OWNER 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. + - score: '100.0' + start_line: 3 + end_line: 46 + matcher: 2-aho + rule_length: 382 + matched_length: 382 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_327.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Reproduction and redistribution in binary form, without + modification, for use solely in conjunction with a NXP + chipset, is permitted provided that the following conditions are met: + + . Redistributions must reproduce the above copyright notice and the following + disclaimer in the documentation and/or other materials provided with the + distribution. + + . Neither the name of NXP nor the names of its suppliers + may be used to endorse or promote products derived from this Software + without specific prior written permission. + + . No reverse engineering, decompilation, or disassembly of this Software is + permitted. + + Limited patent license. NXP (.Licensor.) grants you + (.Licensee.) a limited, worldwide, royalty-free, non-exclusive license under + the Patents to make, have made, use, import, offer to sell and sell the + Software. No hardware per se is licensed hereunder. + The term .Patents. as used in this agreement means only those patents or patent + applications owned solely and exclusively by Licensor as of the date of + Licensor.s submission of the Software and any patents deriving priority (i.e., + having a first effective filing date) therefrom. The term .Software. as used in + this agreement means the firmware image submitted by Licensor, under the terms + of this license, to git://git.kernel.org/pub/scm/linux/kernel/git/firmware/ + linux-firmware.git. + Notwithstanding anything to the contrary herein, Licensor does not grant and + Licensee does not receive, by virtue of this agreement or the Licensor's + submission of any Software, any license or other rights under any patent or + patent application owned by any affiliate of Licensor or any other entity + (other than Licensor), whether expressly, impliedly, by virtue of estoppel or + exhaustion, or otherwise. + + DISCLAIMER. 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 OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 26 + matcher: 1-hash + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_44.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by Kawasaki LSI. + 4. Neither the name of the company 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 BY KAWASAKI LSI ``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 KAWASAKI LSI 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. + - score: '98.77' + start_line: 3 + end_line: '19' + matcher: 3-seq + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_712.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + [MATROX] [GRAPHICS] INC., OR ANY OTHER CONTRIBUTORS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE + OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 142 + matched_length: 142 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_326.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The software accompanying this license statement (the “Software”) + is the property of Moxa Inc. (the “Moxa”), and is protected by + United States and International Copyright Laws and International + treaty provisions. No ownership rights are granted by this + Agreement or possession of the Software. Therefore, you must treat + the Licensed Software like any other copyrighted material. Your + rights and obligations in its use are described as follows: + + 1. You may freely redistribute this software under this license. + 2. You may freely download and use this software on Moxa's device. + 3. You may not modify or attempt to reverse engineer the software, or + make any attempt to change or even examine the source code of the + software. + 4. You may not re-license or sub-license the software to any person or + business, using any other license. + 5. Moxa(r) is worldwide registered trademark. + - score: '100.0' + start_line: 3 + end_line: 38 + matcher: 2-aho + rule_length: 297 + matched_length: 297 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ralink-firmware.LICENSE + license_expression: ralink-firmware + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Ralink Technology Corporation nor the names of its + suppliers may be used to endorse or promote products derived from this + software without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. Ralink Technology Corporation grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. 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 OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_324.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: All firmware components are redistributable in binary form. + - score: '100.0' + start_line: 1 + end_line: 127 + matcher: 1-hash + rule_length: 952 + matched_length: 952 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_325.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + IMPORTANT NOTICE -- READ CAREFULLY: This License For Customer Use of + NVIDIA Software ("LICENSE") is the agreement which governs use of + the software of NVIDIA Corporation and its subsidiaries ("NVIDIA") + downloadable herefrom, including computer software and associated + printed materials ("SOFTWARE"). By downloading, installing, copying, + or otherwise using the SOFTWARE, you agree to be bound by the terms + of this LICENSE. If you do not agree to the terms of this LICENSE, + do not download the SOFTWARE. + + RECITALS + + Use of NVIDIA's products requires three elements: the SOFTWARE, the + hardware, and a personal computer. The SOFTWARE is protected by copyright + laws and international copyright treaties, as well as other intellectual + property laws and treaties. The SOFTWARE may be protected by various + patents, and is not sold, and instead is only licensed for use, strictly + in accordance with this document. The hardware is protected by various + patents, and is sold, but this agreement does not cover that sale, since + it may not necessarily be sold as a package with the SOFTWARE. This + agreement sets forth the terms and conditions of the SOFTWARE LICENSE only. + + 1. DEFINITIONS + + 1.1 Customer. Customer means the entity or individual that + downloads or otherwise obtains the SOFTWARE. + + 2. GRANT OF LICENSE + + 2.1 Rights and Limitations of Grant. NVIDIA hereby grants Customer + the following non-exclusive, non-transferable right to use the + SOFTWARE, with the following limitations: + + 2.1.1 Rights. Customer may install and use multiple copies of the + SOFTWARE on a shared computer or concurrently on different computers, + and make multiple back-up copies of the SOFTWARE, solely for Customer's + use within Customer's Enterprise. "Enterprise" shall mean individual use + by Customer or any legal entity (such as a corporation or university) + and the subsidiaries it owns by more than fifty percent (50%). + + 2.1.2 Open Source Exception. Notwithstanding the foregoing terms + of Section 2.1.1, SOFTWARE may be copied and redistributed solely for + use on operating systems distributed under the terms of an OSI-approved + open source license as listed by the Open Source Initiative at + http://opensource.org, provided that the binary files thereof are not + modified, and Customer provides a copy of this license with the SOFTWARE. + + 2.1.3 Limitations. + + No Reverse Engineering. Customer may not reverse engineer, + decompile, or disassemble the SOFTWARE, nor attempt in any other + manner to obtain the source code. + + Usage. SOFTWARE is licensed only for use with microprocessor(s) which have + been (i) designed by NVIDIA and (ii) either (a) sold by or (b) licensed by + NVIDIA. Customer shall not use SOFTWARE in conjunction with, nor cause + SOFTWARE to be executed by, any other microprocessor. + + No Translation. Customer shall not translate SOFTWARE, nor cause or permit + SOFTWARE to be translated, from the architecture or language in which it is + originally provided by NVIDIA, into any other architecture or language. + + No Rental. Customer may not rent or lease the SOFTWARE to someone + else. + + 3. TERMINATION + + This LICENSE will automatically terminate if Customer fails to + comply with any of the terms and conditions hereof. In such event, + Customer must destroy all copies of the SOFTWARE and all of its + component parts. + + Defensive Suspension. If Customer commences or participates in any legal + proceeding against NVIDIA, then NVIDIA may, in its sole discretion, + suspend or terminate all license grants and any other rights provided + under this LICENSE during the pendency of such legal proceedings. + + 4. COPYRIGHT + + All title and copyrights in and to the SOFTWARE (including but + not limited to all images, photographs, animations, video, audio, + music, text, and other information incorporated into the SOFTWARE), + the accompanying printed materials, and any copies of the SOFTWARE, + are owned by NVIDIA, or its suppliers. The SOFTWARE is protected + by copyright laws and international treaty provisions. Accordingly, + Customer is required to treat the SOFTWARE like any other copyrighted + material, except as otherwise allowed pursuant to this LICENSE + and that it may make one copy of the SOFTWARE solely for backup or + archive purposes. + + 5. APPLICABLE LAW + + This agreement shall be deemed to have been made in, and shall be + construed pursuant to, the laws of the State of California. + + 6. DISCLAIMER OF WARRANTIES AND LIMITATION ON LIABILITY + + 6.1 No Warranties. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE + LAW, THE SOFTWARE IS PROVIDED "AS IS" AND NVIDIA AND ITS SUPPLIERS + DISCLAIM ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT + NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE. + + 6.2 No Liability for Consequential Damages. TO THE MAXIMUM + EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL NVIDIA OR + ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR + CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, + DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS + OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT + OF THE USE OF OR INABILITY TO USE THE SOFTWARE, EVEN IF NVIDIA HAS + BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + 7. MISCELLANEOUS + + The United Nations Convention on Contracts for the International + Sale of Goods is specifically disclaimed. If any provision of this + LICENSE is inconsistent with, or cannot be fully enforced under, + the law, such provision will be construed as limited to the extent + necessary to be consistent with and fully enforceable under the law. + This agreement is the final, complete and exclusive agreement between + the parties relating to the subject matter hereof, and supersedes + all prior or contemporaneous understandings and agreements relating + to such subject matter, whether oral or written. Customer agrees + that it will not ship, transfer or export the SOFTWARE into any + country, or use the SOFTWARE in any manner, prohibited by the + United States Bureau of Export Administration or any export laws, + restrictions or regulations. This LICENSE may only be modified in + writing signed by an authorized officer of NVIDIA. + - score: '100.0' + start_line: 3 + end_line: 40 + matcher: 2-aho + rule_length: 303 + matched_length: 303 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_319.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + + * Neither the name of Fuzhou Rockchip Electronics Co.Ltd, its products + nor the names of its suppliers may be used to endorse or promote products + derived from this Software without specific prior written permission. + + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. Fuzhou Rockchip Electronics Co.Ltd grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. 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 OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_311.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Comtrol grants permission to use and redistribute these firmware + files for use with Comtrol devices, but not as part of the Linux + kernel or in any other form which would require these files themselves + to be covered by the terms of the GNU General Public License. + + These firmware files are distributed in the hope that they will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 3 + end_line: 38 + matcher: 2-aho + rule_length: 297 + matched_length: 297 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ralink-firmware.LICENSE + license_expression: ralink-firmware + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Ralink Technology Corporation nor the names of its + suppliers may be used to endorse or promote products derived from this + software without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. Ralink Technology Corporation grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. 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 OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware + data in hexadecimal or equivalent format, provided this copyright + notice is accompanying it. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware + data in hexadecimal or equivalent format, provided this copyright + notice is accompanying it. + - score: '100.0' + start_line: 1 + end_line: 33 + matcher: 1-hash + rule_length: 266 + matched_length: 266 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_and_proprietary-license_1.RULE + license_expression: bsd-new AND proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following + conditions are met: + + * Redistribution of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistribution 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. + + * The name of Ikanos Corporation may not be used to endorse + or promote products derived from this source code without specific + prior written consent of Ikanos Corporation. + + 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 + OWNER 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. + USER ACKNOWLEDGES AND AGREES THAT THE PURCHASE OR USE OF THIS + SOFTWARE WILL NOT CREATE OR GIVE GROUNDS FOR A LICENSE BY + IMPLICATION, ESTOPPEL, OR OTHERWISE IN ANY INTELLECTUAL PROPERTY + RIGHTS (PATENT, COPYRIGHT, TRADE SECRET, MASK WORK, OR OTHER + PROPRIETARY RIGHT) EMBODIED IN ANY OTHER IKANOS HARDWARE OR SOFTWARE + EITHER SOLELY OR IN COMBINATION WITH THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_308.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Conexant grants permission to use and redistribute these firmware + files for use with Conexant devices, but not as a part of the Linux + kernel or in any other form which would require these files themselves + to be covered by the terms of the GNU General Public License. + These firmware files are distributed in the hope that they will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 3 + end_line: 38 + matcher: 2-aho + rule_length: 295 + matched_length: 295 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel.LICENSE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Intel Corporation nor the names of its suppliers + may be used to endorse or promote products derived from this software + without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. Intel Corporation grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. 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 OWNER 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-myricom.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-myricom.copyright-detailed.expected.yml index 5d82b0a80ba..4a295973839 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-myricom.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-myricom.copyright-detailed.expected.yml @@ -1,4 +1,37 @@ -- -- -- bsd-source-code -- Copyright (c) 2006-2010, Myricom Inc. +primary_license: +declared_license: +license_expression: bsd-source-code +copyright: Copyright (c) 2006-2010, Myricom Inc. +matches: + - score: '96.17' + start_line: 1 + end_line: 27 + matcher: 3-seq + rule_length: 183 + matched_length: 176 + match_coverage: '96.17' + rule_relevance: 100 + identifier: mentalis_2.RULE + license_expression: bsd-source-code + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "binary [firmware] [may] [be] [downloaded] [from]\n [https]://[git].[kernel].[org]/[cgit]/[linux]/[kernel]/[git]/[firmware]/[linux]-[firmware].[git]\n\ + \ \n [Copyright] ([c]) [2006]-[2010], [Myricom] [Inc].\n [All] [rights] [reserved].\n\ + \ \n [Redistribution] [and] [use] [in] [source] [and] [binary] forms, with or without\n\ + \ modification, are permitted provided that the following conditions are met:\n \n [1].\ + \ Redistributions of source code must retain the above copyright notice,\n this list\ + \ of conditions and the following disclaimer.\n \n [2]. Neither the name of [the] [Myricom]\ + \ Inc, nor the names of its\n contributors may be used to endorse or promote products\ + \ derived from\n this software without specific prior written permission.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\ + \ OWNER OR CONTRIBUTORS BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n CONTRACT, STRICT LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-myricom.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-myricom.copyright.expected.yml index 5d82b0a80ba..4a295973839 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-myricom.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-myricom.copyright.expected.yml @@ -1,4 +1,37 @@ -- -- -- bsd-source-code -- Copyright (c) 2006-2010, Myricom Inc. +primary_license: +declared_license: +license_expression: bsd-source-code +copyright: Copyright (c) 2006-2010, Myricom Inc. +matches: + - score: '96.17' + start_line: 1 + end_line: 27 + matcher: 3-seq + rule_length: 183 + matched_length: 176 + match_coverage: '96.17' + rule_relevance: 100 + identifier: mentalis_2.RULE + license_expression: bsd-source-code + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "binary [firmware] [may] [be] [downloaded] [from]\n [https]://[git].[kernel].[org]/[cgit]/[linux]/[kernel]/[git]/[firmware]/[linux]-[firmware].[git]\n\ + \ \n [Copyright] ([c]) [2006]-[2010], [Myricom] [Inc].\n [All] [rights] [reserved].\n\ + \ \n [Redistribution] [and] [use] [in] [source] [and] [binary] forms, with or without\n\ + \ modification, are permitted provided that the following conditions are met:\n \n [1].\ + \ Redistributions of source code must retain the above copyright notice,\n this list\ + \ of conditions and the following disclaimer.\n \n [2]. Neither the name of [the] [Myricom]\ + \ Inc, nor the names of its\n contributors may be used to endorse or promote products\ + \ derived from\n this software without specific prior written permission.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\ + \ OWNER OR CONTRIBUTORS BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n CONTRACT, STRICT LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netronome.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netronome.copyright-detailed.expected.yml index 01b8439b061..bdb6a7b6adb 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netronome.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netronome.copyright-detailed.expected.yml @@ -1,4 +1,21 @@ -- -- -- proprietary-license -- Copyright (c) 2017, NETRONOME Systems, Inc. +primary_license: +declared_license: +license_expression: proprietary-license +copyright: Copyright (c) 2017, NETRONOME Systems, Inc. +matches: + - score: '16.0' + start_line: '19' + end_line: '19' + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: proprietary_36.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: confidential and proprietary diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netronome.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netronome.copyright.expected.yml index 01b8439b061..bdb6a7b6adb 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netronome.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netronome.copyright.expected.yml @@ -1,4 +1,21 @@ -- -- -- proprietary-license -- Copyright (c) 2017, NETRONOME Systems, Inc. +primary_license: +declared_license: +license_expression: proprietary-license +copyright: Copyright (c) 2017, NETRONOME Systems, Inc. +matches: + - score: '16.0' + start_line: '19' + end_line: '19' + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: proprietary_36.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: confidential and proprietary diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netxen.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netxen.copyright-detailed.expected.yml index 7cefcd6d4cc..759be04b1c3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netxen.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netxen.copyright-detailed.expected.yml @@ -1,4 +1,38 @@ -- -- -- qlogic-firmware -- Copyright (c) 2003-2010 QLogic Corporation QLogic Linux Intelligent Ethernet +primary_license: +declared_license: +license_expression: qlogic-firmware +copyright: Copyright (c) 2003-2010 QLogic Corporation QLogic Linux Intelligent Ethernet +matches: + - score: '100.0' + start_line: 7 + end_line: 34 + matcher: 2-aho + rule_length: 262 + matched_length: 262 + match_coverage: '100.0' + rule_relevance: 100 + identifier: qlogic-firmware.LICENSE + license_expression: qlogic-firmware + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in binary form, without modification, for use in conjunction\n\ + \ with QLogic authorized products is permitted provided that the following conditions\n\ + \ are met:\n \n 1. Redistribution in binary form must reproduce the above copyright notice, this \n\ + \ list of conditions and the following disclaimer in the documentation and/or \n \ + \ other materials provided with the distribution.\n 2. The name of QLogic Corporation may not be used to\ + \ endorse or promote products \n derived from this software without specific prior written permission.\n\ + \ 3. Reverse engineering, decompilation, or disassembly of this firmware is not \n \ + \ permitted.\n \n REGARDLESS OF WHAT LICENSING MECHANISM IS USED OR APPLICABLE,THIS PROGRAM IS \n\ + \ PROVIDED BY QLOGIC CORPORATION \"AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, \n INCLUDING, BUT NOT LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND \n FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\n\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE \n GOODS OR SERVICES; LOSS OF USE,DATA, OR PROFITS; OR BUSINESS INTERRUPTION) \n\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT \n LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n\ + \ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\ + \ \n USER ACKNOWLEDGES AND AGREES THAT USE OF THIS PROGRAM WILL NOT CREATE OR GIVE \n\ + \ GROUNDS FOR A LICENSE BY IMPLICATION, ESTOPPEL, OR OTHERWISE IN ANY INTELLECTUAL\n PROPERTY RIGHTS (PATENT, COPYRIGHT,\ + \ TRADE SECRET, MASK WORK, OR OTHER PROPRIETARY\n RIGHT) EMBODIED IN ANY OTHER QLOGIC HARDWARE OR SOFTWARE EITHER SOLELY OR IN\n\ + \ COMBINATION WITH THIS PROGRAM." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netxen.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netxen.copyright.expected.yml index 7cefcd6d4cc..759be04b1c3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netxen.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netxen.copyright.expected.yml @@ -1,4 +1,38 @@ -- -- -- qlogic-firmware -- Copyright (c) 2003-2010 QLogic Corporation QLogic Linux Intelligent Ethernet +primary_license: +declared_license: +license_expression: qlogic-firmware +copyright: Copyright (c) 2003-2010 QLogic Corporation QLogic Linux Intelligent Ethernet +matches: + - score: '100.0' + start_line: 7 + end_line: 34 + matcher: 2-aho + rule_length: 262 + matched_length: 262 + match_coverage: '100.0' + rule_relevance: 100 + identifier: qlogic-firmware.LICENSE + license_expression: qlogic-firmware + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in binary form, without modification, for use in conjunction\n\ + \ with QLogic authorized products is permitted provided that the following conditions\n\ + \ are met:\n \n 1. Redistribution in binary form must reproduce the above copyright notice, this \n\ + \ list of conditions and the following disclaimer in the documentation and/or \n \ + \ other materials provided with the distribution.\n 2. The name of QLogic Corporation may not be used to\ + \ endorse or promote products \n derived from this software without specific prior written permission.\n\ + \ 3. Reverse engineering, decompilation, or disassembly of this firmware is not \n \ + \ permitted.\n \n REGARDLESS OF WHAT LICENSING MECHANISM IS USED OR APPLICABLE,THIS PROGRAM IS \n\ + \ PROVIDED BY QLOGIC CORPORATION \"AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, \n INCLUDING, BUT NOT LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND \n FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\n\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE \n GOODS OR SERVICES; LOSS OF USE,DATA, OR PROFITS; OR BUSINESS INTERRUPTION) \n\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT \n LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n\ + \ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\ + \ \n USER ACKNOWLEDGES AND AGREES THAT USE OF THIS PROGRAM WILL NOT CREATE OR GIVE \n\ + \ GROUNDS FOR A LICENSE BY IMPLICATION, ESTOPPEL, OR OTHERWISE IN ANY INTELLECTUAL\n PROPERTY RIGHTS (PATENT, COPYRIGHT,\ + \ TRADE SECRET, MASK WORK, OR OTHER PROPRIETARY\n RIGHT) EMBODIED IN ANY OTHER QLOGIC HARDWARE OR SOFTWARE EITHER SOLELY OR IN\n\ + \ COMBINATION WITH THIS PROGRAM." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qcom-media.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qcom-media.copyright-detailed.expected.yml index 0c43281ed2d..cb4ae708c19 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qcom-media.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qcom-media.copyright-detailed.expected.yml @@ -1,10 +1,11 @@ -- -- -- free-unknown AND proprietary-license AND proprietary-license AND openssl-ssleay AND openssl-ssleay - AND openssl-ssleay AND zlib AND zlib AND public-domain AND bsd-new AND gary-s-brown AND other-permissive - AND public-domain AND isc AND public-domain AND bsd-unmodified AND (gpl-2.0 OR bsd-new) AND - (gpl-2.0 OR bsd-new) AND bsd-original AND bsd-new AND bsd-new AND isc -- | +primary_license: +declared_license: +license_expression: free-unknown AND proprietary-license AND proprietary-license AND openssl-ssleay + AND openssl-ssleay AND openssl-ssleay AND zlib AND zlib AND public-domain AND bsd-new AND + gary-s-brown AND other-permissive AND public-domain AND isc AND public-domain AND bsd-unmodified + AND (gpl-2.0 OR bsd-new) AND (gpl-2.0 OR bsd-new) AND bsd-original AND bsd-new AND bsd-new + AND isc +copyright: | Copyright (c) 2013-2017 Qualcomm Technologies, Inc. Copyright (c) 2013-2017 Qualcomm Technologies, Inc. Copyright (c) 1998-2011 The OpenSSL Project @@ -23,3 +24,591 @@ Copyright (c) 2000-2001, Aaron D. Gifford Copyright (c) 1998 Todd C. Miller Copyright (c) 1998 Todd C. Miller +matches: + - score: '50.0' + start_line: 54 + end_line: 54 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 50 + identifier: free-unknown_88.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: open source license + - score: '16.0' + start_line: 86 + end_line: 87 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: proprietary_36.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + confidential and + proprietary + - score: '44.44' + start_line: 231 + end_line: 234 + matcher: 3-seq + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 50 + identifier: proprietary-license_557.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is a trademark of [Qualcomm] [Incorporated], registered in the + United States and other countries. All [Qualcomm] [Incorporated] trademarks are used + with permission. Other products and brand names may be trademarks or registered + trademarks of their respective owners. + - score: '98.28' + start_line: 237 + end_line: 244 + matcher: 3-seq + rule_length: 58 + matched_length: 57 + match_coverage: '98.28' + rule_relevance: 100 + identifier: openssl-ssleay_42.RULE + license_expression: openssl-ssleay + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "LICENSE [ISSUES]\n ==============\n \n The OpenSSL toolkit stays under\ + \ a dual license, i.e. both the conditions of\n the OpenSSL License and the original\ + \ SSLeay license apply to the toolkit.\n See below for the actual license texts. Actually\ + \ both licenses are BSD-style\n Open Source licenses. In case of any license issues\ + \ related to OpenSSL\n please contact openssl-core@openssl.org." + - score: '100.0' + start_line: 246 + end_line: 246 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openssl-ssleay_2.RULE + license_expression: openssl-ssleay + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: OpenSSL License + - score: '100.0' + start_line: 252 + end_line: 360 + matcher: 2-aho + rule_length: 799 + matched_length: 799 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openssl-ssleay_34.RULE + license_expression: openssl-ssleay + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n * modification,\ + \ are permitted provided that the following conditions\n * are met:\n *\n * 1. Redistributions\ + \ of source code must retain the above copyright\n * notice, this list of conditions\ + \ and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce\ + \ the above copyright\n * notice, this list of conditions and the following disclaimer\ + \ in\n * the documentation and/or other materials provided with the\n * distribution.\n\ + \ *\n * 3. All advertising materials mentioning features or use of this\n * software\ + \ must display the following acknowledgment:\n * \"This product includes software\ + \ developed by the OpenSSL Project\n * for use in the OpenSSL Toolkit. (http://www.openssl.org/)\"\ + \n *\n * 4. The names \"OpenSSL Toolkit\" and \"OpenSSL Project\" must not be used to\n\ + \ * endorse or promote products derived from this software without\n * prior written\ + \ permission. For written permission, please contact\n * openssl-core@openssl.org.\n\ + \ *\n * 5. Products derived from this software may not be called \"OpenSSL\"\n * \ + \ nor may \"OpenSSL\" appear in their names without prior written\n * permission\ + \ of the OpenSSL Project.\n *\n * 6. Redistributions of any form whatsoever must retain\ + \ the following\n * acknowledgment:\n * \"This product includes software developed\ + \ by the OpenSSL Project\n * for use in the OpenSSL Toolkit (http://www.openssl.org/)\"\ + \n *\n * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY\n * EXPRESSED\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF\ + \ MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n * PURPOSE ARE DISCLAIMED. IN NO EVENT\ + \ SHALL THE OpenSSL PROJECT OR\n * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n * NOT\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n * LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n * OF THE POSSIBILITY\ + \ OF SUCH DAMAGE.\n * ====================================================================\n\ + \ *\n * This product includes cryptographic software written by Eric Young\n * (eay@cryptsoft.com).\ + \ This product includes software written by Tim\n * Hudson (tjh@cryptsoft.com).\n *\n\ + \ */\n \n Original SSLeay License\n -----------------------\n \n /* Copyright (C) 1995-1998\ + \ Eric Young (eay@cryptsoft.com)\n * All rights reserved.\n *\n * This package is an\ + \ SSL implementation written\n * by Eric Young (eay@cryptsoft.com).\n * The implementation\ + \ was written so as to conform with Netscapes SSL.\n *\n * This library is free for\ + \ commercial and non-commercial use as long as\n * the following conditions are aheared\ + \ to. The following conditions\n * apply to all code found in this distribution, be\ + \ it the RC4, RSA,\n * lhash, DES, etc., code; not just the SSL code. The SSL documentation\n\ + \ * included with this distribution is covered by the same copyright terms\n * except\ + \ that the holder is Tim Hudson (tjh@cryptsoft.com).\n *\n * Copyright remains Eric\ + \ Young's, and as such any Copyright notices in\n * the code are not to be removed.\n\ + \ * If this package is used in a product, Eric Young should be given attribution\n *\ + \ as the author of the parts of the library used.\n * This can be in the form of a textual\ + \ message at program startup or\n * in documentation (online or textual) provided with\ + \ the package.\n *\n * Redistribution and use in source and binary forms, with or without\n\ + \ * modification, are permitted provided that the following conditions\n * are met:\n\ + \ * 1. Redistributions of source code must retain the copyright\n * notice, this\ + \ list of conditions and the following disclaimer.\n * 2. Redistributions in binary form\ + \ must reproduce the above copyright\n * notice, this list of conditions and the following\ + \ disclaimer in the\n * documentation and/or other materials provided with the distribution.\n\ + \ * 3. All advertising materials mentioning features or use of this software\n * \ + \ must display the following acknowledgement:\n * \"This product includes cryptographic\ + \ software written by\n * Eric Young (eay@cryptsoft.com)\"\n * The word 'cryptographic'\ + \ can be left out if the rouines from the library\n * being used are not cryptographic\ + \ related :-).\n * 4. If you include any Windows specific code (or a derivative thereof)\ + \ from\n * the apps directory (application code) you must include an acknowledgement:\n\ + \ * \"This product includes software written by Tim Hudson (tjh@cryptsoft.com)\"\n\ + \ *\n * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * The\ + \ licence and distribution terms for any publically available version or\n * derivative\ + \ of this code cannot be changed. i.e. this code cannot simply be\n * copied and put\ + \ under another distribution licence\n * [including the GNU Public Licence.]" + - score: '100.0' + start_line: 371 + end_line: 371 + matcher: 2-aho + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_5.RULE + license_expression: zlib + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For conditions of distribution and use, see copyright notice in zlib.h + - score: '100.0' + start_line: 380 + end_line: 396 + matcher: 2-aho + rule_length: 144 + matched_length: 144 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_17.RULE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is provided 'as-is', without any express or implied\n warranty.\ + \ In no event will the authors be held liable for any damages\n arising from the use\ + \ of this software.\n \n Permission is granted to anyone to use this software for any\ + \ purpose,\n including commercial applications, and to alter it and redistribute it\n\ + \ freely, subject to the following restrictions:\n \n 1. The origin of this software\ + \ must not be misrepresented; you must not\n claim that you wrote the original software.\ + \ If you use this software\n in a product, an acknowledgment in the product documentation\ + \ would be\n appreciated but is not required.\n 2. Altered source versions must\ + \ be plainly marked as such, and must not be\n misrepresented as being the original\ + \ software.\n 3. This notice may not be removed or altered from any source distribution.\n\ + \ Jean-loup Gailly Mark Adler\n jloup@gzip.org madler@alumni.caltech.edu" + - score: '100.0' + start_line: 413 + end_line: 415 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_303.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This code was + * written by Colin Plumb in 1993, no copyright is claimed. + * This code is in the public domain; do with it what you wish. + - score: '100.0' + start_line: 439 + end_line: 461 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_68.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 3. Neither the name of the copyright holder nor the names of contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTOR(S) ``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 AUTHOR(S) OR CONTRIBUTOR(S) 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. + - score: '88.0' + start_line: 469 + end_line: 470 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 88 + identifier: gary-s-brown.LICENSE + license_expression: gary-s-brown + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may use this program, or + * code or tables extracted from it, as desired without restriction. + - score: '100.0' + start_line: 514 + end_line: 519 + matcher: 2-aho + rule_length: 74 + matched_length: 74 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_105.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + I retain copyright in this code but I encourage its free use provided + that I don't carry any responsibility for the results. I am especially + happy to see it used in free and open source software. If you do use + it I would appreciate an acknowledgement of its origin in the code or + the product that results and I would also appreciate knowing a liitle + about the use to which it is being put. + - score: '100.0' + start_line: 531 + end_line: 531 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_177.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This code is in the public domain. + - score: '61.68' + start_line: 533 + end_line: 539 + matcher: 3-seq + rule_length: 107 + matched_length: 66 + match_coverage: '61.68' + rule_relevance: 100 + identifier: isc_28.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO + * EVENT SHALL [LANDON] [CURT] [NOLL] BE LIABLE FOR ANY SPECIAL, 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 THIS SOFTWARE. + - score: '100.0' + start_line: 549 + end_line: 549 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: IN THE PUBLIC DOMAIN + - score: '61.96' + start_line: 551 + end_line: 564 + matcher: 3-seq + rule_length: 184 + matched_length: 114 + match_coverage: '61.96' + rule_relevance: 100 + identifier: bsd-unmodified_1.RULE + license_expression: bsd-unmodified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + unmodified [version] [is] [available] [at]: + * [ftp]://[ftp].[funet].[fi]/[pub]/[crypt]/[hash]/[sha]/[sha1].[c] + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) 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 AUTHOR(S) 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. + - score: '100.0' + start_line: 580 + end_line: 587 + matcher: 2-aho + rule_length: 50 + matched_length: 50 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_or_bsd-new_aes_1.RULE + license_expression: gpl-2.0 OR bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * Alternatively, this software may be distributed under the terms of BSD + * license. + * + * See README and COPYING for more details. + - score: '100.0' + start_line: 594 + end_line: 601 + matcher: 2-aho + rule_length: 50 + matched_length: 50 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_or_bsd-new_aes_1.RULE + license_expression: gpl-2.0 OR bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * Alternatively, this software may be distributed under the terms of BSD + * license. + * + * See README and COPYING for more details. + - score: '90.17' + start_line: 613 + end_line: 635 + matcher: 3-seq + rule_length: 234 + matched_length: 211 + match_coverage: '90.17' + rule_relevance: 100 + identifier: bsd-original_6.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 3. Neither the name of the [copyright] [holder] nor the names of contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) 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 AUTHOR(S) 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. + - score: '100.0' + start_line: 646 + end_line: 668 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_68.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 3. Neither the name of the copyright holder nor the names of contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) "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 AUTHOR OR CONTRIBUTOR(S) 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. + - score: '100.0' + start_line: 677 + end_line: 697 + matcher: 2-aho + rule_length: 200 + matched_length: 200 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_76.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 3. The name of the author 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 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 AUTHOR 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. + - score: '100.0' + start_line: 705 + end_line: 715 + matcher: 2-aho + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS 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 THIS SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qcom-media.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qcom-media.copyright.expected.yml index ebd0c2e6f3d..9770d32bc0f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qcom-media.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qcom-media.copyright.expected.yml @@ -1,9 +1,9 @@ -- -- -- free-unknown AND proprietary-license AND openssl-ssleay AND zlib AND public-domain AND bsd-new - AND gary-s-brown AND other-permissive AND isc AND bsd-unmodified AND (gpl-2.0 OR bsd-new) - AND bsd-original -- | +primary_license: +declared_license: +license_expression: free-unknown AND proprietary-license AND openssl-ssleay AND zlib AND public-domain + AND bsd-new AND gary-s-brown AND other-permissive AND isc AND bsd-unmodified AND (gpl-2.0 + OR bsd-new) AND bsd-original +copyright: | Copyright (c) 2013-2017 Qualcomm Technologies, Inc. Copyright (c) 2013-2017 Qualcomm Technologies, Inc. Copyright (c) 1998-2011 The OpenSSL Project @@ -22,3 +22,591 @@ Copyright (c) 2000-2001, Aaron D. Gifford Copyright (c) 1998 Todd C. Miller Copyright (c) 1998 Todd C. Miller +matches: + - score: '50.0' + start_line: 54 + end_line: 54 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 50 + identifier: free-unknown_88.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: open source license + - score: '16.0' + start_line: 86 + end_line: 87 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: proprietary_36.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + confidential and + proprietary + - score: '44.44' + start_line: 231 + end_line: 234 + matcher: 3-seq + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 50 + identifier: proprietary-license_557.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is a trademark of [Qualcomm] [Incorporated], registered in the + United States and other countries. All [Qualcomm] [Incorporated] trademarks are used + with permission. Other products and brand names may be trademarks or registered + trademarks of their respective owners. + - score: '98.28' + start_line: 237 + end_line: 244 + matcher: 3-seq + rule_length: 58 + matched_length: 57 + match_coverage: '98.28' + rule_relevance: 100 + identifier: openssl-ssleay_42.RULE + license_expression: openssl-ssleay + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "LICENSE [ISSUES]\n ==============\n \n The OpenSSL toolkit stays under\ + \ a dual license, i.e. both the conditions of\n the OpenSSL License and the original\ + \ SSLeay license apply to the toolkit.\n See below for the actual license texts. Actually\ + \ both licenses are BSD-style\n Open Source licenses. In case of any license issues\ + \ related to OpenSSL\n please contact openssl-core@openssl.org." + - score: '100.0' + start_line: 246 + end_line: 246 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openssl-ssleay_2.RULE + license_expression: openssl-ssleay + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: OpenSSL License + - score: '100.0' + start_line: 252 + end_line: 360 + matcher: 2-aho + rule_length: 799 + matched_length: 799 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openssl-ssleay_34.RULE + license_expression: openssl-ssleay + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n * modification,\ + \ are permitted provided that the following conditions\n * are met:\n *\n * 1. Redistributions\ + \ of source code must retain the above copyright\n * notice, this list of conditions\ + \ and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce\ + \ the above copyright\n * notice, this list of conditions and the following disclaimer\ + \ in\n * the documentation and/or other materials provided with the\n * distribution.\n\ + \ *\n * 3. All advertising materials mentioning features or use of this\n * software\ + \ must display the following acknowledgment:\n * \"This product includes software\ + \ developed by the OpenSSL Project\n * for use in the OpenSSL Toolkit. (http://www.openssl.org/)\"\ + \n *\n * 4. The names \"OpenSSL Toolkit\" and \"OpenSSL Project\" must not be used to\n\ + \ * endorse or promote products derived from this software without\n * prior written\ + \ permission. For written permission, please contact\n * openssl-core@openssl.org.\n\ + \ *\n * 5. Products derived from this software may not be called \"OpenSSL\"\n * \ + \ nor may \"OpenSSL\" appear in their names without prior written\n * permission\ + \ of the OpenSSL Project.\n *\n * 6. Redistributions of any form whatsoever must retain\ + \ the following\n * acknowledgment:\n * \"This product includes software developed\ + \ by the OpenSSL Project\n * for use in the OpenSSL Toolkit (http://www.openssl.org/)\"\ + \n *\n * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY\n * EXPRESSED\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF\ + \ MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n * PURPOSE ARE DISCLAIMED. IN NO EVENT\ + \ SHALL THE OpenSSL PROJECT OR\n * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n * NOT\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n * LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n * OF THE POSSIBILITY\ + \ OF SUCH DAMAGE.\n * ====================================================================\n\ + \ *\n * This product includes cryptographic software written by Eric Young\n * (eay@cryptsoft.com).\ + \ This product includes software written by Tim\n * Hudson (tjh@cryptsoft.com).\n *\n\ + \ */\n \n Original SSLeay License\n -----------------------\n \n /* Copyright (C) 1995-1998\ + \ Eric Young (eay@cryptsoft.com)\n * All rights reserved.\n *\n * This package is an\ + \ SSL implementation written\n * by Eric Young (eay@cryptsoft.com).\n * The implementation\ + \ was written so as to conform with Netscapes SSL.\n *\n * This library is free for\ + \ commercial and non-commercial use as long as\n * the following conditions are aheared\ + \ to. The following conditions\n * apply to all code found in this distribution, be\ + \ it the RC4, RSA,\n * lhash, DES, etc., code; not just the SSL code. The SSL documentation\n\ + \ * included with this distribution is covered by the same copyright terms\n * except\ + \ that the holder is Tim Hudson (tjh@cryptsoft.com).\n *\n * Copyright remains Eric\ + \ Young's, and as such any Copyright notices in\n * the code are not to be removed.\n\ + \ * If this package is used in a product, Eric Young should be given attribution\n *\ + \ as the author of the parts of the library used.\n * This can be in the form of a textual\ + \ message at program startup or\n * in documentation (online or textual) provided with\ + \ the package.\n *\n * Redistribution and use in source and binary forms, with or without\n\ + \ * modification, are permitted provided that the following conditions\n * are met:\n\ + \ * 1. Redistributions of source code must retain the copyright\n * notice, this\ + \ list of conditions and the following disclaimer.\n * 2. Redistributions in binary form\ + \ must reproduce the above copyright\n * notice, this list of conditions and the following\ + \ disclaimer in the\n * documentation and/or other materials provided with the distribution.\n\ + \ * 3. All advertising materials mentioning features or use of this software\n * \ + \ must display the following acknowledgement:\n * \"This product includes cryptographic\ + \ software written by\n * Eric Young (eay@cryptsoft.com)\"\n * The word 'cryptographic'\ + \ can be left out if the rouines from the library\n * being used are not cryptographic\ + \ related :-).\n * 4. If you include any Windows specific code (or a derivative thereof)\ + \ from\n * the apps directory (application code) you must include an acknowledgement:\n\ + \ * \"This product includes software written by Tim Hudson (tjh@cryptsoft.com)\"\n\ + \ *\n * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * The\ + \ licence and distribution terms for any publically available version or\n * derivative\ + \ of this code cannot be changed. i.e. this code cannot simply be\n * copied and put\ + \ under another distribution licence\n * [including the GNU Public Licence.]" + - score: '100.0' + start_line: 371 + end_line: 371 + matcher: 2-aho + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_5.RULE + license_expression: zlib + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For conditions of distribution and use, see copyright notice in zlib.h + - score: '100.0' + start_line: 380 + end_line: 396 + matcher: 2-aho + rule_length: 144 + matched_length: 144 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_17.RULE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is provided 'as-is', without any express or implied\n warranty.\ + \ In no event will the authors be held liable for any damages\n arising from the use\ + \ of this software.\n \n Permission is granted to anyone to use this software for any\ + \ purpose,\n including commercial applications, and to alter it and redistribute it\n\ + \ freely, subject to the following restrictions:\n \n 1. The origin of this software\ + \ must not be misrepresented; you must not\n claim that you wrote the original software.\ + \ If you use this software\n in a product, an acknowledgment in the product documentation\ + \ would be\n appreciated but is not required.\n 2. Altered source versions must\ + \ be plainly marked as such, and must not be\n misrepresented as being the original\ + \ software.\n 3. This notice may not be removed or altered from any source distribution.\n\ + \ Jean-loup Gailly Mark Adler\n jloup@gzip.org madler@alumni.caltech.edu" + - score: '100.0' + start_line: 413 + end_line: 415 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_303.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This code was + * written by Colin Plumb in 1993, no copyright is claimed. + * This code is in the public domain; do with it what you wish. + - score: '100.0' + start_line: 439 + end_line: 461 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_68.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 3. Neither the name of the copyright holder nor the names of contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTOR(S) ``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 AUTHOR(S) OR CONTRIBUTOR(S) 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. + - score: '88.0' + start_line: 469 + end_line: 470 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 88 + identifier: gary-s-brown.LICENSE + license_expression: gary-s-brown + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may use this program, or + * code or tables extracted from it, as desired without restriction. + - score: '100.0' + start_line: 514 + end_line: 519 + matcher: 2-aho + rule_length: 74 + matched_length: 74 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_105.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + I retain copyright in this code but I encourage its free use provided + that I don't carry any responsibility for the results. I am especially + happy to see it used in free and open source software. If you do use + it I would appreciate an acknowledgement of its origin in the code or + the product that results and I would also appreciate knowing a liitle + about the use to which it is being put. + - score: '100.0' + start_line: 531 + end_line: 531 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_177.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This code is in the public domain. + - score: '61.68' + start_line: 533 + end_line: 539 + matcher: 3-seq + rule_length: 107 + matched_length: 66 + match_coverage: '61.68' + rule_relevance: 100 + identifier: isc_28.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO + * EVENT SHALL [LANDON] [CURT] [NOLL] BE LIABLE FOR ANY SPECIAL, 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 THIS SOFTWARE. + - score: '100.0' + start_line: 549 + end_line: 549 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: IN THE PUBLIC DOMAIN + - score: '61.96' + start_line: 551 + end_line: 564 + matcher: 3-seq + rule_length: 184 + matched_length: 114 + match_coverage: '61.96' + rule_relevance: 100 + identifier: bsd-unmodified_1.RULE + license_expression: bsd-unmodified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + unmodified [version] [is] [available] [at]: + * [ftp]://[ftp].[funet].[fi]/[pub]/[crypt]/[hash]/[sha]/[sha1].[c] + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) 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 AUTHOR(S) 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. + - score: '100.0' + start_line: 580 + end_line: 587 + matcher: 2-aho + rule_length: 50 + matched_length: 50 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_or_bsd-new_aes_1.RULE + license_expression: gpl-2.0 OR bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * Alternatively, this software may be distributed under the terms of BSD + * license. + * + * See README and COPYING for more details. + - score: '100.0' + start_line: 594 + end_line: 601 + matcher: 2-aho + rule_length: 50 + matched_length: 50 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_or_bsd-new_aes_1.RULE + license_expression: gpl-2.0 OR bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * Alternatively, this software may be distributed under the terms of BSD + * license. + * + * See README and COPYING for more details. + - score: '90.17' + start_line: 613 + end_line: 635 + matcher: 3-seq + rule_length: 234 + matched_length: 211 + match_coverage: '90.17' + rule_relevance: 100 + identifier: bsd-original_6.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 3. Neither the name of the [copyright] [holder] nor the names of contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) 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 AUTHOR(S) 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. + - score: '100.0' + start_line: 646 + end_line: 668 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_68.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 3. Neither the name of the copyright holder nor the names of contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) "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 AUTHOR OR CONTRIBUTOR(S) 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. + - score: '100.0' + start_line: 677 + end_line: 697 + matcher: 2-aho + rule_length: 200 + matched_length: 200 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_76.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 3. The name of the author 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 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 AUTHOR 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. + - score: '100.0' + start_line: 705 + end_line: 715 + matcher: 2-aho + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS 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 THIS SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qlogic.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qlogic.copyright-detailed.expected.yml index 8bd36027602..209ddc68550 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qlogic.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qlogic.copyright-detailed.expected.yml @@ -1,15 +1,203 @@ -- None -- - Binary redistribution (QLogic 1) +primary_license: None +declared_license: + - Binary redistribution (QLogic 1) - The OpenIB.org BSD license - Binary redistribution (QLogic 2) - Binary redistribution (QLogic BR-series) - Binary redistribution (QLogic 3) -- bsd-new AND linux-openib AND qlogic-microcode AND (other-permissive AND proprietary-license) - AND other-permissive -- | +license_expression: bsd-new AND linux-openib AND qlogic-microcode AND (other-permissive AND + proprietary-license) AND other-permissive +copyright: | 1995, 1996, 1997, 1998, 1999, 2000, QLogic, Inc. 2007, 2008. QLogic Corporation 2003-2006, QLogic Corporation 2013-2014, Brocade Communications Systems, Inc. 2014-2015, QLogic Corporation. 2015-2016, QLogic Corporation +matches: + - score: '97.04' + start_line: 1 + end_line: 20 + matcher: 3-seq + rule_length: 203 + matched_length: '197' + match_coverage: '97.04' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted provided + that the following conditions are met: + 1. [Redistribution] of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. [Redistribution] 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. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + - score: '100.0' + start_line: 3 + end_line: 23 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 100 + identifier: linux-openib.LICENSE + license_expression: linux-openib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 36 + matcher: 1-hash + rule_length: 260 + matched_length: 260 + match_coverage: '100.0' + rule_relevance: 100 + identifier: qlogic-microcode.LICENSE + license_expression: qlogic-microcode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may redistribute the hardware specific firmware binary file + under the following terms: + + 1. Redistribution of source code (only if applicable), + must retain the above copyright notice, this list of + conditions and the following disclaimer. + + 2. Redistribution 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. + + 3. The name of QLogic Corporation may not be used to + endorse or promote products derived from this software + without specific prior written permission + + REGARDLESS OF WHAT LICENSING MECHANISM IS USED OR APPLICABLE, + THIS PROGRAM IS PROVIDED BY QLOGIC CORPORATION "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 AUTHOR + 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. + + USER ACKNOWLEDGES AND AGREES THAT USE OF THIS PROGRAM WILL NOT + CREATE OR GIVE GROUNDS FOR A LICENSE BY IMPLICATION, ESTOPPEL, OR + OTHERWISE IN ANY INTELLECTUAL PROPERTY RIGHTS (PATENT, COPYRIGHT, + TRADE SECRET, MASK WORK, OR OTHER PROPRIETARY RIGHT) EMBODIED IN + ANY OTHER QLOGIC HARDWARE OR SOFTWARE EITHER SOLELY OR IN + COMBINATION WITH THIS PROGRAM. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware data + in hexadecimal or equivalent format, provided this copyright notice is + accompanying it. + - score: '97.33' + start_line: 5 + end_line: 11 + matcher: 3-seq + rule_length: 73 + matched_length: 73 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_310.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + grants permission to use and redistribute these firmware files + for use with [QLogic] BR-[series] devices, but not as a part of the Linux + kernel or in any other form which would require these files themselves + to be covered by the terms of the GNU General Public License. + These firmware files are distributed in the hope that they will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware data + in hexadecimal or equivalent format, provided this copyright notice is + accompanying it. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qlogic.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qlogic.copyright.expected.yml index 8bd36027602..209ddc68550 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qlogic.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qlogic.copyright.expected.yml @@ -1,15 +1,203 @@ -- None -- - Binary redistribution (QLogic 1) +primary_license: None +declared_license: + - Binary redistribution (QLogic 1) - The OpenIB.org BSD license - Binary redistribution (QLogic 2) - Binary redistribution (QLogic BR-series) - Binary redistribution (QLogic 3) -- bsd-new AND linux-openib AND qlogic-microcode AND (other-permissive AND proprietary-license) - AND other-permissive -- | +license_expression: bsd-new AND linux-openib AND qlogic-microcode AND (other-permissive AND + proprietary-license) AND other-permissive +copyright: | 1995, 1996, 1997, 1998, 1999, 2000, QLogic, Inc. 2007, 2008. QLogic Corporation 2003-2006, QLogic Corporation 2013-2014, Brocade Communications Systems, Inc. 2014-2015, QLogic Corporation. 2015-2016, QLogic Corporation +matches: + - score: '97.04' + start_line: 1 + end_line: 20 + matcher: 3-seq + rule_length: 203 + matched_length: '197' + match_coverage: '97.04' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted provided + that the following conditions are met: + 1. [Redistribution] of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. [Redistribution] 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. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + - score: '100.0' + start_line: 3 + end_line: 23 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 100 + identifier: linux-openib.LICENSE + license_expression: linux-openib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 36 + matcher: 1-hash + rule_length: 260 + matched_length: 260 + match_coverage: '100.0' + rule_relevance: 100 + identifier: qlogic-microcode.LICENSE + license_expression: qlogic-microcode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may redistribute the hardware specific firmware binary file + under the following terms: + + 1. Redistribution of source code (only if applicable), + must retain the above copyright notice, this list of + conditions and the following disclaimer. + + 2. Redistribution 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. + + 3. The name of QLogic Corporation may not be used to + endorse or promote products derived from this software + without specific prior written permission + + REGARDLESS OF WHAT LICENSING MECHANISM IS USED OR APPLICABLE, + THIS PROGRAM IS PROVIDED BY QLOGIC CORPORATION "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 AUTHOR + 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. + + USER ACKNOWLEDGES AND AGREES THAT USE OF THIS PROGRAM WILL NOT + CREATE OR GIVE GROUNDS FOR A LICENSE BY IMPLICATION, ESTOPPEL, OR + OTHERWISE IN ANY INTELLECTUAL PROPERTY RIGHTS (PATENT, COPYRIGHT, + TRADE SECRET, MASK WORK, OR OTHER PROPRIETARY RIGHT) EMBODIED IN + ANY OTHER QLOGIC HARDWARE OR SOFTWARE EITHER SOLELY OR IN + COMBINATION WITH THIS PROGRAM. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware data + in hexadecimal or equivalent format, provided this copyright notice is + accompanying it. + - score: '97.33' + start_line: 5 + end_line: 11 + matcher: 3-seq + rule_length: 73 + matched_length: 73 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_310.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + grants permission to use and redistribute these firmware files + for use with [QLogic] BR-[series] devices, but not as a part of the Linux + kernel or in any other form which would require these files themselves + to be covered by the terms of the GNU General Public License. + These firmware files are distributed in the hope that they will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware data + in hexadecimal or equivalent format, provided this copyright notice is + accompanying it. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ralink.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ralink.copyright-detailed.expected.yml index e1aca6b0cb9..8bf73205cab 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ralink.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ralink.copyright-detailed.expected.yml @@ -1,6 +1,49 @@ -- -- -- gpl-2.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0 +copyright: | Copyright 2006-2009 Bastian Blank Copyright 2009 Ben Hutchings +matches: + - score: '100.0' + start_line: 6 + end_line: 20 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_68.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This package is free software; you can redistribute it\ + \ and/or modify\n it under the terms of the GNU General Public License as published\ + \ by\n the Free Software Foundation; either version 2 of the License, or\n (at\ + \ your option) any later version.\n \n This package is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ General Public License\n along with this package; if not, write to the Free Software\n\ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA" + - score: '100.0' + start_line: 22 + end_line: 23 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ralink.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ralink.copyright.expected.yml index e1aca6b0cb9..8bf73205cab 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ralink.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ralink.copyright.expected.yml @@ -1,6 +1,49 @@ -- -- -- gpl-2.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0 +copyright: | Copyright 2006-2009 Bastian Blank Copyright 2009 Ben Hutchings +matches: + - score: '100.0' + start_line: 6 + end_line: 20 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_68.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This package is free software; you can redistribute it\ + \ and/or modify\n it under the terms of the GNU General Public License as published\ + \ by\n the Free Software Foundation; either version 2 of the License, or\n (at\ + \ your option) any later version.\n \n This package is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ General Public License\n along with this package; if not, write to the Free Software\n\ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA" + - score: '100.0' + start_line: 22 + end_line: 23 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-realtek.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-realtek.copyright-detailed.expected.yml index 72eb638f54d..0593cfbfe0d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-realtek.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-realtek.copyright-detailed.expected.yml @@ -1,7 +1,80 @@ -- None -- - Binary redistribution (Realtek permissive) +primary_license: None +declared_license: + - Binary redistribution (Realtek permissive) - Binary redistribution (Realtek restrictive) -- other-permissive AND intel -- | +license_expression: other-permissive AND intel +copyright: | 2010-2013, Realtek Semiconductor Corporation 2009-2010, Realtek Semiconductor Corporation +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware + data in hexadecimal or equivalent format, provided this copyright + notice is accompanying it. + - score: '93.72' + start_line: 3 + end_line: 38 + matcher: 3-seq + rule_length: 293 + matched_length: 293 + match_coverage: '100.0' + rule_relevance: 95 + identifier: intel_1.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of [Realtek] [Semiconductor] Corporation nor the names of its + suppliers may be used to endorse or promote products derived from this + software without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. [Realtek] [Semiconductor] Corporation grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. 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 OWNER 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-realtek.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-realtek.copyright.expected.yml index 72eb638f54d..0593cfbfe0d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-realtek.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-realtek.copyright.expected.yml @@ -1,7 +1,80 @@ -- None -- - Binary redistribution (Realtek permissive) +primary_license: None +declared_license: + - Binary redistribution (Realtek permissive) - Binary redistribution (Realtek restrictive) -- other-permissive AND intel -- | +license_expression: other-permissive AND intel +copyright: | 2010-2013, Realtek Semiconductor Corporation 2009-2010, Realtek Semiconductor Corporation +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware + data in hexadecimal or equivalent format, provided this copyright + notice is accompanying it. + - score: '93.72' + start_line: 3 + end_line: 38 + matcher: 3-seq + rule_length: 293 + matched_length: 293 + match_coverage: '100.0' + rule_relevance: 95 + identifier: intel_1.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of [Realtek] [Semiconductor] Corporation nor the names of its + suppliers may be used to endorse or promote products derived from this + software without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. [Realtek] [Semiconductor] Corporation grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. 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 OWNER 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-samsung.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-samsung.copyright-detailed.expected.yml index 80999000b18..d93c35c8132 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-samsung.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-samsung.copyright-detailed.expected.yml @@ -1,4 +1,26 @@ -- -- -- proprietary-license -- Copyright 2011-2014 Samsung Electronics Co. +primary_license: +declared_license: +license_expression: proprietary-license +copyright: Copyright 2011-2014 Samsung Electronics Co. +matches: + - score: '100.0' + start_line: 6 + end_line: 13 + matcher: 2-aho + rule_length: 77 + matched_length: 77 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_307.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Samsung grants permission to use and redistribute aforementioned firmware\n\ + \ files for the use with Exynos series devices, but not as part of the Linux\n kernel,\ + \ or in any other form which would require these files themselves\n to be covered by the\ + \ terms of the GNU General Public License.\n \n These firmware files are distributed in\ + \ the hope that they will be\n useful, but WITHOUT ANY WARRANTY; without even the implied\ + \ warranty\n of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-samsung.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-samsung.copyright.expected.yml index 80999000b18..d93c35c8132 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-samsung.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-samsung.copyright.expected.yml @@ -1,4 +1,26 @@ -- -- -- proprietary-license -- Copyright 2011-2014 Samsung Electronics Co. +primary_license: +declared_license: +license_expression: proprietary-license +copyright: Copyright 2011-2014 Samsung Electronics Co. +matches: + - score: '100.0' + start_line: 6 + end_line: 13 + matcher: 2-aho + rule_length: 77 + matched_length: 77 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_307.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Samsung grants permission to use and redistribute aforementioned firmware\n\ + \ files for the use with Exynos series devices, but not as part of the Linux\n kernel,\ + \ or in any other form which would require these files themselves\n to be covered by the\ + \ terms of the GNU General Public License.\n \n These firmware files are distributed in\ + \ the hope that they will be\n useful, but WITHOUT ANY WARRANTY; without even the implied\ + \ warranty\n of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-siano.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-siano.copyright-detailed.expected.yml index 766af22f977..fd6165b71f0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-siano.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-siano.copyright-detailed.expected.yml @@ -1,4 +1,36 @@ -- -- -- bsd-new -- Copyright (c) 2005-2014 Siano Mobile Silicon Ltd. +primary_license: +declared_license: +license_expression: bsd-new +copyright: Copyright (c) 2005-2014 Siano Mobile Silicon Ltd. +matches: + - score: '97.98' + start_line: 9 + end_line: 34 + matcher: 3-seq + rule_length: '194' + matched_length: '194' + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_1006.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution. Redistribution and use in binary form, without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ must reproduce the above copyright notice and the\n following disclaimer in the documentation\ + \ and/or other materials\n provided with the distribution.\n \n * Neither the name of\ + \ [Siano] [Mobile] [Silicon] [Ltd]. nor the names of its\n suppliers may be used to endorse\ + \ or promote products derived from this\n software without specific prior written permission.\n\ + \ \n * No reverse engineering, decompilation, or disassembly of this software\n is permitted.\n\ + \ \n DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND\n CONTRIBUTORS\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\n BUT NOT LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND\n FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\ + \ OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE" diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-siano.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-siano.copyright.expected.yml index 766af22f977..fd6165b71f0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-siano.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-siano.copyright.expected.yml @@ -1,4 +1,36 @@ -- -- -- bsd-new -- Copyright (c) 2005-2014 Siano Mobile Silicon Ltd. +primary_license: +declared_license: +license_expression: bsd-new +copyright: Copyright (c) 2005-2014 Siano Mobile Silicon Ltd. +matches: + - score: '97.98' + start_line: 9 + end_line: 34 + matcher: 3-seq + rule_length: '194' + matched_length: '194' + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_1006.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution. Redistribution and use in binary form, without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ must reproduce the above copyright notice and the\n following disclaimer in the documentation\ + \ and/or other materials\n provided with the distribution.\n \n * Neither the name of\ + \ [Siano] [Mobile] [Silicon] [Ltd]. nor the names of its\n suppliers may be used to endorse\ + \ or promote products derived from this\n software without specific prior written permission.\n\ + \ \n * No reverse engineering, decompilation, or disassembly of this software\n is permitted.\n\ + \ \n DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND\n CONTRIBUTORS\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\n BUT NOT LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND\n FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\ + \ OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE" diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ti-connectivity.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ti-connectivity.copyright-detailed.expected.yml index d8a4b0d88fa..518bfbafa57 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ti-connectivity.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ti-connectivity.copyright-detailed.expected.yml @@ -1,4 +1,55 @@ -- None -- - Binary redistribution (wl1251) -- proprietary-license -- 2000-2016, Texas Instruments Incorporated +primary_license: None +declared_license: + - Binary redistribution (wl1251) +license_expression: proprietary-license +copyright: 2000-2016, Texas Instruments Incorporated +matches: + - score: '100.0' + start_line: 1 + end_line: 57 + matcher: 1-hash + rule_length: 434 + matched_length: 434 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_556.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "All rights reserved not granted herein.\n\nLimited License.\n\nTexas Instruments\ + \ Incorporated grants a world-wide, royalty-free, non-exclusive\nlicense under copyrights\ + \ and patents it now or hereafter owns or controls to\nmake, have made, use, import, offer\ + \ to sell and sell (\"Utilize\") this software\nsubject to the terms herein. With respect\ + \ to the foregoing patent license,\nsuch license is granted solely to the extent that\ + \ any such patent is necessary\nto Utilize the software alone. The patent license shall\ + \ not apply to any\ncombinations which include this software, other than combinations\ + \ with devices\nmanufactured by or for TI (“TI Devices”). No hardware patent is licensed\n\ + hereunder.\n\nRedistributions must preserve existing copyright notices and reproduce this\n\ + license (including the above copyright notice and the disclaimer and (if\napplicable)\ + \ source code license limitations below) in the documentation and/or\nother materials\ + \ provided with the distribution\n\nRedistribution and use in binary form, without modification,\ + \ are permitted\nprovided that the following conditions are met:\n\n*\tNo reverse engineering,\ + \ decompilation, or disassembly of this software\nis permitted with respect to any software\ + \ provided in binary form.\n\n*\tany redistribution and use are licensed by TI for use\ + \ only with TI\nDevices.\n\n*\tNothing shall obligate TI to provide you with source code\ + \ for the\nsoftware licensed and provided to you in object code.\n\nIf software source\ + \ code is provided to you, modification and redistribution of\nthe source code are permitted\ + \ provided that the following conditions are met:\n\n*\tany redistribution and use of\ + \ the source code, including any resulting\nderivative works, are licensed by TI for use\ + \ only with TI Devices.\n\n*\tany redistribution and use of any object code compiled from\ + \ the source\ncode and any resulting derivative works, are licensed by TI for use\nonly\ + \ with TI Devices.\n\nNeither the name of Texas Instruments Incorporated nor the names\ + \ of its\nsuppliers may be used to endorse or promote products derived from this software\n\ + without specific prior written permission.\n\nDISCLAIMER.\n\nTHIS SOFTWARE IS PROVIDED\ + \ BY TI AND TI’S LICENSORS \"AS IS\" AND ANY EXPRESS OR\nIMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE ARE DISCLAIMED. IN NO\nEVENT SHALL TI AND TI’S LICENSORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT,\nINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\ + \ NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n\ + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER\ + \ IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\nOR OTHERWISE) ARISING\ + \ IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH\ + \ DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ti-connectivity.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ti-connectivity.copyright.expected.yml index d8a4b0d88fa..518bfbafa57 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ti-connectivity.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ti-connectivity.copyright.expected.yml @@ -1,4 +1,55 @@ -- None -- - Binary redistribution (wl1251) -- proprietary-license -- 2000-2016, Texas Instruments Incorporated +primary_license: None +declared_license: + - Binary redistribution (wl1251) +license_expression: proprietary-license +copyright: 2000-2016, Texas Instruments Incorporated +matches: + - score: '100.0' + start_line: 1 + end_line: 57 + matcher: 1-hash + rule_length: 434 + matched_length: 434 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_556.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "All rights reserved not granted herein.\n\nLimited License.\n\nTexas Instruments\ + \ Incorporated grants a world-wide, royalty-free, non-exclusive\nlicense under copyrights\ + \ and patents it now or hereafter owns or controls to\nmake, have made, use, import, offer\ + \ to sell and sell (\"Utilize\") this software\nsubject to the terms herein. With respect\ + \ to the foregoing patent license,\nsuch license is granted solely to the extent that\ + \ any such patent is necessary\nto Utilize the software alone. The patent license shall\ + \ not apply to any\ncombinations which include this software, other than combinations\ + \ with devices\nmanufactured by or for TI (“TI Devices”). No hardware patent is licensed\n\ + hereunder.\n\nRedistributions must preserve existing copyright notices and reproduce this\n\ + license (including the above copyright notice and the disclaimer and (if\napplicable)\ + \ source code license limitations below) in the documentation and/or\nother materials\ + \ provided with the distribution\n\nRedistribution and use in binary form, without modification,\ + \ are permitted\nprovided that the following conditions are met:\n\n*\tNo reverse engineering,\ + \ decompilation, or disassembly of this software\nis permitted with respect to any software\ + \ provided in binary form.\n\n*\tany redistribution and use are licensed by TI for use\ + \ only with TI\nDevices.\n\n*\tNothing shall obligate TI to provide you with source code\ + \ for the\nsoftware licensed and provided to you in object code.\n\nIf software source\ + \ code is provided to you, modification and redistribution of\nthe source code are permitted\ + \ provided that the following conditions are met:\n\n*\tany redistribution and use of\ + \ the source code, including any resulting\nderivative works, are licensed by TI for use\ + \ only with TI Devices.\n\n*\tany redistribution and use of any object code compiled from\ + \ the source\ncode and any resulting derivative works, are licensed by TI for use\nonly\ + \ with TI Devices.\n\nNeither the name of Texas Instruments Incorporated nor the names\ + \ of its\nsuppliers may be used to endorse or promote products derived from this software\n\ + without specific prior written permission.\n\nDISCLAIMER.\n\nTHIS SOFTWARE IS PROVIDED\ + \ BY TI AND TI’S LICENSORS \"AS IS\" AND ANY EXPRESS OR\nIMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE ARE DISCLAIMED. IN NO\nEVENT SHALL TI AND TI’S LICENSORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT,\nINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\ + \ NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n\ + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER\ + \ IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\nOR OTHERWISE) ARISING\ + \ IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH\ + \ DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-mongos/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-mongos/copyright-detailed.expected.yml index 539031cf3a7..51f1c2f874e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-mongos/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-mongos/copyright-detailed.expected.yml @@ -1,6 +1,24 @@ -- -- -- mongodb-sspl-1.0 -- | +primary_license: +declared_license: +license_expression: mongodb-sspl-1.0 +copyright: | Copyright 2009 10gen (c) 2009, Kristina Chodorow +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mongodb-sspl-1.0_9.RULE + license_expression: mongodb-sspl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n SSPL\n \n The Debian packaging is (C) 2009, Kristina Chodorow\ + \ and\n is licensed under the SSPL, see `https://www.mongodb.com/licensing/server-side-public-license'." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-mongos/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-mongos/copyright.expected.yml index 539031cf3a7..51f1c2f874e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-mongos/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-mongos/copyright.expected.yml @@ -1,6 +1,24 @@ -- -- -- mongodb-sspl-1.0 -- | +primary_license: +declared_license: +license_expression: mongodb-sspl-1.0 +copyright: | Copyright 2009 10gen (c) 2009, Kristina Chodorow +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mongodb-sspl-1.0_9.RULE + license_expression: mongodb-sspl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n SSPL\n \n The Debian packaging is (C) 2009, Kristina Chodorow\ + \ and\n is licensed under the SSPL, see `https://www.mongodb.com/licensing/server-side-public-license'." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-server/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-server/copyright-detailed.expected.yml index 539031cf3a7..51f1c2f874e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-server/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-server/copyright-detailed.expected.yml @@ -1,6 +1,24 @@ -- -- -- mongodb-sspl-1.0 -- | +primary_license: +declared_license: +license_expression: mongodb-sspl-1.0 +copyright: | Copyright 2009 10gen (c) 2009, Kristina Chodorow +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mongodb-sspl-1.0_9.RULE + license_expression: mongodb-sspl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n SSPL\n \n The Debian packaging is (C) 2009, Kristina Chodorow\ + \ and\n is licensed under the SSPL, see `https://www.mongodb.com/licensing/server-side-public-license'." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-server/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-server/copyright.expected.yml index 539031cf3a7..51f1c2f874e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-server/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-server/copyright.expected.yml @@ -1,6 +1,24 @@ -- -- -- mongodb-sspl-1.0 -- | +primary_license: +declared_license: +license_expression: mongodb-sspl-1.0 +copyright: | Copyright 2009 10gen (c) 2009, Kristina Chodorow +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mongodb-sspl-1.0_9.RULE + license_expression: mongodb-sspl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n SSPL\n \n The Debian packaging is (C) 2009, Kristina Chodorow\ + \ and\n is licensed under the SSPL, see `https://www.mongodb.com/licensing/server-side-public-license'." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-shell/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-shell/copyright-detailed.expected.yml index 539031cf3a7..51f1c2f874e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-shell/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-shell/copyright-detailed.expected.yml @@ -1,6 +1,24 @@ -- -- -- mongodb-sspl-1.0 -- | +primary_license: +declared_license: +license_expression: mongodb-sspl-1.0 +copyright: | Copyright 2009 10gen (c) 2009, Kristina Chodorow +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mongodb-sspl-1.0_9.RULE + license_expression: mongodb-sspl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n SSPL\n \n The Debian packaging is (C) 2009, Kristina Chodorow\ + \ and\n is licensed under the SSPL, see `https://www.mongodb.com/licensing/server-side-public-license'." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-shell/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-shell/copyright.expected.yml index 539031cf3a7..51f1c2f874e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-shell/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-shell/copyright.expected.yml @@ -1,6 +1,24 @@ -- -- -- mongodb-sspl-1.0 -- | +primary_license: +declared_license: +license_expression: mongodb-sspl-1.0 +copyright: | Copyright 2009 10gen (c) 2009, Kristina Chodorow +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mongodb-sspl-1.0_9.RULE + license_expression: mongodb-sspl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n SSPL\n \n The Debian packaging is (C) 2009, Kristina Chodorow\ + \ and\n is licensed under the SSPL, see `https://www.mongodb.com/licensing/server-side-public-license'." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-tools/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-tools/copyright-detailed.expected.yml index 539031cf3a7..51f1c2f874e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-tools/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-tools/copyright-detailed.expected.yml @@ -1,6 +1,24 @@ -- -- -- mongodb-sspl-1.0 -- | +primary_license: +declared_license: +license_expression: mongodb-sspl-1.0 +copyright: | Copyright 2009 10gen (c) 2009, Kristina Chodorow +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mongodb-sspl-1.0_9.RULE + license_expression: mongodb-sspl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n SSPL\n \n The Debian packaging is (C) 2009, Kristina Chodorow\ + \ and\n is licensed under the SSPL, see `https://www.mongodb.com/licensing/server-side-public-license'." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-tools/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-tools/copyright.expected.yml index 539031cf3a7..51f1c2f874e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-tools/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-tools/copyright.expected.yml @@ -1,6 +1,24 @@ -- -- -- mongodb-sspl-1.0 -- | +primary_license: +declared_license: +license_expression: mongodb-sspl-1.0 +copyright: | Copyright 2009 10gen (c) 2009, Kristina Chodorow +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mongodb-sspl-1.0_9.RULE + license_expression: mongodb-sspl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n SSPL\n \n The Debian packaging is (C) 2009, Kristina Chodorow\ + \ and\n is licensed under the SSPL, see `https://www.mongodb.com/licensing/server-side-public-license'." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org/copyright-detailed.expected.yml index 539031cf3a7..51f1c2f874e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org/copyright-detailed.expected.yml @@ -1,6 +1,24 @@ -- -- -- mongodb-sspl-1.0 -- | +primary_license: +declared_license: +license_expression: mongodb-sspl-1.0 +copyright: | Copyright 2009 10gen (c) 2009, Kristina Chodorow +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mongodb-sspl-1.0_9.RULE + license_expression: mongodb-sspl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n SSPL\n \n The Debian packaging is (C) 2009, Kristina Chodorow\ + \ and\n is licensed under the SSPL, see `https://www.mongodb.com/licensing/server-side-public-license'." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org/copyright.expected.yml index 539031cf3a7..51f1c2f874e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org/copyright.expected.yml @@ -1,6 +1,24 @@ -- -- -- mongodb-sspl-1.0 -- | +primary_license: +declared_license: +license_expression: mongodb-sspl-1.0 +copyright: | Copyright 2009 10gen (c) 2009, Kristina Chodorow +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mongodb-sspl-1.0_9.RULE + license_expression: mongodb-sspl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n SSPL\n \n The Debian packaging is (C) 2009, Kristina Chodorow\ + \ and\n is licensed under the SSPL, see `https://www.mongodb.com/licensing/server-side-public-license'." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/r/raspi3-firmware/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/r/raspi3-firmware/stable_copyright-detailed.expected.yml index f4b9993821d..9404557695f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/r/raspi3-firmware/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/r/raspi3-firmware/stable_copyright-detailed.expected.yml @@ -1,10 +1,249 @@ -- None -- - Proprietary_1 +primary_license: None +declared_license: + - Proprietary_1 - Proprietary_2 - GPL-2+ -- bsd-new AND broadcom-proprietary AND (gpl-2.0-plus AND gpl-2.0-plus) -- | +license_expression: bsd-new AND broadcom-proprietary AND (gpl-2.0-plus AND gpl-2.0-plus) +copyright: | 2006, Broadcom Corporation 2015, Raspberry Pi (Trading) Ltd 2015 Broadcom Corporation 2015 Paolo Pisati +matches: + - score: '94.33' + start_line: 3 + end_line: 27 + matcher: 3-seq + rule_length: '194' + matched_length: 183 + match_coverage: '94.33' + rule_relevance: 100 + identifier: bsd-new_1006.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * [This] [software] [may] [only] [be] [used] [for] [the] [purposes] [of] [developing] [for], + [running] [or] [using] a [Raspberry] [Pi] [device]. + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of [Broadcom] [Corporation] nor the names of its suppliers + may be used to endorse or promote products derived from this software + without specific prior written permission. + + DISCLAIMER. 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 OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 204 + matcher: 1-hash + rule_length: 1764 + matched_length: 1764 + match_coverage: '100.0' + rule_relevance: 100 + identifier: broadcom-proprietary_1.RULE + license_expression: broadcom-proprietary + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "SOFTWARE LICENSE AGREEMENT\n\nUnless you and Broadcom Corporation (“Broadcom”)\ + \ execute a separate written\nsoftware license agreement governing use of the accompanying\ + \ software, this\nsoftware is licensed to you under the terms of this Software License\ + \ Agreement\n(“Agreement”).\n\nANY USE, REPRODUCTION OR DISTRIBUTION OF THE SOFTWARE CONSTITUTES\ + \ YOUR\nACCEPTANCE OF THIS AGREEMENT.\n\n1.\tDEFINITIONS.\n\n1.1.\t“Broadcom Product”\ + \ means any of the proprietary integrated circuit\nproduct(s) sold by Broadcom with which\ + \ the Software was designed to be used, or\ntheir successors.\n\n1.2.\t“Licensee” means\ + \ you or if you are accepting on behalf of an entity\nthen the entity and its affiliates\ + \ exercising rights under, and complying with\nall of the terms of this Agreement.\n\n\ + 1.3.\t“Software” shall mean that software made available by Broadcom to\nLicensee in binary\ + \ code form with this Agreement.\n\n2.\tLICENSE GRANT; OWNERSHIP\n\n2.1.\tLicense Grants.\ + \ Subject to the terms and conditions of this Agreement,\nBroadcom hereby grants to Licensee\ + \ a non-exclusive, non-transferable,\nroyalty-free license (i) to use and integrate the\ + \ Software in conjunction with\nany other software; and (ii) to reproduce and distribute\ + \ the Software complete,\nunmodified and as provided by Broadcom, and only for use with\ + \ a Broadcom\nProduct.\n\n2.2.\tRestriction on Modification. Licensee may not make any\ + \ modifications\nto the Software.\n\n2.3.\tRestriction on Distribution. Licensee shall\ + \ only distribute the\nSoftware under the terms of this Agreement and a copy of this Agreement\n\ + accompanies such distribution.\n\n2.4.\tProprietary Notices. Licensee shall not remove,\ + \ efface or obscure any\ncopyright or trademark notices from the Software. Licensee shall\ + \ include\nreproductions of the Broadcom copyright notice with each copy of the Software,\n\ + except where such Software is embedded in a manner not readily accessible to\nthe end\ + \ user. Licensee acknowledges that any symbols, trademarks, tradenames,\nand service\ + \ marks adopted by Broadcom to identify the Software belong to\nBroadcom and that Licensee\ + \ shall have no rights therein.\n\n2.5.\tOwnership. Broadcom shall retain all right,\ + \ title and interest,\nincluding all intellectual property rights, in and to the Software.\ + \ Licensee\nhereby covenants that it will not assert any claim that the Software created\ + \ by\nor for Broadcom infringe any intellectual property right owned or controlled by\n\ + Licensee; provided however, the foregoing shall not apply in case the Agreement\nis terminated.\n\ + \n2.6.\tNo Other Rights Granted; Restrictions. Apart from the license rights\nexpressly\ + \ set forth in this Agreement, Broadcom does not grant and Licensee\ndoes not receive\ + \ any ownership right, title or interest nor any security\ninterest or other interest\ + \ in any intellectual property rights relating to the\nSoftware, nor in any copy of any\ + \ part of the foregoing. No license is granted\nto Licensee in any human readable code\ + \ of the Software (source code). Licensee\nshall not (i) use, license, sell or otherwise\ + \ distribute the Software except as\nprovided in this Agreement, (ii) attempt to modify\ + \ in any way, reverse\nengineer, decompile or disassemble any portion of the Software;\ + \ or (iii) use\nthe Software or other material in violation of any applicable law or\n\ + regulation, including but not limited to any regulatory agency, such as FCC,\nrules.\n\ + \n3.\tNO WARRANTY OR SUPPORT\n\n3.1.\tNo Warranty. THE SOFTWARE IS OFFERED “AS IS,” AND\ + \ BROADCOM GRANTS AND\nLICENSEE RECEIVES NO WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,\ + \ BY STATUTE,\nCOMMUNICATION OR CONDUCT WITH LICENSEE, OR OTHERWISE. BROADCOM SPECIFICALLY\n\ + DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A SPECIFIC\nPURPOSE OR\ + \ NONINFRINGEMENT CONCERNING THE SOFTWARE OR ANY UPGRADES TO OR\nDOCUMENTATION FOR THE\ + \ SOFTWARE. WITHOUT LIMITATION OF THE ABOVE, BROADCOM\nGRANTS NO WARRANTY THAT THE SOFTWARE\ + \ IS ERROR-FREE OR WILL OPERATE WITHOUT\nINTERRUPTION, AND GRANTS NO WARRANTY REGARDING\ + \ ITS USE OR THE RESULTS THEREFROM\nINCLUDING, WITHOUT LIMITATION, ITS CORRECTNESS, ACCURACY\ + \ OR RELIABILITY.\n\n3.2.\tNo Support. Nothing in this agreement shall obligate Broadcom\ + \ to\nprovide any support for the Software. Broadcom may, but shall be under no\nobligation\ + \ to, correct any defects in the Software and/or provide updates to\nlicensees of the\ + \ Software. Licensee shall make reasonable efforts to promptly\nreport to Broadcom any\ + \ defects it finds in the Software, as an aid to creating\nimproved revisions of the Software.\n\ + \n3.3.\tDangerous Applications. The Software is not designed, intended, or\ncertified\ + \ for use in components of systems intended for the operation of\nweapons, weapons systems,\ + \ nuclear installations, means of mass transportation,\naviation, life-support computers\ + \ or equipment (including resuscitation\nequipment and surgical implants), pollution control,\ + \ hazardous substances\nmanagement, or for any other dangerous application in which the\ + \ failure of the\nSoftware could create a situation where personal injury or death may\ + \ occur.\nLicensee understands that use of the Software in such applications is fully\ + \ at\nthe risk of Licensee.\n\n4.\tTERM AND TERMINATION\n\n4.1.\tTermination. This Agreement\ + \ will automatically terminate if Licensee\nfails to comply with any of the terms and\ + \ conditions hereof. In such event,\nLicensee must destroy all copies of the Software\ + \ and all of its component\nparts.\n\n4.2.\tEffect Of Termination. Upon any termination\ + \ of this Agreement, the\nrights and licenses granted to Licensee under this Agreement\ + \ shall immediately\nterminate.\n\n4.3.\tSurvival. The rights and obligations under this\ + \ Agreement which by\ntheir nature should survive termination will remain in effect after\ + \ expiration\nor termination of this Agreement.\n\n5.\tCONFIDENTIALITY\n\n5.1.\tObligations.\ + \ Licensee acknowledges and agrees that any documentation\nrelating to the Software,\ + \ and any other information (if such other information\nis identified as confidential\ + \ or should be recognized as confidential under the\ncircumstances) provided to Licensee\ + \ by Broadcom hereunder (collectively,\n“Confidential Information”) constitute the confidential\ + \ and proprietary\ninformation of Broadcom, and that Licensee’s protection thereof is\ + \ an essential\ncondition to Licensee’s use and possession of the Software. Licensee\ + \ shall\nretain all Confidential Information in strict confidence and not disclose it\ + \ to\nany third party or use it in any way except under a written agreement with\nterms\ + \ and conditions at least as protective as the terms of this Section.\nLicensee will exercise\ + \ at least the same amount of diligence in preserving the\nsecrecy of the Confidential\ + \ Information as it uses in preserving the secrecy of\nits own most valuable confidential\ + \ information, but in no event less than\nreasonable diligence. Information shall not\ + \ be considered Confidential\nInformation if and to the extent that it: (i) was in the\ + \ public domain at the\ntime it was disclosed or has entered the public domain through\ + \ no fault of\nLicensee; (ii) was known to Licensee, without restriction, at the time\ + \ of\ndisclosure as proven by the files of Licensee in existence at the time of\ndisclosure;\ + \ or (iii) becomes known to Licensee, without restriction, from a\nsource other than Broadcom\ + \ without breach of this Agreement by Licensee and\notherwise not in violation of Broadcom’s\ + \ rights.\n\n5.2.\tReturn of Confidential Information. Notwithstanding the foregoing,\ + \ all\ndocuments and other tangible objects containing or representing Broadcom\nConfidential\ + \ Information and all copies thereof which are in the possession of\nLicensee shall be\ + \ and remain the property of Broadcom, and shall be promptly\nreturned to Broadcom upon\ + \ written request by Broadcom or upon termination of\nthis Agreement.\n\n6.\tLIMITATION\ + \ OF LIABILITY TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO\nEVENT SHALL BROADCOM OR\ + \ ANY OF BROADCOM’S LICENSORS HAVE ANY LIABILITY FOR ANY\nINDIRECT, INCIDENTAL, SPECIAL,\ + \ OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER FOR\ + \ BREACH OF CONTRACT, TORT (INCLUDING\nNEGLIGENCE) OR OTHERWISE, ARISING OUT OF THIS AGREEMENT,\ + \ INCLUDING BUT NOT\nLIMITED TO LOSS OF PROFITS, EVEN IF SUCH PARTY HAS BEEN ADVISED OF\ + \ THE\nPOSSIBILITY OF SUCH DAMAGES. IN NO EVENT WILL BROADCOM’S LIABILITY WHETHER IN\n\ + CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE, EXCEED THE AMOUNT PAID BY\nLICENSEE\ + \ FOR SOFTWARE UNDER THIS AGREEMENT. THESE LIMITATIONS SHALL APPLY\nNOTWITHSTANDING ANY\ + \ FAILURE OF ESSENTIAL PURPOSE OF ANY LIMITED REMEDY.\n\n7.\tMISCELLANEOUS\n\n7.1.\tExport\ + \ Regulations. YOU UNDERSTAND AND AGREE THAT THE SOFTWARE IS\nSUBJECT TO UNITED STATES\ + \ AND OTHER APPLICABLE EXPORT-RELATED LAWS AND\nREGULATIONS AND THAT YOU MAY NOT EXPORT,\ + \ RE-EXPORT OR TRANSFER THE SOFTWARE OR\nANY DIRECT PRODUCT OF THE SOFTWARE EXCEPT AS\ + \ PERMITTED UNDER THOSE LAWS.\nWITHOUT LIMITING THE FOREGOING, EXPORT, RE-EXPORT OR TRANSFER\ + \ OF THE SOFTWARE\nTO CUBA, IRAN, NORTH KOREA, SUDAN AND SYRIA IS PROHIBITED.\n\n7.2\t\ + Assignment. This Agreement shall be binding upon and inure to the\nbenefit of the parties\ + \ and their respective successors and assigns, provided,\nhowever that Licensee may not\ + \ assign this Agreement or any rights or obligation\nhereunder, directly or indirectly,\ + \ by operation of law or otherwise, without\nthe prior written consent of Broadcom, and\ + \ any such attempted assignment shall\nbe void. Notwithstanding the foregoing, Licensee\ + \ may assign this Agreement to\na successor to all or substantially all of its business\ + \ or assets to which this\nAgreement relates that is not a competitor of Broadcom.\n\n\ + 7.3.\tGoverning Law; Venue. This Agreement shall be governed by the laws of\nCalifornia\ + \ without regard to any conflict-of-laws rules, and the United Nations\nConvention on\ + \ Contracts for the International Sale of Goods is hereby excluded.\nThe sole jurisdiction\ + \ and venue for actions related to the subject matter\nhereof shall be the state and federal\ + \ courts located in the County of Orange,\nCalifornia, and both parties hereby consent\ + \ to such jurisdiction and venue.\n\n7.4.\tSeverability. All terms and provisions of\ + \ this Agreement shall, if\npossible, be construed in a manner which makes them valid,\ + \ but in the event any\nterm or provision of this Agreement is found by a court of competent\n\ + jurisdiction to be illegal or unenforceable, the validity or enforceability of\nthe remainder\ + \ of this Agreement shall not be affected if the illegal or\nunenforceable provision does\ + \ not materially affect the intent of this\nAgreement. If the illegal or unenforceable\ + \ provision materially affects the\nintent of the parties to this Agreement, this Agreement\ + \ shall become\nterminated.\n\n7.5.\tEquitable Relief. Licensee hereby acknowledges that\ + \ its breach of this\nAgreement would cause irreparable harm and significant injury to\ + \ Broadcom that\nmay be difficult to ascertain and that a remedy at law would be inadequate.\n\ + Accordingly, Licensee agrees that Broadcom shall have the right to seek and\nobtain immediate\ + \ injunctive relief to enforce obligations under the Agreement\nin addition to any other\ + \ rights and remedies it may have.\n\n7.6.\tWaiver. The waiver of, or failure to enforce,\ + \ any breach or default\nhereunder shall not constitute the waiver of any other or subsequent\ + \ breach or\ndefault.\n\n7.7.\tEntire Agreement. This Agreement sets forth the entire\ + \ Agreement\nbetween the parties and supersedes any and all prior proposals, agreements\ + \ and\nrepresentations between them, whether written or oral concerning the Software.\n\ + This Agreement may be changed only by mutual agreement of the parties in\nwriting." + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '98.41' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 124 + match_coverage: '98.41' + rule_relevance: 100 + identifier: gpl-2.0-plus_38.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/r/raspi3-firmware/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/r/raspi3-firmware/stable_copyright.expected.yml index 136cf465987..7fb4b194e74 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/r/raspi3-firmware/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/r/raspi3-firmware/stable_copyright.expected.yml @@ -1,8 +1,247 @@ -- None -- - Proprietary_1 +primary_license: None +declared_license: + - Proprietary_1 - Proprietary_2 -- bsd-new AND broadcom-proprietary -- | +license_expression: bsd-new AND broadcom-proprietary +copyright: | 2006, Broadcom Corporation 2015, Raspberry Pi (Trading) Ltd 2015 Broadcom Corporation +matches: + - score: '94.33' + start_line: 3 + end_line: 27 + matcher: 3-seq + rule_length: '194' + matched_length: 183 + match_coverage: '94.33' + rule_relevance: 100 + identifier: bsd-new_1006.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * [This] [software] [may] [only] [be] [used] [for] [the] [purposes] [of] [developing] [for], + [running] [or] [using] a [Raspberry] [Pi] [device]. + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of [Broadcom] [Corporation] nor the names of its suppliers + may be used to endorse or promote products derived from this software + without specific prior written permission. + + DISCLAIMER. 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 OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 204 + matcher: 1-hash + rule_length: 1764 + matched_length: 1764 + match_coverage: '100.0' + rule_relevance: 100 + identifier: broadcom-proprietary_1.RULE + license_expression: broadcom-proprietary + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "SOFTWARE LICENSE AGREEMENT\n\nUnless you and Broadcom Corporation (“Broadcom”)\ + \ execute a separate written\nsoftware license agreement governing use of the accompanying\ + \ software, this\nsoftware is licensed to you under the terms of this Software License\ + \ Agreement\n(“Agreement”).\n\nANY USE, REPRODUCTION OR DISTRIBUTION OF THE SOFTWARE CONSTITUTES\ + \ YOUR\nACCEPTANCE OF THIS AGREEMENT.\n\n1.\tDEFINITIONS.\n\n1.1.\t“Broadcom Product”\ + \ means any of the proprietary integrated circuit\nproduct(s) sold by Broadcom with which\ + \ the Software was designed to be used, or\ntheir successors.\n\n1.2.\t“Licensee” means\ + \ you or if you are accepting on behalf of an entity\nthen the entity and its affiliates\ + \ exercising rights under, and complying with\nall of the terms of this Agreement.\n\n\ + 1.3.\t“Software” shall mean that software made available by Broadcom to\nLicensee in binary\ + \ code form with this Agreement.\n\n2.\tLICENSE GRANT; OWNERSHIP\n\n2.1.\tLicense Grants.\ + \ Subject to the terms and conditions of this Agreement,\nBroadcom hereby grants to Licensee\ + \ a non-exclusive, non-transferable,\nroyalty-free license (i) to use and integrate the\ + \ Software in conjunction with\nany other software; and (ii) to reproduce and distribute\ + \ the Software complete,\nunmodified and as provided by Broadcom, and only for use with\ + \ a Broadcom\nProduct.\n\n2.2.\tRestriction on Modification. Licensee may not make any\ + \ modifications\nto the Software.\n\n2.3.\tRestriction on Distribution. Licensee shall\ + \ only distribute the\nSoftware under the terms of this Agreement and a copy of this Agreement\n\ + accompanies such distribution.\n\n2.4.\tProprietary Notices. Licensee shall not remove,\ + \ efface or obscure any\ncopyright or trademark notices from the Software. Licensee shall\ + \ include\nreproductions of the Broadcom copyright notice with each copy of the Software,\n\ + except where such Software is embedded in a manner not readily accessible to\nthe end\ + \ user. Licensee acknowledges that any symbols, trademarks, tradenames,\nand service\ + \ marks adopted by Broadcom to identify the Software belong to\nBroadcom and that Licensee\ + \ shall have no rights therein.\n\n2.5.\tOwnership. Broadcom shall retain all right,\ + \ title and interest,\nincluding all intellectual property rights, in and to the Software.\ + \ Licensee\nhereby covenants that it will not assert any claim that the Software created\ + \ by\nor for Broadcom infringe any intellectual property right owned or controlled by\n\ + Licensee; provided however, the foregoing shall not apply in case the Agreement\nis terminated.\n\ + \n2.6.\tNo Other Rights Granted; Restrictions. Apart from the license rights\nexpressly\ + \ set forth in this Agreement, Broadcom does not grant and Licensee\ndoes not receive\ + \ any ownership right, title or interest nor any security\ninterest or other interest\ + \ in any intellectual property rights relating to the\nSoftware, nor in any copy of any\ + \ part of the foregoing. No license is granted\nto Licensee in any human readable code\ + \ of the Software (source code). Licensee\nshall not (i) use, license, sell or otherwise\ + \ distribute the Software except as\nprovided in this Agreement, (ii) attempt to modify\ + \ in any way, reverse\nengineer, decompile or disassemble any portion of the Software;\ + \ or (iii) use\nthe Software or other material in violation of any applicable law or\n\ + regulation, including but not limited to any regulatory agency, such as FCC,\nrules.\n\ + \n3.\tNO WARRANTY OR SUPPORT\n\n3.1.\tNo Warranty. THE SOFTWARE IS OFFERED “AS IS,” AND\ + \ BROADCOM GRANTS AND\nLICENSEE RECEIVES NO WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,\ + \ BY STATUTE,\nCOMMUNICATION OR CONDUCT WITH LICENSEE, OR OTHERWISE. BROADCOM SPECIFICALLY\n\ + DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A SPECIFIC\nPURPOSE OR\ + \ NONINFRINGEMENT CONCERNING THE SOFTWARE OR ANY UPGRADES TO OR\nDOCUMENTATION FOR THE\ + \ SOFTWARE. WITHOUT LIMITATION OF THE ABOVE, BROADCOM\nGRANTS NO WARRANTY THAT THE SOFTWARE\ + \ IS ERROR-FREE OR WILL OPERATE WITHOUT\nINTERRUPTION, AND GRANTS NO WARRANTY REGARDING\ + \ ITS USE OR THE RESULTS THEREFROM\nINCLUDING, WITHOUT LIMITATION, ITS CORRECTNESS, ACCURACY\ + \ OR RELIABILITY.\n\n3.2.\tNo Support. Nothing in this agreement shall obligate Broadcom\ + \ to\nprovide any support for the Software. Broadcom may, but shall be under no\nobligation\ + \ to, correct any defects in the Software and/or provide updates to\nlicensees of the\ + \ Software. Licensee shall make reasonable efforts to promptly\nreport to Broadcom any\ + \ defects it finds in the Software, as an aid to creating\nimproved revisions of the Software.\n\ + \n3.3.\tDangerous Applications. The Software is not designed, intended, or\ncertified\ + \ for use in components of systems intended for the operation of\nweapons, weapons systems,\ + \ nuclear installations, means of mass transportation,\naviation, life-support computers\ + \ or equipment (including resuscitation\nequipment and surgical implants), pollution control,\ + \ hazardous substances\nmanagement, or for any other dangerous application in which the\ + \ failure of the\nSoftware could create a situation where personal injury or death may\ + \ occur.\nLicensee understands that use of the Software in such applications is fully\ + \ at\nthe risk of Licensee.\n\n4.\tTERM AND TERMINATION\n\n4.1.\tTermination. This Agreement\ + \ will automatically terminate if Licensee\nfails to comply with any of the terms and\ + \ conditions hereof. In such event,\nLicensee must destroy all copies of the Software\ + \ and all of its component\nparts.\n\n4.2.\tEffect Of Termination. Upon any termination\ + \ of this Agreement, the\nrights and licenses granted to Licensee under this Agreement\ + \ shall immediately\nterminate.\n\n4.3.\tSurvival. The rights and obligations under this\ + \ Agreement which by\ntheir nature should survive termination will remain in effect after\ + \ expiration\nor termination of this Agreement.\n\n5.\tCONFIDENTIALITY\n\n5.1.\tObligations.\ + \ Licensee acknowledges and agrees that any documentation\nrelating to the Software,\ + \ and any other information (if such other information\nis identified as confidential\ + \ or should be recognized as confidential under the\ncircumstances) provided to Licensee\ + \ by Broadcom hereunder (collectively,\n“Confidential Information”) constitute the confidential\ + \ and proprietary\ninformation of Broadcom, and that Licensee’s protection thereof is\ + \ an essential\ncondition to Licensee’s use and possession of the Software. Licensee\ + \ shall\nretain all Confidential Information in strict confidence and not disclose it\ + \ to\nany third party or use it in any way except under a written agreement with\nterms\ + \ and conditions at least as protective as the terms of this Section.\nLicensee will exercise\ + \ at least the same amount of diligence in preserving the\nsecrecy of the Confidential\ + \ Information as it uses in preserving the secrecy of\nits own most valuable confidential\ + \ information, but in no event less than\nreasonable diligence. Information shall not\ + \ be considered Confidential\nInformation if and to the extent that it: (i) was in the\ + \ public domain at the\ntime it was disclosed or has entered the public domain through\ + \ no fault of\nLicensee; (ii) was known to Licensee, without restriction, at the time\ + \ of\ndisclosure as proven by the files of Licensee in existence at the time of\ndisclosure;\ + \ or (iii) becomes known to Licensee, without restriction, from a\nsource other than Broadcom\ + \ without breach of this Agreement by Licensee and\notherwise not in violation of Broadcom’s\ + \ rights.\n\n5.2.\tReturn of Confidential Information. Notwithstanding the foregoing,\ + \ all\ndocuments and other tangible objects containing or representing Broadcom\nConfidential\ + \ Information and all copies thereof which are in the possession of\nLicensee shall be\ + \ and remain the property of Broadcom, and shall be promptly\nreturned to Broadcom upon\ + \ written request by Broadcom or upon termination of\nthis Agreement.\n\n6.\tLIMITATION\ + \ OF LIABILITY TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO\nEVENT SHALL BROADCOM OR\ + \ ANY OF BROADCOM’S LICENSORS HAVE ANY LIABILITY FOR ANY\nINDIRECT, INCIDENTAL, SPECIAL,\ + \ OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER FOR\ + \ BREACH OF CONTRACT, TORT (INCLUDING\nNEGLIGENCE) OR OTHERWISE, ARISING OUT OF THIS AGREEMENT,\ + \ INCLUDING BUT NOT\nLIMITED TO LOSS OF PROFITS, EVEN IF SUCH PARTY HAS BEEN ADVISED OF\ + \ THE\nPOSSIBILITY OF SUCH DAMAGES. IN NO EVENT WILL BROADCOM’S LIABILITY WHETHER IN\n\ + CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE, EXCEED THE AMOUNT PAID BY\nLICENSEE\ + \ FOR SOFTWARE UNDER THIS AGREEMENT. THESE LIMITATIONS SHALL APPLY\nNOTWITHSTANDING ANY\ + \ FAILURE OF ESSENTIAL PURPOSE OF ANY LIMITED REMEDY.\n\n7.\tMISCELLANEOUS\n\n7.1.\tExport\ + \ Regulations. YOU UNDERSTAND AND AGREE THAT THE SOFTWARE IS\nSUBJECT TO UNITED STATES\ + \ AND OTHER APPLICABLE EXPORT-RELATED LAWS AND\nREGULATIONS AND THAT YOU MAY NOT EXPORT,\ + \ RE-EXPORT OR TRANSFER THE SOFTWARE OR\nANY DIRECT PRODUCT OF THE SOFTWARE EXCEPT AS\ + \ PERMITTED UNDER THOSE LAWS.\nWITHOUT LIMITING THE FOREGOING, EXPORT, RE-EXPORT OR TRANSFER\ + \ OF THE SOFTWARE\nTO CUBA, IRAN, NORTH KOREA, SUDAN AND SYRIA IS PROHIBITED.\n\n7.2\t\ + Assignment. This Agreement shall be binding upon and inure to the\nbenefit of the parties\ + \ and their respective successors and assigns, provided,\nhowever that Licensee may not\ + \ assign this Agreement or any rights or obligation\nhereunder, directly or indirectly,\ + \ by operation of law or otherwise, without\nthe prior written consent of Broadcom, and\ + \ any such attempted assignment shall\nbe void. Notwithstanding the foregoing, Licensee\ + \ may assign this Agreement to\na successor to all or substantially all of its business\ + \ or assets to which this\nAgreement relates that is not a competitor of Broadcom.\n\n\ + 7.3.\tGoverning Law; Venue. This Agreement shall be governed by the laws of\nCalifornia\ + \ without regard to any conflict-of-laws rules, and the United Nations\nConvention on\ + \ Contracts for the International Sale of Goods is hereby excluded.\nThe sole jurisdiction\ + \ and venue for actions related to the subject matter\nhereof shall be the state and federal\ + \ courts located in the County of Orange,\nCalifornia, and both parties hereby consent\ + \ to such jurisdiction and venue.\n\n7.4.\tSeverability. All terms and provisions of\ + \ this Agreement shall, if\npossible, be construed in a manner which makes them valid,\ + \ but in the event any\nterm or provision of this Agreement is found by a court of competent\n\ + jurisdiction to be illegal or unenforceable, the validity or enforceability of\nthe remainder\ + \ of this Agreement shall not be affected if the illegal or\nunenforceable provision does\ + \ not materially affect the intent of this\nAgreement. If the illegal or unenforceable\ + \ provision materially affects the\nintent of the parties to this Agreement, this Agreement\ + \ shall become\nterminated.\n\n7.5.\tEquitable Relief. Licensee hereby acknowledges that\ + \ its breach of this\nAgreement would cause irreparable harm and significant injury to\ + \ Broadcom that\nmay be difficult to ascertain and that a remedy at law would be inadequate.\n\ + Accordingly, Licensee agrees that Broadcom shall have the right to seek and\nobtain immediate\ + \ injunctive relief to enforce obligations under the Agreement\nin addition to any other\ + \ rights and remedies it may have.\n\n7.6.\tWaiver. The waiver of, or failure to enforce,\ + \ any breach or default\nhereunder shall not constitute the waiver of any other or subsequent\ + \ breach or\ndefault.\n\n7.7.\tEntire Agreement. This Agreement sets forth the entire\ + \ Agreement\nbetween the parties and supersedes any and all prior proposals, agreements\ + \ and\nrepresentations between them, whether written or oral concerning the Software.\n\ + This Agreement may be changed only by mutual agreement of the parties in\nwriting." + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '98.41' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 124 + match_coverage: '98.41' + rule_relevance: 100 + identifier: gpl-2.0-plus_38.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/tests/packagedcode/data/debian/copyright/debian-misc/usr/share/doc/zlib1g/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-misc/usr/share/doc/zlib1g/copyright-detailed.expected.yml index fdf25faa52f..276c0c5406b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-misc/usr/share/doc/zlib1g/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-misc/usr/share/doc/zlib1g/copyright-detailed.expected.yml @@ -1,4 +1,66 @@ -- None -- [] -- (other-permissive OR commercial-license) AND zlib AND zlib -- +primary_license: None +declared_license: [] +license_expression: (other-permissive OR commercial-license) AND zlib AND zlib +copyright: +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_or_commercial-license_2.RULE + license_expression: other-permissive OR commercial-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + - score: '21.21' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 132 + matched_length: 28 + match_coverage: '21.21' + rule_relevance: 100 + identifier: zlib_variant.RULE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + - score: '55.3' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 132 + matched_length: 73 + match_coverage: '55.3' + rule_relevance: 100 + identifier: zlib_variant.RULE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. diff --git a/tests/packagedcode/data/debian/copyright/debian-misc/usr/share/doc/zlib1g/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-misc/usr/share/doc/zlib1g/copyright.expected.yml index 84a6ef5fe44..b40aff97c8d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-misc/usr/share/doc/zlib1g/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-misc/usr/share/doc/zlib1g/copyright.expected.yml @@ -1,4 +1,66 @@ -- None -- [] -- (other-permissive OR commercial-license) AND zlib -- +primary_license: None +declared_license: [] +license_expression: (other-permissive OR commercial-license) AND zlib +copyright: +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_or_commercial-license_2.RULE + license_expression: other-permissive OR commercial-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + - score: '21.21' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 132 + matched_length: 28 + match_coverage: '21.21' + rule_relevance: 100 + identifier: zlib_variant.RULE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + - score: '55.3' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 132 + matched_length: 73 + match_coverage: '55.3' + rule_relevance: 100 + identifier: zlib_variant.RULE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/adduser/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/adduser/copyright-detailed.expected.yml index 7ec4ab663c9..66d9953feba 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/adduser/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/adduser/copyright-detailed.expected.yml @@ -1,8 +1,35 @@ -- -- -- gpl-2.0-plus -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus +copyright: | Copyright (c) 2000 Roland Bauerschmidt Copyright (c) 1997, 1998, 1999 Guy Maor Copyright (c) 1995 Ted Hajek portions Copyright (c) 1994 Debian Association, Inc. +matches: + - score: '100.0' + start_line: 28 + end_line: 47 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_811.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "and is\n GPL V2 as well.\n \n This program is free software; you can\ + \ redistribute it and/or modify\n it under the terms of the GNU General Public License\ + \ as published by\n the Free Software Foundation; either version 2 of the License,\ + \ or\n (at your option) any later version.\n \n This program is distributed in\ + \ the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n \ + \ GNU General Public License for more details.\n \n You should have received a copy\ + \ of the GNU General Public License\n along with this program; if not, write to the\n\ + \ Free Software Foundation, Inc.,\n 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,\ + \ USA.\n \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public\ + \ License can be found in `/usr/share/common-licenses/GPL-2'." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/adduser/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/adduser/copyright.expected.yml index 7ec4ab663c9..66d9953feba 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/adduser/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/adduser/copyright.expected.yml @@ -1,8 +1,35 @@ -- -- -- gpl-2.0-plus -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus +copyright: | Copyright (c) 2000 Roland Bauerschmidt Copyright (c) 1997, 1998, 1999 Guy Maor Copyright (c) 1995 Ted Hajek portions Copyright (c) 1994 Debian Association, Inc. +matches: + - score: '100.0' + start_line: 28 + end_line: 47 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_811.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "and is\n GPL V2 as well.\n \n This program is free software; you can\ + \ redistribute it and/or modify\n it under the terms of the GNU General Public License\ + \ as published by\n the Free Software Foundation; either version 2 of the License,\ + \ or\n (at your option) any later version.\n \n This program is distributed in\ + \ the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n \ + \ GNU General Public License for more details.\n \n You should have received a copy\ + \ of the GNU General Public License\n along with this program; if not, write to the\n\ + \ Free Software Foundation, Inc.,\n 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,\ + \ USA.\n \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public\ + \ License can be found in `/usr/share/common-licenses/GPL-2'." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/apt/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/apt/copyright-detailed.expected.yml index d7be1d252cf..2eecb2802ad 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/apt/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/apt/copyright-detailed.expected.yml @@ -1,4 +1,47 @@ -- -- -- gpl-2.0-plus AND gpl-2.0-plus -- copyright 1997, 1998, 1999 Jason Gunthorpe and others +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0-plus +copyright: copyright 1997, 1998, 1999 Jason Gunthorpe and others +matches: + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_374.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv2+' + - score: '100.0' + start_line: 6 + end_line: 22 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_736.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 2 of the License, or\n (at your option) any\ + \ later version.\n \n This program is distributed in the hope that it will be useful,\n\ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program; if not, write to the Free Software\n Foundation, Inc.,\ + \ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.\n \n See /usr/share/common-licenses/GPL-2,\ + \ or\n for the terms of the latest version\n of\ + \ the GNU General Public License." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/apt/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/apt/copyright.expected.yml index e82bc59515f..1fbbb02b3b3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/apt/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/apt/copyright.expected.yml @@ -1,4 +1,47 @@ -- -- -- gpl-2.0-plus -- copyright 1997, 1998, 1999 Jason Gunthorpe and others +primary_license: +declared_license: +license_expression: gpl-2.0-plus +copyright: copyright 1997, 1998, 1999 Jason Gunthorpe and others +matches: + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_374.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv2+' + - score: '100.0' + start_line: 6 + end_line: 22 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_736.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 2 of the License, or\n (at your option) any\ + \ later version.\n \n This program is distributed in the hope that it will be useful,\n\ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program; if not, write to the Free Software\n Foundation, Inc.,\ + \ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.\n \n See /usr/share/common-licenses/GPL-2,\ + \ or\n for the terms of the latest version\n of\ + \ the GNU General Public License." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-files/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-files/copyright-detailed.expected.yml index 3d959df72fa..4c99b7d6f21 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-files/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-files/copyright-detailed.expected.yml @@ -1,6 +1,46 @@ -- -- -- gpl-2.0-plus AND gpl-1.0-plus -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-1.0-plus +copyright: | copyrighted by the Free Software Foundation, Inc. Copyright (c) 1995-2011 Software in the Public Interest +matches: + - score: '100.0' + start_line: 17 + end_line: 25 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_90.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n it\ + \ under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation; either version 2 of the License, or\n (at your option) any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY\ + \ WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR\ + \ PURPOSE. See the\n GNU General Public License for more details." + - score: '100.0' + start_line: 27 + end_line: 28 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_10.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-files/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-files/copyright.expected.yml index 3d959df72fa..4c99b7d6f21 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-files/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-files/copyright.expected.yml @@ -1,6 +1,46 @@ -- -- -- gpl-2.0-plus AND gpl-1.0-plus -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-1.0-plus +copyright: | copyrighted by the Free Software Foundation, Inc. Copyright (c) 1995-2011 Software in the Public Interest +matches: + - score: '100.0' + start_line: 17 + end_line: 25 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_90.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n it\ + \ under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation; either version 2 of the License, or\n (at your option) any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY\ + \ WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR\ + \ PURPOSE. See the\n GNU General Public License for more details." + - score: '100.0' + start_line: 27 + end_line: 28 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_10.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-passwd/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-passwd/copyright-detailed.expected.yml index 2d1b924a31e..988755c1521 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-passwd/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-passwd/copyright-detailed.expected.yml @@ -1,10 +1,12 @@ -- gpl-2.0 -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - public-domain - GPL-2 - GPL-2 -- (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) -- | +license_expression: (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND (gpl-2.0 AND gpl-2.0 + AND gpl-2.0) +copyright: | Copyright 1999-2002 Wichert Akkerman Copyright 2002, 2003, 2004 Colin Watson PD; Originally written by Ian Murdock and @@ -12,3 +14,70 @@ Copyright 2001, 2002 Joey Hess Copyright 2002, 2003, 2004, 2005, 2007 Colin Watson Copyright 2007 David Mandelberg +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2. + - score: '99.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 99 + identifier: pypi_public_domain.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: public-domain' diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-passwd/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-passwd/copyright.expected.yml index 6f4aa26b06b..548fa3f6b3b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-passwd/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-passwd/copyright.expected.yml @@ -1,8 +1,9 @@ -- gpl-2.0 -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - public-domain -- gpl-2.0 AND public-domain -- | +license_expression: gpl-2.0 AND public-domain +copyright: | Copyright 1999-2002 Wichert Akkerman Copyright 2002, 2003, 2004 Colin Watson PD; Originally written by Ian Murdock and @@ -10,3 +11,70 @@ Copyright 2001, 2002 Joey Hess Copyright 2002, 2003, 2004, 2005, 2007 Colin Watson Copyright 2007 David Mandelberg +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2. + - score: '99.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 99 + identifier: pypi_public_domain.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: public-domain' diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bash/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bash/copyright-detailed.expected.yml index 64136227643..ade073e2974 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bash/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bash/copyright-detailed.expected.yml @@ -1,9 +1,9 @@ -- -- -- gpl-3.0-plus AND bash-exception-gpl AND gpl-1.0-plus AND other-permissive AND gfdl-1.1-plus - AND gfdl-1.3-plus AND other-permissive AND latex2e AND latex2e AND gfdl-1.3-plus AND latex2e - AND bsd-original-uc AND historical AND other-permissive -- | +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND bash-exception-gpl AND gpl-1.0-plus AND other-permissive + AND gfdl-1.1-plus AND gfdl-1.3-plus AND other-permissive AND latex2e AND latex2e AND gfdl-1.3-plus + AND latex2e AND bsd-original-uc AND historical AND other-permissive +copyright: | Copyright (c) 1987-2014 Free Software Foundation, Inc. Copyright FSF Copyright 1995-2005 by Chester Ramey @@ -15,3 +15,342 @@ Copyright (c) 1988-2014 Free Software Foundation, Inc. Copyright (c) 1983, 1990, 1993 The Regents of the University of California Portions Copyright (c) 1993 by Digital Equipment Corporation +matches: + - score: '100.0' + start_line: 13 + end_line: 26 + matcher: 2-aho + rule_length: 118 + matched_length: 118 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_289.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Bash is free software; you can redistribute it and/or modify it under\n the\ + \ terms of the GNU General Public License as published by the Free\n Software Foundation;\ + \ either version 3, or (at your option) any later\n version.\n \n Bash is distributed\ + \ in the hope that it will be useful, but WITHOUT\n ANY WARRANTY; without even the implied\ + \ warranty of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\ + \ Public License\n for more details.\n \n You should have received a copy of the GNU General\ + \ Public License\n along with Bash. If not, see .\n On\ + \ Debian systems, the complete text of the GNU General Public License\n can be found in\ + \ `/usr/share/common-licenses/GPL-3'." + - score: '100.0' + start_line: 28 + end_line: 34 + matcher: 2-aho + rule_length: 78 + matched_length: 78 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bash-exception-gpl.LICENSE + license_expression: bash-exception-gpl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The Free Software Foundation has exempted Bash from the requirement of + Paragraph 2c of the General Public License. This is to say, there is + no requirement for Bash to print a notice when it is started + interactively in the usual way. We made this exception because users + and standards expect shells not to print such messages. This + exception applies to any program that serves as a shell and that is + based primarily on Bash as opposed to other GNU software. + - score: '100.0' + start_line: 37 + end_line: 37 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_72.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: License GPL + - score: '100.0' + start_line: 44 + end_line: 48 + matcher: 2-aho + rule_length: 45 + matched_length: 45 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_207.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, without written agreement and + without license or royalty fees, to use, copy, and distribute + this document for any purpose, provided that the above copyright + notice appears in all copies of this document and that the + contents of this document remain unaltered. + - score: '80.41' + start_line: 55 + end_line: 64 + matcher: 3-seq + rule_length: 97 + matched_length: 78 + match_coverage: '80.41' + rule_relevance: 100 + identifier: gfdl-1.1-plus_19.RULE + license_expression: gfdl-1.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to make and distribute verbatim copies of\n this manual\ + \ provided the copyright notice and this permission notice\n are preserved on all copies.\n\ + \ \n Permission is granted to copy, distribute and/or modify this document\n under the\ + \ terms of the GNU Free Documentation License, Version 1.[3] or\n any later version published\ + \ by the Free Software Foundation; with [no]\n Invariant Sections, [no] [Front]-[Cover]\ + \ [Texts], [and] no Back-Cover Texts.\n A copy of the license is included in the section\ + \ entitled\n ``GNU Free Documentation License''." + - score: '100.0' + start_line: 71 + end_line: 76 + matcher: 2-aho + rule_length: 60 + matched_length: 60 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 or + any later version published by the Free Software Foundation; with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + A copy of the license is included in the section entitled + ``GNU Free Documentation License''. + - score: '100.0' + start_line: 82 + end_line: 84 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_206.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to make and distribute verbatim copies of + this manual provided the copyright notice and this permission notice + pare preserved on all copies. + - score: '99.0' + start_line: 86 + end_line: 99 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 99 + identifier: latex2e_7.RULE + license_expression: latex2e + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to process this file through TeX and print the\n results,\ + \ provided the printed document carries copying permission\n notice identical to this\ + \ one except for the removal of this paragraph\n (this paragraph not being relevant to\ + \ the printed manual).\n \n Permission is granted to copy and distribute modified versions\ + \ of this\n manual under the conditions for verbatim copying, provided that the entire\n\ + \ resulting derived work is distributed under the terms of a permission\n notice identical\ + \ to this one.\n \n Permission is granted to copy and distribute translations of this\ + \ manual\n into another language, under the above conditions for modified versions,\n\ + \ except that this permission notice may be stated in a translation approved\n by the\ + \ Foundation." + - score: '99.0' + start_line: 108 + end_line: 124 + matcher: 2-aho + rule_length: 137 + matched_length: 137 + match_coverage: '100.0' + rule_relevance: 99 + identifier: latex2e_3.RULE + license_expression: latex2e + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to process this file through Tex and print the\n results,\ + \ provided the printed document carries copying permission notice\n identical to this\ + \ one except for the removal of this paragraph (this\n paragraph not being relevant to\ + \ the printed manual).\n \n Permission is granted to make and distribute verbatim copies\ + \ of this manual\n provided the copyright notice and this permission notice are preserved\ + \ on\n all copies.\n \n Permission is granted to copy and distribute modified versions\ + \ of this\n manual under the conditions for verbatim copying, provided also that the\n\ + \ GNU Copyright statement is available to the distributee, and provided that\n the entire\ + \ resulting derived work is distributed under the terms of a\n permission notice identical\ + \ to this one.\n \n Permission is granted to copy and distribute translations of this\ + \ manual\n into another language, under the above conditions for modified versions." + - score: '100.0' + start_line: 132 + end_line: 137 + matcher: 2-aho + rule_length: 60 + matched_length: 60 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 or + any later version published by the Free Software Foundation; with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + A copy of the license is included in the section entitled + ``GNU Free Documentation License''. + - score: '99.0' + start_line: 144 + end_line: 160 + matcher: 2-aho + rule_length: 137 + matched_length: 137 + match_coverage: '100.0' + rule_relevance: 99 + identifier: latex2e_2.RULE + license_expression: latex2e + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to make and distribute verbatim copies of this manual\n\ + \ provided the copyright notice and this permission notice are preserved on\n all copies.\n\ + \ \n Permission is granted to process this file through Tex and print the\n results,\ + \ provided the printed document carries copying permission notice\n identical to this\ + \ one except for the removal of this paragraph (this\n paragraph not being relevant to\ + \ the printed manual).\n \n Permission is granted to copy and distribute modified versions\ + \ of this\n manual under the conditions for verbatim copying, provided also that the\n\ + \ GNU Copyright statement is available to the distributee, and provided that\n the entire\ + \ resulting derived work is distributed under the terms of a\n permission notice identical\ + \ to this one.\n \n Permission is granted to copy and distribute translations of this\ + \ manual\n into another language, under the above conditions for modified versions." + - score: '100.0' + start_line: 168 + end_line: '194' + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors. + * 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: '198' + end_line: 212 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_10.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies, and that + * the name of Digital Equipment Corporation not be used in advertising or + * publicity pertaining to distribution of the document or software without + * specific, written prior permission. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL + * WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL DIGITAL EQUIPMENT + * CORPORATION 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 THIS + * SOFTWARE. + - score: '100.0' + start_line: 220 + end_line: 221 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_32.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to distribute, modify and use this program as long + * as this comment is not removed or changed. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bash/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bash/copyright.expected.yml index d871b8e4c01..d2f0bf717e7 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bash/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bash/copyright.expected.yml @@ -1,8 +1,8 @@ -- -- -- gpl-3.0-plus AND bash-exception-gpl AND gpl-1.0-plus AND other-permissive AND gfdl-1.1-plus - AND gfdl-1.3-plus AND latex2e AND bsd-original-uc AND historical -- | +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND bash-exception-gpl AND gpl-1.0-plus AND other-permissive + AND gfdl-1.1-plus AND gfdl-1.3-plus AND latex2e AND bsd-original-uc AND historical +copyright: | Copyright (c) 1987-2014 Free Software Foundation, Inc. Copyright FSF Copyright 1995-2005 by Chester Ramey @@ -14,3 +14,342 @@ Copyright (c) 1988-2014 Free Software Foundation, Inc. Copyright (c) 1983, 1990, 1993 The Regents of the University of California Portions Copyright (c) 1993 by Digital Equipment Corporation +matches: + - score: '100.0' + start_line: 13 + end_line: 26 + matcher: 2-aho + rule_length: 118 + matched_length: 118 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_289.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Bash is free software; you can redistribute it and/or modify it under\n the\ + \ terms of the GNU General Public License as published by the Free\n Software Foundation;\ + \ either version 3, or (at your option) any later\n version.\n \n Bash is distributed\ + \ in the hope that it will be useful, but WITHOUT\n ANY WARRANTY; without even the implied\ + \ warranty of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\ + \ Public License\n for more details.\n \n You should have received a copy of the GNU General\ + \ Public License\n along with Bash. If not, see .\n On\ + \ Debian systems, the complete text of the GNU General Public License\n can be found in\ + \ `/usr/share/common-licenses/GPL-3'." + - score: '100.0' + start_line: 28 + end_line: 34 + matcher: 2-aho + rule_length: 78 + matched_length: 78 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bash-exception-gpl.LICENSE + license_expression: bash-exception-gpl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The Free Software Foundation has exempted Bash from the requirement of + Paragraph 2c of the General Public License. This is to say, there is + no requirement for Bash to print a notice when it is started + interactively in the usual way. We made this exception because users + and standards expect shells not to print such messages. This + exception applies to any program that serves as a shell and that is + based primarily on Bash as opposed to other GNU software. + - score: '100.0' + start_line: 37 + end_line: 37 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_72.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: License GPL + - score: '100.0' + start_line: 44 + end_line: 48 + matcher: 2-aho + rule_length: 45 + matched_length: 45 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_207.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, without written agreement and + without license or royalty fees, to use, copy, and distribute + this document for any purpose, provided that the above copyright + notice appears in all copies of this document and that the + contents of this document remain unaltered. + - score: '80.41' + start_line: 55 + end_line: 64 + matcher: 3-seq + rule_length: 97 + matched_length: 78 + match_coverage: '80.41' + rule_relevance: 100 + identifier: gfdl-1.1-plus_19.RULE + license_expression: gfdl-1.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to make and distribute verbatim copies of\n this manual\ + \ provided the copyright notice and this permission notice\n are preserved on all copies.\n\ + \ \n Permission is granted to copy, distribute and/or modify this document\n under the\ + \ terms of the GNU Free Documentation License, Version 1.[3] or\n any later version published\ + \ by the Free Software Foundation; with [no]\n Invariant Sections, [no] [Front]-[Cover]\ + \ [Texts], [and] no Back-Cover Texts.\n A copy of the license is included in the section\ + \ entitled\n ``GNU Free Documentation License''." + - score: '100.0' + start_line: 71 + end_line: 76 + matcher: 2-aho + rule_length: 60 + matched_length: 60 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 or + any later version published by the Free Software Foundation; with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + A copy of the license is included in the section entitled + ``GNU Free Documentation License''. + - score: '100.0' + start_line: 82 + end_line: 84 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_206.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to make and distribute verbatim copies of + this manual provided the copyright notice and this permission notice + pare preserved on all copies. + - score: '99.0' + start_line: 86 + end_line: 99 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 99 + identifier: latex2e_7.RULE + license_expression: latex2e + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to process this file through TeX and print the\n results,\ + \ provided the printed document carries copying permission\n notice identical to this\ + \ one except for the removal of this paragraph\n (this paragraph not being relevant to\ + \ the printed manual).\n \n Permission is granted to copy and distribute modified versions\ + \ of this\n manual under the conditions for verbatim copying, provided that the entire\n\ + \ resulting derived work is distributed under the terms of a permission\n notice identical\ + \ to this one.\n \n Permission is granted to copy and distribute translations of this\ + \ manual\n into another language, under the above conditions for modified versions,\n\ + \ except that this permission notice may be stated in a translation approved\n by the\ + \ Foundation." + - score: '99.0' + start_line: 108 + end_line: 124 + matcher: 2-aho + rule_length: 137 + matched_length: 137 + match_coverage: '100.0' + rule_relevance: 99 + identifier: latex2e_3.RULE + license_expression: latex2e + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to process this file through Tex and print the\n results,\ + \ provided the printed document carries copying permission notice\n identical to this\ + \ one except for the removal of this paragraph (this\n paragraph not being relevant to\ + \ the printed manual).\n \n Permission is granted to make and distribute verbatim copies\ + \ of this manual\n provided the copyright notice and this permission notice are preserved\ + \ on\n all copies.\n \n Permission is granted to copy and distribute modified versions\ + \ of this\n manual under the conditions for verbatim copying, provided also that the\n\ + \ GNU Copyright statement is available to the distributee, and provided that\n the entire\ + \ resulting derived work is distributed under the terms of a\n permission notice identical\ + \ to this one.\n \n Permission is granted to copy and distribute translations of this\ + \ manual\n into another language, under the above conditions for modified versions." + - score: '100.0' + start_line: 132 + end_line: 137 + matcher: 2-aho + rule_length: 60 + matched_length: 60 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 or + any later version published by the Free Software Foundation; with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + A copy of the license is included in the section entitled + ``GNU Free Documentation License''. + - score: '99.0' + start_line: 144 + end_line: 160 + matcher: 2-aho + rule_length: 137 + matched_length: 137 + match_coverage: '100.0' + rule_relevance: 99 + identifier: latex2e_2.RULE + license_expression: latex2e + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to make and distribute verbatim copies of this manual\n\ + \ provided the copyright notice and this permission notice are preserved on\n all copies.\n\ + \ \n Permission is granted to process this file through Tex and print the\n results,\ + \ provided the printed document carries copying permission notice\n identical to this\ + \ one except for the removal of this paragraph (this\n paragraph not being relevant to\ + \ the printed manual).\n \n Permission is granted to copy and distribute modified versions\ + \ of this\n manual under the conditions for verbatim copying, provided also that the\n\ + \ GNU Copyright statement is available to the distributee, and provided that\n the entire\ + \ resulting derived work is distributed under the terms of a\n permission notice identical\ + \ to this one.\n \n Permission is granted to copy and distribute translations of this\ + \ manual\n into another language, under the above conditions for modified versions." + - score: '100.0' + start_line: 168 + end_line: '194' + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors. + * 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: '198' + end_line: 212 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_10.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies, and that + * the name of Digital Equipment Corporation not be used in advertising or + * publicity pertaining to distribution of the document or software without + * specific, written prior permission. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL + * WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL DIGITAL EQUIPMENT + * CORPORATION 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 THIS + * SOFTWARE. + - score: '100.0' + start_line: 220 + end_line: 221 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_32.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to distribute, modify and use this program as long + * as this comment is not removed or changed. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bsdutils/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bsdutils/copyright-detailed.expected.yml index 9d40a8e3a7a..3da8450c864 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bsdutils/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bsdutils/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - GPL-2 - GPL-2 @@ -43,20 +44,20 @@ - LGPL-2.1+ - LGPL-3+ - MIT -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 - AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND - gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc AND mit - AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new AND - (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) - AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND - lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND + gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc + AND mit AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new + AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND + lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-3.0-plus AND lgpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) -- | +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -249,3 +250,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3) Neither the name of the [ORGANIZATION] 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 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. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bsdutils/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bsdutils/copyright.expected.yml index f705a1146cf..4fa8dffb131 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bsdutils/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bsdutils/copyright.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - public-domain - BSD-4-clause @@ -11,10 +12,10 @@ - GPL-3+ - LGPL - LGPL-3+ -- (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 AND public-domain AND bsd-original-uc AND mit AND bsd-simplified - AND bsd-new AND (lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1) AND (gpl-3.0-plus - AND gpl-3.0) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND lgpl-3.0-plus -- | +license_expression: (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 AND public-domain AND bsd-original-uc + AND mit AND bsd-simplified AND bsd-new AND (lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND lgpl-3.0-plus +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -194,3 +195,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3) Neither the name of the [ORGANIZATION] 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 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. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/coreutils/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/coreutils/copyright-detailed.expected.yml index 3aea5a3c047..e2ea776715d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/coreutils/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/coreutils/copyright-detailed.expected.yml @@ -1,9 +1,9 @@ -- -- -- gpl-3.0-plus AND bsd-new AND gpl-3.0-plus AND bsd-new AND gpl-3.0-plus AND gpl-3.0-plus AND - isc AND fsf-unlimited AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus - AND gfdl-1.2-plus AND gpl-3.0-plus -- | +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND bsd-new AND gpl-3.0-plus AND bsd-new AND gpl-3.0-plus AND + gpl-3.0-plus AND isc AND fsf-unlimited AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus + AND gpl-3.0-plus AND gfdl-1.2-plus AND gpl-3.0-plus +copyright: | Copyright (c) 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. Copyright (c) 1990, 1993, 1994 The Regents of the University of California Copyright (c) 2004, 2005, 2006, 2007 Free Software Foundation, Inc. @@ -23,3 +23,360 @@ Copyright (c) 1997, 1998, 1999 Colin Plumb Copyright 1994-1996, 2000-2008 Free Software Foundation, Inc. Copyright (c) 1984-2008 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 30 + end_line: 41 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see . */" + - score: '100.0' + start_line: 47 + end_line: 69 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 78 + end_line: 89 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see . */" + - score: '100.0' + start_line: 95 + end_line: 117 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 126 + end_line: 137 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see ." + - score: '100.0' + start_line: 145 + end_line: 157 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_4.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 3, or (at your option)\n any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n\ + \ You should have received a copy of the GNU General Public License\n along with\ + \ this program; if not, write to the Free Software Foundation,\n Inc., 51 Franklin\ + \ Street, Fifth Floor, Boston, MA 02110-1301, USA. */" + - score: '100.0' + start_line: 162 + end_line: 173 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + * CONSORTIUM 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 THIS + * SOFTWARE. + - score: '100.0' + start_line: 180 + end_line: 182 + matcher: 2-aho + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + - score: '100.0' + start_line: '193' + end_line: 204 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see . */" + - score: '100.0' + start_line: 213 + end_line: 224 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see . */" + - score: '100.0' + start_line: 233 + end_line: 244 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see . */" + - score: '100.0' + start_line: 253 + end_line: 264 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see ." + - score: '100.0' + start_line: 272 + end_line: 277 + matcher: 2-aho + rule_length: 62 + matched_length: 62 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.2-plus.RULE + license_expression: gfdl-1.2-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.2 or + any later version published by the Free Software Foundation; with no + Invariant Sections, with no Front-Cover Texts, and with no Back-Cover + Texts. A copy of the license is included in the section entitled ``GNU + Free Documentation License''. + - score: '100.0' + start_line: 285 + end_line: 299 + matcher: 2-aho + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_2.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see .\n \n On Debian\ + \ systems, the complete text of the GNU General\n Public License can be found in `/usr/share/common-licenses/GPL-3'." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/coreutils/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/coreutils/copyright.expected.yml index 612c7b5380a..b9bc017f688 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/coreutils/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/coreutils/copyright.expected.yml @@ -1,7 +1,7 @@ -- -- -- gpl-3.0-plus AND bsd-new AND isc AND fsf-unlimited AND gfdl-1.2-plus -- | +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND bsd-new AND isc AND fsf-unlimited AND gfdl-1.2-plus +copyright: | Copyright (c) 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. Copyright (c) 1990, 1993, 1994 The Regents of the University of California Copyright (c) 2004, 2005, 2006, 2007 Free Software Foundation, Inc. @@ -21,3 +21,360 @@ Copyright (c) 1997, 1998, 1999 Colin Plumb Copyright 1994-1996, 2000-2008 Free Software Foundation, Inc. Copyright (c) 1984-2008 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 30 + end_line: 41 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see . */" + - score: '100.0' + start_line: 47 + end_line: 69 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 78 + end_line: 89 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see . */" + - score: '100.0' + start_line: 95 + end_line: 117 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 126 + end_line: 137 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see ." + - score: '100.0' + start_line: 145 + end_line: 157 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_4.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 3, or (at your option)\n any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n\ + \ You should have received a copy of the GNU General Public License\n along with\ + \ this program; if not, write to the Free Software Foundation,\n Inc., 51 Franklin\ + \ Street, Fifth Floor, Boston, MA 02110-1301, USA. */" + - score: '100.0' + start_line: 162 + end_line: 173 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + * CONSORTIUM 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 THIS + * SOFTWARE. + - score: '100.0' + start_line: 180 + end_line: 182 + matcher: 2-aho + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + - score: '100.0' + start_line: '193' + end_line: 204 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see . */" + - score: '100.0' + start_line: 213 + end_line: 224 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see . */" + - score: '100.0' + start_line: 233 + end_line: 244 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see . */" + - score: '100.0' + start_line: 253 + end_line: 264 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see ." + - score: '100.0' + start_line: 272 + end_line: 277 + matcher: 2-aho + rule_length: 62 + matched_length: 62 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.2-plus.RULE + license_expression: gfdl-1.2-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.2 or + any later version published by the Free Software Foundation; with no + Invariant Sections, with no Front-Cover Texts, and with no Back-Cover + Texts. A copy of the license is included in the section entitled ``GNU + Free Documentation License''. + - score: '100.0' + start_line: 285 + end_line: 299 + matcher: 2-aho + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_2.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see .\n \n On Debian\ + \ systems, the complete text of the GNU General\n Public License can be found in `/usr/share/common-licenses/GPL-3'." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dash/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dash/copyright-detailed.expected.yml index ece49e68f24..029c88f974d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dash/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dash/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- bsd-new -- - BSD-3-Clause +primary_license: bsd-new +declared_license: + - BSD-3-Clause - FSFULLR - FSFULLR - FSFUL @@ -30,12 +31,13 @@ - FSFULLR - Expat - GPL-2+ -- bsd-new AND fsf-unlimited-no-warranty AND fsf-unlimited-no-warranty AND fsf-free AND bsd-new +license_expression: bsd-new AND fsf-unlimited-no-warranty AND fsf-unlimited-no-warranty AND + fsf-free AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new - AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND (x11-xconsortium - AND public-domain) AND ((gpl-2.0-plus AND gpl-2.0-plus) OR bsd-new) AND public-domain AND - bsd-new AND fsf-unlimited-no-warranty AND (gpl-2.0-plus AND gpl-2.0-plus) -- | + AND bsd-new AND (x11-xconsortium AND public-domain) AND ((gpl-2.0-plus AND gpl-2.0-plus) OR + bsd-new) AND public-domain AND bsd-new AND fsf-unlimited-no-warranty AND (gpl-2.0-plus AND + gpl-2.0-plus) +copyright: | 1989-1994 The Regents of the University of California. All rights reserved. 1997 Christos Zoulas. All rights reserved. 1997-2018 Herbert Xu . All rights reserved. @@ -88,3 +90,202 @@ 1989, 1991, 1993, 1995, The Regents of the University of California. 1994-2011, Free Software 1992, 1996, 1997, 1999, 2000, 2002-2012, Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free.LICENSE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 63 + matched_length: 63 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.LICENSE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY, to the extent permitted by law; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 2-aho + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 23 + end_line: 23 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_58.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: FSF changes to this file are in the public domain. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '99.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 99 + identifier: pypi_public_domain.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: public-domain' diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dash/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dash/copyright.expected.yml index f117aa16894..af38152bf4b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dash/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dash/copyright.expected.yml @@ -1,5 +1,6 @@ -- bsd-new -- - BSD-3-Clause +primary_license: bsd-new +declared_license: + - BSD-3-Clause - FSFULLR - FSFUL - BSD-3-clause @@ -7,9 +8,9 @@ - GPL-2+ or BSD-3-clause - public-domain - GPL-2+ -- bsd-new AND fsf-unlimited-no-warranty AND fsf-free AND (x11-xconsortium AND public-domain) - AND (gpl-2.0-plus OR bsd-new) AND public-domain AND gpl-2.0-plus -- | +license_expression: bsd-new AND fsf-unlimited-no-warranty AND fsf-free AND (x11-xconsortium + AND public-domain) AND (gpl-2.0-plus OR bsd-new) AND public-domain AND gpl-2.0-plus +copyright: | 1989-1994 The Regents of the University of California. All rights reserved. 1997 Christos Zoulas. All rights reserved. 1997-2018 Herbert Xu . All rights reserved. @@ -47,3 +48,202 @@ 1989, 1991, 1993, 1995, The Regents of the University of California. 1994-2011, Free Software 1992, 1996, 1997, 1999, 2000, 2002-2012, Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free.LICENSE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 63 + matched_length: 63 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.LICENSE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY, to the extent permitted by law; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 2-aho + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 23 + end_line: 23 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_58.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: FSF changes to this file are in the public domain. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '99.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 99 + identifier: pypi_public_domain.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: public-domain' diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debconf/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debconf/copyright-detailed.expected.yml index 3fa2020ed91..45d45d123e7 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debconf/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debconf/copyright-detailed.expected.yml @@ -1,5 +1,5 @@ -- bsd-simplified -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: - BSD-2-clause - BSD-2-clause - BSD-2-clause @@ -11,10 +11,11 @@ - BSD-2-clause - BSD-2-clause - BSD-2-clause -- bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified + - BSD-2-clause +license_expression: bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified - AND bsd-simplified -- | + AND bsd-simplified AND bsd-simplified +copyright: | 1999-2010 Joey Hess 2003 Tomohiro KUBOTA 2004-2010 Colin Watson @@ -37,3 +38,40 @@ 2005 Sylvain Ferriol 2005-2010 Colin Watson 2005-2010 Joey Hess +matches: + - score: '99.45' + start_line: 1 + end_line: 20 + matcher: 3-seq + rule_length: 183 + matched_length: 182 + match_coverage: '99.45' + rule_relevance: 100 + identifier: bsd-simplified_52.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHORS 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 AUTHORS 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debconf/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debconf/copyright.expected.yml index fec733ba648..19a9f6c2246 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debconf/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debconf/copyright.expected.yml @@ -1,7 +1,8 @@ -- bsd-simplified -- - BSD-2-clause -- bsd-simplified -- | +primary_license: bsd-simplified +declared_license: + - BSD-2-clause +license_expression: bsd-simplified +copyright: | 1999-2010 Joey Hess 2003 Tomohiro KUBOTA 2004-2010 Colin Watson @@ -21,3 +22,40 @@ 2003 Petter Reinholdtsen 2005 Sylvain Ferriol 2005-2010 Joey Hess +matches: + - score: '99.45' + start_line: 1 + end_line: 20 + matcher: 3-seq + rule_length: 183 + matched_length: 182 + match_coverage: '99.45' + rule_relevance: 100 + identifier: bsd-simplified_52.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHORS 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 AUTHORS 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debian-archive-keyring/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debian-archive-keyring/copyright-detailed.expected.yml index 518bf25f09f..951b02918eb 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debian-archive-keyring/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debian-archive-keyring/copyright-detailed.expected.yml @@ -1,4 +1,34 @@ -- -- -- gpl-2.0-plus -- Copyright (c) 2006 Michael Vogt +primary_license: +declared_license: +license_expression: gpl-2.0-plus +copyright: Copyright (c) 2006 Michael Vogt +matches: + - score: '90.0' + start_line: 6 + end_line: 26 + matcher: 3-seq + rule_length: 162 + matched_length: 162 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_306.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The keys in the keyrings don't fall under any copyright. Everything\n else\ + \ in the package is covered by the GNU GPL.\n \n Debian support files [Copyright] ([C])\ + \ [2006] [Michael] [Vogt] <[mvo]@[debian].[org]> \n [based] [on] [the] [debian]-[keyring]\ + \ [package] [maintained] [by] [James] [Troup] \n \n [Debian] [support] [files] for debian-archive-keyring\ + \ are free software; you\n can redistribute them and/or modify them under the terms of\ + \ the GNU\n General Public License as published by the Free Software Foundation;\n either\ + \ version 2, or (at your option) any later version.\n \n Debian support files for debian-archive-keyring\ + \ are distributed in the\n hope that they will be useful, but WITHOUT ANY WARRANTY; without\ + \ even\n the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n PURPOSE.\ + \ See the GNU General Public License for more details.\n \n You should have received\ + \ a copy of the GNU General Public License with\n your Debian system, in /usr/share/common-licenses/GPL,\ + \ or with the\n Debian GNU debian-archive-keyring source package as the file COPYING.\n\ + \ If not, write to the Free Software Foundation, Inc., 51 Franklin Street,\n Fifth Floor,\ + \ Boston, MA 02110-1301 USA." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debian-archive-keyring/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debian-archive-keyring/copyright.expected.yml index 518bf25f09f..951b02918eb 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debian-archive-keyring/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debian-archive-keyring/copyright.expected.yml @@ -1,4 +1,34 @@ -- -- -- gpl-2.0-plus -- Copyright (c) 2006 Michael Vogt +primary_license: +declared_license: +license_expression: gpl-2.0-plus +copyright: Copyright (c) 2006 Michael Vogt +matches: + - score: '90.0' + start_line: 6 + end_line: 26 + matcher: 3-seq + rule_length: 162 + matched_length: 162 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_306.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The keys in the keyrings don't fall under any copyright. Everything\n else\ + \ in the package is covered by the GNU GPL.\n \n Debian support files [Copyright] ([C])\ + \ [2006] [Michael] [Vogt] <[mvo]@[debian].[org]> \n [based] [on] [the] [debian]-[keyring]\ + \ [package] [maintained] [by] [James] [Troup] \n \n [Debian] [support] [files] for debian-archive-keyring\ + \ are free software; you\n can redistribute them and/or modify them under the terms of\ + \ the GNU\n General Public License as published by the Free Software Foundation;\n either\ + \ version 2, or (at your option) any later version.\n \n Debian support files for debian-archive-keyring\ + \ are distributed in the\n hope that they will be useful, but WITHOUT ANY WARRANTY; without\ + \ even\n the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n PURPOSE.\ + \ See the GNU General Public License for more details.\n \n You should have received\ + \ a copy of the GNU General Public License with\n your Debian system, in /usr/share/common-licenses/GPL,\ + \ or with the\n Debian GNU debian-archive-keyring source package as the file COPYING.\n\ + \ If not, write to the Free Software Foundation, Inc., 51 Franklin Street,\n Fifth Floor,\ + \ Boston, MA 02110-1301 USA." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debianutils/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debianutils/copyright-detailed.expected.yml index 5f146b9029c..263b7c48504 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debianutils/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debianutils/copyright-detailed.expected.yml @@ -1,7 +1,130 @@ -- -- -- gpl-2.0-plus AND smail-gpl -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND smail-gpl +copyright: | Copyright (c) 1988 Landon Curt Noll & Ronald S. Karr Copyright (c) 1992 Ronald S. Karr Copyright (c) 1988 Landon Curt Noll & Ronald S. Karr +matches: + - score: '100.0' + start_line: 8 + end_line: 11 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_810.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "redistributed under the terms of the GNU GPL, Version 2 or later,\n found\ + \ on Debian systems in the file /usr/share/common-licenses/GPL-2.\n \n which is in the\ + \ public domain." + - score: '100.0' + start_line: 18 + end_line: 161 + matcher: 2-aho + rule_length: 1219 + matched_length: 1219 + match_coverage: '100.0' + rule_relevance: 100 + identifier: smail-gpl.LICENSE + license_expression: smail-gpl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "SMAIL GENERAL PUBLIC LICENSE\n \t\t (Clarified 11 Feb 1988)\n \n Copyright\ + \ (C) 1988 Landon Curt Noll & Ronald S. Karr\n Copyright (C) 1992 Ronald S. Karr\n\ + \ Copyleft (GNU) 1988 Landon Curt Noll & Ronald S. Karr\n \n Everyone is permitted to\ + \ copy and distribute verbatim copies\n of this license, but changing it is not allowed.\ + \ You can also\n use this wording to make the terms for other programs.\n \n The license\ + \ agreements of most software companies keep you at the\n mercy of those companies. By\ + \ contrast, our general public license is\n intended to give everyone the right to share\ + \ SMAIL. To make sure that\n you get the rights we want you to have, we need to make\ + \ restrictions\n that forbid anyone to deny you these rights or to ask you to surrender\n\ + \ the rights. Hence this license agreement.\n \n Specifically, we want to make sure\ + \ that you have the right to give\n away copies of SMAIL, that you receive source code\ + \ or else can get it\n if you want it, that you can change SMAIL or use pieces of it in\ + \ new\n free programs, and that you know you can do these things.\n \n To make sure\ + \ that everyone has such rights, we have to forbid you to\n deprive anyone else of these\ + \ rights. For example, if you distribute\n copies of SMAIL, you must give the recipients\ + \ all the rights that you\n have. You must make sure that they, too, receive or can get\ + \ the\n source code. And you must tell them their rights.\n \n Also, for our own protection,\ + \ we must make certain that everyone\n finds out that there is no warranty for SMAIL.\ + \ If SMAIL is modified by\n someone else and passed on, we want its recipients to know\ + \ that what\n they have is not what we distributed, so that any problems introduced\n\ + \ by others will not reflect on our reputation.\n \n Therefore we (Landon Curt Noll\ + \ and Ronald S. Karr) make the following \n terms which say what you must do to be allowed\ + \ to distribute or change \n SMAIL.\n \n \n \t\t\tCOPYING POLICIES\n \n 1. You may copy\ + \ and distribute verbatim copies of SMAIL source code\n as you receive it, in any medium,\ + \ provided that you conspicuously and\n appropriately publish on each copy a valid copyright\ + \ notice \"Copyright\n (C) 1988 Landon Curt Noll & Ronald S. Karr\" (or with whatever\ + \ year is\n appropriate); keep intact the notices on all files that refer to this\n License\ + \ Agreement and to the absence of any warranty; and give any\n other recipients of the\ + \ SMAIL program a copy of this License\n Agreement along with the program. You may charge\ + \ a distribution fee\n for the physical act of transferring a copy.\n \n 2. You may\ + \ modify your copy or copies of SMAIL or any portion of it,\n and copy and distribute\ + \ such modifications under the terms of\n Paragraph 1 above, provided that you also do\ + \ the following:\n \n a) cause the modified files to carry prominent notices stating\n\ + \ that you changed the files and the date of any change; and\n \n b) cause the\ + \ whole of any work that you distribute or publish,\n that in whole or in part contains\ + \ or is a derivative of SMAIL or\n any part thereof, to be licensed at no charge to\ + \ all third\n parties on terms identical to those contained in this License\n \ + \ Agreement (except that you may choose to grant more extensive\n warranty protection\ + \ to some or all third parties, at your option).\n \n c) You may charge a distribution\ + \ fee for the physical act of\n transferring a copy, and you may at your option offer\ + \ warranty\n protection in exchange for a fee.\n \n Mere aggregation of another unrelated\ + \ program with this program (or its\n derivative) on a volume of a storage or distribution\ + \ medium does not bring\n the other program under the scope of these terms.\n \n 3.\ + \ You may copy and distribute SMAIL (or a portion or derivative of it,\n under Paragraph\ + \ 2) in object code or executable form under the terms of\n Paragraphs 1 and 2 above provided\ + \ that you also do one of the following:\n \n a) accompany it with the complete corresponding\ + \ machine-readable\n source code, which must be distributed under the terms of\n \ + \ Paragraphs 1 and 2 above; or,\n \n b) accompany it with a written offer, valid\ + \ for at least three\n years, to give any third party free (except for a nominal\n\ + \ shipping charge) a complete machine-readable copy of the\n corresponding source\ + \ code, to be distributed under the terms of\n Paragraphs 1 and 2 above; or,\n \n\ + \ c) accompany it with the information you received as to where the\n corresponding\ + \ source code may be obtained. (This alternative is\n allowed only for non-commercial\ + \ distribution and only if you\n received the program in object code or executable\ + \ form alone.)\n \n For an executable file, complete source code means all the source\ + \ code for\n all modules it contains; but, as a special exception, it need not include\n\ + \ source code for modules which are standard libraries that accompany the\n operating\ + \ system on which the executable file runs.\n \n 4. You may not copy, sublicense, distribute\ + \ or transfer SMAIL\n except as expressly provided under this License Agreement. Any\ + \ attempt\n otherwise to copy, sublicense, distribute or transfer SMAIL is void and\n\ + \ your rights to use the program under this License agreement shall be\n automatically\ + \ terminated. However, parties who have received computer\n software programs from you\ + \ with this License Agreement will not have\n their licenses terminated so long as such\ + \ parties remain in full compliance.\n \n 5. If you wish to incorporate parts of SMAIL\ + \ into other free\n programs whose distribution conditions are different, write to Landon\n\ + \ Curt Noll & Ronald S. Karr via the Free Software Foundation at 51\n Franklin St, Fifth\ + \ Floor, Boston, MA 02110-1301, USA. We have not yet\n worked out a simple rule that\ + \ can be stated here, but we will often\n permit this. We will be guided by the two goals\ + \ of preserving the\n free status of all derivatives of our free software and of promoting\n\ + \ the sharing and reuse of software.\n \n Your comments and suggestions about our licensing\ + \ policies and our\n software are welcome! This contract was based on the contract made\ + \ by\n the Free Software Foundation. Please contact the Free Software\n Foundation, Inc.,\ + \ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,\n USA, or call (617) 542-5942 for\ + \ details on copylefted material in\n general.\n \n \t\t NO WARRANTY\n \n BECAUSE\ + \ SMAIL IS LICENSED FREE OF CHARGE, WE PROVIDE ABSOLUTELY NO\n WARRANTY, TO THE EXTENT\ + \ PERMITTED BY APPLICABLE STATE LAW. EXCEPT WHEN\n OTHERWISE STATED IN WRITING, LANDON\ + \ CURT NOLL & RONALD S. KARR AND/OR\n OTHER PARTIES PROVIDE SMAIL \"AS IS\" WITHOUT WARRANTY\ + \ OF ANY KIND,\n EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\n THE ENTIRE RISK\ + \ AS TO THE QUALITY AND PERFORMANCE OF SMAIL IS WITH\n YOU. SHOULD SMAIL PROVE DEFECTIVE,\ + \ YOU ASSUME THE COST OF ALL\n NECESSARY SERVICING, REPAIR OR CORRECTION.\n \n IN NO\ + \ EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL LANDON CURT NOLL &\n RONALD S. KARR AND/OR\ + \ ANY OTHER PARTY WHO MAY MODIFY AND REDISTRIBUTE\n SMAIL AS PERMITTED ABOVE, BE LIABLE\ + \ TO YOU FOR DAMAGES, INCLUDING ANY\n LOST PROFITS, LOST MONIES, OR OTHER SPECIAL, INCIDENTAL\ + \ OR\n CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE\n (INCLUDING BUT\ + \ NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\n INACCURATE OR LOSSES SUSTAINED\ + \ BY THIRD PARTIES OR A FAILURE OF THE\n PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS) SMAIL,\ + \ EVEN IF YOU HAVE\n BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR FOR ANY CLAIM\ + \ BY\n ANY OTHER PARTY." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debianutils/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debianutils/copyright.expected.yml index 5f146b9029c..263b7c48504 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debianutils/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debianutils/copyright.expected.yml @@ -1,7 +1,130 @@ -- -- -- gpl-2.0-plus AND smail-gpl -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND smail-gpl +copyright: | Copyright (c) 1988 Landon Curt Noll & Ronald S. Karr Copyright (c) 1992 Ronald S. Karr Copyright (c) 1988 Landon Curt Noll & Ronald S. Karr +matches: + - score: '100.0' + start_line: 8 + end_line: 11 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_810.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "redistributed under the terms of the GNU GPL, Version 2 or later,\n found\ + \ on Debian systems in the file /usr/share/common-licenses/GPL-2.\n \n which is in the\ + \ public domain." + - score: '100.0' + start_line: 18 + end_line: 161 + matcher: 2-aho + rule_length: 1219 + matched_length: 1219 + match_coverage: '100.0' + rule_relevance: 100 + identifier: smail-gpl.LICENSE + license_expression: smail-gpl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "SMAIL GENERAL PUBLIC LICENSE\n \t\t (Clarified 11 Feb 1988)\n \n Copyright\ + \ (C) 1988 Landon Curt Noll & Ronald S. Karr\n Copyright (C) 1992 Ronald S. Karr\n\ + \ Copyleft (GNU) 1988 Landon Curt Noll & Ronald S. Karr\n \n Everyone is permitted to\ + \ copy and distribute verbatim copies\n of this license, but changing it is not allowed.\ + \ You can also\n use this wording to make the terms for other programs.\n \n The license\ + \ agreements of most software companies keep you at the\n mercy of those companies. By\ + \ contrast, our general public license is\n intended to give everyone the right to share\ + \ SMAIL. To make sure that\n you get the rights we want you to have, we need to make\ + \ restrictions\n that forbid anyone to deny you these rights or to ask you to surrender\n\ + \ the rights. Hence this license agreement.\n \n Specifically, we want to make sure\ + \ that you have the right to give\n away copies of SMAIL, that you receive source code\ + \ or else can get it\n if you want it, that you can change SMAIL or use pieces of it in\ + \ new\n free programs, and that you know you can do these things.\n \n To make sure\ + \ that everyone has such rights, we have to forbid you to\n deprive anyone else of these\ + \ rights. For example, if you distribute\n copies of SMAIL, you must give the recipients\ + \ all the rights that you\n have. You must make sure that they, too, receive or can get\ + \ the\n source code. And you must tell them their rights.\n \n Also, for our own protection,\ + \ we must make certain that everyone\n finds out that there is no warranty for SMAIL.\ + \ If SMAIL is modified by\n someone else and passed on, we want its recipients to know\ + \ that what\n they have is not what we distributed, so that any problems introduced\n\ + \ by others will not reflect on our reputation.\n \n Therefore we (Landon Curt Noll\ + \ and Ronald S. Karr) make the following \n terms which say what you must do to be allowed\ + \ to distribute or change \n SMAIL.\n \n \n \t\t\tCOPYING POLICIES\n \n 1. You may copy\ + \ and distribute verbatim copies of SMAIL source code\n as you receive it, in any medium,\ + \ provided that you conspicuously and\n appropriately publish on each copy a valid copyright\ + \ notice \"Copyright\n (C) 1988 Landon Curt Noll & Ronald S. Karr\" (or with whatever\ + \ year is\n appropriate); keep intact the notices on all files that refer to this\n License\ + \ Agreement and to the absence of any warranty; and give any\n other recipients of the\ + \ SMAIL program a copy of this License\n Agreement along with the program. You may charge\ + \ a distribution fee\n for the physical act of transferring a copy.\n \n 2. You may\ + \ modify your copy or copies of SMAIL or any portion of it,\n and copy and distribute\ + \ such modifications under the terms of\n Paragraph 1 above, provided that you also do\ + \ the following:\n \n a) cause the modified files to carry prominent notices stating\n\ + \ that you changed the files and the date of any change; and\n \n b) cause the\ + \ whole of any work that you distribute or publish,\n that in whole or in part contains\ + \ or is a derivative of SMAIL or\n any part thereof, to be licensed at no charge to\ + \ all third\n parties on terms identical to those contained in this License\n \ + \ Agreement (except that you may choose to grant more extensive\n warranty protection\ + \ to some or all third parties, at your option).\n \n c) You may charge a distribution\ + \ fee for the physical act of\n transferring a copy, and you may at your option offer\ + \ warranty\n protection in exchange for a fee.\n \n Mere aggregation of another unrelated\ + \ program with this program (or its\n derivative) on a volume of a storage or distribution\ + \ medium does not bring\n the other program under the scope of these terms.\n \n 3.\ + \ You may copy and distribute SMAIL (or a portion or derivative of it,\n under Paragraph\ + \ 2) in object code or executable form under the terms of\n Paragraphs 1 and 2 above provided\ + \ that you also do one of the following:\n \n a) accompany it with the complete corresponding\ + \ machine-readable\n source code, which must be distributed under the terms of\n \ + \ Paragraphs 1 and 2 above; or,\n \n b) accompany it with a written offer, valid\ + \ for at least three\n years, to give any third party free (except for a nominal\n\ + \ shipping charge) a complete machine-readable copy of the\n corresponding source\ + \ code, to be distributed under the terms of\n Paragraphs 1 and 2 above; or,\n \n\ + \ c) accompany it with the information you received as to where the\n corresponding\ + \ source code may be obtained. (This alternative is\n allowed only for non-commercial\ + \ distribution and only if you\n received the program in object code or executable\ + \ form alone.)\n \n For an executable file, complete source code means all the source\ + \ code for\n all modules it contains; but, as a special exception, it need not include\n\ + \ source code for modules which are standard libraries that accompany the\n operating\ + \ system on which the executable file runs.\n \n 4. You may not copy, sublicense, distribute\ + \ or transfer SMAIL\n except as expressly provided under this License Agreement. Any\ + \ attempt\n otherwise to copy, sublicense, distribute or transfer SMAIL is void and\n\ + \ your rights to use the program under this License agreement shall be\n automatically\ + \ terminated. However, parties who have received computer\n software programs from you\ + \ with this License Agreement will not have\n their licenses terminated so long as such\ + \ parties remain in full compliance.\n \n 5. If you wish to incorporate parts of SMAIL\ + \ into other free\n programs whose distribution conditions are different, write to Landon\n\ + \ Curt Noll & Ronald S. Karr via the Free Software Foundation at 51\n Franklin St, Fifth\ + \ Floor, Boston, MA 02110-1301, USA. We have not yet\n worked out a simple rule that\ + \ can be stated here, but we will often\n permit this. We will be guided by the two goals\ + \ of preserving the\n free status of all derivatives of our free software and of promoting\n\ + \ the sharing and reuse of software.\n \n Your comments and suggestions about our licensing\ + \ policies and our\n software are welcome! This contract was based on the contract made\ + \ by\n the Free Software Foundation. Please contact the Free Software\n Foundation, Inc.,\ + \ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,\n USA, or call (617) 542-5942 for\ + \ details on copylefted material in\n general.\n \n \t\t NO WARRANTY\n \n BECAUSE\ + \ SMAIL IS LICENSED FREE OF CHARGE, WE PROVIDE ABSOLUTELY NO\n WARRANTY, TO THE EXTENT\ + \ PERMITTED BY APPLICABLE STATE LAW. EXCEPT WHEN\n OTHERWISE STATED IN WRITING, LANDON\ + \ CURT NOLL & RONALD S. KARR AND/OR\n OTHER PARTIES PROVIDE SMAIL \"AS IS\" WITHOUT WARRANTY\ + \ OF ANY KIND,\n EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\n THE ENTIRE RISK\ + \ AS TO THE QUALITY AND PERFORMANCE OF SMAIL IS WITH\n YOU. SHOULD SMAIL PROVE DEFECTIVE,\ + \ YOU ASSUME THE COST OF ALL\n NECESSARY SERVICING, REPAIR OR CORRECTION.\n \n IN NO\ + \ EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL LANDON CURT NOLL &\n RONALD S. KARR AND/OR\ + \ ANY OTHER PARTY WHO MAY MODIFY AND REDISTRIBUTE\n SMAIL AS PERMITTED ABOVE, BE LIABLE\ + \ TO YOU FOR DAMAGES, INCLUDING ANY\n LOST PROFITS, LOST MONIES, OR OTHER SPECIAL, INCIDENTAL\ + \ OR\n CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE\n (INCLUDING BUT\ + \ NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\n INACCURATE OR LOSSES SUSTAINED\ + \ BY THIRD PARTIES OR A FAILURE OF THE\n PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS) SMAIL,\ + \ EVEN IF YOU HAVE\n BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR FOR ANY CLAIM\ + \ BY\n ANY OTHER PARTY." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/diffutils/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/diffutils/copyright-detailed.expected.yml index ac3e5fa875f..cb12de67c3e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/diffutils/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/diffutils/copyright-detailed.expected.yml @@ -1,6 +1,50 @@ -- -- -- gpl-3.0-plus AND gfdl-1.3-plus -- | +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND gfdl-1.3-plus +copyright: | Copyright (c) 1988-1996, 1998, 2001-2002, 2004, 2006-2007, 2009-2013, 2015-2018 Free Software Foundation, Inc. Copyright (c) 1992-1994, 1998, 2001-2002, 2004, 2006, 2009-2018 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 18 + end_line: 29 + matcher: 2-aho + rule_length: 100 + matched_length: 100 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_234.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation, either version 3 of the License, or\n (at your option) any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n\ + \ On Debian systems, the complete text of the GNU General Public License\n may be found\ + \ in `/usr/share/common-licenses/GPL'." + - score: '100.0' + start_line: 38 + end_line: 44 + matcher: 2-aho + rule_length: 67 + matched_length: 67 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_3.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to copy, distribute and/or modify this document\n \ + \ under the terms of the GNU Free Documentation License, Version 1.3 or\n any later\ + \ version published by the Free Software Foundation; with no\n Invariant Sections, no\ + \ Front-Cover Texts, and no Back-Cover Texts.\n \n On Debian systems, the complete text\ + \ of the GNU Free Documentation\n License may be found in `/usr/share/common-licenses/GFDL'." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/diffutils/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/diffutils/copyright.expected.yml index ac3e5fa875f..cb12de67c3e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/diffutils/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/diffutils/copyright.expected.yml @@ -1,6 +1,50 @@ -- -- -- gpl-3.0-plus AND gfdl-1.3-plus -- | +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND gfdl-1.3-plus +copyright: | Copyright (c) 1988-1996, 1998, 2001-2002, 2004, 2006-2007, 2009-2013, 2015-2018 Free Software Foundation, Inc. Copyright (c) 1992-1994, 1998, 2001-2002, 2004, 2006, 2009-2018 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 18 + end_line: 29 + matcher: 2-aho + rule_length: 100 + matched_length: 100 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_234.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation, either version 3 of the License, or\n (at your option) any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n\ + \ On Debian systems, the complete text of the GNU General Public License\n may be found\ + \ in `/usr/share/common-licenses/GPL'." + - score: '100.0' + start_line: 38 + end_line: 44 + matcher: 2-aho + rule_length: 67 + matched_length: 67 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_3.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to copy, distribute and/or modify this document\n \ + \ under the terms of the GNU Free Documentation License, Version 1.3 or\n any later\ + \ version published by the Free Software Foundation; with no\n Invariant Sections, no\ + \ Front-Cover Texts, and no Back-Cover Texts.\n \n On Debian systems, the complete text\ + \ of the GNU Free Documentation\n License may be found in `/usr/share/common-licenses/GFDL'." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dpkg/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dpkg/copyright-detailed.expected.yml index 813966e7d87..5e12ed94496 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dpkg/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dpkg/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2+ - GPL-2 - BSD-2-clause @@ -8,10 +9,11 @@ - GPL-2+ - GPL-2 - BSD-2-clause -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus - AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND bsd-simplified AND (public-domain - AND other-permissive AND public-domain AND public-domain AND public-domain) AND public-domain -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND bsd-simplified + AND (public-domain AND other-permissive AND public-domain AND public-domain AND public-domain) + AND public-domain +copyright: | Copyright © 1994 Ian Murdock Copyright © 1994 Matt Welsh Copyright © 1994 Carl Streeter @@ -83,3 +85,266 @@ Copyright © 2012 Carsten Hey Copyright © 2014 Nir Soffer Copyright © 1993 Colin Plumb +matches: + - score: '70.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain. + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_277.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + May be used and distributed + freely for any purpose. + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_346.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: also placed in public domain. + - score: '100.0' + start_line: 7 + end_line: 8 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_348.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + also placed in the Public + Domain. + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_347.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: placed in public domain as well. + - score: '100.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_303.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This code was + written by Colin Plumb in 1993, no copyright is claimed. + This code is in the public domain; do with it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_286.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_36.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1092.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License + can be found in ‘/usr/share/common-licenses/GPL-2’ + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1119.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify + it under the terms of version 2 of the GNU General Public + License version 2 as published by the Free Software Foundation. + + This is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '99.45' + start_line: 1 + end_line: 20 + matcher: 3-seq + rule_length: 183 + matched_length: 182 + match_coverage: '99.45' + rule_relevance: 100 + identifier: bsd-simplified_52.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHORS 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 AUTHORS 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dpkg/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dpkg/copyright.expected.yml index 376cd1e07e2..845eed38040 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dpkg/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dpkg/copyright.expected.yml @@ -1,12 +1,13 @@ -- gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - BSD-2-clause - public-domain-s-s-d - public-domain-md5 -- (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND gpl-2.0 AND bsd-simplified AND (public-domain - AND other-permissive) AND public-domain -- | +license_expression: (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND gpl-2.0 AND bsd-simplified + AND (public-domain AND other-permissive) AND public-domain +copyright: | Copyright © 1994 Ian Murdock Copyright © 1994 Matt Welsh Copyright © 1994 Carl Streeter @@ -76,3 +77,266 @@ Copyright © 2012 Carsten Hey Copyright © 2014 Nir Soffer Copyright © 1993 Colin Plumb +matches: + - score: '70.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain. + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_277.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + May be used and distributed + freely for any purpose. + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_346.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: also placed in public domain. + - score: '100.0' + start_line: 7 + end_line: 8 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_348.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + also placed in the Public + Domain. + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_347.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: placed in public domain as well. + - score: '100.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_303.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This code was + written by Colin Plumb in 1993, no copyright is claimed. + This code is in the public domain; do with it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_286.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_36.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1092.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License + can be found in ‘/usr/share/common-licenses/GPL-2’ + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1119.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify + it under the terms of version 2 of the GNU General Public + License version 2 as published by the Free Software Foundation. + + This is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '99.45' + start_line: 1 + end_line: 20 + matcher: 3-seq + rule_length: 183 + matched_length: 182 + match_coverage: '99.45' + rule_relevance: 100 + identifier: bsd-simplified_52.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHORS 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 AUTHORS 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/e2fsprogs/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/e2fsprogs/copyright-detailed.expected.yml index 5bc174cbba1..16a70b23cf0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/e2fsprogs/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/e2fsprogs/copyright-detailed.expected.yml @@ -1,8 +1,8 @@ -- -- -- (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 AND lgpl-2.0) - AND ntp-0 AND bsd-new -- | +primary_license: +declared_license: +license_expression: (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 + AND lgpl-2.0) AND ntp-0 AND bsd-new +copyright: | Copyright (c) 2003-2007 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove @@ -10,3 +10,103 @@ Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o Copyright 1987 by the Student Information Processing Board of the Massachusetts Institute of Technology +matches: + - score: '98.28' + start_line: 17 + end_line: 22 + matcher: 3-seq + rule_length: 58 + matched_length: 57 + match_coverage: '98.28' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_2.RULE + license_expression: gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 [filesystem] utilities, are made available under + the GNU General Public License version 2, with the exception of the + [lib]/[ext2fs] [and] [lib]/[e2p] libraries, which are made available under the + GNU Library General Public License Version 2, the [lib]/[uuid] library + which is made available under a BSD-style license and the [lib]/[et] [and] + [lib]/[ss] libraries which are made available under an MIT-style license. + - score: '100.0' + start_line: 27 + end_line: 30 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_4.RULE + license_expression: gpl-2.0 AND lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General Public + License can be found in `/usr/share/common-licenses/GPL-2'. The + complete text of the GNU Library General Public License can be found + in '/usr/share/common-licenses/LGPL-2'. + - score: '100.0' + start_line: 38 + end_line: 45 + matcher: 2-aho + rule_length: 83 + matched_length: 83 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ntp-0.LICENSE + license_expression: ntp-0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose is hereby granted, provided that + the names of M.I.T. and the M.I.T. S.I.P.B. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. M.I.T. and the + M.I.T. S.I.P.B. make no representations about the suitability of + this software for any purpose. It is provided "as is" without + express or implied warranty. + - score: '100.0' + start_line: 49 + end_line: 73 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or\ + \ promote\n products derived from this software without specific prior\n written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\ + \ EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH\n\ + \ DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/e2fsprogs/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/e2fsprogs/copyright.expected.yml index 5bc174cbba1..16a70b23cf0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/e2fsprogs/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/e2fsprogs/copyright.expected.yml @@ -1,8 +1,8 @@ -- -- -- (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 AND lgpl-2.0) - AND ntp-0 AND bsd-new -- | +primary_license: +declared_license: +license_expression: (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 + AND lgpl-2.0) AND ntp-0 AND bsd-new +copyright: | Copyright (c) 2003-2007 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove @@ -10,3 +10,103 @@ Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o Copyright 1987 by the Student Information Processing Board of the Massachusetts Institute of Technology +matches: + - score: '98.28' + start_line: 17 + end_line: 22 + matcher: 3-seq + rule_length: 58 + matched_length: 57 + match_coverage: '98.28' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_2.RULE + license_expression: gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 [filesystem] utilities, are made available under + the GNU General Public License version 2, with the exception of the + [lib]/[ext2fs] [and] [lib]/[e2p] libraries, which are made available under the + GNU Library General Public License Version 2, the [lib]/[uuid] library + which is made available under a BSD-style license and the [lib]/[et] [and] + [lib]/[ss] libraries which are made available under an MIT-style license. + - score: '100.0' + start_line: 27 + end_line: 30 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_4.RULE + license_expression: gpl-2.0 AND lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General Public + License can be found in `/usr/share/common-licenses/GPL-2'. The + complete text of the GNU Library General Public License can be found + in '/usr/share/common-licenses/LGPL-2'. + - score: '100.0' + start_line: 38 + end_line: 45 + matcher: 2-aho + rule_length: 83 + matched_length: 83 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ntp-0.LICENSE + license_expression: ntp-0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose is hereby granted, provided that + the names of M.I.T. and the M.I.T. S.I.P.B. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. M.I.T. and the + M.I.T. S.I.P.B. make no representations about the suitability of + this software for any purpose. It is provided "as is" without + express or implied warranty. + - score: '100.0' + start_line: 49 + end_line: 73 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or\ + \ promote\n products derived from this software without specific prior\n written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\ + \ EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH\n\ + \ DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/findutils/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/findutils/copyright-detailed.expected.yml index 5c9862a9405..8fabd14abad 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/findutils/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/findutils/copyright-detailed.expected.yml @@ -1,6 +1,54 @@ -- -- -- gpl-3.0-plus AND gfdl-1.3-plus -- | +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND gfdl-1.3-plus +copyright: | Copyright (c) 1990-2021 Free Software Foundation, Inc. Copyright (c) 1994-2021 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 49 + end_line: 64 + matcher: 2-aho + rule_length: 128 + matched_length: 128 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_288.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see .\n ----------------------------\n\ + \ \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public License\ + \ version 3 can be found in `/usr/share/common-licenses/GPL-3'." + - score: '100.0' + start_line: 71 + end_line: 81 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_6.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to copy, distribute and/or modify this\n document under\ + \ the terms of the GNU Free Documentation License,\n Version 1.3 or any later version\ + \ published by the Free Software\n Foundation; with no Invariant Sections, no Front-Cover\ + \ Texts, and\n no Back-Cover Texts. A copy of the license is included in the\n section\ + \ entitled \"GNU Free Documentation License\".\n \n ----------------------------\n \n\ + \ On Debian GNU/Linux systems, the complete text of the GNU Free Documentation\n License,\ + \ Version 1.3 can be found in `/usr/share/common-licenses/GFDL-1.3'." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/findutils/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/findutils/copyright.expected.yml index 5c9862a9405..8fabd14abad 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/findutils/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/findutils/copyright.expected.yml @@ -1,6 +1,54 @@ -- -- -- gpl-3.0-plus AND gfdl-1.3-plus -- | +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND gfdl-1.3-plus +copyright: | Copyright (c) 1990-2021 Free Software Foundation, Inc. Copyright (c) 1994-2021 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 49 + end_line: 64 + matcher: 2-aho + rule_length: 128 + matched_length: 128 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_288.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see .\n ----------------------------\n\ + \ \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public License\ + \ version 3 can be found in `/usr/share/common-licenses/GPL-3'." + - score: '100.0' + start_line: 71 + end_line: 81 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_6.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to copy, distribute and/or modify this\n document under\ + \ the terms of the GNU Free Documentation License,\n Version 1.3 or any later version\ + \ published by the Free Software\n Foundation; with no Invariant Sections, no Front-Cover\ + \ Texts, and\n no Back-Cover Texts. A copy of the license is included in the\n section\ + \ entitled \"GNU Free Documentation License\".\n \n ----------------------------\n \n\ + \ On Debian GNU/Linux systems, the complete text of the GNU Free Documentation\n License,\ + \ Version 1.3 can be found in `/usr/share/common-licenses/GFDL-1.3'." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-10-base/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-10-base/copyright-detailed.expected.yml index a3b5a58bb56..8f020d75acf 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-10-base/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-10-base/copyright-detailed.expected.yml @@ -1,15 +1,15 @@ -- -- -- gpl-3.0-plus AND gpl-3.0-plus WITH gcc-exception-3.1 AND bsd-new AND uoi-ncsa AND mit AND - (mit OR commercial-license) AND gfdl-1.2 AND gcc-exception-3.1 AND gpl-2.0 AND lgpl-2.0-plus - AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND public-domain AND lgpl-2.1-plus - AND lgpl-2.1-plus AND sunpro AND bsd-new AND gpl-2.0-plus AND (artistic-perl-1.0 OR gpl-1.0) - AND zlib AND d-zlib AND mit AND gpl-3.0-plus WITH gcc-exception-3.1 AND gpl-3.0-plus AND gfdl-1.3-plus - AND lgpl-2.1-plus AND gpl-3.0 AND gcc-exception-3.1 AND gpl-3.0-plus AND gcc-exception-3.1 - AND (gpl-3.0 AND lgpl-2.1 AND lgpl-3.0) AND (gpl-3.0 AND lgpl-2.1 AND lgpl-3.0) AND (lgpl-2.0 - AND gpl-3.0) AND gpl-3.0-plus AND gpl-1.0-plus AND (gpl-3.0 AND lgpl-2.1) AND (gpl-2.0-plus - AND gpl-3.0-plus) AND lgpl-2.1-plus AND gpl-3.0 AND gcc-exception-3.1 AND (lgpl-2.0-plus AND - gpl-1.0-plus) AND bsla-no-advert AND bsla AND bsd-original-uc AND bsd-new AND bsd-original-uc +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND gpl-3.0-plus WITH gcc-exception-3.1 AND bsd-new AND uoi-ncsa + AND mit AND (mit OR commercial-license) AND gfdl-1.2 AND gcc-exception-3.1 AND gpl-2.0 AND + lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND public-domain AND + lgpl-2.1-plus AND lgpl-2.1-plus AND sunpro AND bsd-new AND gpl-2.0-plus AND (artistic-perl-1.0 + OR gpl-1.0) AND zlib AND d-zlib AND mit AND gpl-3.0-plus WITH gcc-exception-3.1 AND gpl-3.0-plus + AND gfdl-1.3-plus AND lgpl-2.1-plus AND gpl-3.0 AND gcc-exception-3.1 AND gpl-3.0-plus AND + gcc-exception-3.1 AND (gpl-3.0 AND lgpl-2.1 AND lgpl-3.0) AND (gpl-3.0 AND lgpl-2.1 AND lgpl-3.0) + AND (lgpl-2.0 AND gpl-3.0) AND gpl-3.0-plus AND gpl-1.0-plus AND (gpl-3.0 AND lgpl-2.1) AND + (gpl-2.0-plus AND gpl-3.0-plus) AND lgpl-2.1-plus AND gpl-3.0 AND gcc-exception-3.1 AND (lgpl-2.0-plus + AND gpl-1.0-plus) AND bsla-no-advert AND bsla AND bsd-original-uc AND bsd-new AND bsd-original-uc AND flex-2.5 AND bsd-original-uc AND (gpl-3.0 AND gpl-2.0 AND lgpl-3.0-plus WITH cygwin-exception-lgpl-3.0-plus AND other-copyleft AND other-permissive) AND x11-lucent AND amd-historical AND sunpro AND osf-1990 AND nilsson-historical AND newlib-historical AND bsd-new AND amd-historical AND bsd-new @@ -17,7 +17,7 @@ AND bsd-new AND lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.0-plus AND intel-osl-1993 AND osf-1990 AND hs-regexp AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND unicode AND unicode AND lgpl-2.1-plus -- | +copyright: | Copyright (c) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Copyright (c) 2009-2019 by the LLVM contributors Copyright (c) 1996-2003 Red Hat, Inc. @@ -83,3 +83,1917 @@ Copyright (c) 1994, 1997, 2001, 2002, 2003, 2004 Red Hat Incorporated Copyright (c) 1991-2013 Unicode, Inc. Copyright (c) 2014-2019 Free Software Foundation, Inc. +matches: + - score: '99.24' + start_line: 83 + end_line: 99 + matcher: 3-seq + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_354.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GCC] is distributed in the\ + \ hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied warranty\ + \ of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public\ + \ License\n for more details.\n \n Files that have exception clauses are licensed under\ + \ the terms of the\n GNU General Public License; either version 3, or (at your option)\ + \ any\n later version.\n \n On Debian GNU/Linux systems, the complete text of the GNU\ + \ General\n Public License is in `/usr/share/common-licenses/GPL', version 3 of this\n\ + \ license in `/usr/share/common-licenses/GPL-3'." + - score: '100.0' + start_line: 101 + end_line: 103 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_gcc-exception-3.1_18.RULE + license_expression: gpl-3.0-plus WITH gcc-exception-3.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The following runtime libraries are licensed under the terms of the + GNU General Public License (v3 or later) with version 3.1 of the GCC + Runtime Library Exception (included in this file): + - score: '100.0' + start_line: 123 + end_line: 149 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n (1) Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer. \n \n (2) Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\ + \ \n \n (3) The name of the author may not be used to\n endorse or promote\ + \ products derived from this software without\n specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\ + \ ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\ + \ ARISING\n IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 167 + end_line: '192' + matcher: 2-aho + rule_length: 224 + matched_length: 224 + match_coverage: '100.0' + rule_relevance: 100 + identifier: uoi-ncsa_9.RULE + license_expression: uoi-ncsa + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\ + \ of\n this software and associated documentation files (the \"Software\"), to deal with\n\ + \ the Software without restriction, including without limitation the rights to\n use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n of the Software,\ + \ and to permit persons to whom the Software is furnished to do\n so, subject to the following\ + \ conditions:\n \n * Redistributions of source code must retain the above copyright\ + \ notice,\n this list of conditions and the following disclaimers.\n \n * Redistributions\ + \ in binary form must reproduce the above copyright notice,\n this list of conditions\ + \ and the following disclaimers in the\n documentation and/or other materials provided\ + \ with the distribution.\n \n * Neither the names of the LLVM Team, University of\ + \ Illinois at\n Urbana-Champaign, nor the names of its contributors may be used\ + \ to\n endorse or promote products derived from this Software without specific\n\ + \ prior written permission.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY\ + \ OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\ + \ FITNESS\n FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n CONTRIBUTORS\ + \ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER\ + \ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE\n SOFTWARE." + - score: '100.0' + start_line: '194' + end_line: 210 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to deal\n in\ + \ the Software without restriction, including without limitation the rights\n to use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software,\ + \ and to permit persons to whom the Software is\n furnished to do so, subject to the following\ + \ conditions:\n \n The above copyright notice and this permission notice shall be included\ + \ in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED\ + \ \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED\ + \ TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\ + \ IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES\ + \ OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\ + \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE." + - score: '82.2' + start_line: 213 + end_line: 234 + matcher: 3-seq + rule_length: '191' + matched_length: 157 + match_coverage: '82.2' + rule_relevance: 100 + identifier: mit_or_commercial-option.RULE + license_expression: mit OR commercial-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "licensed [under] [the] [following] [terms]:\n \n [libffi] - [Copyright]\ + \ ([c]) [1996]-[2003] [Red] [Hat], [Inc].\n \n Permission is hereby granted, free\ + \ of charge, to any person obtaining\n a copy of this software and associated documentation\ + \ files (the\n ``Software''), to deal in the Software without restriction, including\n\ + \ without limitation the rights to use, copy, modify, merge, publish,\n distribute,\ + \ sublicense, and/or sell copies of the Software, and to\n permit persons to whom\ + \ the Software is furnished to do so, subject to\n the following conditions:\n \n\ + \ The above copyright notice and this permission notice shall be included\n in\ + \ all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED\ + \ ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS\n OR IMPLIED, INCLUDING BUT NOT\ + \ LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE\ + \ AND NONINFRINGEMENT.\n IN NO EVENT SHALL [CYGNUS] [SOLUTIONS] BE LIABLE FOR ANY\ + \ CLAIM, DAMAGES OR\n OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n\ + \ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n OTHER\ + \ DEALINGS IN THE SOFTWARE." + - score: '100.0' + start_line: 237 + end_line: 239 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.2_7.RULE + license_expression: gfdl-1.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The documentation is licensed under the GNU Free Documentation License (v1.2). + On Debian GNU/Linux systems, the complete text of this license is in + `/usr/share/common-licenses/GFDL-1.2'. + - score: '100.0' + start_line: 242 + end_line: 313 + matcher: 2-aho + rule_length: 512 + matched_length: 512 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gcc-exception-3.1.LICENSE + license_expression: gcc-exception-3.1 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GCC RUNTIME LIBRARY EXCEPTION\n \n Version 3.1, 31 March 2009\n \n Copyright\ + \ (C) 2009 Free Software Foundation, Inc. \n \n Everyone is permitted\ + \ to copy and distribute verbatim copies of this\n license document, but changing it is\ + \ not allowed.\n \n This GCC Runtime Library Exception (\"Exception\") is an additional\n\ + \ permission under section 7 of the GNU General Public License, version\n 3 (\"GPLv3\"\ + ). It applies to a given file (the \"Runtime Library\") that\n bears a notice placed by\ + \ the copyright holder of the file stating that\n the file is governed by GPLv3 along\ + \ with this Exception.\n \n When you use GCC to compile a program, GCC may combine portions\ + \ of\n certain GCC header files and runtime libraries with the compiled\n program. The\ + \ purpose of this Exception is to allow compilation of\n non-GPL (including proprietary)\ + \ programs to use, in this way, the\n header files and runtime libraries covered by this\ + \ Exception.\n \n 0. Definitions.\n \n A file is an \"Independent Module\" if it either\ + \ requires the Runtime\n Library for execution after a Compilation Process, or makes use\ + \ of an\n interface provided by the Runtime Library, but is not otherwise based\n on the\ + \ Runtime Library.\n \n \"GCC\" means a version of the GNU Compiler Collection, with or\ + \ without\n modifications, governed by version 3 (or a specified later version) of\n the\ + \ GNU General Public License (GPL) with the option of using any\n subsequent versions\ + \ published by the FSF.\n \n \"GPL-compatible Software\" is software whose conditions\ + \ of propagation,\n modification and use would permit combination with GCC in accord with\n\ + \ the license of GCC.\n \n \"Target Code\" refers to output from any compiler for a real\ + \ or virtual\n target processor architecture, in executable form or suitable for\n input\ + \ to an assembler, loader, linker and/or execution\n phase. Notwithstanding that, Target\ + \ Code does not include data in any\n format that is used as a compiler intermediate representation,\ + \ or used\n for producing a compiler intermediate representation.\n \n The \"Compilation\ + \ Process\" transforms code entirely represented in\n non-intermediate languages designed\ + \ for human-written code, and/or in\n Java Virtual Machine byte code, into Target Code.\ + \ Thus, for example,\n use of source code generators and preprocessors need not be considered\n\ + \ part of the Compilation Process, since the Compilation Process can be\n understood as\ + \ starting with the output of the generators or\n preprocessors.\n \n A Compilation Process\ + \ is \"Eligible\" if it is done using GCC, alone or\n with other GPL-compatible software,\ + \ or if it is done without using any\n work based on GCC. For example, using non-GPL-compatible\ + \ Software to\n optimize any GCC intermediate representations would not qualify as an\n\ + \ Eligible Compilation Process.\n \n 1. Grant of Additional Permission.\n \n You have\ + \ permission to propagate a work of Target Code formed by\n combining the Runtime Library\ + \ with Independent Modules, even if such\n propagation would otherwise violate the terms\ + \ of GPLv3, provided that\n all Target Code was generated by Eligible Compilation Processes.\ + \ You\n may then convey such a combination under terms of your choice,\n consistent with\ + \ the licensing of the Independent Modules.\n \n 2. No Weakening of GCC Copyleft.\n \n\ + \ The availability of this Exception does not imply any general\n presumption that third-party\ + \ software is unaffected by the copyleft\n requirements of the license of GCC." + - score: '7.81' + start_line: 324 + end_line: 325 + matcher: 3-seq + rule_length: 64 + matched_length: 5 + match_coverage: '7.81' + rule_relevance: 100 + identifier: gpl-2.0_443.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU [Library] General Public + License + - score: '72.73' + start_line: 325 + end_line: 331 + matcher: 3-seq + rule_length: 77 + matched_length: 56 + match_coverage: '72.73' + rule_relevance: 100 + identifier: lgpl-2.0-plus_402.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "as published by the Free Software Foundation; either\n version 2 of the License,\ + \ or (at your option) any later version.\n \n [Libiberty] is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n\ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Library General\ + \ Public License for more details." + - score: '100.0' + start_line: 338 + end_line: 346 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 356 + end_line: 364 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '97.56' + start_line: 374 + end_line: 382 + matcher: 3-seq + rule_length: 82 + matched_length: 80 + match_coverage: '97.56' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Library is free software; you can redistribute it and/or\n modify it under\ + \ the terms of the GNU Lesser General Public\n License as published by the Free Software\ + \ Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\ + \ \n [The] [GNU] [C] Library is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '70.0' + start_line: 387 + end_line: 387 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain. + - score: '97.56' + start_line: 395 + end_line: 403 + matcher: 3-seq + rule_length: 82 + matched_length: 80 + match_coverage: '97.56' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Library is free software; you can redistribute it and/or\n modify it under\ + \ the terms of the GNU Lesser General Public\n License as published by the Free Software\ + \ Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\ + \ \n [The] [GNU] [C] Library is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 410 + end_line: 418 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 424 + end_line: 427 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + * Permission to use, copy, modify, and distribute this + * software is freely granted, provided that this notice + * is preserved. + - score: '100.0' + start_line: 434 + end_line: 458 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_166.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions and\ + \ the following disclaimer.\n * Redistributions in binary form must reproduce the above\n\ + \ copyright notice, this list of conditions and the following disclaimer\n in the documentation\ + \ and/or other materials provided with the\n distribution.\n * Neither the name of\ + \ Google Inc. nor the names of its\n contributors may be used to endorse or promote products\ + \ derived from\n this software without specific prior written permission.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 473 + end_line: 480 + matcher: 2-aho + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_812.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n it\ + \ under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation; either version 2 of the License, or\n (at your option) any later version.\n\ + \ \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public License\ + \ is in `/usr/share/common-licenses/GPL', version 2 of this\n license in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 490 + end_line: 495 + matcher: 2-aho + rule_length: 46 + matched_length: 46 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0_2.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License for redistribution is by either the Artistic License or\n the GNU\ + \ General Public License (v1).\n \n On Debian GNU/Linux systems, the complete text of\ + \ the GNU General\n Public License is in `/usr/share/common-licenses/GPL', the Artistic\n\ + \ license in `/usr/share/common-licenses/Artistic'." + - score: '100.0' + start_line: 503 + end_line: 517 + matcher: 2-aho + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is provided 'as-is', without any express or implied\n warranty.\ + \ In no event will the authors be held liable for any damages\n arising from the use\ + \ of this software.\n \n Permission is granted to anyone to use this software for any\ + \ purpose,\n including commercial applications, and to alter it and redistribute it\n\ + \ freely, subject to the following restrictions:\n \n 1. The origin of this software\ + \ must not be misrepresented; you must not\n claim that you wrote the original software.\ + \ If you use this software\n in a product, an acknowledgment in the product documentation\ + \ would be\n appreciated but is not required.\n 2. Altered source versions must\ + \ be plainly marked as such, and must not be\n misrepresented as being the original\ + \ software.\n 3. This notice may not be removed or altered from any source distribution." + - score: '100.0' + start_line: 529 + end_line: 545 + matcher: 2-aho + rule_length: 138 + matched_length: 138 + match_coverage: '100.0' + rule_relevance: 100 + identifier: d-zlib.LICENSE + license_expression: d-zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is provided 'as-is', without any express or implied\n warranty.\ + \ In no event will the authors be held liable for any damages\n arising from the use of\ + \ this software.\n \n Permission is granted to anyone to use this software for any purpose,\n\ + \ including commercial applications, and to alter it and redistribute it\n freely, in\ + \ both source and binary form, subject to the following\n restrictions:\n \n o The origin\ + \ of this software must not be misrepresented; you must not\n claim that you wrote\ + \ the original software. If you use this software\n in a product, an acknowledgment\ + \ in the product documentation would be\n appreciated but is not required.\n o Altered\ + \ source versions must be plainly marked as such, and must not\n be misrepresented\ + \ as being the original software.\n o This notice may not be removed or altered from\ + \ any source\n distribution." + - score: '100.0' + start_line: 557 + end_line: 574 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a\n\ + \ copy of this software and associated documentation files\n (the \"Software\"),\ + \ to deal in the Software without restriction, including\n without limitation the rights\ + \ to use, copy, modify, merge, publish,\n distribute, sublicense, and/or sell copies\ + \ of the Software, and to\n permit persons to whom the Software is furnished to do\ + \ so, subject to\n the following conditions:\n \n The above copyright notice and\ + \ this permission notice shall be included\n in all copies or substantial portions\ + \ of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY\ + \ KIND, EXPRESS\n OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\ + \ WITH THE SOFTWARE OR THE\n USE OR OTHER DEALINGS IN THE SOFTWARE." + - score: '100.0' + start_line: 581 + end_line: 598 + matcher: 2-aho + rule_length: 144 + matched_length: 144 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_gcc-exception-3.1_10.RULE + license_expression: gpl-3.0-plus WITH gcc-exception-3.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; you can redistribute it and/or modify it\n \ + \ under the terms of the GNU General Public License as published by the\n Free Software\ + \ Foundation; either version 3, or (at your option) any\n later version.\n \n This\ + \ file is distributed in the hope that it will be useful, but\n WITHOUT ANY WARRANTY;\ + \ without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR\ + \ PURPOSE. See the GNU\n General Public License for more details.\n \n Under Section\ + \ 7 of GPL version 3, you are granted additional\n permissions described in the GCC\ + \ Runtime Library Exception, version\n 3.1, as published by the Free Software Foundation.\n\ + \ \n You should have received a copy of the GNU General Public License and\n a copy\ + \ of the GCC Runtime Library Exception along with this program;\n see the files COPYING3\ + \ and COPYING.RUNTIME respectively. If not, see\n ." + - score: '97.3' + start_line: 609 + end_line: 617 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify\n it under the terms\ + \ of the GNU General Public License as published by\n the Free Software Foundation; either\ + \ version 3, or (at your option)\n any later version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but\n WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n General\ + \ Public License for more details." + - score: '100.0' + start_line: 623 + end_line: 626 + matcher: 2-aho + rule_length: 46 + matched_length: 46 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_4.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 or + any later version published by the Free Software Foundation; with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + - score: '100.0' + start_line: 635 + end_line: 643 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '100.0' + start_line: 645 + end_line: 645 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_150.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL version 3, + - score: '100.0' + start_line: 646 + end_line: 647 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gcc-exception-3.1_3.RULE + license_expression: gcc-exception-3.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GCC Runtime Library Exception, version + 3.1, + - score: '100.0' + start_line: 650 + end_line: 650 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_89.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL-3+ + - score: '100.0' + start_line: 650 + end_line: 651 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gcc-exception-3.1_3.RULE + license_expression: gcc-exception-3.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GCC Runtime Library + Exception, version 3.1. + - score: '55.0' + start_line: 663 + end_line: 663 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.RULE + license_expression: gpl-3.0 AND lgpl-2.1 AND lgpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: mix of GPL-3.0 and LGPL-2.1/3 + - score: '55.0' + start_line: 666 + end_line: 666 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.RULE + license_expression: gpl-3.0 AND lgpl-2.1 AND lgpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: mix of GPL-3.0 and LGPL-2.1/3 + - score: '50.0' + start_line: 670 + end_line: 670 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: lgpl-2.0_and_gpl-3.0_1.RULE + license_expression: lgpl-2.0 AND gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of LGPL-2.1 and GPL-3.0. + - score: '100.0' + start_line: 673 + end_line: 673 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_89.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL-3+ + - score: '87.88' + start_line: 676 + end_line: 682 + matcher: 3-seq + rule_length: 66 + matched_length: 58 + match_coverage: '87.88' + rule_relevance: 100 + identifier: gpl-1.0-plus_447.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission to copy, modify and redistribute + ;; GNU Emacs, [but] [only] [under] [the] [conditions] [described] [in] [the] + ;; [GNU] [Emacs] General Public License. A copy of this license is + ;; supposed to have been given to you along with [GNU] [Emacs] so you + ;; can know your rights and responsibilities. It should be in a + ;; file named COPYING. Among other things, the copyright notice + ;; and this notice must be preserved on all copies. + - score: '44.0' + start_line: 686 + end_line: 686 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 44 + identifier: gpl-3.0_and_lgpl-2.1_2.RULE + license_expression: gpl-3.0 AND lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of GPL-3 and LGPL-2.1. + - score: '38.0' + start_line: 690 + end_line: 690 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 38 + identifier: gpl-2.0-plus_and_gpl-3.0-plus_3.RULE + license_expression: gpl-2.0-plus AND gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of GPL-2+ and GPL-3+ + - score: '100.0' + start_line: 701 + end_line: 709 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '100.0' + start_line: 711 + end_line: 711 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_150.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL version 3, + - score: '100.0' + start_line: 712 + end_line: 713 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gcc-exception-3.1_3.RULE + license_expression: gcc-exception-3.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GCC Runtime Library Exception, version + 3.1, + - score: '100.0' + start_line: 739 + end_line: 745 + matcher: 2-aho + rule_length: 66 + matched_length: 66 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_and_gpl-1.0-plus_2.RULE + license_expression: lgpl-2.0-plus AND gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Parts of this work are licensed under the terms of the GNU General\n Public\ + \ License. On Debian systems, the complete text of this license\n can be found in /usr/share/common-licenses/GPL.\n\ + \ \n Parts of this work are licensed under the terms of the GNU Library\n General Public\ + \ License. On Debian systems, the complete text of this\n license be found in /usr/share/common-licenses/LGPL." + - score: '100.0' + start_line: 754 + end_line: 764 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsla-no-advert.LICENSE + license_expression: bsla-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms are permitted\n provided\ + \ that the above copyright notice and this paragraph are\n duplicated in all such forms\ + \ and that any documentation,\n and other materials related to such distribution and use\ + \ \n acknowledge that the software was developed\n by the University of California, Berkeley.\ + \ The name of the\n University may not be used to endorse or promote products derived\n\ + \ from this software without specific prior written permission.\n THIS SOFTWARE IS PROVIDED\ + \ ``AS IS'' AND WITHOUT ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION,\ + \ THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 771 + end_line: 781 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsla.LICENSE + license_expression: bsla + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 University of California, Berkeley. The name of the + University 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. + - score: '100.0' + start_line: 789 + end_line: 815 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. All\ + \ advertising materials mentioning features or use of this software\n must display\ + \ the following acknowledgement:\n This product includes software developed by the\ + \ University of\n California, Berkeley and its contributors.\n 4. Neither the name\ + \ of the University nor the names of its contributors\n may be used to endorse or promote\ + \ products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 822 + end_line: 844 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. Neither\ + \ the name of the University nor the names of its contributors\n may be used to endorse\ + \ or promote products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 856 + end_line: 882 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. All\ + \ advertising materials mentioning features or use of this software\n must display\ + \ the following acknowledgement:\n This product includes software developed by the\ + \ University of\n California, Berkeley and its contributors.\n 4. Neither the name\ + \ of the University nor the names of its contributors\n may be used to endorse or promote\ + \ products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 889 + end_line: 901 + matcher: 2-aho + rule_length: 122 + matched_length: 122 + match_coverage: '100.0' + rule_relevance: 100 + identifier: flex-2.5_6.RULE + license_expression: flex-2.5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '61.0' + start_line: 909 + end_line: 909 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: bsd-original-uc.RULE + license_expression: bsd-original-uc + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change + - score: '100.0' + start_line: 919 + end_line: 921 + matcher: 2-aho + rule_length: 21 + matched_length: 21 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_and_gpl-2.0_and_lgpl-3.0-plus_and_other-copyleft_and_other-permissive_1.RULE + license_expression: gpl-3.0 AND gpl-2.0 AND lgpl-3.0-plus WITH cygwin-exception-lgpl-3.0-plus + AND other-copyleft AND other-permissive + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is a copyrighted work licensed under the terms of the + Cygwin license. Please consult the file "CYGWIN_LICENSE" for + details. + - score: '100.0' + start_line: 929 + end_line: 938 + matcher: 2-aho + rule_length: 93 + matched_length: 93 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-lucent.RULE + license_expression: x11-lucent + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n purpose\ + \ without fee is hereby granted, provided that this entire notice\n is included in all\ + \ copies of any software which is or includes a copy\n or modification of this software\ + \ and in all copies of the supporting\n documentation for such software.\n \n THIS SOFTWARE\ + \ IS BEING PROVIDED \"AS IS\", WITHOUT ANY EXPRESS OR IMPLIED\n WARRANTY. IN PARTICULAR,\ + \ NEITHER THE AUTHOR NOR AT&T MAKES ANY\n REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING\ + \ THE MERCHANTABILITY\n OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." + - score: '100.0' + start_line: 944 + end_line: 955 + matcher: 2-aho + rule_length: 98 + matched_length: 98 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical_1.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is the property of Advanced Micro Devices, Inc (AMD) which\n\ + \ specifically grants the user the right to modify, use and distribute this\n software\ + \ provided this notice is not removed or altered. All other rights\n are reserved by\ + \ AMD.\n \n AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS\n\ + \ SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL\n DAMAGES\ + \ IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR\n USE OF THIS SOFTWARE.\n\ + \ \n So that all may benefit from your experience, please report any problems\n or \ + \ suggestions about this software" + - score: '100.0' + start_line: 983 + end_line: 986 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Developed at SunPro, a Sun Microsystems, Inc. business.\n Permission to use,\ + \ copy, modify, and distribute this\n software is freely granted, provided that this notice\ + \ \n is preserved." + - score: '100.0' + start_line: 992 + end_line: 1001 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: 1007 + end_line: 1014 + matcher: 2-aho + rule_length: 55 + matched_length: 55 + match_coverage: '100.0' + rule_relevance: 100 + identifier: nilsson-historical.LICENSE + license_expression: nilsson-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software is\n freely\ + \ granted, provided that the above copyright notice, this notice\n and the following disclaimer\ + \ are preserved with no changes.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT\ + \ ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE." + - score: '100.0' + start_line: 1020 + end_line: 1028 + matcher: 2-aho + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: newlib-historical.LICENSE + license_expression: newlib-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, provided + that existing copyright notices are retained in all copies and that this + notice is included verbatim in any distributions. No written agreement, + license, or royalty fee is required for any of the authorized uses. + Modifications to this software may be copyrighted by their authors + and need not follow the licensing terms described here, provided that + the new terms are clearly indicated on the first page of each file where + they apply. + - score: '100.0' + start_line: 1035 + end_line: 1055 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. The\ + \ name of the author may not be used to endorse or promote products\n derived from\ + \ this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, BUT NOT\ + \ LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\ + \ OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '95.0' + start_line: 1061 + end_line: 1072 + matcher: 2-aho + rule_length: 95 + matched_length: 95 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical4.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is the property of [SuperH], Inc ([SuperH]) which specifically\n\ + \ grants the user the right to modify, use and distribute this software\n provided this\ + \ notice is not removed or altered. All other rights are\n reserved by [SuperH].\n \n\ + \ [SUPERH] MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO\n THIS SOFTWARE.\ + \ IN NO EVENT SHALL [SUPERH] BE LIABLE FOR INDIRECT, SPECIAL, \n INCIDENTAL OR CONSEQUENTIAL\ + \ DAMAGES IN CONNECTION WITH OR ARISING FROM\n THE FURNISHING, PERFORMANCE, OR USE OF\ + \ THIS SOFTWARE.\n \n So that all may benefit from your experience, please report any\ + \ problems\n or suggestions about this software to the" + - score: '100.0' + start_line: 1087 + end_line: 1112 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n \n\ + \ 3. Neither the name of KTH nor the names of its contributors may be\n used to endorse\ + \ or promote products derived from this software without\n specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS ``AS IS'' AND ANY\n EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS\ + \ CONTRIBUTORS BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n\ + \ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n SUBSTITUTE GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED\ + \ AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 1119 + end_line: 1138 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1145 + end_line: 1164 + matcher: 2-aho + rule_length: 181 + matched_length: 181 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_newlib3.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS\ + \ BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY\ + \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1171 + end_line: 1190 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '85.71' + start_line: 1194 + end_line: 1207 + matcher: 3-seq + rule_length: 105 + matched_length: 90 + match_coverage: '85.71' + rule_relevance: 100 + identifier: x11-hanson_1.RULE + license_expression: x11-hanson + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Author: S. [L]. [Moshier].\n \n [Copyright] ([c]) [1984],[2000] S.[L]. [Moshier]\n\ + \ \n Permission to use, copy, modify, and distribute this software for any\n purpose without\ + \ fee is hereby granted, provided that this entire notice\n is included in all copies\ + \ of any software which is or includes a copy\n or modification of this software and in\ + \ all copies of the supporting\n documentation for such software.\n \n THIS SOFTWARE IS\ + \ BEING PROVIDED \"AS IS\", WITHOUT ANY EXPRESS OR IMPLIED\n WARRANTY. IN PARTICULAR,\ + \ THE AUTHOR MAKES NO REPRESENTATION\n OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY\ + \ OF THIS\n SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." + - score: '100.0' + start_line: 1214 + end_line: 1233 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1240 + end_line: 1260 + matcher: 2-aho + rule_length: 200 + matched_length: 200 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_76.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. The\ + \ name of the author may not be used to endorse or promote products\n derived from\ + \ this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING, BUT NOT LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL\n THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n\ + \ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF\ + \ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\n OR BUSINESS INTERRUPTION)\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\ + \ SOFTWARE, EVEN IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '27.0' + start_line: 1274 + end_line: 1274 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 27 + identifier: lgpl_39.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Free Software Foundation LGPL License (*- + - score: '100.0' + start_line: 1281 + end_line: 1294 + matcher: 2-aho + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_12.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The GNU C Library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n The GNU C Library is distributed in the hope that it will\ + \ be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n \ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ Lesser General Public\n License along with the GNU C Library; if not, write to the\ + \ Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301\ + \ USA" + - score: '99.0' + start_line: 1296 + end_line: 1296 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 99 + identifier: lgpl_33.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL License ( + - score: '100.0' + start_line: 1300 + end_line: 1308 + matcher: 2-aho + rule_length: 81 + matched_length: 81 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_339.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Library General Public License\n as published by the Free\ + \ Software Foundation; either version 2\n of the License, or (at your option) any later\ + \ version.\n \n This program is distributed\ + \ in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Library\ + \ General Public License for more details." + - score: '100.0' + start_line: 1314 + end_line: 1336 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel-osl-1993.LICENSE + license_expression: intel-osl-1993 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Intel hereby grants you permission to copy, modify, and distribute this\n\ + \ software and its documentation. Intel grants this permission provided\n that the above\ + \ copyright notice appears in all copies and that both the\n copyright notice and this\ + \ permission notice appear in supporting\n documentation. In addition, Intel grants this\ + \ permission provided that\n you prominently mark as \"not part of the original\" any\ + \ modifications\n made to this software or documentation, and that the name of Intel\n\ + \ Corporation not be used in advertising or publicity pertaining to\n distribution of\ + \ the software or the documentation without specific,\n written prior permission.\n \n\ + \ Intel Corporation provides this AS IS, WITHOUT ANY WARRANTY, EXPRESS OR\n IMPLIED, INCLUDING,\ + \ WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY\n OR FITNESS FOR A PARTICULAR PURPOSE.\ + \ Intel makes no guarantee or\n representations regarding the use of, or the results\ + \ of the use of,\n the software and documentation in terms of correctness, accuracy,\n\ + \ reliability, currentness, or otherwise; and you rely on the software,\n documentation\ + \ and results solely at your own risk.\n \n IN NO EVENT SHALL INTEL BE LIABLE FOR ANY\ + \ LOSS OF USE, LOSS OF BUSINESS,\n LOSS OF PROFITS, INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL\ + \ DAMAGES\n OF ANY KIND. IN NO EVENT SHALL INTEL'S TOTAL LIABILITY EXCEED THE SUM\n PAID\ + \ TO INTEL FOR THE PRODUCT LICENSED HEREUNDER." + - score: '100.0' + start_line: 1342 + end_line: 1351 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: 1356 + end_line: 1374 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hs-regexp.LICENSE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of the American Telephone\n and\ + \ Telegraph Company or of the Regents of the University of California.\n \n Permission\ + \ is granted to anyone to use this software for any purpose on\n any computer system,\ + \ and to alter it and redistribute it, subject\n to the following restrictions:\n \n 1.\ + \ The author is not responsible for the consequences of use of this\n software, no\ + \ matter how awful, even if they arise from flaws in it.\n \n 2. The origin of this software\ + \ must not be misrepresented, either by\n explicit claim or by omission. Since few\ + \ users ever read sources,\n credits must appear in the documentation.\n \n 3. Altered\ + \ versions must be plainly marked as such, and must not be\n misrepresented as being\ + \ the original software. Since few users\n ever read sources, credits must appear\ + \ in the documentation.\n \n 4. This notice may not be removed or altered." + - score: '100.0' + start_line: 1381 + end_line: 1400 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1407 + end_line: 1426 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1435 + end_line: 1454 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1466 + end_line: 1489 + matcher: 2-aho + rule_length: 205 + matched_length: 205 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_983.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without \n modification,\ + \ are permitted provided that the following conditions are met: \n \n Redistributions\ + \ of source code must retain the above copyright \n notice, this list of conditions\ + \ and the following disclaimer.\n \n Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ \n The name of Red Hat Incorporated may not be used to endorse \n or promote\ + \ products derived from this software without specific \n prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" \n\ + \ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \n IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED.\ + \ IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\ + \ HOWEVER CAUSED AND \n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n\ + \ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 1494 + end_line: 1511 + matcher: 2-aho + rule_length: 150 + matched_length: 150 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_6.RULE + license_expression: unicode + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE\n \n Unicode\ + \ Data Files include all data files under the directories\n http://www.unicode.org/Public/,\ + \ http://www.unicode.org/reports/, and\n http://www.unicode.org/cldr/data/. Unicode Data\ + \ Files do not include PDF\n online code charts under the directory http://www.unicode.org/Public/.\n\ + \ Software includes any source code published in the Unicode Standard or under\n the directories\ + \ http://www.unicode.org/Public/,\n http://www.unicode.org/reports/, and http://www.unicode.org/cldr/data/.\n\ + \ \n NOTICE TO USER: Carefully read the following legal agreement. BY\n DOWNLOADING,\ + \ INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES\n (\"DATA FILES\"),\ + \ AND/OR SOFTWARE (\"SOFTWARE\"), YOU UNEQUIVOCALLY ACCEPT, AND\n AGREE TO BE BOUND BY,\ + \ ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF\n YOU DO NOT AGREE, DO NOT DOWNLOAD,\ + \ INSTALL, COPY, DISTRIBUTE OR USE THE DATA\n FILES OR SOFTWARE.\n \n COPYRIGHT AND\ + \ PERMISSION NOTICE" + - score: '100.0' + start_line: 1513 + end_line: 1543 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Distributed under\n the Terms of Use in http://www.unicode.org/copyright.html.\n\ + \ \n Permission is hereby granted, free of charge, to any person obtaining a\n copy\ + \ of the Unicode data files and any associated documentation (the \"Data\n Files\") or\ + \ Unicode software and any associated documentation (the \"Software\")\n to deal in the\ + \ Data Files or Software without restriction, including without\n limitation the rights\ + \ to use, copy, modify, merge, publish, distribute, and/or\n sell copies of the Data Files\ + \ or Software, and to permit persons to whom the\n Data Files or Software are furnished\ + \ to do so, provided that (a) the above\n copyright notice(s) and this permission notice\ + \ appear with all copies of the\n Data Files or Software, (b) both the above copyright\ + \ notice(s) and this\n permission notice appear in associated documentation, and (c) there\ + \ is clear\n notice in each modified Data File or in the Software as well as in the\n\ + \ documentation associated with the Data File(s) or Software that the data or\n software\ + \ has been modified.\n \n THE DATA FILES AND SOFTWARE ARE PROVIDED \"AS IS\", WITHOUT\ + \ WARRANTY OF ANY\n KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\ + \ OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD\n\ + \ PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN\n THIS NOTICE\ + \ BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL\n DAMAGES, OR ANY\ + \ DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR\n PROFITS, WHETHER IN AN ACTION\ + \ OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS\n ACTION, ARISING OUT OF OR IN CONNECTION\ + \ WITH THE USE OR PERFORMANCE OF THE\n DATA FILES OR SOFTWARE.\n \n Except as contained\ + \ in this notice, the name of a copyright holder shall\n not be used in advertising or\ + \ otherwise to promote the sale, use or other\n dealings in these Data Files or Software\ + \ without prior written authorization\n of the copyright holder." + - score: '100.0' + start_line: 1550 + end_line: 1562 + matcher: 2-aho + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_284.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The GNU C Library is free software; you can redistribute it and/or + # modify it under the terms of the GNU Lesser General Public + # License as published by the Free Software Foundation; either + # version 2.1 of the License, or (at your option) any later version. + # + # The GNU C Library is distributed in the hope that it will be useful, + # but WITHOUT ANY WARRANTY; without even the implied warranty of + # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + # Lesser General Public License for more details. + # + # You should have received a copy of the GNU Lesser General Public + # License along with the GNU C Library; if not, see + # . diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-10-base/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-10-base/copyright.expected.yml index 4b48cf48abb..052e6b59237 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-10-base/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-10-base/copyright.expected.yml @@ -1,16 +1,16 @@ -- -- -- gpl-3.0-plus AND gpl-3.0-plus WITH gcc-exception-3.1 AND bsd-new AND uoi-ncsa AND mit AND - (mit OR commercial-license) AND gfdl-1.2 AND gcc-exception-3.1 AND gpl-2.0 AND lgpl-2.0-plus - AND lgpl-2.1-plus AND public-domain AND sunpro AND gpl-2.0-plus AND (artistic-perl-1.0 OR - gpl-1.0) AND zlib AND d-zlib AND gfdl-1.3-plus AND gpl-3.0 AND (gpl-3.0 AND lgpl-2.1 AND lgpl-3.0) - AND (lgpl-2.0 AND gpl-3.0) AND gpl-1.0-plus AND (gpl-3.0 AND lgpl-2.1) AND (gpl-2.0-plus AND - gpl-3.0-plus) AND (lgpl-2.0-plus AND gpl-1.0-plus) AND bsla-no-advert AND bsla AND bsd-original-uc +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND gpl-3.0-plus WITH gcc-exception-3.1 AND bsd-new AND uoi-ncsa + AND mit AND (mit OR commercial-license) AND gfdl-1.2 AND gcc-exception-3.1 AND gpl-2.0 AND + lgpl-2.0-plus AND lgpl-2.1-plus AND public-domain AND sunpro AND gpl-2.0-plus AND (artistic-perl-1.0 + OR gpl-1.0) AND zlib AND d-zlib AND gfdl-1.3-plus AND gpl-3.0 AND (gpl-3.0 AND lgpl-2.1 AND + lgpl-3.0) AND (lgpl-2.0 AND gpl-3.0) AND gpl-1.0-plus AND (gpl-3.0 AND lgpl-2.1) AND (gpl-2.0-plus + AND gpl-3.0-plus) AND (lgpl-2.0-plus AND gpl-1.0-plus) AND bsla-no-advert AND bsla AND bsd-original-uc AND flex-2.5 AND (gpl-3.0 AND gpl-2.0 AND lgpl-3.0-plus WITH cygwin-exception-lgpl-3.0-plus AND other-copyleft AND other-permissive) AND x11-lucent AND amd-historical AND osf-1990 AND nilsson-historical AND newlib-historical AND bsd-simplified AND x11-hanson AND intel-osl-1993 AND hs-regexp AND unicode -- | +copyright: | Copyright (c) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Copyright (c) 2009-2019 by the LLVM contributors Copyright (c) 1996-2003 Red Hat, Inc. @@ -76,3 +76,1917 @@ Copyright (c) 1994, 1997, 2001, 2002, 2003, 2004 Red Hat Incorporated Copyright (c) 1991-2013 Unicode, Inc. Copyright (c) 2014-2019 Free Software Foundation, Inc. +matches: + - score: '99.24' + start_line: 83 + end_line: 99 + matcher: 3-seq + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_354.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GCC] is distributed in the\ + \ hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied warranty\ + \ of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public\ + \ License\n for more details.\n \n Files that have exception clauses are licensed under\ + \ the terms of the\n GNU General Public License; either version 3, or (at your option)\ + \ any\n later version.\n \n On Debian GNU/Linux systems, the complete text of the GNU\ + \ General\n Public License is in `/usr/share/common-licenses/GPL', version 3 of this\n\ + \ license in `/usr/share/common-licenses/GPL-3'." + - score: '100.0' + start_line: 101 + end_line: 103 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_gcc-exception-3.1_18.RULE + license_expression: gpl-3.0-plus WITH gcc-exception-3.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The following runtime libraries are licensed under the terms of the + GNU General Public License (v3 or later) with version 3.1 of the GCC + Runtime Library Exception (included in this file): + - score: '100.0' + start_line: 123 + end_line: 149 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n (1) Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer. \n \n (2) Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\ + \ \n \n (3) The name of the author may not be used to\n endorse or promote\ + \ products derived from this software without\n specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\ + \ ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\ + \ ARISING\n IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 167 + end_line: '192' + matcher: 2-aho + rule_length: 224 + matched_length: 224 + match_coverage: '100.0' + rule_relevance: 100 + identifier: uoi-ncsa_9.RULE + license_expression: uoi-ncsa + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\ + \ of\n this software and associated documentation files (the \"Software\"), to deal with\n\ + \ the Software without restriction, including without limitation the rights to\n use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n of the Software,\ + \ and to permit persons to whom the Software is furnished to do\n so, subject to the following\ + \ conditions:\n \n * Redistributions of source code must retain the above copyright\ + \ notice,\n this list of conditions and the following disclaimers.\n \n * Redistributions\ + \ in binary form must reproduce the above copyright notice,\n this list of conditions\ + \ and the following disclaimers in the\n documentation and/or other materials provided\ + \ with the distribution.\n \n * Neither the names of the LLVM Team, University of\ + \ Illinois at\n Urbana-Champaign, nor the names of its contributors may be used\ + \ to\n endorse or promote products derived from this Software without specific\n\ + \ prior written permission.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY\ + \ OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\ + \ FITNESS\n FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n CONTRIBUTORS\ + \ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER\ + \ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE\n SOFTWARE." + - score: '100.0' + start_line: '194' + end_line: 210 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to deal\n in\ + \ the Software without restriction, including without limitation the rights\n to use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software,\ + \ and to permit persons to whom the Software is\n furnished to do so, subject to the following\ + \ conditions:\n \n The above copyright notice and this permission notice shall be included\ + \ in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED\ + \ \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED\ + \ TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\ + \ IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES\ + \ OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\ + \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE." + - score: '82.2' + start_line: 213 + end_line: 234 + matcher: 3-seq + rule_length: '191' + matched_length: 157 + match_coverage: '82.2' + rule_relevance: 100 + identifier: mit_or_commercial-option.RULE + license_expression: mit OR commercial-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "licensed [under] [the] [following] [terms]:\n \n [libffi] - [Copyright]\ + \ ([c]) [1996]-[2003] [Red] [Hat], [Inc].\n \n Permission is hereby granted, free\ + \ of charge, to any person obtaining\n a copy of this software and associated documentation\ + \ files (the\n ``Software''), to deal in the Software without restriction, including\n\ + \ without limitation the rights to use, copy, modify, merge, publish,\n distribute,\ + \ sublicense, and/or sell copies of the Software, and to\n permit persons to whom\ + \ the Software is furnished to do so, subject to\n the following conditions:\n \n\ + \ The above copyright notice and this permission notice shall be included\n in\ + \ all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED\ + \ ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS\n OR IMPLIED, INCLUDING BUT NOT\ + \ LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE\ + \ AND NONINFRINGEMENT.\n IN NO EVENT SHALL [CYGNUS] [SOLUTIONS] BE LIABLE FOR ANY\ + \ CLAIM, DAMAGES OR\n OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n\ + \ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n OTHER\ + \ DEALINGS IN THE SOFTWARE." + - score: '100.0' + start_line: 237 + end_line: 239 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.2_7.RULE + license_expression: gfdl-1.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The documentation is licensed under the GNU Free Documentation License (v1.2). + On Debian GNU/Linux systems, the complete text of this license is in + `/usr/share/common-licenses/GFDL-1.2'. + - score: '100.0' + start_line: 242 + end_line: 313 + matcher: 2-aho + rule_length: 512 + matched_length: 512 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gcc-exception-3.1.LICENSE + license_expression: gcc-exception-3.1 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GCC RUNTIME LIBRARY EXCEPTION\n \n Version 3.1, 31 March 2009\n \n Copyright\ + \ (C) 2009 Free Software Foundation, Inc. \n \n Everyone is permitted\ + \ to copy and distribute verbatim copies of this\n license document, but changing it is\ + \ not allowed.\n \n This GCC Runtime Library Exception (\"Exception\") is an additional\n\ + \ permission under section 7 of the GNU General Public License, version\n 3 (\"GPLv3\"\ + ). It applies to a given file (the \"Runtime Library\") that\n bears a notice placed by\ + \ the copyright holder of the file stating that\n the file is governed by GPLv3 along\ + \ with this Exception.\n \n When you use GCC to compile a program, GCC may combine portions\ + \ of\n certain GCC header files and runtime libraries with the compiled\n program. The\ + \ purpose of this Exception is to allow compilation of\n non-GPL (including proprietary)\ + \ programs to use, in this way, the\n header files and runtime libraries covered by this\ + \ Exception.\n \n 0. Definitions.\n \n A file is an \"Independent Module\" if it either\ + \ requires the Runtime\n Library for execution after a Compilation Process, or makes use\ + \ of an\n interface provided by the Runtime Library, but is not otherwise based\n on the\ + \ Runtime Library.\n \n \"GCC\" means a version of the GNU Compiler Collection, with or\ + \ without\n modifications, governed by version 3 (or a specified later version) of\n the\ + \ GNU General Public License (GPL) with the option of using any\n subsequent versions\ + \ published by the FSF.\n \n \"GPL-compatible Software\" is software whose conditions\ + \ of propagation,\n modification and use would permit combination with GCC in accord with\n\ + \ the license of GCC.\n \n \"Target Code\" refers to output from any compiler for a real\ + \ or virtual\n target processor architecture, in executable form or suitable for\n input\ + \ to an assembler, loader, linker and/or execution\n phase. Notwithstanding that, Target\ + \ Code does not include data in any\n format that is used as a compiler intermediate representation,\ + \ or used\n for producing a compiler intermediate representation.\n \n The \"Compilation\ + \ Process\" transforms code entirely represented in\n non-intermediate languages designed\ + \ for human-written code, and/or in\n Java Virtual Machine byte code, into Target Code.\ + \ Thus, for example,\n use of source code generators and preprocessors need not be considered\n\ + \ part of the Compilation Process, since the Compilation Process can be\n understood as\ + \ starting with the output of the generators or\n preprocessors.\n \n A Compilation Process\ + \ is \"Eligible\" if it is done using GCC, alone or\n with other GPL-compatible software,\ + \ or if it is done without using any\n work based on GCC. For example, using non-GPL-compatible\ + \ Software to\n optimize any GCC intermediate representations would not qualify as an\n\ + \ Eligible Compilation Process.\n \n 1. Grant of Additional Permission.\n \n You have\ + \ permission to propagate a work of Target Code formed by\n combining the Runtime Library\ + \ with Independent Modules, even if such\n propagation would otherwise violate the terms\ + \ of GPLv3, provided that\n all Target Code was generated by Eligible Compilation Processes.\ + \ You\n may then convey such a combination under terms of your choice,\n consistent with\ + \ the licensing of the Independent Modules.\n \n 2. No Weakening of GCC Copyleft.\n \n\ + \ The availability of this Exception does not imply any general\n presumption that third-party\ + \ software is unaffected by the copyleft\n requirements of the license of GCC." + - score: '7.81' + start_line: 324 + end_line: 325 + matcher: 3-seq + rule_length: 64 + matched_length: 5 + match_coverage: '7.81' + rule_relevance: 100 + identifier: gpl-2.0_443.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU [Library] General Public + License + - score: '72.73' + start_line: 325 + end_line: 331 + matcher: 3-seq + rule_length: 77 + matched_length: 56 + match_coverage: '72.73' + rule_relevance: 100 + identifier: lgpl-2.0-plus_402.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "as published by the Free Software Foundation; either\n version 2 of the License,\ + \ or (at your option) any later version.\n \n [Libiberty] is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n\ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Library General\ + \ Public License for more details." + - score: '100.0' + start_line: 338 + end_line: 346 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 356 + end_line: 364 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '97.56' + start_line: 374 + end_line: 382 + matcher: 3-seq + rule_length: 82 + matched_length: 80 + match_coverage: '97.56' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Library is free software; you can redistribute it and/or\n modify it under\ + \ the terms of the GNU Lesser General Public\n License as published by the Free Software\ + \ Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\ + \ \n [The] [GNU] [C] Library is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '70.0' + start_line: 387 + end_line: 387 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain. + - score: '97.56' + start_line: 395 + end_line: 403 + matcher: 3-seq + rule_length: 82 + matched_length: 80 + match_coverage: '97.56' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Library is free software; you can redistribute it and/or\n modify it under\ + \ the terms of the GNU Lesser General Public\n License as published by the Free Software\ + \ Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\ + \ \n [The] [GNU] [C] Library is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 410 + end_line: 418 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 424 + end_line: 427 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + * Permission to use, copy, modify, and distribute this + * software is freely granted, provided that this notice + * is preserved. + - score: '100.0' + start_line: 434 + end_line: 458 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_166.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions and\ + \ the following disclaimer.\n * Redistributions in binary form must reproduce the above\n\ + \ copyright notice, this list of conditions and the following disclaimer\n in the documentation\ + \ and/or other materials provided with the\n distribution.\n * Neither the name of\ + \ Google Inc. nor the names of its\n contributors may be used to endorse or promote products\ + \ derived from\n this software without specific prior written permission.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 473 + end_line: 480 + matcher: 2-aho + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_812.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n it\ + \ under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation; either version 2 of the License, or\n (at your option) any later version.\n\ + \ \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public License\ + \ is in `/usr/share/common-licenses/GPL', version 2 of this\n license in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 490 + end_line: 495 + matcher: 2-aho + rule_length: 46 + matched_length: 46 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0_2.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License for redistribution is by either the Artistic License or\n the GNU\ + \ General Public License (v1).\n \n On Debian GNU/Linux systems, the complete text of\ + \ the GNU General\n Public License is in `/usr/share/common-licenses/GPL', the Artistic\n\ + \ license in `/usr/share/common-licenses/Artistic'." + - score: '100.0' + start_line: 503 + end_line: 517 + matcher: 2-aho + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is provided 'as-is', without any express or implied\n warranty.\ + \ In no event will the authors be held liable for any damages\n arising from the use\ + \ of this software.\n \n Permission is granted to anyone to use this software for any\ + \ purpose,\n including commercial applications, and to alter it and redistribute it\n\ + \ freely, subject to the following restrictions:\n \n 1. The origin of this software\ + \ must not be misrepresented; you must not\n claim that you wrote the original software.\ + \ If you use this software\n in a product, an acknowledgment in the product documentation\ + \ would be\n appreciated but is not required.\n 2. Altered source versions must\ + \ be plainly marked as such, and must not be\n misrepresented as being the original\ + \ software.\n 3. This notice may not be removed or altered from any source distribution." + - score: '100.0' + start_line: 529 + end_line: 545 + matcher: 2-aho + rule_length: 138 + matched_length: 138 + match_coverage: '100.0' + rule_relevance: 100 + identifier: d-zlib.LICENSE + license_expression: d-zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is provided 'as-is', without any express or implied\n warranty.\ + \ In no event will the authors be held liable for any damages\n arising from the use of\ + \ this software.\n \n Permission is granted to anyone to use this software for any purpose,\n\ + \ including commercial applications, and to alter it and redistribute it\n freely, in\ + \ both source and binary form, subject to the following\n restrictions:\n \n o The origin\ + \ of this software must not be misrepresented; you must not\n claim that you wrote\ + \ the original software. If you use this software\n in a product, an acknowledgment\ + \ in the product documentation would be\n appreciated but is not required.\n o Altered\ + \ source versions must be plainly marked as such, and must not\n be misrepresented\ + \ as being the original software.\n o This notice may not be removed or altered from\ + \ any source\n distribution." + - score: '100.0' + start_line: 557 + end_line: 574 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a\n\ + \ copy of this software and associated documentation files\n (the \"Software\"),\ + \ to deal in the Software without restriction, including\n without limitation the rights\ + \ to use, copy, modify, merge, publish,\n distribute, sublicense, and/or sell copies\ + \ of the Software, and to\n permit persons to whom the Software is furnished to do\ + \ so, subject to\n the following conditions:\n \n The above copyright notice and\ + \ this permission notice shall be included\n in all copies or substantial portions\ + \ of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY\ + \ KIND, EXPRESS\n OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\ + \ WITH THE SOFTWARE OR THE\n USE OR OTHER DEALINGS IN THE SOFTWARE." + - score: '100.0' + start_line: 581 + end_line: 598 + matcher: 2-aho + rule_length: 144 + matched_length: 144 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_gcc-exception-3.1_10.RULE + license_expression: gpl-3.0-plus WITH gcc-exception-3.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; you can redistribute it and/or modify it\n \ + \ under the terms of the GNU General Public License as published by the\n Free Software\ + \ Foundation; either version 3, or (at your option) any\n later version.\n \n This\ + \ file is distributed in the hope that it will be useful, but\n WITHOUT ANY WARRANTY;\ + \ without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR\ + \ PURPOSE. See the GNU\n General Public License for more details.\n \n Under Section\ + \ 7 of GPL version 3, you are granted additional\n permissions described in the GCC\ + \ Runtime Library Exception, version\n 3.1, as published by the Free Software Foundation.\n\ + \ \n You should have received a copy of the GNU General Public License and\n a copy\ + \ of the GCC Runtime Library Exception along with this program;\n see the files COPYING3\ + \ and COPYING.RUNTIME respectively. If not, see\n ." + - score: '97.3' + start_line: 609 + end_line: 617 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify\n it under the terms\ + \ of the GNU General Public License as published by\n the Free Software Foundation; either\ + \ version 3, or (at your option)\n any later version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but\n WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n General\ + \ Public License for more details." + - score: '100.0' + start_line: 623 + end_line: 626 + matcher: 2-aho + rule_length: 46 + matched_length: 46 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_4.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 or + any later version published by the Free Software Foundation; with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + - score: '100.0' + start_line: 635 + end_line: 643 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '100.0' + start_line: 645 + end_line: 645 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_150.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL version 3, + - score: '100.0' + start_line: 646 + end_line: 647 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gcc-exception-3.1_3.RULE + license_expression: gcc-exception-3.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GCC Runtime Library Exception, version + 3.1, + - score: '100.0' + start_line: 650 + end_line: 650 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_89.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL-3+ + - score: '100.0' + start_line: 650 + end_line: 651 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gcc-exception-3.1_3.RULE + license_expression: gcc-exception-3.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GCC Runtime Library + Exception, version 3.1. + - score: '55.0' + start_line: 663 + end_line: 663 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.RULE + license_expression: gpl-3.0 AND lgpl-2.1 AND lgpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: mix of GPL-3.0 and LGPL-2.1/3 + - score: '55.0' + start_line: 666 + end_line: 666 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.RULE + license_expression: gpl-3.0 AND lgpl-2.1 AND lgpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: mix of GPL-3.0 and LGPL-2.1/3 + - score: '50.0' + start_line: 670 + end_line: 670 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: lgpl-2.0_and_gpl-3.0_1.RULE + license_expression: lgpl-2.0 AND gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of LGPL-2.1 and GPL-3.0. + - score: '100.0' + start_line: 673 + end_line: 673 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_89.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL-3+ + - score: '87.88' + start_line: 676 + end_line: 682 + matcher: 3-seq + rule_length: 66 + matched_length: 58 + match_coverage: '87.88' + rule_relevance: 100 + identifier: gpl-1.0-plus_447.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission to copy, modify and redistribute + ;; GNU Emacs, [but] [only] [under] [the] [conditions] [described] [in] [the] + ;; [GNU] [Emacs] General Public License. A copy of this license is + ;; supposed to have been given to you along with [GNU] [Emacs] so you + ;; can know your rights and responsibilities. It should be in a + ;; file named COPYING. Among other things, the copyright notice + ;; and this notice must be preserved on all copies. + - score: '44.0' + start_line: 686 + end_line: 686 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 44 + identifier: gpl-3.0_and_lgpl-2.1_2.RULE + license_expression: gpl-3.0 AND lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of GPL-3 and LGPL-2.1. + - score: '38.0' + start_line: 690 + end_line: 690 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 38 + identifier: gpl-2.0-plus_and_gpl-3.0-plus_3.RULE + license_expression: gpl-2.0-plus AND gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of GPL-2+ and GPL-3+ + - score: '100.0' + start_line: 701 + end_line: 709 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '100.0' + start_line: 711 + end_line: 711 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_150.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL version 3, + - score: '100.0' + start_line: 712 + end_line: 713 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gcc-exception-3.1_3.RULE + license_expression: gcc-exception-3.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GCC Runtime Library Exception, version + 3.1, + - score: '100.0' + start_line: 739 + end_line: 745 + matcher: 2-aho + rule_length: 66 + matched_length: 66 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_and_gpl-1.0-plus_2.RULE + license_expression: lgpl-2.0-plus AND gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Parts of this work are licensed under the terms of the GNU General\n Public\ + \ License. On Debian systems, the complete text of this license\n can be found in /usr/share/common-licenses/GPL.\n\ + \ \n Parts of this work are licensed under the terms of the GNU Library\n General Public\ + \ License. On Debian systems, the complete text of this\n license be found in /usr/share/common-licenses/LGPL." + - score: '100.0' + start_line: 754 + end_line: 764 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsla-no-advert.LICENSE + license_expression: bsla-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms are permitted\n provided\ + \ that the above copyright notice and this paragraph are\n duplicated in all such forms\ + \ and that any documentation,\n and other materials related to such distribution and use\ + \ \n acknowledge that the software was developed\n by the University of California, Berkeley.\ + \ The name of the\n University may not be used to endorse or promote products derived\n\ + \ from this software without specific prior written permission.\n THIS SOFTWARE IS PROVIDED\ + \ ``AS IS'' AND WITHOUT ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION,\ + \ THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 771 + end_line: 781 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsla.LICENSE + license_expression: bsla + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 University of California, Berkeley. The name of the + University 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. + - score: '100.0' + start_line: 789 + end_line: 815 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. All\ + \ advertising materials mentioning features or use of this software\n must display\ + \ the following acknowledgement:\n This product includes software developed by the\ + \ University of\n California, Berkeley and its contributors.\n 4. Neither the name\ + \ of the University nor the names of its contributors\n may be used to endorse or promote\ + \ products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 822 + end_line: 844 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. Neither\ + \ the name of the University nor the names of its contributors\n may be used to endorse\ + \ or promote products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 856 + end_line: 882 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. All\ + \ advertising materials mentioning features or use of this software\n must display\ + \ the following acknowledgement:\n This product includes software developed by the\ + \ University of\n California, Berkeley and its contributors.\n 4. Neither the name\ + \ of the University nor the names of its contributors\n may be used to endorse or promote\ + \ products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 889 + end_line: 901 + matcher: 2-aho + rule_length: 122 + matched_length: 122 + match_coverage: '100.0' + rule_relevance: 100 + identifier: flex-2.5_6.RULE + license_expression: flex-2.5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '61.0' + start_line: 909 + end_line: 909 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: bsd-original-uc.RULE + license_expression: bsd-original-uc + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change + - score: '100.0' + start_line: 919 + end_line: 921 + matcher: 2-aho + rule_length: 21 + matched_length: 21 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_and_gpl-2.0_and_lgpl-3.0-plus_and_other-copyleft_and_other-permissive_1.RULE + license_expression: gpl-3.0 AND gpl-2.0 AND lgpl-3.0-plus WITH cygwin-exception-lgpl-3.0-plus + AND other-copyleft AND other-permissive + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is a copyrighted work licensed under the terms of the + Cygwin license. Please consult the file "CYGWIN_LICENSE" for + details. + - score: '100.0' + start_line: 929 + end_line: 938 + matcher: 2-aho + rule_length: 93 + matched_length: 93 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-lucent.RULE + license_expression: x11-lucent + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n purpose\ + \ without fee is hereby granted, provided that this entire notice\n is included in all\ + \ copies of any software which is or includes a copy\n or modification of this software\ + \ and in all copies of the supporting\n documentation for such software.\n \n THIS SOFTWARE\ + \ IS BEING PROVIDED \"AS IS\", WITHOUT ANY EXPRESS OR IMPLIED\n WARRANTY. IN PARTICULAR,\ + \ NEITHER THE AUTHOR NOR AT&T MAKES ANY\n REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING\ + \ THE MERCHANTABILITY\n OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." + - score: '100.0' + start_line: 944 + end_line: 955 + matcher: 2-aho + rule_length: 98 + matched_length: 98 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical_1.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is the property of Advanced Micro Devices, Inc (AMD) which\n\ + \ specifically grants the user the right to modify, use and distribute this\n software\ + \ provided this notice is not removed or altered. All other rights\n are reserved by\ + \ AMD.\n \n AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS\n\ + \ SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL\n DAMAGES\ + \ IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR\n USE OF THIS SOFTWARE.\n\ + \ \n So that all may benefit from your experience, please report any problems\n or \ + \ suggestions about this software" + - score: '100.0' + start_line: 983 + end_line: 986 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Developed at SunPro, a Sun Microsystems, Inc. business.\n Permission to use,\ + \ copy, modify, and distribute this\n software is freely granted, provided that this notice\ + \ \n is preserved." + - score: '100.0' + start_line: 992 + end_line: 1001 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: 1007 + end_line: 1014 + matcher: 2-aho + rule_length: 55 + matched_length: 55 + match_coverage: '100.0' + rule_relevance: 100 + identifier: nilsson-historical.LICENSE + license_expression: nilsson-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software is\n freely\ + \ granted, provided that the above copyright notice, this notice\n and the following disclaimer\ + \ are preserved with no changes.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT\ + \ ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE." + - score: '100.0' + start_line: 1020 + end_line: 1028 + matcher: 2-aho + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: newlib-historical.LICENSE + license_expression: newlib-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, provided + that existing copyright notices are retained in all copies and that this + notice is included verbatim in any distributions. No written agreement, + license, or royalty fee is required for any of the authorized uses. + Modifications to this software may be copyrighted by their authors + and need not follow the licensing terms described here, provided that + the new terms are clearly indicated on the first page of each file where + they apply. + - score: '100.0' + start_line: 1035 + end_line: 1055 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. The\ + \ name of the author may not be used to endorse or promote products\n derived from\ + \ this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, BUT NOT\ + \ LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\ + \ OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '95.0' + start_line: 1061 + end_line: 1072 + matcher: 2-aho + rule_length: 95 + matched_length: 95 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical4.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is the property of [SuperH], Inc ([SuperH]) which specifically\n\ + \ grants the user the right to modify, use and distribute this software\n provided this\ + \ notice is not removed or altered. All other rights are\n reserved by [SuperH].\n \n\ + \ [SUPERH] MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO\n THIS SOFTWARE.\ + \ IN NO EVENT SHALL [SUPERH] BE LIABLE FOR INDIRECT, SPECIAL, \n INCIDENTAL OR CONSEQUENTIAL\ + \ DAMAGES IN CONNECTION WITH OR ARISING FROM\n THE FURNISHING, PERFORMANCE, OR USE OF\ + \ THIS SOFTWARE.\n \n So that all may benefit from your experience, please report any\ + \ problems\n or suggestions about this software to the" + - score: '100.0' + start_line: 1087 + end_line: 1112 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n \n\ + \ 3. Neither the name of KTH nor the names of its contributors may be\n used to endorse\ + \ or promote products derived from this software without\n specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS ``AS IS'' AND ANY\n EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS\ + \ CONTRIBUTORS BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n\ + \ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n SUBSTITUTE GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED\ + \ AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 1119 + end_line: 1138 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1145 + end_line: 1164 + matcher: 2-aho + rule_length: 181 + matched_length: 181 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_newlib3.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS\ + \ BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY\ + \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1171 + end_line: 1190 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '85.71' + start_line: 1194 + end_line: 1207 + matcher: 3-seq + rule_length: 105 + matched_length: 90 + match_coverage: '85.71' + rule_relevance: 100 + identifier: x11-hanson_1.RULE + license_expression: x11-hanson + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Author: S. [L]. [Moshier].\n \n [Copyright] ([c]) [1984],[2000] S.[L]. [Moshier]\n\ + \ \n Permission to use, copy, modify, and distribute this software for any\n purpose without\ + \ fee is hereby granted, provided that this entire notice\n is included in all copies\ + \ of any software which is or includes a copy\n or modification of this software and in\ + \ all copies of the supporting\n documentation for such software.\n \n THIS SOFTWARE IS\ + \ BEING PROVIDED \"AS IS\", WITHOUT ANY EXPRESS OR IMPLIED\n WARRANTY. IN PARTICULAR,\ + \ THE AUTHOR MAKES NO REPRESENTATION\n OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY\ + \ OF THIS\n SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." + - score: '100.0' + start_line: 1214 + end_line: 1233 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1240 + end_line: 1260 + matcher: 2-aho + rule_length: 200 + matched_length: 200 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_76.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. The\ + \ name of the author may not be used to endorse or promote products\n derived from\ + \ this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING, BUT NOT LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL\n THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n\ + \ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF\ + \ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\n OR BUSINESS INTERRUPTION)\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\ + \ SOFTWARE, EVEN IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '27.0' + start_line: 1274 + end_line: 1274 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 27 + identifier: lgpl_39.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Free Software Foundation LGPL License (*- + - score: '100.0' + start_line: 1281 + end_line: 1294 + matcher: 2-aho + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_12.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The GNU C Library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n The GNU C Library is distributed in the hope that it will\ + \ be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n \ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ Lesser General Public\n License along with the GNU C Library; if not, write to the\ + \ Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301\ + \ USA" + - score: '99.0' + start_line: 1296 + end_line: 1296 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 99 + identifier: lgpl_33.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL License ( + - score: '100.0' + start_line: 1300 + end_line: 1308 + matcher: 2-aho + rule_length: 81 + matched_length: 81 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_339.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Library General Public License\n as published by the Free\ + \ Software Foundation; either version 2\n of the License, or (at your option) any later\ + \ version.\n \n This program is distributed\ + \ in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Library\ + \ General Public License for more details." + - score: '100.0' + start_line: 1314 + end_line: 1336 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel-osl-1993.LICENSE + license_expression: intel-osl-1993 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Intel hereby grants you permission to copy, modify, and distribute this\n\ + \ software and its documentation. Intel grants this permission provided\n that the above\ + \ copyright notice appears in all copies and that both the\n copyright notice and this\ + \ permission notice appear in supporting\n documentation. In addition, Intel grants this\ + \ permission provided that\n you prominently mark as \"not part of the original\" any\ + \ modifications\n made to this software or documentation, and that the name of Intel\n\ + \ Corporation not be used in advertising or publicity pertaining to\n distribution of\ + \ the software or the documentation without specific,\n written prior permission.\n \n\ + \ Intel Corporation provides this AS IS, WITHOUT ANY WARRANTY, EXPRESS OR\n IMPLIED, INCLUDING,\ + \ WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY\n OR FITNESS FOR A PARTICULAR PURPOSE.\ + \ Intel makes no guarantee or\n representations regarding the use of, or the results\ + \ of the use of,\n the software and documentation in terms of correctness, accuracy,\n\ + \ reliability, currentness, or otherwise; and you rely on the software,\n documentation\ + \ and results solely at your own risk.\n \n IN NO EVENT SHALL INTEL BE LIABLE FOR ANY\ + \ LOSS OF USE, LOSS OF BUSINESS,\n LOSS OF PROFITS, INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL\ + \ DAMAGES\n OF ANY KIND. IN NO EVENT SHALL INTEL'S TOTAL LIABILITY EXCEED THE SUM\n PAID\ + \ TO INTEL FOR THE PRODUCT LICENSED HEREUNDER." + - score: '100.0' + start_line: 1342 + end_line: 1351 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: 1356 + end_line: 1374 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hs-regexp.LICENSE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of the American Telephone\n and\ + \ Telegraph Company or of the Regents of the University of California.\n \n Permission\ + \ is granted to anyone to use this software for any purpose on\n any computer system,\ + \ and to alter it and redistribute it, subject\n to the following restrictions:\n \n 1.\ + \ The author is not responsible for the consequences of use of this\n software, no\ + \ matter how awful, even if they arise from flaws in it.\n \n 2. The origin of this software\ + \ must not be misrepresented, either by\n explicit claim or by omission. Since few\ + \ users ever read sources,\n credits must appear in the documentation.\n \n 3. Altered\ + \ versions must be plainly marked as such, and must not be\n misrepresented as being\ + \ the original software. Since few users\n ever read sources, credits must appear\ + \ in the documentation.\n \n 4. This notice may not be removed or altered." + - score: '100.0' + start_line: 1381 + end_line: 1400 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1407 + end_line: 1426 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1435 + end_line: 1454 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1466 + end_line: 1489 + matcher: 2-aho + rule_length: 205 + matched_length: 205 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_983.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without \n modification,\ + \ are permitted provided that the following conditions are met: \n \n Redistributions\ + \ of source code must retain the above copyright \n notice, this list of conditions\ + \ and the following disclaimer.\n \n Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ \n The name of Red Hat Incorporated may not be used to endorse \n or promote\ + \ products derived from this software without specific \n prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" \n\ + \ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \n IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED.\ + \ IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\ + \ HOWEVER CAUSED AND \n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n\ + \ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 1494 + end_line: 1511 + matcher: 2-aho + rule_length: 150 + matched_length: 150 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_6.RULE + license_expression: unicode + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE\n \n Unicode\ + \ Data Files include all data files under the directories\n http://www.unicode.org/Public/,\ + \ http://www.unicode.org/reports/, and\n http://www.unicode.org/cldr/data/. Unicode Data\ + \ Files do not include PDF\n online code charts under the directory http://www.unicode.org/Public/.\n\ + \ Software includes any source code published in the Unicode Standard or under\n the directories\ + \ http://www.unicode.org/Public/,\n http://www.unicode.org/reports/, and http://www.unicode.org/cldr/data/.\n\ + \ \n NOTICE TO USER: Carefully read the following legal agreement. BY\n DOWNLOADING,\ + \ INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES\n (\"DATA FILES\"),\ + \ AND/OR SOFTWARE (\"SOFTWARE\"), YOU UNEQUIVOCALLY ACCEPT, AND\n AGREE TO BE BOUND BY,\ + \ ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF\n YOU DO NOT AGREE, DO NOT DOWNLOAD,\ + \ INSTALL, COPY, DISTRIBUTE OR USE THE DATA\n FILES OR SOFTWARE.\n \n COPYRIGHT AND\ + \ PERMISSION NOTICE" + - score: '100.0' + start_line: 1513 + end_line: 1543 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Distributed under\n the Terms of Use in http://www.unicode.org/copyright.html.\n\ + \ \n Permission is hereby granted, free of charge, to any person obtaining a\n copy\ + \ of the Unicode data files and any associated documentation (the \"Data\n Files\") or\ + \ Unicode software and any associated documentation (the \"Software\")\n to deal in the\ + \ Data Files or Software without restriction, including without\n limitation the rights\ + \ to use, copy, modify, merge, publish, distribute, and/or\n sell copies of the Data Files\ + \ or Software, and to permit persons to whom the\n Data Files or Software are furnished\ + \ to do so, provided that (a) the above\n copyright notice(s) and this permission notice\ + \ appear with all copies of the\n Data Files or Software, (b) both the above copyright\ + \ notice(s) and this\n permission notice appear in associated documentation, and (c) there\ + \ is clear\n notice in each modified Data File or in the Software as well as in the\n\ + \ documentation associated with the Data File(s) or Software that the data or\n software\ + \ has been modified.\n \n THE DATA FILES AND SOFTWARE ARE PROVIDED \"AS IS\", WITHOUT\ + \ WARRANTY OF ANY\n KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\ + \ OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD\n\ + \ PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN\n THIS NOTICE\ + \ BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL\n DAMAGES, OR ANY\ + \ DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR\n PROFITS, WHETHER IN AN ACTION\ + \ OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS\n ACTION, ARISING OUT OF OR IN CONNECTION\ + \ WITH THE USE OR PERFORMANCE OF THE\n DATA FILES OR SOFTWARE.\n \n Except as contained\ + \ in this notice, the name of a copyright holder shall\n not be used in advertising or\ + \ otherwise to promote the sale, use or other\n dealings in these Data Files or Software\ + \ without prior written authorization\n of the copyright holder." + - score: '100.0' + start_line: 1550 + end_line: 1562 + matcher: 2-aho + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_284.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The GNU C Library is free software; you can redistribute it and/or + # modify it under the terms of the GNU Lesser General Public + # License as published by the Free Software Foundation; either + # version 2.1 of the License, or (at your option) any later version. + # + # The GNU C Library is distributed in the hope that it will be useful, + # but WITHOUT ANY WARRANTY; without even the implied warranty of + # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + # Lesser General Public License for more details. + # + # You should have received a copy of the GNU Lesser General Public + # License along with the GNU C Library; if not, see + # . diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-9-base/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-9-base/copyright-detailed.expected.yml index a99e57c245b..365dd79db06 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-9-base/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-9-base/copyright-detailed.expected.yml @@ -1,12 +1,12 @@ -- -- -- gpl-3.0-plus AND gpl-3.0-plus WITH gcc-exception-3.1 AND bsd-new AND uoi-ncsa AND mit AND - (mit OR commercial-license) AND gfdl-1.2 AND gcc-exception-3.1 AND gpl-2.0 AND lgpl-2.0-plus - AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND public-domain AND lgpl-2.1-plus - AND lgpl-2.1-plus AND sunpro AND bsd-new AND gpl-2.0-plus AND (artistic-perl-1.0 OR gpl-1.0) - AND zlib AND d-zlib AND mit AND gpl-3.0-plus WITH gcc-exception-3.1 AND gpl-3.0-plus WITH - gcc-exception-3.1 AND gfdl-1.3-plus AND lgpl-2.1-plus AND gpl-3.0-plus AND lgpl-2.1-plus AND - lgpl-2.1-plus AND gpl-2.0-plus AND gpl-3.0-plus AND (gpl-3.0 AND lgpl-2.1) AND lgpl-2.1-plus +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND gpl-3.0-plus WITH gcc-exception-3.1 AND bsd-new AND uoi-ncsa + AND mit AND (mit OR commercial-license) AND gfdl-1.2 AND gcc-exception-3.1 AND gpl-2.0 AND + lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND public-domain AND + lgpl-2.1-plus AND lgpl-2.1-plus AND sunpro AND bsd-new AND gpl-2.0-plus AND (artistic-perl-1.0 + OR gpl-1.0) AND zlib AND d-zlib AND mit AND gpl-3.0-plus WITH gcc-exception-3.1 AND gpl-3.0-plus + WITH gcc-exception-3.1 AND gfdl-1.3-plus AND lgpl-2.1-plus AND gpl-3.0-plus AND lgpl-2.1-plus + AND lgpl-2.1-plus AND gpl-2.0-plus AND gpl-3.0-plus AND (gpl-3.0 AND lgpl-2.1) AND lgpl-2.1-plus AND lgpl-2.1 AND gpl-3.0-plus AND lgpl-2.1-plus AND (lgpl-3.0 AND gpl-3.0) AND (gpl-3.0 AND lgpl-2.1 AND lgpl-3.0) AND (gpl-3.0 AND lgpl-2.1 AND lgpl-3.0) AND (lgpl-2.0 AND gpl-3.0) AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-2.0 AND (gpl-3.0 AND lgpl-2.1) AND (gpl-2.0-plus @@ -20,7 +20,7 @@ AND bsd-simplified AND bsd-simplified AND bsd-simplified AND x11-hanson AND bsd-simplified AND bsd-new AND lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.0-plus AND intel-osl-1993 AND osf-1990 AND hs-regexp AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new -- | +copyright: | Copyright (c) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Copyright (c) 2009-2014 by the LLVM contributors Copyright (c) 1996-2003 Red Hat, Inc. @@ -101,3 +101,2152 @@ Copyright (c) 1999, 2000 Konstantin Chuguev Copyright (c) 2003, Artem B. Bityuckiy, SoftMine Corporation Copyright (c) 1994, 1997, 2001, 2002, 2003, 2004 Red Hat Incorporated +matches: + - score: '99.24' + start_line: 83 + end_line: 99 + matcher: 3-seq + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_354.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GCC] is distributed in the\ + \ hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied warranty\ + \ of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public\ + \ License\n for more details.\n \n Files that have exception clauses are licensed under\ + \ the terms of the\n GNU General Public License; either version 3, or (at your option)\ + \ any\n later version.\n \n On Debian GNU/Linux systems, the complete text of the GNU\ + \ General\n Public License is in `/usr/share/common-licenses/GPL', version 3 of this\n\ + \ license in `/usr/share/common-licenses/GPL-3'." + - score: '100.0' + start_line: 101 + end_line: 103 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_gcc-exception-3.1_18.RULE + license_expression: gpl-3.0-plus WITH gcc-exception-3.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The following runtime libraries are licensed under the terms of the + GNU General Public License (v3 or later) with version 3.1 of the GCC + Runtime Library Exception (included in this file): + - score: '100.0' + start_line: 123 + end_line: 149 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n (1) Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer. \n \n (2) Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\ + \ \n \n (3) The name of the author may not be used to\n endorse or promote\ + \ products derived from this software without\n specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\ + \ ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\ + \ ARISING\n IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 167 + end_line: '192' + matcher: 2-aho + rule_length: 224 + matched_length: 224 + match_coverage: '100.0' + rule_relevance: 100 + identifier: uoi-ncsa_9.RULE + license_expression: uoi-ncsa + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\ + \ of\n this software and associated documentation files (the \"Software\"), to deal with\n\ + \ the Software without restriction, including without limitation the rights to\n use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n of the Software,\ + \ and to permit persons to whom the Software is furnished to do\n so, subject to the following\ + \ conditions:\n \n * Redistributions of source code must retain the above copyright\ + \ notice,\n this list of conditions and the following disclaimers.\n \n * Redistributions\ + \ in binary form must reproduce the above copyright notice,\n this list of conditions\ + \ and the following disclaimers in the\n documentation and/or other materials provided\ + \ with the distribution.\n \n * Neither the names of the LLVM Team, University of\ + \ Illinois at\n Urbana-Champaign, nor the names of its contributors may be used\ + \ to\n endorse or promote products derived from this Software without specific\n\ + \ prior written permission.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY\ + \ OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\ + \ FITNESS\n FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n CONTRIBUTORS\ + \ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER\ + \ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE\n SOFTWARE." + - score: '100.0' + start_line: '194' + end_line: 210 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to deal\n in\ + \ the Software without restriction, including without limitation the rights\n to use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software,\ + \ and to permit persons to whom the Software is\n furnished to do so, subject to the following\ + \ conditions:\n \n The above copyright notice and this permission notice shall be included\ + \ in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED\ + \ \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED\ + \ TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\ + \ IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES\ + \ OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\ + \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE." + - score: '82.2' + start_line: 213 + end_line: 234 + matcher: 3-seq + rule_length: '191' + matched_length: 157 + match_coverage: '82.2' + rule_relevance: 100 + identifier: mit_or_commercial-option.RULE + license_expression: mit OR commercial-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "licensed [under] [the] [following] [terms]:\n \n [libffi] - [Copyright]\ + \ ([c]) [1996]-[2003] [Red] [Hat], [Inc].\n \n Permission is hereby granted, free\ + \ of charge, to any person obtaining\n a copy of this software and associated documentation\ + \ files (the\n ``Software''), to deal in the Software without restriction, including\n\ + \ without limitation the rights to use, copy, modify, merge, publish,\n distribute,\ + \ sublicense, and/or sell copies of the Software, and to\n permit persons to whom\ + \ the Software is furnished to do so, subject to\n the following conditions:\n \n\ + \ The above copyright notice and this permission notice shall be included\n in\ + \ all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED\ + \ ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS\n OR IMPLIED, INCLUDING BUT NOT\ + \ LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE\ + \ AND NONINFRINGEMENT.\n IN NO EVENT SHALL [CYGNUS] [SOLUTIONS] BE LIABLE FOR ANY\ + \ CLAIM, DAMAGES OR\n OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n\ + \ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n OTHER\ + \ DEALINGS IN THE SOFTWARE." + - score: '100.0' + start_line: 237 + end_line: 239 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.2_7.RULE + license_expression: gfdl-1.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The documentation is licensed under the GNU Free Documentation License (v1.2). + On Debian GNU/Linux systems, the complete text of this license is in + `/usr/share/common-licenses/GFDL-1.2'. + - score: '100.0' + start_line: 242 + end_line: 313 + matcher: 2-aho + rule_length: 512 + matched_length: 512 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gcc-exception-3.1.LICENSE + license_expression: gcc-exception-3.1 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GCC RUNTIME LIBRARY EXCEPTION\n \n Version 3.1, 31 March 2009\n \n Copyright\ + \ (C) 2009 Free Software Foundation, Inc. \n \n Everyone is permitted\ + \ to copy and distribute verbatim copies of this\n license document, but changing it is\ + \ not allowed.\n \n This GCC Runtime Library Exception (\"Exception\") is an additional\n\ + \ permission under section 7 of the GNU General Public License, version\n 3 (\"GPLv3\"\ + ). It applies to a given file (the \"Runtime Library\") that\n bears a notice placed by\ + \ the copyright holder of the file stating that\n the file is governed by GPLv3 along\ + \ with this Exception.\n \n When you use GCC to compile a program, GCC may combine portions\ + \ of\n certain GCC header files and runtime libraries with the compiled\n program. The\ + \ purpose of this Exception is to allow compilation of\n non-GPL (including proprietary)\ + \ programs to use, in this way, the\n header files and runtime libraries covered by this\ + \ Exception.\n \n 0. Definitions.\n \n A file is an \"Independent Module\" if it either\ + \ requires the Runtime\n Library for execution after a Compilation Process, or makes use\ + \ of an\n interface provided by the Runtime Library, but is not otherwise based\n on the\ + \ Runtime Library.\n \n \"GCC\" means a version of the GNU Compiler Collection, with or\ + \ without\n modifications, governed by version 3 (or a specified later version) of\n the\ + \ GNU General Public License (GPL) with the option of using any\n subsequent versions\ + \ published by the FSF.\n \n \"GPL-compatible Software\" is software whose conditions\ + \ of propagation,\n modification and use would permit combination with GCC in accord with\n\ + \ the license of GCC.\n \n \"Target Code\" refers to output from any compiler for a real\ + \ or virtual\n target processor architecture, in executable form or suitable for\n input\ + \ to an assembler, loader, linker and/or execution\n phase. Notwithstanding that, Target\ + \ Code does not include data in any\n format that is used as a compiler intermediate representation,\ + \ or used\n for producing a compiler intermediate representation.\n \n The \"Compilation\ + \ Process\" transforms code entirely represented in\n non-intermediate languages designed\ + \ for human-written code, and/or in\n Java Virtual Machine byte code, into Target Code.\ + \ Thus, for example,\n use of source code generators and preprocessors need not be considered\n\ + \ part of the Compilation Process, since the Compilation Process can be\n understood as\ + \ starting with the output of the generators or\n preprocessors.\n \n A Compilation Process\ + \ is \"Eligible\" if it is done using GCC, alone or\n with other GPL-compatible software,\ + \ or if it is done without using any\n work based on GCC. For example, using non-GPL-compatible\ + \ Software to\n optimize any GCC intermediate representations would not qualify as an\n\ + \ Eligible Compilation Process.\n \n 1. Grant of Additional Permission.\n \n You have\ + \ permission to propagate a work of Target Code formed by\n combining the Runtime Library\ + \ with Independent Modules, even if such\n propagation would otherwise violate the terms\ + \ of GPLv3, provided that\n all Target Code was generated by Eligible Compilation Processes.\ + \ You\n may then convey such a combination under terms of your choice,\n consistent with\ + \ the licensing of the Independent Modules.\n \n 2. No Weakening of GCC Copyleft.\n \n\ + \ The availability of this Exception does not imply any general\n presumption that third-party\ + \ software is unaffected by the copyleft\n requirements of the license of GCC." + - score: '7.81' + start_line: 324 + end_line: 325 + matcher: 3-seq + rule_length: 64 + matched_length: 5 + match_coverage: '7.81' + rule_relevance: 100 + identifier: gpl-2.0_443.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU [Library] General Public + License + - score: '72.73' + start_line: 325 + end_line: 331 + matcher: 3-seq + rule_length: 77 + matched_length: 56 + match_coverage: '72.73' + rule_relevance: 100 + identifier: lgpl-2.0-plus_402.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "as published by the Free Software Foundation; either\n version 2 of the License,\ + \ or (at your option) any later version.\n \n [Libiberty] is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n\ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Library General\ + \ Public License for more details." + - score: '100.0' + start_line: 338 + end_line: 346 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 356 + end_line: 364 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '97.56' + start_line: 374 + end_line: 382 + matcher: 3-seq + rule_length: 82 + matched_length: 80 + match_coverage: '97.56' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Library is free software; you can redistribute it and/or\n modify it under\ + \ the terms of the GNU Lesser General Public\n License as published by the Free Software\ + \ Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\ + \ \n [The] [GNU] [C] Library is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '70.0' + start_line: 387 + end_line: 387 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain. + - score: '97.56' + start_line: 395 + end_line: 403 + matcher: 3-seq + rule_length: 82 + matched_length: 80 + match_coverage: '97.56' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Library is free software; you can redistribute it and/or\n modify it under\ + \ the terms of the GNU Lesser General Public\n License as published by the Free Software\ + \ Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\ + \ \n [The] [GNU] [C] Library is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 410 + end_line: 418 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 424 + end_line: 427 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + * Permission to use, copy, modify, and distribute this + * software is freely granted, provided that this notice + * is preserved. + - score: '100.0' + start_line: 434 + end_line: 458 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_166.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions and\ + \ the following disclaimer.\n * Redistributions in binary form must reproduce the above\n\ + \ copyright notice, this list of conditions and the following disclaimer\n in the documentation\ + \ and/or other materials provided with the\n distribution.\n * Neither the name of\ + \ Google Inc. nor the names of its\n contributors may be used to endorse or promote products\ + \ derived from\n this software without specific prior written permission.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 473 + end_line: 480 + matcher: 2-aho + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_812.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n it\ + \ under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation; either version 2 of the License, or\n (at your option) any later version.\n\ + \ \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public License\ + \ is in `/usr/share/common-licenses/GPL', version 2 of this\n license in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 490 + end_line: 495 + matcher: 2-aho + rule_length: 46 + matched_length: 46 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0_2.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License for redistribution is by either the Artistic License or\n the GNU\ + \ General Public License (v1).\n \n On Debian GNU/Linux systems, the complete text of\ + \ the GNU General\n Public License is in `/usr/share/common-licenses/GPL', the Artistic\n\ + \ license in `/usr/share/common-licenses/Artistic'." + - score: '100.0' + start_line: 503 + end_line: 517 + matcher: 2-aho + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is provided 'as-is', without any express or implied\n warranty.\ + \ In no event will the authors be held liable for any damages\n arising from the use\ + \ of this software.\n \n Permission is granted to anyone to use this software for any\ + \ purpose,\n including commercial applications, and to alter it and redistribute it\n\ + \ freely, subject to the following restrictions:\n \n 1. The origin of this software\ + \ must not be misrepresented; you must not\n claim that you wrote the original software.\ + \ If you use this software\n in a product, an acknowledgment in the product documentation\ + \ would be\n appreciated but is not required.\n 2. Altered source versions must\ + \ be plainly marked as such, and must not be\n misrepresented as being the original\ + \ software.\n 3. This notice may not be removed or altered from any source distribution." + - score: '100.0' + start_line: 529 + end_line: 545 + matcher: 2-aho + rule_length: 138 + matched_length: 138 + match_coverage: '100.0' + rule_relevance: 100 + identifier: d-zlib.LICENSE + license_expression: d-zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is provided 'as-is', without any express or implied\n warranty.\ + \ In no event will the authors be held liable for any damages\n arising from the use of\ + \ this software.\n \n Permission is granted to anyone to use this software for any purpose,\n\ + \ including commercial applications, and to alter it and redistribute it\n freely, in\ + \ both source and binary form, subject to the following\n restrictions:\n \n o The origin\ + \ of this software must not be misrepresented; you must not\n claim that you wrote\ + \ the original software. If you use this software\n in a product, an acknowledgment\ + \ in the product documentation would be\n appreciated but is not required.\n o Altered\ + \ source versions must be plainly marked as such, and must not\n be misrepresented\ + \ as being the original software.\n o This notice may not be removed or altered from\ + \ any source\n distribution." + - score: '100.0' + start_line: 557 + end_line: 574 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a\n\ + \ copy of this software and associated documentation files\n (the \"Software\"),\ + \ to deal in the Software without restriction, including\n without limitation the rights\ + \ to use, copy, modify, merge, publish,\n distribute, sublicense, and/or sell copies\ + \ of the Software, and to\n permit persons to whom the Software is furnished to do\ + \ so, subject to\n the following conditions:\n \n The above copyright notice and\ + \ this permission notice shall be included\n in all copies or substantial portions\ + \ of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY\ + \ KIND, EXPRESS\n OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\ + \ WITH THE SOFTWARE OR THE\n USE OR OTHER DEALINGS IN THE SOFTWARE." + - score: '100.0' + start_line: 581 + end_line: 598 + matcher: 2-aho + rule_length: 144 + matched_length: 144 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_gcc-exception-3.1_10.RULE + license_expression: gpl-3.0-plus WITH gcc-exception-3.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; you can redistribute it and/or modify it\n \ + \ under the terms of the GNU General Public License as published by the\n Free Software\ + \ Foundation; either version 3, or (at your option) any\n later version.\n \n This\ + \ file is distributed in the hope that it will be useful, but\n WITHOUT ANY WARRANTY;\ + \ without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR\ + \ PURPOSE. See the GNU\n General Public License for more details.\n \n Under Section\ + \ 7 of GPL version 3, you are granted additional\n permissions described in the GCC\ + \ Runtime Library Exception, version\n 3.1, as published by the Free Software Foundation.\n\ + \ \n You should have received a copy of the GNU General Public License and\n a copy\ + \ of the GCC Runtime Library Exception along with this program;\n see the files COPYING3\ + \ and COPYING.RUNTIME respectively. If not, see\n ." + - score: '58.14' + start_line: 606 + end_line: 618 + matcher: 3-seq + rule_length: 129 + matched_length: 75 + match_coverage: '58.14' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_gcc-exception-3.1_14.RULE + license_expression: gpl-3.0-plus WITH gcc-exception-3.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify\n it under the terms\ + \ of the GNU General Public License as published by\n the Free Software Foundation; either\ + \ version 3, or (at your option)\n any later version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but\n WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n General\ + \ Public License for more details.\n \n [gcc]/[gm2]/**/*.[texi]:\n [Copyright] ([C]) [2000],\ + \ [2001], [2002], [2003], [2004], [2005], [2006], [2007], [2008], [2009], [2010],\n [2011],\ + \ [2012], [2012], [2013] Free Software Foundation," + - score: '100.0' + start_line: 620 + end_line: 623 + matcher: 2-aho + rule_length: 46 + matched_length: 46 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_4.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 or + any later version published by the Free Software Foundation; with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + - score: '83.81' + start_line: 629 + end_line: 644 + matcher: 3-seq + rule_length: 105 + matched_length: 88 + match_coverage: '83.81' + rule_relevance: 100 + identifier: lgpl-2.1-plus_251.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\ + \ \n [gcc]/[gm2]/[ulm]-[lib]-[gm2]:\n [Copyright] ([C]) [2004], [2005], [2006], [2007],\ + \ [2008], [2009], [2010]\n [Free] [Software] [Foundation], [Inc].\n \n [GNU]\ + \ [Modula]-[2] [is] [free] [software]; [you] [can] [redistribute] [it] [and]/[or] [modify]\ + \ [it] [under]\n [the] [terms] of the GNU General Public License" + - score: '100.0' + start_line: 643 + end_line: 646 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_111.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 3, or (at your option) any later + version. + - score: '100.0' + start_line: 661 + end_line: 669 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '100.0' + start_line: 675 + end_line: 683 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '96.05' + start_line: 705 + end_line: 713 + matcher: 3-seq + rule_length: 76 + matched_length: 73 + match_coverage: '96.05' + rule_relevance: 100 + identifier: gpl-2.0-plus_287.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GNU [Modula]-[2] is free software; you can redistribute it and/or modify\n\ + \ it under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation; either version [3], or (at your option)\n any later version.\n \n GNU [Modula]-[2]\ + \ is distributed in the hope that it will be useful, but\n WITHOUT ANY WARRANTY; without\ + \ even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\ + \ See the GNU\n General Public License for more details." + - score: '97.3' + start_line: 728 + end_line: 736 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied\ + \ warranty of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\ + \ Public License\n for more details." + - score: '95.0' + start_line: 739 + end_line: 739 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 95 + identifier: gpl-3.0_and_lgpl-2.1_1.RULE + license_expression: gpl-3.0 AND lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This has a mix of licenses, both LGPL-2.1 and GPL-3.0, plus the apparently + - score: '100.0' + start_line: 757 + end_line: 765 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '25.0' + start_line: 764 + end_line: 769 + matcher: 3-seq + rule_length: 36 + matched_length: 9 + match_coverage: '25.0' + rule_relevance: 100 + identifier: lgpl-2.1_90.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "the GNU\n Lesser General Public License [for] [more] [details].\n \n [gcc]/[gm2]/[gm2]-[libs]-[iso]/*.[mod]:\n\ + \ \n [Copyright] ([C]) [2012] Free Software Foundation," + - score: '97.3' + start_line: 771 + end_line: 779 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied\ + \ warranty of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\ + \ Public License\n for more details." + - score: '100.0' + start_line: 785 + end_line: 793 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '50.0' + start_line: 797 + end_line: 797 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: lgpl-3.0_AND_gpl-3.0_3.RULE + license_expression: lgpl-3.0 AND gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: mix of GPL-3.0 and LGPL-3.0 + - score: '55.0' + start_line: 801 + end_line: 801 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.RULE + license_expression: gpl-3.0 AND lgpl-2.1 AND lgpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: mix of GPL-3.0 and LGPL-2.1/3 + - score: '55.0' + start_line: 805 + end_line: 805 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.RULE + license_expression: gpl-3.0 AND lgpl-2.1 AND lgpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: mix of GPL-3.0 and LGPL-2.1/3 + - score: '50.0' + start_line: 809 + end_line: 809 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: lgpl-2.0_and_gpl-3.0_1.RULE + license_expression: lgpl-2.0 AND gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of LGPL-2.1 and GPL-3.0. + - score: '100.0' + start_line: 812 + end_line: 812 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_89.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL-3+ + - score: '87.88' + start_line: 815 + end_line: 821 + matcher: 3-seq + rule_length: 66 + matched_length: 58 + match_coverage: '87.88' + rule_relevance: 100 + identifier: gpl-1.0-plus_447.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission to copy, modify and redistribute + ;; GNU Emacs, [but] [only] [under] [the] [conditions] [described] [in] [the] + ;; [GNU] [Emacs] General Public License. A copy of this license is + ;; supposed to have been given to you along with [GNU] [Emacs] so you + ;; can know your rights and responsibilities. It should be in a + ;; file named COPYING. Among other things, the copyright notice + ;; and this notice must be preserved on all copies. + - score: '7.81' + start_line: 816 + end_line: 817 + matcher: 3-seq + rule_length: 64 + matched_length: 5 + match_coverage: '7.81' + rule_relevance: 100 + identifier: gpl-2.0_443.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the + ;; GNU [Emacs] General Public License. + - score: '44.0' + start_line: 826 + end_line: 826 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 44 + identifier: gpl-3.0_and_lgpl-2.1_2.RULE + license_expression: gpl-3.0 AND lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of GPL-3 and LGPL-2.1. + - score: '38.0' + start_line: 830 + end_line: 830 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 38 + identifier: gpl-2.0-plus_and_gpl-3.0-plus_3.RULE + license_expression: gpl-2.0-plus AND gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of GPL-2+ and GPL-3+ + - score: '100.0' + start_line: 837 + end_line: 845 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '25.0' + start_line: 844 + end_line: 848 + matcher: 3-seq + rule_length: 36 + matched_length: 9 + match_coverage: '25.0' + rule_relevance: 100 + identifier: lgpl-2.1_90.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "the GNU\n Lesser General Public License [for] [more] [details].\n \n [libgm2]/[libpim]/:\n\ + \ [Copyright] ([C]) [2005]-[2014] Free Software Foundation," + - score: '55.0' + start_line: 849 + end_line: 849 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: lgpl-2.1_and_lgpl-3.0_and_gpl-3.0_1.RULE + license_expression: lgpl-2.1 AND lgpl-3.0 AND gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of LGPL-2.1, LGPL-3 and GPL-3. + - score: '44.0' + start_line: 853 + end_line: 853 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 44 + identifier: lgpl-2.1_and_lgpl-3.0_1.RULE + license_expression: lgpl-2.1 AND lgpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of LGPL-2.1 and LGPL-3. + - score: '100.0' + start_line: 857 + end_line: 857 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPL-2.1+' + - score: '98.78' + start_line: 858 + end_line: 866 + matcher: 3-seq + rule_length: 81 + matched_length: 81 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_40.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2.[1] of the License, or (at your option) any later version. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + - score: '97.3' + start_line: 872 + end_line: 880 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied\ + \ warranty of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\ + \ Public License\n for more details." + - score: '21.62' + start_line: 879 + end_line: 883 + matcher: 3-seq + rule_length: 37 + matched_length: 8 + match_coverage: '21.62' + rule_relevance: 100 + identifier: gpl-2.0-plus_409.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "the GNU General Public License\n [for] [more] [details].\n \n [libgm2]/[libcor]/:\n\ + \ [Copyright] ([C]) [2005]-[2019] Free Software Foundation," + - score: '97.3' + start_line: 886 + end_line: 894 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify\n it under the terms\ + \ of the GNU General Public License as published by\n the Free Software Foundation; either\ + \ version 3, or (at your option)\n any later version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but\n WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n General\ + \ Public License for more details." + - score: '97.3' + start_line: 899 + end_line: 907 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied\ + \ warranty of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\ + \ Public License\n for more details." + - score: '96.05' + start_line: 913 + end_line: 921 + matcher: 3-seq + rule_length: 76 + matched_length: 73 + match_coverage: '96.05' + rule_relevance: 100 + identifier: gpl-2.0-plus_287.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GNU [Modula]-[2] is free software; you can redistribute it and/or modify\n\ + \ it under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation; either version [3], or (at your option)\n any later version.\n \n GNU [Modula]-[2]\ + \ is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without\ + \ even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\ + \ See the\n GNU General Public License for more details." + - score: '100.0' + start_line: 947 + end_line: 953 + matcher: 2-aho + rule_length: 66 + matched_length: 66 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_and_gpl-1.0-plus_2.RULE + license_expression: lgpl-2.0-plus AND gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Parts of this work are licensed under the terms of the GNU General\n Public\ + \ License. On Debian systems, the complete text of this license\n can be found in /usr/share/common-licenses/GPL.\n\ + \ \n Parts of this work are licensed under the terms of the GNU Library\n General Public\ + \ License. On Debian systems, the complete text of this\n license be found in /usr/share/common-licenses/LGPL." + - score: '100.0' + start_line: 962 + end_line: 972 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsla-no-advert.LICENSE + license_expression: bsla-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms are permitted\n provided\ + \ that the above copyright notice and this paragraph are\n duplicated in all such forms\ + \ and that any documentation,\n and other materials related to such distribution and use\ + \ \n acknowledge that the software was developed\n by the University of California, Berkeley.\ + \ The name of the\n University may not be used to endorse or promote products derived\n\ + \ from this software without specific prior written permission.\n THIS SOFTWARE IS PROVIDED\ + \ ``AS IS'' AND WITHOUT ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION,\ + \ THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 979 + end_line: 989 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsla.LICENSE + license_expression: bsla + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 University of California, Berkeley. The name of the + University 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. + - score: '100.0' + start_line: 997 + end_line: 1023 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. All\ + \ advertising materials mentioning features or use of this software\n must display\ + \ the following acknowledgement:\n This product includes software developed by the\ + \ University of\n California, Berkeley and its contributors.\n 4. Neither the name\ + \ of the University nor the names of its contributors\n may be used to endorse or promote\ + \ products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1030 + end_line: 1052 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. Neither\ + \ the name of the University nor the names of its contributors\n may be used to endorse\ + \ or promote products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1064 + end_line: 1090 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. All\ + \ advertising materials mentioning features or use of this software\n must display\ + \ the following acknowledgement:\n This product includes software developed by the\ + \ University of\n California, Berkeley and its contributors.\n 4. Neither the name\ + \ of the University nor the names of its contributors\n may be used to endorse or promote\ + \ products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1097 + end_line: 1109 + matcher: 2-aho + rule_length: 122 + matched_length: 122 + match_coverage: '100.0' + rule_relevance: 100 + identifier: flex-2.5_6.RULE + license_expression: flex-2.5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '61.0' + start_line: 1117 + end_line: 1117 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: bsd-original-uc.RULE + license_expression: bsd-original-uc + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change + - score: '100.0' + start_line: 1127 + end_line: 1129 + matcher: 2-aho + rule_length: 21 + matched_length: 21 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_and_gpl-2.0_and_lgpl-3.0-plus_and_other-copyleft_and_other-permissive_1.RULE + license_expression: gpl-3.0 AND gpl-2.0 AND lgpl-3.0-plus WITH cygwin-exception-lgpl-3.0-plus + AND other-copyleft AND other-permissive + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is a copyrighted work licensed under the terms of the + Cygwin license. Please consult the file "CYGWIN_LICENSE" for + details. + - score: '100.0' + start_line: 1137 + end_line: 1146 + matcher: 2-aho + rule_length: 93 + matched_length: 93 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-lucent.RULE + license_expression: x11-lucent + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n purpose\ + \ without fee is hereby granted, provided that this entire notice\n is included in all\ + \ copies of any software which is or includes a copy\n or modification of this software\ + \ and in all copies of the supporting\n documentation for such software.\n \n THIS SOFTWARE\ + \ IS BEING PROVIDED \"AS IS\", WITHOUT ANY EXPRESS OR IMPLIED\n WARRANTY. IN PARTICULAR,\ + \ NEITHER THE AUTHOR NOR AT&T MAKES ANY\n REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING\ + \ THE MERCHANTABILITY\n OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." + - score: '100.0' + start_line: 1152 + end_line: 1163 + matcher: 2-aho + rule_length: 98 + matched_length: 98 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical_1.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is the property of Advanced Micro Devices, Inc (AMD) which\n\ + \ specifically grants the user the right to modify, use and distribute this\n software\ + \ provided this notice is not removed or altered. All other rights\n are reserved by\ + \ AMD.\n \n AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS\n\ + \ SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL\n DAMAGES\ + \ IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR\n USE OF THIS SOFTWARE.\n\ + \ \n So that all may benefit from your experience, please report any problems\n or \ + \ suggestions about this software" + - score: '100.0' + start_line: 1191 + end_line: 1194 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Developed at SunPro, a Sun Microsystems, Inc. business.\n Permission to use,\ + \ copy, modify, and distribute this\n software is freely granted, provided that this notice\ + \ \n is preserved." + - score: '100.0' + start_line: 1200 + end_line: 1209 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: 1215 + end_line: 1222 + matcher: 2-aho + rule_length: 55 + matched_length: 55 + match_coverage: '100.0' + rule_relevance: 100 + identifier: nilsson-historical.LICENSE + license_expression: nilsson-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software is\n freely\ + \ granted, provided that the above copyright notice, this notice\n and the following disclaimer\ + \ are preserved with no changes.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT\ + \ ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE." + - score: '100.0' + start_line: 1228 + end_line: 1236 + matcher: 2-aho + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: newlib-historical.LICENSE + license_expression: newlib-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, provided + that existing copyright notices are retained in all copies and that this + notice is included verbatim in any distributions. No written agreement, + license, or royalty fee is required for any of the authorized uses. + Modifications to this software may be copyrighted by their authors + and need not follow the licensing terms described here, provided that + the new terms are clearly indicated on the first page of each file where + they apply. + - score: '100.0' + start_line: 1243 + end_line: 1263 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. The\ + \ name of the author may not be used to endorse or promote products\n derived from\ + \ this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, BUT NOT\ + \ LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\ + \ OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '95.0' + start_line: 1269 + end_line: 1280 + matcher: 2-aho + rule_length: 95 + matched_length: 95 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical4.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is the property of [SuperH], Inc ([SuperH]) which specifically\n\ + \ grants the user the right to modify, use and distribute this software\n provided this\ + \ notice is not removed or altered. All other rights are\n reserved by [SuperH].\n \n\ + \ [SUPERH] MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO\n THIS SOFTWARE.\ + \ IN NO EVENT SHALL [SUPERH] BE LIABLE FOR INDIRECT, SPECIAL, \n INCIDENTAL OR CONSEQUENTIAL\ + \ DAMAGES IN CONNECTION WITH OR ARISING FROM\n THE FURNISHING, PERFORMANCE, OR USE OF\ + \ THIS SOFTWARE.\n \n So that all may benefit from your experience, please report any\ + \ problems\n or suggestions about this software to the" + - score: '100.0' + start_line: 1295 + end_line: 1320 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n \n\ + \ 3. Neither the name of KTH nor the names of its contributors may be\n used to endorse\ + \ or promote products derived from this software without\n specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS ``AS IS'' AND ANY\n EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS\ + \ CONTRIBUTORS BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n\ + \ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n SUBSTITUTE GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED\ + \ AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 1327 + end_line: 1346 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1353 + end_line: 1372 + matcher: 2-aho + rule_length: 181 + matched_length: 181 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_newlib3.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS\ + \ BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY\ + \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1379 + end_line: 1398 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '85.71' + start_line: 1402 + end_line: 1415 + matcher: 3-seq + rule_length: 105 + matched_length: 90 + match_coverage: '85.71' + rule_relevance: 100 + identifier: x11-hanson_1.RULE + license_expression: x11-hanson + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Author: S. [L]. [Moshier].\n \n [Copyright] ([c]) [1984],[2000] S.[L]. [Moshier]\n\ + \ \n Permission to use, copy, modify, and distribute this software for any\n purpose without\ + \ fee is hereby granted, provided that this entire notice\n is included in all copies\ + \ of any software which is or includes a copy\n or modification of this software and in\ + \ all copies of the supporting\n documentation for such software.\n \n THIS SOFTWARE IS\ + \ BEING PROVIDED \"AS IS\", WITHOUT ANY EXPRESS OR IMPLIED\n WARRANTY. IN PARTICULAR,\ + \ THE AUTHOR MAKES NO REPRESENTATION\n OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY\ + \ OF THIS\n SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." + - score: '100.0' + start_line: 1422 + end_line: 1441 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1448 + end_line: 1468 + matcher: 2-aho + rule_length: 200 + matched_length: 200 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_76.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. The\ + \ name of the author may not be used to endorse or promote products\n derived from\ + \ this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING, BUT NOT LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL\n THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n\ + \ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF\ + \ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\n OR BUSINESS INTERRUPTION)\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\ + \ SOFTWARE, EVEN IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '27.0' + start_line: 1482 + end_line: 1482 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 27 + identifier: lgpl_39.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Free Software Foundation LGPL License (*- + - score: '100.0' + start_line: 1489 + end_line: 1502 + matcher: 2-aho + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_12.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The GNU C Library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n The GNU C Library is distributed in the hope that it will\ + \ be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n \ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ Lesser General Public\n License along with the GNU C Library; if not, write to the\ + \ Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301\ + \ USA" + - score: '99.0' + start_line: 1504 + end_line: 1504 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 99 + identifier: lgpl_33.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL License ( + - score: '100.0' + start_line: 1508 + end_line: 1516 + matcher: 2-aho + rule_length: 81 + matched_length: 81 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_339.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Library General Public License\n as published by the Free\ + \ Software Foundation; either version 2\n of the License, or (at your option) any later\ + \ version.\n \n This program is distributed\ + \ in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Library\ + \ General Public License for more details." + - score: '100.0' + start_line: 1522 + end_line: 1544 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel-osl-1993.LICENSE + license_expression: intel-osl-1993 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Intel hereby grants you permission to copy, modify, and distribute this\n\ + \ software and its documentation. Intel grants this permission provided\n that the above\ + \ copyright notice appears in all copies and that both the\n copyright notice and this\ + \ permission notice appear in supporting\n documentation. In addition, Intel grants this\ + \ permission provided that\n you prominently mark as \"not part of the original\" any\ + \ modifications\n made to this software or documentation, and that the name of Intel\n\ + \ Corporation not be used in advertising or publicity pertaining to\n distribution of\ + \ the software or the documentation without specific,\n written prior permission.\n \n\ + \ Intel Corporation provides this AS IS, WITHOUT ANY WARRANTY, EXPRESS OR\n IMPLIED, INCLUDING,\ + \ WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY\n OR FITNESS FOR A PARTICULAR PURPOSE.\ + \ Intel makes no guarantee or\n representations regarding the use of, or the results\ + \ of the use of,\n the software and documentation in terms of correctness, accuracy,\n\ + \ reliability, currentness, or otherwise; and you rely on the software,\n documentation\ + \ and results solely at your own risk.\n \n IN NO EVENT SHALL INTEL BE LIABLE FOR ANY\ + \ LOSS OF USE, LOSS OF BUSINESS,\n LOSS OF PROFITS, INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL\ + \ DAMAGES\n OF ANY KIND. IN NO EVENT SHALL INTEL'S TOTAL LIABILITY EXCEED THE SUM\n PAID\ + \ TO INTEL FOR THE PRODUCT LICENSED HEREUNDER." + - score: '100.0' + start_line: 1550 + end_line: 1559 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: 1564 + end_line: 1582 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hs-regexp.LICENSE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of the American Telephone\n and\ + \ Telegraph Company or of the Regents of the University of California.\n \n Permission\ + \ is granted to anyone to use this software for any purpose on\n any computer system,\ + \ and to alter it and redistribute it, subject\n to the following restrictions:\n \n 1.\ + \ The author is not responsible for the consequences of use of this\n software, no\ + \ matter how awful, even if they arise from flaws in it.\n \n 2. The origin of this software\ + \ must not be misrepresented, either by\n explicit claim or by omission. Since few\ + \ users ever read sources,\n credits must appear in the documentation.\n \n 3. Altered\ + \ versions must be plainly marked as such, and must not be\n misrepresented as being\ + \ the original software. Since few users\n ever read sources, credits must appear\ + \ in the documentation.\n \n 4. This notice may not be removed or altered." + - score: '100.0' + start_line: 1589 + end_line: 1608 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1615 + end_line: 1634 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1643 + end_line: 1662 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1674 + end_line: 1697 + matcher: 2-aho + rule_length: 205 + matched_length: 205 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_983.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without \n modification,\ + \ are permitted provided that the following conditions are met: \n \n Redistributions\ + \ of source code must retain the above copyright \n notice, this list of conditions\ + \ and the following disclaimer.\n \n Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ \n The name of Red Hat Incorporated may not be used to endorse \n or promote\ + \ products derived from this software without specific \n prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" \n\ + \ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \n IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED.\ + \ IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\ + \ HOWEVER CAUSED AND \n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n\ + \ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-9-base/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-9-base/copyright.expected.yml index 14502db94be..3e05205e01c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-9-base/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-9-base/copyright.expected.yml @@ -1,17 +1,17 @@ -- -- -- gpl-3.0-plus AND gpl-3.0-plus WITH gcc-exception-3.1 AND bsd-new AND uoi-ncsa AND mit AND - (mit OR commercial-license) AND gfdl-1.2 AND gcc-exception-3.1 AND gpl-2.0 AND lgpl-2.0-plus - AND lgpl-2.1-plus AND public-domain AND sunpro AND gpl-2.0-plus AND (artistic-perl-1.0 OR - gpl-1.0) AND zlib AND d-zlib AND gfdl-1.3-plus AND (gpl-3.0 AND lgpl-2.1) AND lgpl-2.1 AND - (lgpl-3.0 AND gpl-3.0) AND (gpl-3.0 AND lgpl-2.1 AND lgpl-3.0) AND (lgpl-2.0 AND gpl-3.0) +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND gpl-3.0-plus WITH gcc-exception-3.1 AND bsd-new AND uoi-ncsa + AND mit AND (mit OR commercial-license) AND gfdl-1.2 AND gcc-exception-3.1 AND gpl-2.0 AND + lgpl-2.0-plus AND lgpl-2.1-plus AND public-domain AND sunpro AND gpl-2.0-plus AND (artistic-perl-1.0 + OR gpl-1.0) AND zlib AND d-zlib AND gfdl-1.3-plus AND (gpl-3.0 AND lgpl-2.1) AND lgpl-2.1 + AND (lgpl-3.0 AND gpl-3.0) AND (gpl-3.0 AND lgpl-2.1 AND lgpl-3.0) AND (lgpl-2.0 AND gpl-3.0) AND gpl-1.0-plus AND (gpl-2.0-plus AND gpl-3.0-plus) AND (lgpl-2.1 AND lgpl-3.0 AND gpl-3.0) AND (lgpl-2.1 AND lgpl-3.0) AND (lgpl-2.0-plus AND gpl-1.0-plus) AND bsla-no-advert AND bsla AND bsd-original-uc AND flex-2.5 AND (gpl-3.0 AND gpl-2.0 AND lgpl-3.0-plus WITH cygwin-exception-lgpl-3.0-plus AND other-copyleft AND other-permissive) AND x11-lucent AND amd-historical AND osf-1990 AND nilsson-historical AND newlib-historical AND bsd-simplified AND x11-hanson AND intel-osl-1993 AND hs-regexp -- | +copyright: | Copyright (c) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Copyright (c) 2009-2014 by the LLVM contributors Copyright (c) 1996-2003 Red Hat, Inc. @@ -92,3 +92,2152 @@ Copyright (c) 1999, 2000 Konstantin Chuguev Copyright (c) 2003, Artem B. Bityuckiy, SoftMine Corporation Copyright (c) 1994, 1997, 2001, 2002, 2003, 2004 Red Hat Incorporated +matches: + - score: '99.24' + start_line: 83 + end_line: 99 + matcher: 3-seq + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_354.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GCC] is distributed in the\ + \ hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied warranty\ + \ of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public\ + \ License\n for more details.\n \n Files that have exception clauses are licensed under\ + \ the terms of the\n GNU General Public License; either version 3, or (at your option)\ + \ any\n later version.\n \n On Debian GNU/Linux systems, the complete text of the GNU\ + \ General\n Public License is in `/usr/share/common-licenses/GPL', version 3 of this\n\ + \ license in `/usr/share/common-licenses/GPL-3'." + - score: '100.0' + start_line: 101 + end_line: 103 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_gcc-exception-3.1_18.RULE + license_expression: gpl-3.0-plus WITH gcc-exception-3.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The following runtime libraries are licensed under the terms of the + GNU General Public License (v3 or later) with version 3.1 of the GCC + Runtime Library Exception (included in this file): + - score: '100.0' + start_line: 123 + end_line: 149 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n (1) Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer. \n \n (2) Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\ + \ \n \n (3) The name of the author may not be used to\n endorse or promote\ + \ products derived from this software without\n specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\ + \ ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\ + \ ARISING\n IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 167 + end_line: '192' + matcher: 2-aho + rule_length: 224 + matched_length: 224 + match_coverage: '100.0' + rule_relevance: 100 + identifier: uoi-ncsa_9.RULE + license_expression: uoi-ncsa + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\ + \ of\n this software and associated documentation files (the \"Software\"), to deal with\n\ + \ the Software without restriction, including without limitation the rights to\n use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n of the Software,\ + \ and to permit persons to whom the Software is furnished to do\n so, subject to the following\ + \ conditions:\n \n * Redistributions of source code must retain the above copyright\ + \ notice,\n this list of conditions and the following disclaimers.\n \n * Redistributions\ + \ in binary form must reproduce the above copyright notice,\n this list of conditions\ + \ and the following disclaimers in the\n documentation and/or other materials provided\ + \ with the distribution.\n \n * Neither the names of the LLVM Team, University of\ + \ Illinois at\n Urbana-Champaign, nor the names of its contributors may be used\ + \ to\n endorse or promote products derived from this Software without specific\n\ + \ prior written permission.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY\ + \ OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\ + \ FITNESS\n FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n CONTRIBUTORS\ + \ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER\ + \ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE\n SOFTWARE." + - score: '100.0' + start_line: '194' + end_line: 210 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to deal\n in\ + \ the Software without restriction, including without limitation the rights\n to use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software,\ + \ and to permit persons to whom the Software is\n furnished to do so, subject to the following\ + \ conditions:\n \n The above copyright notice and this permission notice shall be included\ + \ in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED\ + \ \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED\ + \ TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\ + \ IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES\ + \ OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\ + \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE." + - score: '82.2' + start_line: 213 + end_line: 234 + matcher: 3-seq + rule_length: '191' + matched_length: 157 + match_coverage: '82.2' + rule_relevance: 100 + identifier: mit_or_commercial-option.RULE + license_expression: mit OR commercial-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "licensed [under] [the] [following] [terms]:\n \n [libffi] - [Copyright]\ + \ ([c]) [1996]-[2003] [Red] [Hat], [Inc].\n \n Permission is hereby granted, free\ + \ of charge, to any person obtaining\n a copy of this software and associated documentation\ + \ files (the\n ``Software''), to deal in the Software without restriction, including\n\ + \ without limitation the rights to use, copy, modify, merge, publish,\n distribute,\ + \ sublicense, and/or sell copies of the Software, and to\n permit persons to whom\ + \ the Software is furnished to do so, subject to\n the following conditions:\n \n\ + \ The above copyright notice and this permission notice shall be included\n in\ + \ all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED\ + \ ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS\n OR IMPLIED, INCLUDING BUT NOT\ + \ LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE\ + \ AND NONINFRINGEMENT.\n IN NO EVENT SHALL [CYGNUS] [SOLUTIONS] BE LIABLE FOR ANY\ + \ CLAIM, DAMAGES OR\n OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n\ + \ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n OTHER\ + \ DEALINGS IN THE SOFTWARE." + - score: '100.0' + start_line: 237 + end_line: 239 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.2_7.RULE + license_expression: gfdl-1.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The documentation is licensed under the GNU Free Documentation License (v1.2). + On Debian GNU/Linux systems, the complete text of this license is in + `/usr/share/common-licenses/GFDL-1.2'. + - score: '100.0' + start_line: 242 + end_line: 313 + matcher: 2-aho + rule_length: 512 + matched_length: 512 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gcc-exception-3.1.LICENSE + license_expression: gcc-exception-3.1 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GCC RUNTIME LIBRARY EXCEPTION\n \n Version 3.1, 31 March 2009\n \n Copyright\ + \ (C) 2009 Free Software Foundation, Inc. \n \n Everyone is permitted\ + \ to copy and distribute verbatim copies of this\n license document, but changing it is\ + \ not allowed.\n \n This GCC Runtime Library Exception (\"Exception\") is an additional\n\ + \ permission under section 7 of the GNU General Public License, version\n 3 (\"GPLv3\"\ + ). It applies to a given file (the \"Runtime Library\") that\n bears a notice placed by\ + \ the copyright holder of the file stating that\n the file is governed by GPLv3 along\ + \ with this Exception.\n \n When you use GCC to compile a program, GCC may combine portions\ + \ of\n certain GCC header files and runtime libraries with the compiled\n program. The\ + \ purpose of this Exception is to allow compilation of\n non-GPL (including proprietary)\ + \ programs to use, in this way, the\n header files and runtime libraries covered by this\ + \ Exception.\n \n 0. Definitions.\n \n A file is an \"Independent Module\" if it either\ + \ requires the Runtime\n Library for execution after a Compilation Process, or makes use\ + \ of an\n interface provided by the Runtime Library, but is not otherwise based\n on the\ + \ Runtime Library.\n \n \"GCC\" means a version of the GNU Compiler Collection, with or\ + \ without\n modifications, governed by version 3 (or a specified later version) of\n the\ + \ GNU General Public License (GPL) with the option of using any\n subsequent versions\ + \ published by the FSF.\n \n \"GPL-compatible Software\" is software whose conditions\ + \ of propagation,\n modification and use would permit combination with GCC in accord with\n\ + \ the license of GCC.\n \n \"Target Code\" refers to output from any compiler for a real\ + \ or virtual\n target processor architecture, in executable form or suitable for\n input\ + \ to an assembler, loader, linker and/or execution\n phase. Notwithstanding that, Target\ + \ Code does not include data in any\n format that is used as a compiler intermediate representation,\ + \ or used\n for producing a compiler intermediate representation.\n \n The \"Compilation\ + \ Process\" transforms code entirely represented in\n non-intermediate languages designed\ + \ for human-written code, and/or in\n Java Virtual Machine byte code, into Target Code.\ + \ Thus, for example,\n use of source code generators and preprocessors need not be considered\n\ + \ part of the Compilation Process, since the Compilation Process can be\n understood as\ + \ starting with the output of the generators or\n preprocessors.\n \n A Compilation Process\ + \ is \"Eligible\" if it is done using GCC, alone or\n with other GPL-compatible software,\ + \ or if it is done without using any\n work based on GCC. For example, using non-GPL-compatible\ + \ Software to\n optimize any GCC intermediate representations would not qualify as an\n\ + \ Eligible Compilation Process.\n \n 1. Grant of Additional Permission.\n \n You have\ + \ permission to propagate a work of Target Code formed by\n combining the Runtime Library\ + \ with Independent Modules, even if such\n propagation would otherwise violate the terms\ + \ of GPLv3, provided that\n all Target Code was generated by Eligible Compilation Processes.\ + \ You\n may then convey such a combination under terms of your choice,\n consistent with\ + \ the licensing of the Independent Modules.\n \n 2. No Weakening of GCC Copyleft.\n \n\ + \ The availability of this Exception does not imply any general\n presumption that third-party\ + \ software is unaffected by the copyleft\n requirements of the license of GCC." + - score: '7.81' + start_line: 324 + end_line: 325 + matcher: 3-seq + rule_length: 64 + matched_length: 5 + match_coverage: '7.81' + rule_relevance: 100 + identifier: gpl-2.0_443.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU [Library] General Public + License + - score: '72.73' + start_line: 325 + end_line: 331 + matcher: 3-seq + rule_length: 77 + matched_length: 56 + match_coverage: '72.73' + rule_relevance: 100 + identifier: lgpl-2.0-plus_402.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "as published by the Free Software Foundation; either\n version 2 of the License,\ + \ or (at your option) any later version.\n \n [Libiberty] is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n\ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Library General\ + \ Public License for more details." + - score: '100.0' + start_line: 338 + end_line: 346 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 356 + end_line: 364 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '97.56' + start_line: 374 + end_line: 382 + matcher: 3-seq + rule_length: 82 + matched_length: 80 + match_coverage: '97.56' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Library is free software; you can redistribute it and/or\n modify it under\ + \ the terms of the GNU Lesser General Public\n License as published by the Free Software\ + \ Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\ + \ \n [The] [GNU] [C] Library is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '70.0' + start_line: 387 + end_line: 387 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain. + - score: '97.56' + start_line: 395 + end_line: 403 + matcher: 3-seq + rule_length: 82 + matched_length: 80 + match_coverage: '97.56' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Library is free software; you can redistribute it and/or\n modify it under\ + \ the terms of the GNU Lesser General Public\n License as published by the Free Software\ + \ Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\ + \ \n [The] [GNU] [C] Library is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 410 + end_line: 418 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 424 + end_line: 427 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + * Permission to use, copy, modify, and distribute this + * software is freely granted, provided that this notice + * is preserved. + - score: '100.0' + start_line: 434 + end_line: 458 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_166.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions and\ + \ the following disclaimer.\n * Redistributions in binary form must reproduce the above\n\ + \ copyright notice, this list of conditions and the following disclaimer\n in the documentation\ + \ and/or other materials provided with the\n distribution.\n * Neither the name of\ + \ Google Inc. nor the names of its\n contributors may be used to endorse or promote products\ + \ derived from\n this software without specific prior written permission.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 473 + end_line: 480 + matcher: 2-aho + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_812.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n it\ + \ under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation; either version 2 of the License, or\n (at your option) any later version.\n\ + \ \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public License\ + \ is in `/usr/share/common-licenses/GPL', version 2 of this\n license in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 490 + end_line: 495 + matcher: 2-aho + rule_length: 46 + matched_length: 46 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0_2.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License for redistribution is by either the Artistic License or\n the GNU\ + \ General Public License (v1).\n \n On Debian GNU/Linux systems, the complete text of\ + \ the GNU General\n Public License is in `/usr/share/common-licenses/GPL', the Artistic\n\ + \ license in `/usr/share/common-licenses/Artistic'." + - score: '100.0' + start_line: 503 + end_line: 517 + matcher: 2-aho + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is provided 'as-is', without any express or implied\n warranty.\ + \ In no event will the authors be held liable for any damages\n arising from the use\ + \ of this software.\n \n Permission is granted to anyone to use this software for any\ + \ purpose,\n including commercial applications, and to alter it and redistribute it\n\ + \ freely, subject to the following restrictions:\n \n 1. The origin of this software\ + \ must not be misrepresented; you must not\n claim that you wrote the original software.\ + \ If you use this software\n in a product, an acknowledgment in the product documentation\ + \ would be\n appreciated but is not required.\n 2. Altered source versions must\ + \ be plainly marked as such, and must not be\n misrepresented as being the original\ + \ software.\n 3. This notice may not be removed or altered from any source distribution." + - score: '100.0' + start_line: 529 + end_line: 545 + matcher: 2-aho + rule_length: 138 + matched_length: 138 + match_coverage: '100.0' + rule_relevance: 100 + identifier: d-zlib.LICENSE + license_expression: d-zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is provided 'as-is', without any express or implied\n warranty.\ + \ In no event will the authors be held liable for any damages\n arising from the use of\ + \ this software.\n \n Permission is granted to anyone to use this software for any purpose,\n\ + \ including commercial applications, and to alter it and redistribute it\n freely, in\ + \ both source and binary form, subject to the following\n restrictions:\n \n o The origin\ + \ of this software must not be misrepresented; you must not\n claim that you wrote\ + \ the original software. If you use this software\n in a product, an acknowledgment\ + \ in the product documentation would be\n appreciated but is not required.\n o Altered\ + \ source versions must be plainly marked as such, and must not\n be misrepresented\ + \ as being the original software.\n o This notice may not be removed or altered from\ + \ any source\n distribution." + - score: '100.0' + start_line: 557 + end_line: 574 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a\n\ + \ copy of this software and associated documentation files\n (the \"Software\"),\ + \ to deal in the Software without restriction, including\n without limitation the rights\ + \ to use, copy, modify, merge, publish,\n distribute, sublicense, and/or sell copies\ + \ of the Software, and to\n permit persons to whom the Software is furnished to do\ + \ so, subject to\n the following conditions:\n \n The above copyright notice and\ + \ this permission notice shall be included\n in all copies or substantial portions\ + \ of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY\ + \ KIND, EXPRESS\n OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\ + \ WITH THE SOFTWARE OR THE\n USE OR OTHER DEALINGS IN THE SOFTWARE." + - score: '100.0' + start_line: 581 + end_line: 598 + matcher: 2-aho + rule_length: 144 + matched_length: 144 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_gcc-exception-3.1_10.RULE + license_expression: gpl-3.0-plus WITH gcc-exception-3.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; you can redistribute it and/or modify it\n \ + \ under the terms of the GNU General Public License as published by the\n Free Software\ + \ Foundation; either version 3, or (at your option) any\n later version.\n \n This\ + \ file is distributed in the hope that it will be useful, but\n WITHOUT ANY WARRANTY;\ + \ without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR\ + \ PURPOSE. See the GNU\n General Public License for more details.\n \n Under Section\ + \ 7 of GPL version 3, you are granted additional\n permissions described in the GCC\ + \ Runtime Library Exception, version\n 3.1, as published by the Free Software Foundation.\n\ + \ \n You should have received a copy of the GNU General Public License and\n a copy\ + \ of the GCC Runtime Library Exception along with this program;\n see the files COPYING3\ + \ and COPYING.RUNTIME respectively. If not, see\n ." + - score: '58.14' + start_line: 606 + end_line: 618 + matcher: 3-seq + rule_length: 129 + matched_length: 75 + match_coverage: '58.14' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_gcc-exception-3.1_14.RULE + license_expression: gpl-3.0-plus WITH gcc-exception-3.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify\n it under the terms\ + \ of the GNU General Public License as published by\n the Free Software Foundation; either\ + \ version 3, or (at your option)\n any later version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but\n WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n General\ + \ Public License for more details.\n \n [gcc]/[gm2]/**/*.[texi]:\n [Copyright] ([C]) [2000],\ + \ [2001], [2002], [2003], [2004], [2005], [2006], [2007], [2008], [2009], [2010],\n [2011],\ + \ [2012], [2012], [2013] Free Software Foundation," + - score: '100.0' + start_line: 620 + end_line: 623 + matcher: 2-aho + rule_length: 46 + matched_length: 46 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_4.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 or + any later version published by the Free Software Foundation; with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + - score: '83.81' + start_line: 629 + end_line: 644 + matcher: 3-seq + rule_length: 105 + matched_length: 88 + match_coverage: '83.81' + rule_relevance: 100 + identifier: lgpl-2.1-plus_251.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\ + \ \n [gcc]/[gm2]/[ulm]-[lib]-[gm2]:\n [Copyright] ([C]) [2004], [2005], [2006], [2007],\ + \ [2008], [2009], [2010]\n [Free] [Software] [Foundation], [Inc].\n \n [GNU]\ + \ [Modula]-[2] [is] [free] [software]; [you] [can] [redistribute] [it] [and]/[or] [modify]\ + \ [it] [under]\n [the] [terms] of the GNU General Public License" + - score: '100.0' + start_line: 643 + end_line: 646 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_111.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 3, or (at your option) any later + version. + - score: '100.0' + start_line: 661 + end_line: 669 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '100.0' + start_line: 675 + end_line: 683 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '96.05' + start_line: 705 + end_line: 713 + matcher: 3-seq + rule_length: 76 + matched_length: 73 + match_coverage: '96.05' + rule_relevance: 100 + identifier: gpl-2.0-plus_287.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GNU [Modula]-[2] is free software; you can redistribute it and/or modify\n\ + \ it under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation; either version [3], or (at your option)\n any later version.\n \n GNU [Modula]-[2]\ + \ is distributed in the hope that it will be useful, but\n WITHOUT ANY WARRANTY; without\ + \ even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\ + \ See the GNU\n General Public License for more details." + - score: '97.3' + start_line: 728 + end_line: 736 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied\ + \ warranty of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\ + \ Public License\n for more details." + - score: '95.0' + start_line: 739 + end_line: 739 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 95 + identifier: gpl-3.0_and_lgpl-2.1_1.RULE + license_expression: gpl-3.0 AND lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This has a mix of licenses, both LGPL-2.1 and GPL-3.0, plus the apparently + - score: '100.0' + start_line: 757 + end_line: 765 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '25.0' + start_line: 764 + end_line: 769 + matcher: 3-seq + rule_length: 36 + matched_length: 9 + match_coverage: '25.0' + rule_relevance: 100 + identifier: lgpl-2.1_90.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "the GNU\n Lesser General Public License [for] [more] [details].\n \n [gcc]/[gm2]/[gm2]-[libs]-[iso]/*.[mod]:\n\ + \ \n [Copyright] ([C]) [2012] Free Software Foundation," + - score: '97.3' + start_line: 771 + end_line: 779 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied\ + \ warranty of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\ + \ Public License\n for more details." + - score: '100.0' + start_line: 785 + end_line: 793 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '50.0' + start_line: 797 + end_line: 797 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: lgpl-3.0_AND_gpl-3.0_3.RULE + license_expression: lgpl-3.0 AND gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: mix of GPL-3.0 and LGPL-3.0 + - score: '55.0' + start_line: 801 + end_line: 801 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.RULE + license_expression: gpl-3.0 AND lgpl-2.1 AND lgpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: mix of GPL-3.0 and LGPL-2.1/3 + - score: '55.0' + start_line: 805 + end_line: 805 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.RULE + license_expression: gpl-3.0 AND lgpl-2.1 AND lgpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: mix of GPL-3.0 and LGPL-2.1/3 + - score: '50.0' + start_line: 809 + end_line: 809 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: lgpl-2.0_and_gpl-3.0_1.RULE + license_expression: lgpl-2.0 AND gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of LGPL-2.1 and GPL-3.0. + - score: '100.0' + start_line: 812 + end_line: 812 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_89.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL-3+ + - score: '87.88' + start_line: 815 + end_line: 821 + matcher: 3-seq + rule_length: 66 + matched_length: 58 + match_coverage: '87.88' + rule_relevance: 100 + identifier: gpl-1.0-plus_447.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission to copy, modify and redistribute + ;; GNU Emacs, [but] [only] [under] [the] [conditions] [described] [in] [the] + ;; [GNU] [Emacs] General Public License. A copy of this license is + ;; supposed to have been given to you along with [GNU] [Emacs] so you + ;; can know your rights and responsibilities. It should be in a + ;; file named COPYING. Among other things, the copyright notice + ;; and this notice must be preserved on all copies. + - score: '7.81' + start_line: 816 + end_line: 817 + matcher: 3-seq + rule_length: 64 + matched_length: 5 + match_coverage: '7.81' + rule_relevance: 100 + identifier: gpl-2.0_443.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the + ;; GNU [Emacs] General Public License. + - score: '44.0' + start_line: 826 + end_line: 826 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 44 + identifier: gpl-3.0_and_lgpl-2.1_2.RULE + license_expression: gpl-3.0 AND lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of GPL-3 and LGPL-2.1. + - score: '38.0' + start_line: 830 + end_line: 830 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 38 + identifier: gpl-2.0-plus_and_gpl-3.0-plus_3.RULE + license_expression: gpl-2.0-plus AND gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of GPL-2+ and GPL-3+ + - score: '100.0' + start_line: 837 + end_line: 845 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '25.0' + start_line: 844 + end_line: 848 + matcher: 3-seq + rule_length: 36 + matched_length: 9 + match_coverage: '25.0' + rule_relevance: 100 + identifier: lgpl-2.1_90.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "the GNU\n Lesser General Public License [for] [more] [details].\n \n [libgm2]/[libpim]/:\n\ + \ [Copyright] ([C]) [2005]-[2014] Free Software Foundation," + - score: '55.0' + start_line: 849 + end_line: 849 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: lgpl-2.1_and_lgpl-3.0_and_gpl-3.0_1.RULE + license_expression: lgpl-2.1 AND lgpl-3.0 AND gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of LGPL-2.1, LGPL-3 and GPL-3. + - score: '44.0' + start_line: 853 + end_line: 853 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 44 + identifier: lgpl-2.1_and_lgpl-3.0_1.RULE + license_expression: lgpl-2.1 AND lgpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of LGPL-2.1 and LGPL-3. + - score: '100.0' + start_line: 857 + end_line: 857 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPL-2.1+' + - score: '98.78' + start_line: 858 + end_line: 866 + matcher: 3-seq + rule_length: 81 + matched_length: 81 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_40.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2.[1] of the License, or (at your option) any later version. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + - score: '97.3' + start_line: 872 + end_line: 880 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied\ + \ warranty of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\ + \ Public License\n for more details." + - score: '21.62' + start_line: 879 + end_line: 883 + matcher: 3-seq + rule_length: 37 + matched_length: 8 + match_coverage: '21.62' + rule_relevance: 100 + identifier: gpl-2.0-plus_409.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "the GNU General Public License\n [for] [more] [details].\n \n [libgm2]/[libcor]/:\n\ + \ [Copyright] ([C]) [2005]-[2019] Free Software Foundation," + - score: '97.3' + start_line: 886 + end_line: 894 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify\n it under the terms\ + \ of the GNU General Public License as published by\n the Free Software Foundation; either\ + \ version 3, or (at your option)\n any later version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but\n WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n General\ + \ Public License for more details." + - score: '97.3' + start_line: 899 + end_line: 907 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied\ + \ warranty of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\ + \ Public License\n for more details." + - score: '96.05' + start_line: 913 + end_line: 921 + matcher: 3-seq + rule_length: 76 + matched_length: 73 + match_coverage: '96.05' + rule_relevance: 100 + identifier: gpl-2.0-plus_287.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GNU [Modula]-[2] is free software; you can redistribute it and/or modify\n\ + \ it under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation; either version [3], or (at your option)\n any later version.\n \n GNU [Modula]-[2]\ + \ is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without\ + \ even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\ + \ See the\n GNU General Public License for more details." + - score: '100.0' + start_line: 947 + end_line: 953 + matcher: 2-aho + rule_length: 66 + matched_length: 66 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_and_gpl-1.0-plus_2.RULE + license_expression: lgpl-2.0-plus AND gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Parts of this work are licensed under the terms of the GNU General\n Public\ + \ License. On Debian systems, the complete text of this license\n can be found in /usr/share/common-licenses/GPL.\n\ + \ \n Parts of this work are licensed under the terms of the GNU Library\n General Public\ + \ License. On Debian systems, the complete text of this\n license be found in /usr/share/common-licenses/LGPL." + - score: '100.0' + start_line: 962 + end_line: 972 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsla-no-advert.LICENSE + license_expression: bsla-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms are permitted\n provided\ + \ that the above copyright notice and this paragraph are\n duplicated in all such forms\ + \ and that any documentation,\n and other materials related to such distribution and use\ + \ \n acknowledge that the software was developed\n by the University of California, Berkeley.\ + \ The name of the\n University may not be used to endorse or promote products derived\n\ + \ from this software without specific prior written permission.\n THIS SOFTWARE IS PROVIDED\ + \ ``AS IS'' AND WITHOUT ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION,\ + \ THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 979 + end_line: 989 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsla.LICENSE + license_expression: bsla + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 University of California, Berkeley. The name of the + University 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. + - score: '100.0' + start_line: 997 + end_line: 1023 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. All\ + \ advertising materials mentioning features or use of this software\n must display\ + \ the following acknowledgement:\n This product includes software developed by the\ + \ University of\n California, Berkeley and its contributors.\n 4. Neither the name\ + \ of the University nor the names of its contributors\n may be used to endorse or promote\ + \ products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1030 + end_line: 1052 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. Neither\ + \ the name of the University nor the names of its contributors\n may be used to endorse\ + \ or promote products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1064 + end_line: 1090 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. All\ + \ advertising materials mentioning features or use of this software\n must display\ + \ the following acknowledgement:\n This product includes software developed by the\ + \ University of\n California, Berkeley and its contributors.\n 4. Neither the name\ + \ of the University nor the names of its contributors\n may be used to endorse or promote\ + \ products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1097 + end_line: 1109 + matcher: 2-aho + rule_length: 122 + matched_length: 122 + match_coverage: '100.0' + rule_relevance: 100 + identifier: flex-2.5_6.RULE + license_expression: flex-2.5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '61.0' + start_line: 1117 + end_line: 1117 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: bsd-original-uc.RULE + license_expression: bsd-original-uc + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change + - score: '100.0' + start_line: 1127 + end_line: 1129 + matcher: 2-aho + rule_length: 21 + matched_length: 21 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_and_gpl-2.0_and_lgpl-3.0-plus_and_other-copyleft_and_other-permissive_1.RULE + license_expression: gpl-3.0 AND gpl-2.0 AND lgpl-3.0-plus WITH cygwin-exception-lgpl-3.0-plus + AND other-copyleft AND other-permissive + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is a copyrighted work licensed under the terms of the + Cygwin license. Please consult the file "CYGWIN_LICENSE" for + details. + - score: '100.0' + start_line: 1137 + end_line: 1146 + matcher: 2-aho + rule_length: 93 + matched_length: 93 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-lucent.RULE + license_expression: x11-lucent + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n purpose\ + \ without fee is hereby granted, provided that this entire notice\n is included in all\ + \ copies of any software which is or includes a copy\n or modification of this software\ + \ and in all copies of the supporting\n documentation for such software.\n \n THIS SOFTWARE\ + \ IS BEING PROVIDED \"AS IS\", WITHOUT ANY EXPRESS OR IMPLIED\n WARRANTY. IN PARTICULAR,\ + \ NEITHER THE AUTHOR NOR AT&T MAKES ANY\n REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING\ + \ THE MERCHANTABILITY\n OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." + - score: '100.0' + start_line: 1152 + end_line: 1163 + matcher: 2-aho + rule_length: 98 + matched_length: 98 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical_1.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is the property of Advanced Micro Devices, Inc (AMD) which\n\ + \ specifically grants the user the right to modify, use and distribute this\n software\ + \ provided this notice is not removed or altered. All other rights\n are reserved by\ + \ AMD.\n \n AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS\n\ + \ SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL\n DAMAGES\ + \ IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR\n USE OF THIS SOFTWARE.\n\ + \ \n So that all may benefit from your experience, please report any problems\n or \ + \ suggestions about this software" + - score: '100.0' + start_line: 1191 + end_line: 1194 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Developed at SunPro, a Sun Microsystems, Inc. business.\n Permission to use,\ + \ copy, modify, and distribute this\n software is freely granted, provided that this notice\ + \ \n is preserved." + - score: '100.0' + start_line: 1200 + end_line: 1209 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: 1215 + end_line: 1222 + matcher: 2-aho + rule_length: 55 + matched_length: 55 + match_coverage: '100.0' + rule_relevance: 100 + identifier: nilsson-historical.LICENSE + license_expression: nilsson-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software is\n freely\ + \ granted, provided that the above copyright notice, this notice\n and the following disclaimer\ + \ are preserved with no changes.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT\ + \ ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE." + - score: '100.0' + start_line: 1228 + end_line: 1236 + matcher: 2-aho + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: newlib-historical.LICENSE + license_expression: newlib-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, provided + that existing copyright notices are retained in all copies and that this + notice is included verbatim in any distributions. No written agreement, + license, or royalty fee is required for any of the authorized uses. + Modifications to this software may be copyrighted by their authors + and need not follow the licensing terms described here, provided that + the new terms are clearly indicated on the first page of each file where + they apply. + - score: '100.0' + start_line: 1243 + end_line: 1263 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. The\ + \ name of the author may not be used to endorse or promote products\n derived from\ + \ this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, BUT NOT\ + \ LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\ + \ OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '95.0' + start_line: 1269 + end_line: 1280 + matcher: 2-aho + rule_length: 95 + matched_length: 95 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical4.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is the property of [SuperH], Inc ([SuperH]) which specifically\n\ + \ grants the user the right to modify, use and distribute this software\n provided this\ + \ notice is not removed or altered. All other rights are\n reserved by [SuperH].\n \n\ + \ [SUPERH] MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO\n THIS SOFTWARE.\ + \ IN NO EVENT SHALL [SUPERH] BE LIABLE FOR INDIRECT, SPECIAL, \n INCIDENTAL OR CONSEQUENTIAL\ + \ DAMAGES IN CONNECTION WITH OR ARISING FROM\n THE FURNISHING, PERFORMANCE, OR USE OF\ + \ THIS SOFTWARE.\n \n So that all may benefit from your experience, please report any\ + \ problems\n or suggestions about this software to the" + - score: '100.0' + start_line: 1295 + end_line: 1320 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n \n\ + \ 3. Neither the name of KTH nor the names of its contributors may be\n used to endorse\ + \ or promote products derived from this software without\n specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS ``AS IS'' AND ANY\n EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS\ + \ CONTRIBUTORS BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n\ + \ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n SUBSTITUTE GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED\ + \ AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 1327 + end_line: 1346 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1353 + end_line: 1372 + matcher: 2-aho + rule_length: 181 + matched_length: 181 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_newlib3.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS\ + \ BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY\ + \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1379 + end_line: 1398 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '85.71' + start_line: 1402 + end_line: 1415 + matcher: 3-seq + rule_length: 105 + matched_length: 90 + match_coverage: '85.71' + rule_relevance: 100 + identifier: x11-hanson_1.RULE + license_expression: x11-hanson + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Author: S. [L]. [Moshier].\n \n [Copyright] ([c]) [1984],[2000] S.[L]. [Moshier]\n\ + \ \n Permission to use, copy, modify, and distribute this software for any\n purpose without\ + \ fee is hereby granted, provided that this entire notice\n is included in all copies\ + \ of any software which is or includes a copy\n or modification of this software and in\ + \ all copies of the supporting\n documentation for such software.\n \n THIS SOFTWARE IS\ + \ BEING PROVIDED \"AS IS\", WITHOUT ANY EXPRESS OR IMPLIED\n WARRANTY. IN PARTICULAR,\ + \ THE AUTHOR MAKES NO REPRESENTATION\n OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY\ + \ OF THIS\n SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." + - score: '100.0' + start_line: 1422 + end_line: 1441 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1448 + end_line: 1468 + matcher: 2-aho + rule_length: 200 + matched_length: 200 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_76.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. The\ + \ name of the author may not be used to endorse or promote products\n derived from\ + \ this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING, BUT NOT LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL\n THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n\ + \ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF\ + \ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\n OR BUSINESS INTERRUPTION)\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\ + \ SOFTWARE, EVEN IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '27.0' + start_line: 1482 + end_line: 1482 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 27 + identifier: lgpl_39.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Free Software Foundation LGPL License (*- + - score: '100.0' + start_line: 1489 + end_line: 1502 + matcher: 2-aho + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_12.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The GNU C Library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n The GNU C Library is distributed in the hope that it will\ + \ be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n \ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ Lesser General Public\n License along with the GNU C Library; if not, write to the\ + \ Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301\ + \ USA" + - score: '99.0' + start_line: 1504 + end_line: 1504 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 99 + identifier: lgpl_33.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL License ( + - score: '100.0' + start_line: 1508 + end_line: 1516 + matcher: 2-aho + rule_length: 81 + matched_length: 81 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_339.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Library General Public License\n as published by the Free\ + \ Software Foundation; either version 2\n of the License, or (at your option) any later\ + \ version.\n \n This program is distributed\ + \ in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Library\ + \ General Public License for more details." + - score: '100.0' + start_line: 1522 + end_line: 1544 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel-osl-1993.LICENSE + license_expression: intel-osl-1993 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Intel hereby grants you permission to copy, modify, and distribute this\n\ + \ software and its documentation. Intel grants this permission provided\n that the above\ + \ copyright notice appears in all copies and that both the\n copyright notice and this\ + \ permission notice appear in supporting\n documentation. In addition, Intel grants this\ + \ permission provided that\n you prominently mark as \"not part of the original\" any\ + \ modifications\n made to this software or documentation, and that the name of Intel\n\ + \ Corporation not be used in advertising or publicity pertaining to\n distribution of\ + \ the software or the documentation without specific,\n written prior permission.\n \n\ + \ Intel Corporation provides this AS IS, WITHOUT ANY WARRANTY, EXPRESS OR\n IMPLIED, INCLUDING,\ + \ WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY\n OR FITNESS FOR A PARTICULAR PURPOSE.\ + \ Intel makes no guarantee or\n representations regarding the use of, or the results\ + \ of the use of,\n the software and documentation in terms of correctness, accuracy,\n\ + \ reliability, currentness, or otherwise; and you rely on the software,\n documentation\ + \ and results solely at your own risk.\n \n IN NO EVENT SHALL INTEL BE LIABLE FOR ANY\ + \ LOSS OF USE, LOSS OF BUSINESS,\n LOSS OF PROFITS, INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL\ + \ DAMAGES\n OF ANY KIND. IN NO EVENT SHALL INTEL'S TOTAL LIABILITY EXCEED THE SUM\n PAID\ + \ TO INTEL FOR THE PRODUCT LICENSED HEREUNDER." + - score: '100.0' + start_line: 1550 + end_line: 1559 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: 1564 + end_line: 1582 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hs-regexp.LICENSE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of the American Telephone\n and\ + \ Telegraph Company or of the Regents of the University of California.\n \n Permission\ + \ is granted to anyone to use this software for any purpose on\n any computer system,\ + \ and to alter it and redistribute it, subject\n to the following restrictions:\n \n 1.\ + \ The author is not responsible for the consequences of use of this\n software, no\ + \ matter how awful, even if they arise from flaws in it.\n \n 2. The origin of this software\ + \ must not be misrepresented, either by\n explicit claim or by omission. Since few\ + \ users ever read sources,\n credits must appear in the documentation.\n \n 3. Altered\ + \ versions must be plainly marked as such, and must not be\n misrepresented as being\ + \ the original software. Since few users\n ever read sources, credits must appear\ + \ in the documentation.\n \n 4. This notice may not be removed or altered." + - score: '100.0' + start_line: 1589 + end_line: 1608 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1615 + end_line: 1634 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1643 + end_line: 1662 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1674 + end_line: 1697 + matcher: 2-aho + rule_length: 205 + matched_length: 205 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_983.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without \n modification,\ + \ are permitted provided that the following conditions are met: \n \n Redistributions\ + \ of source code must retain the above copyright \n notice, this list of conditions\ + \ and the following disclaimer.\n \n Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ \n The name of Red Hat Incorporated may not be used to endorse \n or promote\ + \ products derived from this software without specific \n prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" \n\ + \ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \n IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED.\ + \ IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\ + \ HOWEVER CAUSED AND \n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n\ + \ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gpgv/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gpgv/copyright-detailed.expected.yml index f82ceb4b0dc..5836e023ddb 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gpgv/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gpgv/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0 -- - GPL-3+ +primary_license: gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0 +declared_license: + - GPL-3+ - GPL-3+ - permissive - permissive @@ -22,16 +23,16 @@ - BSD-3-clause - Expat - CC0-1.0 -- (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) - AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) - AND fsf-unlimited-no-warranty AND fsf-unlimited-no-warranty AND (lgpl-2.1-plus AND lgpl-3.0-plus) - AND mit AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 AND - gpl-3.0) AND ((gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 - AND gpl-3.0) OR bsd-new) AND (lgpl-3.0-plus AND lgpl-3.0-plus AND lgpl-3.0 AND lgpl-3.0) AND - (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) - AND ietf AND bsd-new AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus - AND gpl-3.0 AND gpl-3.0) AND (cc0-1.0 AND cc0-1.0) -- | +license_expression: (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 + AND gpl-3.0) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 + AND gpl-3.0) AND fsf-unlimited-no-warranty AND fsf-unlimited-no-warranty AND (lgpl-2.1-plus + AND lgpl-3.0-plus) AND mit AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus + AND gpl-3.0 AND gpl-3.0) AND ((gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus + AND gpl-3.0 AND gpl-3.0) OR bsd-new) AND (lgpl-3.0-plus AND lgpl-3.0-plus AND lgpl-3.0 AND + lgpl-3.0) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 + AND gpl-3.0) AND ietf AND bsd-new AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND + gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) AND (cc0-1.0 AND cc0-1.0) +copyright: | 1992, 1995-2020, Free Software Foundation, Inc 1998-2007, 2009, 2012, Free Software Foundation, Inc 2013, Werner Koch @@ -55,3 +56,448 @@ Daniel Kahn Gillmor NIIBE Yutaka 2017 Daniel Kahn Gillmor +matches: + - score: '99.05' + start_line: 1 + end_line: 26 + matcher: 1-hash + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_594.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + Neither the name of [Dimitrios] [Souflis] nor the names of the + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. + - score: '90.0' + start_line: 6 + end_line: 21 + matcher: 2-aho + rule_length: 149 + matched_length: 149 + match_coverage: '100.0' + rule_relevance: 90 + identifier: ietf_7.RULE + license_expression: ietf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document and translations of it may be copied and furnished to + others, and derivative works that comment on or otherwise explain it + or assist in its implementation may be prepared, copied, published + and distributed, in whole or in part, without restriction of any + kind, provided that the above copyright notice and this paragraph + are included on all such copies and derivative works. However, this + document itself may not be modified in any way, such as by removing + the copyright notice or references to the Internet Society or other + Internet organizations, except as needed for the purpose of + developing Internet standards in which case the procedures for + copyrights defined in the Internet Standards process must be + followed, or as required to translate it into languages other than + English. + + The limited permissions granted above are perpetual and will not be + revoked by the Internet Society or its successors or assigns. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_98.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + - score: '100.0' + start_line: 6 + end_line: 9 + matcher: 2-aho + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_421.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_36.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; if not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 3 + - score: '33.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_162.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 3 of + the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this program; if not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_51.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Lesser General Public + License version 3 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_41.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '88.97' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 136 + matched_length: 121 + match_coverage: '88.97' + rule_relevance: 100 + identifier: lgpl-3.0-plus_96.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version [2].[1] of + the License, or (at your option) any later version. + + This [program] is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this [program]; [if] [not], [see] <[https]://www.gnu.org/licenses/>. + + On Debian systems, the full text of the GNU Lesser General Public + License version [2].[1] can be found in the file + `/usr/share/common-licenses/LGPL- + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 205 + matched_length: 205 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_910.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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, and the entire permission notice in its entirety, + including the disclaimer of warranties. + 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. + 3. The name of the author 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 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 AUTHOR 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. + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to permit + persons to whom the Software is furnished to do so, subject to the + following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN + NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE + USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 1-hash + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_131.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all + copyright and related and neighboring rights to this software to the public + domain worldwide. This software is distributed without any warranty. + + On Debian systems, the complete text of the CC0 license, version 1.0, + can be found in /usr/share/common-licenses/CC0-1.0. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gpgv/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gpgv/copyright.expected.yml index dcfda3e2cd4..cdb333ba220 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gpgv/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gpgv/copyright.expected.yml @@ -1,5 +1,6 @@ -- gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0 -- - GPL-3+ +primary_license: gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0 +declared_license: + - GPL-3+ - permissive - LGPL-2.1+ - Expat @@ -9,10 +10,10 @@ - TinySCHEME - CC0-1.0 - BSD-3-clause -- (gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0) AND fsf-unlimited-no-warranty AND (lgpl-2.1-plus - AND lgpl-3.0-plus) AND mit AND ((gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0) OR bsd-new) AND - (lgpl-3.0-plus AND lgpl-3.0) AND ietf AND bsd-new AND cc0-1.0 -- | +license_expression: (gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0) AND fsf-unlimited-no-warranty + AND (lgpl-2.1-plus AND lgpl-3.0-plus) AND mit AND ((gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0) + OR bsd-new) AND (lgpl-3.0-plus AND lgpl-3.0) AND ietf AND bsd-new AND cc0-1.0 +copyright: | 1992, 1995-2020, Free Software Foundation, Inc 1998-2007, 2009, 2012, Free Software Foundation, Inc 2013, Werner Koch @@ -32,3 +33,448 @@ 2000, Dimitrios Souflis 2016, Justus Winter, Werner Koch 2017 Daniel Kahn Gillmor +matches: + - score: '99.05' + start_line: 1 + end_line: 26 + matcher: 1-hash + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_594.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + Neither the name of [Dimitrios] [Souflis] nor the names of the + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. + - score: '90.0' + start_line: 6 + end_line: 21 + matcher: 2-aho + rule_length: 149 + matched_length: 149 + match_coverage: '100.0' + rule_relevance: 90 + identifier: ietf_7.RULE + license_expression: ietf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document and translations of it may be copied and furnished to + others, and derivative works that comment on or otherwise explain it + or assist in its implementation may be prepared, copied, published + and distributed, in whole or in part, without restriction of any + kind, provided that the above copyright notice and this paragraph + are included on all such copies and derivative works. However, this + document itself may not be modified in any way, such as by removing + the copyright notice or references to the Internet Society or other + Internet organizations, except as needed for the purpose of + developing Internet standards in which case the procedures for + copyrights defined in the Internet Standards process must be + followed, or as required to translate it into languages other than + English. + + The limited permissions granted above are perpetual and will not be + revoked by the Internet Society or its successors or assigns. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_98.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + - score: '100.0' + start_line: 6 + end_line: 9 + matcher: 2-aho + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_421.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_36.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; if not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 3 + - score: '33.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_162.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 3 of + the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this program; if not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_51.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Lesser General Public + License version 3 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_41.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '88.97' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 136 + matched_length: 121 + match_coverage: '88.97' + rule_relevance: 100 + identifier: lgpl-3.0-plus_96.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version [2].[1] of + the License, or (at your option) any later version. + + This [program] is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this [program]; [if] [not], [see] <[https]://www.gnu.org/licenses/>. + + On Debian systems, the full text of the GNU Lesser General Public + License version [2].[1] can be found in the file + `/usr/share/common-licenses/LGPL- + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 205 + matched_length: 205 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_910.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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, and the entire permission notice in its entirety, + including the disclaimer of warranties. + 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. + 3. The name of the author 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 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 AUTHOR 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. + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to permit + persons to whom the Software is furnished to do so, subject to the + following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN + NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE + USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 1-hash + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_131.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all + copyright and related and neighboring rights to this software to the public + domain worldwide. This software is distributed without any warranty. + + On Debian systems, the complete text of the CC0 license, version 1.0, + can be found in /usr/share/common-licenses/CC0-1.0. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/grep/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/grep/copyright-detailed.expected.yml index 1799ccd5245..33282aaa429 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/grep/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/grep/copyright-detailed.expected.yml @@ -1,9 +1,11 @@ -- gpl-3.0-plus AND gpl-3.0 -- - GPL-3+ +primary_license: gpl-3.0-plus AND gpl-3.0 +declared_license: - GPL-3+ - GPL-3+ -- (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) -- | + - GPL-3+ +license_expression: (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (gpl-3.0-plus AND gpl-3.0-plus + AND gpl-3.0) +copyright: | 1992, 1997-2002, 2004-2012 Free Software Foundation, Inc. 2004, Stepan Kasal 2007, Tony Abou-Assaleh @@ -14,3 +16,68 @@ 2003, Clint Adams Mon, 10 Mar 2003 02:10:32 -0500 2001 Robert van der Meulen 1996-2000 Wichert Akkerman +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 4 + end_line: 17 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_4.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. + - score: '94.0' + start_line: 21 + end_line: 22 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 94 + identifier: gpl-3.0_393.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On a Debian system you can find a copy of this license in + /usr/share/common-licenses/GPL-3. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/grep/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/grep/copyright.expected.yml index f84cd7c0501..a8766ac80ff 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/grep/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/grep/copyright.expected.yml @@ -1,8 +1,74 @@ -- gpl-3.0-plus AND gpl-3.0 -- - GPL-3+ -- gpl-3.0-plus AND gpl-3.0 -- | +primary_license: gpl-3.0-plus AND gpl-3.0 +declared_license: + - GPL-3+ +license_expression: gpl-3.0-plus AND gpl-3.0 +copyright: | 1992, 1997-2002, 2004-2012 Free Software Foundation, Inc. 2004, Stepan Kasal 2007, Tony Abou-Assaleh 2009-2012, Jim Meyering and Paolo Bonzini +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 4 + end_line: 17 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_4.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. + - score: '94.0' + start_line: 21 + end_line: 22 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 94 + identifier: gpl-3.0_393.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On a Debian system you can find a copy of this license in + /usr/share/common-licenses/GPL-3. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gzip/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gzip/copyright-detailed.expected.yml index e443f0b3e48..d0849c029f7 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gzip/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gzip/copyright-detailed.expected.yml @@ -1,14 +1,15 @@ -- gpl-3.0-plus AND gpl-1.0-plus -- - GPL-3+ +primary_license: gpl-3.0-plus AND gpl-1.0-plus +declared_license: + - GPL-3+ - GPL-3+ - GFDL-1.3+-no-invariant - FSF-manpages - GPL-3+ - GFDL-1.3+-no-invariant - FSF-manpages -- (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus) - AND gfdl-1.2-plus AND latex2e -- | +license_expression: (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus) AND (gpl-3.0-plus AND gpl-3.0-plus + AND gpl-1.0-plus) AND gfdl-1.2-plus AND latex2e +copyright: | 1999-2016 Free Software Foundation, Inc. 1992-1993 Jean-loup Gailly and Mark Adler 1995-2017 Bdale Garbee @@ -16,3 +17,124 @@ 1992-1993 Jean-loup Gailly 1998-2016 Free Software Foundation, Inc. 1992-1993 Jean-loup Gailly +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_8.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_10.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL- + - score: '80.72' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 83 + matched_length: 67 + match_coverage: '80.72' + rule_relevance: 100 + identifier: gfdl-1.2-plus_11.RULE + license_expression: gfdl-1.2-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.[3] or + any later version published by the Free Software Foundation; with no + Invariant Sections, with no Front-Cover Texts, and with no Back-Cover + Texts. + + [On] [Debian] GNU/[Linux] systems, the complete text of the GNU Free Documentation + License can be found in `/usr/share/common-licenses/GFDL- + - score: '85.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 138 + matched_length: 138 + match_coverage: '100.0' + rule_relevance: 85 + identifier: latex2e_8.RULE + license_expression: latex2e + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to make and distribute verbatim copies of + this manual provided the copyright notice and this permission notice + are preserved on all copies. + + Permission is granted to process this file through troff and print the + results, provided the printed document carries copying permission + notice identical to this one except for the removal of this paragraph + (this paragraph not being relevant to the printed manual). + + Permission is granted to copy and distribute modified versions of this + manual under the conditions for verbatim copying, provided that the entire + resulting derived work is distributed under the terms of a permission + notice identical to this one. + + Permission is granted to copy and distribute translations of this manual + into another language, under the above conditions for modified versions, + except that this permission notice may be stated in a translation approved + by the Foundation. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gzip/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gzip/copyright.expected.yml index 634c6b58513..2643e65f31c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gzip/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gzip/copyright.expected.yml @@ -1,11 +1,133 @@ -- gpl-3.0-plus AND gpl-1.0-plus -- - GPL-3+ +primary_license: gpl-3.0-plus AND gpl-1.0-plus +declared_license: + - GPL-3+ - GFDL-1.3+-no-invariant - FSF-manpages -- (gpl-3.0-plus AND gpl-1.0-plus) AND gfdl-1.2-plus AND latex2e -- | +license_expression: (gpl-3.0-plus AND gpl-1.0-plus) AND gfdl-1.2-plus AND latex2e +copyright: | 1999-2016 Free Software Foundation, Inc. 1992-1993 Jean-loup Gailly and Mark Adler 1999-2016 Free Software Foundation, Inc. http://fsf.org/ 1992-1993 Jean-loup Gailly 1998-2016 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_8.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_10.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL- + - score: '80.72' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 83 + matched_length: 67 + match_coverage: '80.72' + rule_relevance: 100 + identifier: gfdl-1.2-plus_11.RULE + license_expression: gfdl-1.2-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.[3] or + any later version published by the Free Software Foundation; with no + Invariant Sections, with no Front-Cover Texts, and with no Back-Cover + Texts. + + [On] [Debian] GNU/[Linux] systems, the complete text of the GNU Free Documentation + License can be found in `/usr/share/common-licenses/GFDL- + - score: '85.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 138 + matched_length: 138 + match_coverage: '100.0' + rule_relevance: 85 + identifier: latex2e_8.RULE + license_expression: latex2e + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to make and distribute verbatim copies of + this manual provided the copyright notice and this permission notice + are preserved on all copies. + + Permission is granted to process this file through troff and print the + results, provided the printed document carries copying permission + notice identical to this one except for the removal of this paragraph + (this paragraph not being relevant to the printed manual). + + Permission is granted to copy and distribute modified versions of this + manual under the conditions for verbatim copying, provided that the entire + resulting derived work is distributed under the terms of a permission + notice identical to this one. + + Permission is granted to copy and distribute translations of this manual + into another language, under the above conditions for modified versions, + except that this permission notice may be stated in a translation approved + by the Foundation. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/hostname/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/hostname/copyright-detailed.expected.yml index 5b2d1f1efbc..3420deed34a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/hostname/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/hostname/copyright-detailed.expected.yml @@ -1,9 +1,35 @@ -- -- -- gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0 +copyright: | Copyright (c) 2009 Michael Meskes Copyright (c) 2004-2005 Graham Wilson Copyright (c) 1997 Bernd Eckenfels Copyright (c) 1997 Peter Tobias Copyright (c) 1996 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 12 + end_line: 26 + matcher: 2-aho + rule_length: 128 + matched_length: 128 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1033.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \t\ + it under the terms of the GNU General Public License as published by\n \tthe Free Software\ + \ Foundation; version 2 of the License.\n \n \tThis program is distributed in the hope\ + \ that it will be useful,\n \tbut WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n \tMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n \tGNU General\ + \ Public License for more details.\n \n \tYou should have received a copy of the GNU General\ + \ Public License\n \talong with this program; if not, write to the Free Software\n \t\ + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n \n On Debian\ + \ systems, the complete text of the GNU General Public License\n can be found in /usr/share/common-licenses/GPL-2\ + \ file." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/hostname/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/hostname/copyright.expected.yml index 5b2d1f1efbc..3420deed34a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/hostname/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/hostname/copyright.expected.yml @@ -1,9 +1,35 @@ -- -- -- gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0 +copyright: | Copyright (c) 2009 Michael Meskes Copyright (c) 2004-2005 Graham Wilson Copyright (c) 1997 Bernd Eckenfels Copyright (c) 1997 Peter Tobias Copyright (c) 1996 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 12 + end_line: 26 + matcher: 2-aho + rule_length: 128 + matched_length: 128 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1033.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \t\ + it under the terms of the GNU General Public License as published by\n \tthe Free Software\ + \ Foundation; version 2 of the License.\n \n \tThis program is distributed in the hope\ + \ that it will be useful,\n \tbut WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n \tMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n \tGNU General\ + \ Public License for more details.\n \n \tYou should have received a copy of the GNU General\ + \ Public License\n \talong with this program; if not, write to the Free Software\n \t\ + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n \n On Debian\ + \ systems, the complete text of the GNU General Public License\n can be found in /usr/share/common-licenses/GPL-2\ + \ file." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/init-system-helpers/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/init-system-helpers/copyright-detailed.expected.yml index 5e15b0a3fee..1da44bfe215 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/init-system-helpers/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/init-system-helpers/copyright-detailed.expected.yml @@ -1,14 +1,15 @@ -- bsd-new -- - BSD-3-clause +primary_license: bsd-new +declared_license: + - BSD-3-clause - BSD-3-clause - GPL-2+ - GPL-2+ - GPL-2+ - GPL-2+ - BSD-3-clause -- bsd-new AND bsd-new AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) - AND (gpl-2.0-plus AND gpl-2.0-plus) -- | +license_expression: bsd-new AND bsd-new AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus + AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) +copyright: | 2013 Michael Stapelberg 2013 Michael Stapelberg 2006 Red Hat, Inc @@ -16,3 +17,92 @@ 2000,2001 Henrique de Moraes Holschuh 1997-2005 Miquel van Smoorenburg Members of the pkg-sysvinit project +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '97.5' + start_line: 4 + end_line: 27 + matcher: 3-seq + rule_length: 200 + matched_length: '195' + match_coverage: '97.5' + rule_relevance: 100 + identifier: bsd-new_238.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + * Neither the name of [Michael] [Stapelberg] [nor] [the] + [names] [of] contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY [Michael] [Stapelberg] ''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 [Michael] [Stapelberg] 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/init-system-helpers/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/init-system-helpers/copyright.expected.yml index 466e8971dca..2be2a308d67 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/init-system-helpers/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/init-system-helpers/copyright.expected.yml @@ -1,11 +1,101 @@ -- bsd-new -- - BSD-3-clause +primary_license: bsd-new +declared_license: + - BSD-3-clause - GPL-2+ -- bsd-new AND gpl-2.0-plus -- | +license_expression: bsd-new AND gpl-2.0-plus +copyright: | 2013 Michael Stapelberg 2006 Red Hat, Inc 2008 Canonical Ltd 2000,2001 Henrique de Moraes Holschuh 1997-2005 Miquel van Smoorenburg Members of the pkg-sysvinit project +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '97.5' + start_line: 4 + end_line: 27 + matcher: 3-seq + rule_length: 200 + matched_length: '195' + match_coverage: '97.5' + rule_relevance: 100 + identifier: bsd-new_238.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + * Neither the name of [Michael] [Stapelberg] [nor] [the] + [names] [of] contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY [Michael] [Stapelberg] ''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 [Michael] [Stapelberg] 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libacl1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libacl1/copyright-detailed.expected.yml index 0a8fc9995bc..0a3ecc97a0b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libacl1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libacl1/copyright-detailed.expected.yml @@ -1,11 +1,247 @@ -- gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - LGPL-2+ -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-1.0-plus - AND gpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus - AND lgpl-2.1) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-2.0) + AND (gpl-1.0-plus AND gpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.1-plus AND + lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1) +copyright: | Copyright © 2000-2008 Silicon Graphics, Inc. Copyright © 1999-2001,2007-2009 Andreas Gruenbacher Copyright © 2001-2002 Silicon Graphics, Inc. Copyright © 1999-2003,2007,2009,2011 Andreas Gruenbacher +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_286.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_36.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '99.05' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 105 + matched_length: 104 + match_coverage: '99.05' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2.[1] of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see <[https]://www.gnu.org/licenses/>. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '61.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: lgpl-2.1_292.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in '/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '61.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: lgpl-2.1_292.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in '/usr/share/common-licenses/LGPL-2.1'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libacl1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libacl1/copyright.expected.yml index a580c9937e7..98d5c96bb7a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libacl1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libacl1/copyright.expected.yml @@ -1,10 +1,246 @@ -- gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - LGPL-2+ -- (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-1.0-plus AND gpl-2.0) AND (lgpl-2.0-plus - AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1) -- | +license_expression: (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-1.0-plus AND gpl-2.0) + AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1) +copyright: | Copyright © 2000-2008 Silicon Graphics, Inc. Copyright © 1999-2001,2007-2009 Andreas Gruenbacher Copyright © 2001-2002 Silicon Graphics, Inc. Copyright © 1999-2003,2007,2009,2011 Andreas Gruenbacher +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_286.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_36.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '99.05' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 105 + matched_length: 104 + match_coverage: '99.05' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2.[1] of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see <[https]://www.gnu.org/licenses/>. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '61.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: lgpl-2.1_292.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in '/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '61.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: lgpl-2.1_292.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in '/usr/share/common-licenses/LGPL-2.1'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libapt-pkg6.0/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libapt-pkg6.0/copyright-detailed.expected.yml index d7be1d252cf..2eecb2802ad 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libapt-pkg6.0/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libapt-pkg6.0/copyright-detailed.expected.yml @@ -1,4 +1,47 @@ -- -- -- gpl-2.0-plus AND gpl-2.0-plus -- copyright 1997, 1998, 1999 Jason Gunthorpe and others +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0-plus +copyright: copyright 1997, 1998, 1999 Jason Gunthorpe and others +matches: + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_374.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv2+' + - score: '100.0' + start_line: 6 + end_line: 22 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_736.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 2 of the License, or\n (at your option) any\ + \ later version.\n \n This program is distributed in the hope that it will be useful,\n\ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program; if not, write to the Free Software\n Foundation, Inc.,\ + \ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.\n \n See /usr/share/common-licenses/GPL-2,\ + \ or\n for the terms of the latest version\n of\ + \ the GNU General Public License." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libapt-pkg6.0/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libapt-pkg6.0/copyright.expected.yml index e82bc59515f..1fbbb02b3b3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libapt-pkg6.0/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libapt-pkg6.0/copyright.expected.yml @@ -1,4 +1,47 @@ -- -- -- gpl-2.0-plus -- copyright 1997, 1998, 1999 Jason Gunthorpe and others +primary_license: +declared_license: +license_expression: gpl-2.0-plus +copyright: copyright 1997, 1998, 1999 Jason Gunthorpe and others +matches: + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_374.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv2+' + - score: '100.0' + start_line: 6 + end_line: 22 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_736.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 2 of the License, or\n (at your option) any\ + \ later version.\n \n This program is distributed in the hope that it will be useful,\n\ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program; if not, write to the Free Software\n Foundation, Inc.,\ + \ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.\n \n See /usr/share/common-licenses/GPL-2,\ + \ or\n for the terms of the latest version\n of\ + \ the GNU General Public License." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libattr1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libattr1/copyright-detailed.expected.yml index fbc35082d92..5b28e670deb 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libattr1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libattr1/copyright-detailed.expected.yml @@ -1,11 +1,247 @@ -- gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - LGPL-2+ -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-1.0-plus - AND gpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus - AND lgpl-2.1) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-2.0) + AND (gpl-1.0-plus AND gpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.1-plus AND + lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1) +copyright: | Copyright © 2000-2007 Silicon Graphics, Inc. Copyright © 2001-2003,2006-2007,2009 Andreas Gruenbacher Copyright © 2001-2005 Silicon Graphics, Inc. Copyright © 2002,2003,2006-2007,2009 Andreas Gruenbacher +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_286.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_36.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '99.05' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 105 + matched_length: 104 + match_coverage: '99.05' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2.[1] of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see <[https]://www.gnu.org/licenses/>. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '61.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: lgpl-2.1_292.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in '/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '61.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: lgpl-2.1_292.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in '/usr/share/common-licenses/LGPL-2.1'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libattr1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libattr1/copyright.expected.yml index aaebf277f27..eb9da64c5ba 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libattr1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libattr1/copyright.expected.yml @@ -1,10 +1,246 @@ -- gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - LGPL-2+ -- (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-1.0-plus AND gpl-2.0) AND (lgpl-2.0-plus - AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1) -- | +license_expression: (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-1.0-plus AND gpl-2.0) + AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1) +copyright: | Copyright © 2000-2007 Silicon Graphics, Inc. Copyright © 2001-2003,2006-2007,2009 Andreas Gruenbacher Copyright © 2001-2005 Silicon Graphics, Inc. Copyright © 2002,2003,2006-2007,2009 Andreas Gruenbacher +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_286.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_36.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '99.05' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 105 + matched_length: 104 + match_coverage: '99.05' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2.[1] of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see <[https]://www.gnu.org/licenses/>. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '61.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: lgpl-2.1_292.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in '/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '61.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: lgpl-2.1_292.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in '/usr/share/common-licenses/LGPL-2.1'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libaudit-common/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libaudit-common/copyright-detailed.expected.yml index c6195fbbb54..98c9ccefa32 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libaudit-common/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libaudit-common/copyright-detailed.expected.yml @@ -1,15 +1,128 @@ -- gpl-2.0 -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - GPL-2 - LGPL-2.1 - GPL-2 - GPL-2 -- (gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.0-plus AND lgpl-2.1 - AND lgpl-2.1-plus) AND (gpl-2.0 AND gpl-2.0) -- | +license_expression: (gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.0-plus + AND lgpl-2.1 AND lgpl-2.1-plus) AND (gpl-2.0 AND gpl-2.0) +copyright: | 2012-2016 Steve Grubb 2006-2012 Rik Faith 2007-2009 Marc Alexamder Lehmann 2005-2008 Steve Grubb 2007-2011 Philipp Matthias Hahn 2012-2016 Laurent Bigonville +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_189.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: released under LGPL + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1 + - score: '100.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1031.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2, + as published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-1'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libaudit-common/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libaudit-common/copyright.expected.yml index 9d8ec74b751..92200853b8b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libaudit-common/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libaudit-common/copyright.expected.yml @@ -1,9 +1,122 @@ -- gpl-2.0 -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - LGPL-2.1 -- gpl-2.0 AND (lgpl-2.1 AND lgpl-2.0-plus AND lgpl-2.1-plus) -- | +license_expression: gpl-2.0 AND (lgpl-2.1 AND lgpl-2.0-plus AND lgpl-2.1-plus) +copyright: | 2012-2016 Steve Grubb 2006-2012 Rik Faith 2007-2009 Marc Alexamder Lehmann 2005-2008 Steve Grubb +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_189.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: released under LGPL + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1 + - score: '100.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1031.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2, + as published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-1'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libblkid1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libblkid1/copyright-detailed.expected.yml index 9d40a8e3a7a..3da8450c864 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libblkid1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libblkid1/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - GPL-2 - GPL-2 @@ -43,20 +44,20 @@ - LGPL-2.1+ - LGPL-3+ - MIT -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 - AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND - gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc AND mit - AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new AND - (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) - AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND - lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND + gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc + AND mit AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new + AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND + lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-3.0-plus AND lgpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) -- | +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -249,3 +250,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3) Neither the name of the [ORGANIZATION] 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 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. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libblkid1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libblkid1/copyright.expected.yml index f705a1146cf..4fa8dffb131 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libblkid1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libblkid1/copyright.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - public-domain - BSD-4-clause @@ -11,10 +12,10 @@ - GPL-3+ - LGPL - LGPL-3+ -- (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 AND public-domain AND bsd-original-uc AND mit AND bsd-simplified - AND bsd-new AND (lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1) AND (gpl-3.0-plus - AND gpl-3.0) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND lgpl-3.0-plus -- | +license_expression: (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 AND public-domain AND bsd-original-uc + AND mit AND bsd-simplified AND bsd-new AND (lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND lgpl-3.0-plus +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -194,3 +195,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3) Neither the name of the [ORGANIZATION] 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 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. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libbz2-1.0/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libbz2-1.0/copyright-detailed.expected.yml index 9294089dd8c..63fa91faaa8 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libbz2-1.0/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libbz2-1.0/copyright-detailed.expected.yml @@ -1,8 +1,9 @@ -- bzip2-libbzip-2010 -- - BSD-variant +primary_license: bzip2-libbzip-2010 +declared_license: + - BSD-variant - GPL-2 -- bzip2-libbzip-2010 AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) -- | +license_expression: bzip2-libbzip-2010 AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) +copyright: | 1996-2010 Julian R Seward 2018 Nicolas Boulenguez 2012-2015 Santiago Ruano Rincón @@ -10,3 +11,98 @@ 2004-2011 Anibal Monsalve Salazar 1999-2002 Philippe Troin 1997-1999 Anthony Fok +matches: + - score: '100.0' + start_line: 1 + end_line: 30 + matcher: 1-hash + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bzip2-libbzip-2010.LICENSE + license_expression: bzip2-libbzip-2010 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + + 3. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 4. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License version 2 + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libbz2-1.0/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libbz2-1.0/copyright.expected.yml index f4ef519b79c..b595fd1d818 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libbz2-1.0/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libbz2-1.0/copyright.expected.yml @@ -1,4 +1,100 @@ -- bzip2-libbzip-2010 -- - BSD-variant -- bzip2-libbzip-2010 -- '1996-2010 Julian R Seward ' +primary_license: bzip2-libbzip-2010 +declared_license: + - BSD-variant +license_expression: bzip2-libbzip-2010 +copyright: '1996-2010 Julian R Seward ' +matches: + - score: '100.0' + start_line: 1 + end_line: 30 + matcher: 1-hash + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bzip2-libbzip-2010.LICENSE + license_expression: bzip2-libbzip-2010 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + + 3. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 4. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License version 2 + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc-bin/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc-bin/copyright-detailed.expected.yml index c5c37b56afb..bc1fa56bcd5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc-bin/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc-bin/copyright-detailed.expected.yml @@ -1,10 +1,10 @@ -- -- -- lgpl-2.1-plus AND gpl-2.0-plus AND bsd-new AND bsd-new AND historical AND isc AND bsd-new - AND carnegie-mellon-contributors AND bsd-new AND bsd-new AND bsd-new AND inner-net-2.0 AND - lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus AND other-permissive AND ietf AND bsd-new +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND gpl-2.0-plus AND bsd-new AND bsd-new AND historical AND + isc AND bsd-new AND carnegie-mellon-contributors AND bsd-new AND bsd-new AND bsd-new AND inner-net-2.0 + AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus AND other-permissive AND ietf AND bsd-new AND other-permissive AND hs-regexp AND pcre AND sunpro AND other-permissive AND lgpl-2.1-plus -- | +copyright: | Copyright (c) 1991-2015 Free Software Foundation, Inc. Copyright (c) 1991-2015 Free Software Foundation, Inc. Copyright (c) 1991 Regents of the University of California @@ -34,3 +34,648 @@ (c) Copyright C E Chew copyright Stephen L. Moshier Copyright 2001 by Stephen L. Moshier +matches: + - score: '100.0' + start_line: 10 + end_line: 26 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The GNU C Library is free software; you can redistribute it and/or\n \ + \ modify it under the terms of the GNU Lesser General Public\n License as published\ + \ by the Free Software Foundation; either\n version 2.1 of the License, or (at your\ + \ option) any later version.\n \n The GNU C Library is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser\ + \ General Public License for more details.\n \n You should have received a copy of\ + \ the GNU Lesser General Public\n License along with the GNU C Library; if not, write\ + \ to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n\ + \ 02110-1301 USA\n \n On Debian systems, the complete text of the GNU Library\n\ + \ General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'." + - score: '95.0' + start_line: 33 + end_line: 48 + matcher: 2-aho + rule_length: 135 + matched_length: 135 + match_coverage: '100.0' + rule_relevance: 95 + identifier: gpl-2.0-plus_15.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published\n by the Free\ + \ Software Foundation; version 2 of the License, or\n (at your option) any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\ + \ \n You should have received a copy of the GNU General Public License\n along\ + \ with this program; if not, write to the Free Software Foundation,\n Inc., 51 Franklin\ + \ St, Fifth Floor, Boston, MA 02110-1301 USA.\n \n On Debian systems, the complete text\ + \ of the GNU Library\n General Public License can be found in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 50 + end_line: 51 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_24.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + All code incorporated from 4.4 BSD is distributed under the following + license: + - score: '100.0' + start_line: 56 + end_line: 80 + matcher: 2-aho + rule_length: 218 + matched_length: 218 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_57.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ 3. [This condition was removed.]\n 4. Neither the name of the University nor the\ + \ names of its contributors\n may be used to endorse or promote products derived\ + \ from this software\n without specific prior written permission.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 88 + end_line: 102 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_10.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n \ + \ purpose with or without fee is hereby granted, provided that the above\n copyright\ + \ notice and this permission notice appear in all copies, and\n that the name of Digital\ + \ Equipment Corporation not be used in\n advertising or publicity pertaining to distribution\ + \ of the document or\n software without specific, written prior permission.\n \n \ + \ THE SOFTWARE IS PROVIDED ``AS IS'' AND DIGITAL EQUIPMENT CORP.\n DISCLAIMS ALL\ + \ WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS. IN NO EVENT SHALL\n DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY\ + \ SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER\ + \ RESULTING\n FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\n\ + \ NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION\n WITH\ + \ THE USE OR PERFORMANCE OF THIS SOFTWARE." + - score: '100.0' + start_line: 108 + end_line: 119 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n \ + \ purpose with or without fee is hereby granted, provided that the above\n copyright\ + \ notice and this permission notice appear in all copies.\n \n THE SOFTWARE IS PROVIDED\ + \ \"AS IS\" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS\n ALL WARRANTIES WITH REGARD\ + \ TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS.\ + \ IN NO EVENT SHALL INTERNET SOFTWARE\n CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,\ + \ INDIRECT, OR CONSEQUENTIAL\n DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\ + \ OF USE, DATA OR\n PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER\ + \ TORTIOUS\n ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF\ + \ THIS\n SOFTWARE." + - score: '100.0' + start_line: 126 + end_line: 151 + matcher: 2-aho + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_591.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions are\n met:\n\ + \ \n * Redistributions of source code must retain the above copyright\n \ + \ notice, this list of conditions and the following disclaimer.\n * Redistributions\ + \ in binary form must reproduce the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer in the documentation and/or other materials\n\ + \ provided with the distribution.\n * Neither the name of the \"Oracle\ + \ America, Inc.\" nor the names of its\n contributors may be used to endorse\ + \ or promote products derived\n from this software without specific prior written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED\ + \ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\ + \ FOR ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING\n NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 153 + end_line: 179 + matcher: 2-aho + rule_length: 159 + matched_length: 159 + match_coverage: '100.0' + rule_relevance: 100 + identifier: carnegie-mellon-contributors_3.RULE + license_expression: carnegie-mellon-contributors + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The following CMU license covers some of the support code for Mach,\n derived\ + \ from Mach 3.0:\n \n Mach Operating System\n Copyright (C) 1991,1990,1989 Carnegie\ + \ Mellon University\n All Rights Reserved.\n \n Permission to use, copy, modify\ + \ and distribute this software and its\n documentation is hereby granted, provided\ + \ that both the copyright\n notice and this permission notice appear in all copies\ + \ of the\n software, derivative works or modified versions, and any portions\n \ + \ thereof, and that both notices appear in supporting documentation.\n \n CARNEGIE\ + \ MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS ``AS IS''\n CONDITION. CARNEGIE\ + \ MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR\n ANY DAMAGES WHATSOEVER RESULTING\ + \ FROM THE USE OF THIS SOFTWARE.\n \n Carnegie Mellon requests users of this software\ + \ to return to\n \n Software Distribution Coordinator\n School of Computer Science\n\ + \ Carnegie Mellon University\n Pittsburgh PA 15213-3890\n \n or Software.Distribution@CS.CMU.EDU\ + \ any improvements or\n extensions that they make and grant Carnegie Mellon the rights\ + \ to\n redistribute these changes." + - score: '100.0' + start_line: 181 + end_line: 206 + matcher: 2-aho + rule_length: 219 + matched_length: 219 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_592.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "under the following CMU license:\n \n Redistribution and use in source\ + \ and binary forms, with or without\n modification, are permitted provided that the\ + \ following conditions\n are met:\n 1. Redistributions of source code must retain\ + \ the above copyright\n notice, this list of conditions and the following disclaimer.\n\ + \ 2. Redistributions in binary form must reproduce the above copyright\n \ + \ notice, this list of conditions and the following disclaimer in the\n documentation\ + \ and/or other materials provided with the distribution.\n 3. Neither the name of\ + \ the University nor the names of its contributors\n may be used to endorse or\ + \ promote products derived from this software\n without specific prior written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY AND\n\ + \ CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR\ + \ A PARTICULAR PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE UNIVERSITY OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\n IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\ + \ OF THIS SOFTWARE, EVEN\n IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 208 + end_line: 211 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_593.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The following license covers the files from Intel's \"Highly Optimized\n\ + \ Mathematical Functions for Itanium\" collection:\n \n Intel License Agreement" + - score: '100.0' + start_line: 217 + end_line: 242 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_2.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions are\n met:\n\ + \ \n * Redistributions of source code must retain the above copyright\n notice,\ + \ this list of conditions and the following disclaimer.\n \n * Redistributions in\ + \ binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n \n * The name of Intel Corporation may not be used to endorse\ + \ or promote\n products derived from this software without specific prior written\n\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED\ + \ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL INTEL OR\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT, INCIDENTAL, SPECIAL,\n EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\ + \ DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n\ + \ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 245 + end_line: 280 + matcher: 2-aho + rule_length: 309 + matched_length: 309 + match_coverage: '100.0' + rule_relevance: 100 + identifier: inner-net-2.0_2.RULE + license_expression: inner-net-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under the following license:\n \n /* The Inner Net License,\ + \ Version 2.00\n \n The author(s) grant permission for redistribution and use in\ + \ source and\n binary forms, with or without modification, of the software and documentation\n\ + \ provided that the following conditions are met:\n \n 0. If you receive a version\ + \ of the software that is specifically labelled\n as not being for redistribution\ + \ (check the version message and/or README),\n you are not permitted to redistribute\ + \ that version of the software in any\n way or form.\n 1. All terms of the\ + \ all other applicable copyrights and licenses must be\n followed.\n 2. Redistributions\ + \ of source code must retain the authors' copyright\n notice(s), this list of conditions,\ + \ and the following disclaimer.\n 3. Redistributions in binary form must reproduce\ + \ the authors' copyright\n notice(s), this list of conditions, and the following\ + \ disclaimer in the\n documentation and/or other materials provided with the distribution.\n\ + \ 4. [The copyright holder has authorized the removal of this clause.]\n 5. Neither\ + \ the name(s) of the author(s) nor the names of its contributors\n may be used\ + \ to endorse or promote products derived from this software\n without specific\ + \ prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY ITS AUTHORS AND CONTRIBUTORS\ + \ ``AS IS'' AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\ + \ THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY\n\ + \ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n \ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n \ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n \ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n \n If these license terms cause\ + \ you a real problem, contact the author. */" + - score: '100.0' + start_line: 286 + end_line: 289 + matcher: 2-aho + rule_length: 48 + matched_length: 48 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_177.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is distributed under the terms of the GNU Lesser General + Public License, version 2.1 or later - see the file COPYING.LIB for details. + If you did not receive a copy of the license with this program, please + see to obtain a copy. + - score: '91.96' + start_line: 296 + end_line: 309 + matcher: 3-seq + rule_length: 112 + matched_length: 103 + match_coverage: '91.96' + rule_relevance: 100 + identifier: lgpl-2.1-plus_56.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GNU [Libidn].\n \n [GNU] [Libidn] is free software; you can redistribute\ + \ it and/or\n modify it under the terms of the GNU Lesser General Public\n License\ + \ as published by the Free Software Foundation; either\n version 2.1 of the License,\ + \ or (at your option) any later version.\n \n GNU [Libidn] is distributed in the hope\ + \ that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser\ + \ General Public License for more details.\n \n You should have received a copy of\ + \ the GNU Lesser General Public\n License along with GNU [Libidn]; if not, see ." + - score: '100.0' + start_line: 314 + end_line: 314 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_218.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: all licensed under LGPL + - score: '93.55' + start_line: 324 + end_line: 332 + matcher: 3-seq + rule_length: 93 + matched_length: 87 + match_coverage: '93.55' + rule_relevance: 100 + identifier: other-permissive_punycode_1.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Disclaimer and license: Regarding this entire document or any + portion of it (including the pseudocode and C code), the author + makes no guarantees and is not responsible for any damage resulting + from its use. The author grants irrevocable permission to anyone + to use, modify, and distribute it in any way that does not diminish + the rights of anyone else to use, modify, and distribute it, + provided that redistributed derivative works do not contain + misleading author or version information. Derivative works need + not be licensed under similar terms. + - score: '100.0' + start_line: 336 + end_line: 358 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf.LICENSE + license_expression: ietf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This document and translations of it may be copied and furnished to\n \ + \ others, and derivative works that comment on or otherwise explain it\n or assist\ + \ in its implementation may be prepared, copied, published\n and distributed, in whole\ + \ or in part, without restriction of any\n kind, provided that the above copyright\ + \ notice and this paragraph are\n included on all such copies and derivative works.\ + \ However, this\n document itself may not be modified in any way, such as by removing\n\ + \ the copyright notice or references to the Internet Society or other\n Internet\ + \ organizations, except as needed for the purpose of\n developing Internet standards\ + \ in which case the procedures for\n copyrights defined in the Internet Standards\ + \ process must be\n followed, or as required to translate it into languages other\ + \ than\n English.\n \n The limited permissions granted above are perpetual and\ + \ will not be\n revoked by the Internet Society or its successors or assigns.\n \n\ + \ This document and the information contained herein is provided on an\n \"AS\ + \ IS\" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING\n TASK FORCE DISCLAIMS\ + \ ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING\n BUT NOT LIMITED TO ANY WARRANTY\ + \ THAT THE USE OF THE INFORMATION\n HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED\ + \ WARRANTIES OF\n MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 365 + end_line: 387 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_66.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions\n are met:\n\ + \ 1. Redistributions of source code must retain the above copyright\n notice,\ + \ this list of conditions and the following disclaimer.\n 2. Redistributions in binary\ + \ form must reproduce the above copyright\n notice, this list of conditions and\ + \ the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. Neither the name of the project nor the names of its\ + \ contributors\n may be used to endorse or promote products derived from this software\n\ + \ without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS\ + \ BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR\ + \ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED\ + \ AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS\ + \ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 395 + end_line: 409 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_144.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software and its\n \ + \ documentation for any purpose and without fee is hereby granted,\n provided that\ + \ the above copyright notice appear in all copies and that\n both that copyright notice\ + \ and this permission notice appear in\n supporting documentation, and that the name\ + \ of the copyright holder not be\n used in advertising or publicity pertaining to\ + \ distribution of the\n software without specific, written prior permission.\n \n\ + \ Tom Lord DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,\n INCLUDING\ + \ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO\n EVENT SHALL TOM LORD\ + \ BE LIABLE FOR ANY SPECIAL, INDIRECT OR\n CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER\ + \ RESULTING FROM LOSS OF\n USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\ + \ NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE\ + \ USE OR\n PERFORMANCE OF THIS SOFTWARE." + - score: '100.0' + start_line: 414 + end_line: 432 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hs-regexp.LICENSE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of the American Telephone\n \ + \ and Telegraph Company or of the Regents of the University of California.\n \n \ + \ Permission is granted to anyone to use this software for any purpose on\n any computer\ + \ system, and to alter it and redistribute it, subject\n to the following restrictions:\n\ + \ \n 1. The author is not responsible for the consequences of use of this\n \ + \ software, no matter how awful, even if they arise from flaws in it.\n \n 2. The\ + \ origin of this software must not be misrepresented, either by\n explicit claim\ + \ or by omission. Since few users ever read sources,\n credits must appear in\ + \ the documentation.\n \n 3. Altered versions must be plainly marked as such, and\ + \ must not be\n misrepresented as being the original software. Since few users\n\ + \ ever read sources, credits must appear in the documentation.\n \n 4. This\ + \ notice may not be removed or altered." + - score: '95.0' + start_line: 438 + end_line: 473 + matcher: 2-aho + rule_length: 271 + matched_length: 271 + match_coverage: '100.0' + rule_relevance: 95 + identifier: pcre_2.RULE + license_expression: pcre + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to anyone to use this software for any purpose on any\n\ + \ computer system, and to redistribute it freely, subject to the following\n restrictions:\n\ + \ \n 1. This software is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE.\n \n 2. The origin of this software must not\ + \ be misrepresented, either by\n explicit claim or by omission. In practice, this\ + \ means that if you use\n PCRE in software that you distribute to others, commercially\ + \ or\n otherwise, you must put a sentence like this\n \n Regular expression\ + \ support is provided by the PCRE library package,\n which is open source software,\ + \ written by Philip Hazel, and copyright\n by the University of Cambridge, England.\n\ + \ \n somewhere reasonably visible in your documentation and in any relevant\n \ + \ files or online help data or similar. A reference to the ftp site for\n \ + \ the source, that is, to\n \n ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/\n\ + \ \n should also be given in the documentation. However, this condition is not\n\ + \ intended to apply to whole chains of software. If package A includes PCRE,\n\ + \ it must acknowledge it, but if package B is software that includes package\n\ + \ A, the condition is not imposed on package B (unless it uses PCRE\n independently).\n\ + \ \n 3. Altered versions must be plainly marked as such, and must not be\n \ + \ misrepresented as being the original software.\n \n 4. If PCRE is embedded in any\ + \ software that is released under the GNU\n General Purpose Licence (GPL), or Lesser\ + \ General Purpose Licence (LGPL),\n then the terms of that licence shall supersede\ + \ any condition above with\n which it is incompatible." + - score: '100.0' + start_line: 479 + end_line: 482 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + Permission to use, copy, modify, and distribute this + software is freely granted, provided that this notice + is preserved. + - score: '100.0' + start_line: 488 + end_line: 491 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_145.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Feel free to copy, use and distribute this software provided:\n \n \ + \ 1. you do not pretend that you wrote it\n 2. you leave this copyright notice\ + \ intact." + - score: '100.0' + start_line: 497 + end_line: 509 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_36.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n \ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ Lesser General Public\n License along with this library; if not, see\n .\ + \ */" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc-bin/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc-bin/copyright.expected.yml index cadc5724361..ece0973723b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc-bin/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc-bin/copyright.expected.yml @@ -1,9 +1,9 @@ -- -- -- lgpl-2.1-plus AND gpl-2.0-plus AND bsd-new AND historical AND isc AND carnegie-mellon-contributors +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND gpl-2.0-plus AND bsd-new AND historical AND isc AND carnegie-mellon-contributors AND inner-net-2.0 AND lgpl-2.0-plus AND other-permissive AND ietf AND hs-regexp AND pcre AND sunpro -- | +copyright: | Copyright (c) 1991-2015 Free Software Foundation, Inc. Copyright (c) 1991-2015 Free Software Foundation, Inc. Copyright (c) 1991 Regents of the University of California @@ -33,3 +33,648 @@ (c) Copyright C E Chew copyright Stephen L. Moshier Copyright 2001 by Stephen L. Moshier +matches: + - score: '100.0' + start_line: 10 + end_line: 26 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The GNU C Library is free software; you can redistribute it and/or\n \ + \ modify it under the terms of the GNU Lesser General Public\n License as published\ + \ by the Free Software Foundation; either\n version 2.1 of the License, or (at your\ + \ option) any later version.\n \n The GNU C Library is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser\ + \ General Public License for more details.\n \n You should have received a copy of\ + \ the GNU Lesser General Public\n License along with the GNU C Library; if not, write\ + \ to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n\ + \ 02110-1301 USA\n \n On Debian systems, the complete text of the GNU Library\n\ + \ General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'." + - score: '95.0' + start_line: 33 + end_line: 48 + matcher: 2-aho + rule_length: 135 + matched_length: 135 + match_coverage: '100.0' + rule_relevance: 95 + identifier: gpl-2.0-plus_15.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published\n by the Free\ + \ Software Foundation; version 2 of the License, or\n (at your option) any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\ + \ \n You should have received a copy of the GNU General Public License\n along\ + \ with this program; if not, write to the Free Software Foundation,\n Inc., 51 Franklin\ + \ St, Fifth Floor, Boston, MA 02110-1301 USA.\n \n On Debian systems, the complete text\ + \ of the GNU Library\n General Public License can be found in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 50 + end_line: 51 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_24.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + All code incorporated from 4.4 BSD is distributed under the following + license: + - score: '100.0' + start_line: 56 + end_line: 80 + matcher: 2-aho + rule_length: 218 + matched_length: 218 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_57.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ 3. [This condition was removed.]\n 4. Neither the name of the University nor the\ + \ names of its contributors\n may be used to endorse or promote products derived\ + \ from this software\n without specific prior written permission.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 88 + end_line: 102 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_10.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n \ + \ purpose with or without fee is hereby granted, provided that the above\n copyright\ + \ notice and this permission notice appear in all copies, and\n that the name of Digital\ + \ Equipment Corporation not be used in\n advertising or publicity pertaining to distribution\ + \ of the document or\n software without specific, written prior permission.\n \n \ + \ THE SOFTWARE IS PROVIDED ``AS IS'' AND DIGITAL EQUIPMENT CORP.\n DISCLAIMS ALL\ + \ WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS. IN NO EVENT SHALL\n DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY\ + \ SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER\ + \ RESULTING\n FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\n\ + \ NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION\n WITH\ + \ THE USE OR PERFORMANCE OF THIS SOFTWARE." + - score: '100.0' + start_line: 108 + end_line: 119 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n \ + \ purpose with or without fee is hereby granted, provided that the above\n copyright\ + \ notice and this permission notice appear in all copies.\n \n THE SOFTWARE IS PROVIDED\ + \ \"AS IS\" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS\n ALL WARRANTIES WITH REGARD\ + \ TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS.\ + \ IN NO EVENT SHALL INTERNET SOFTWARE\n CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,\ + \ INDIRECT, OR CONSEQUENTIAL\n DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\ + \ OF USE, DATA OR\n PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER\ + \ TORTIOUS\n ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF\ + \ THIS\n SOFTWARE." + - score: '100.0' + start_line: 126 + end_line: 151 + matcher: 2-aho + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_591.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions are\n met:\n\ + \ \n * Redistributions of source code must retain the above copyright\n \ + \ notice, this list of conditions and the following disclaimer.\n * Redistributions\ + \ in binary form must reproduce the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer in the documentation and/or other materials\n\ + \ provided with the distribution.\n * Neither the name of the \"Oracle\ + \ America, Inc.\" nor the names of its\n contributors may be used to endorse\ + \ or promote products derived\n from this software without specific prior written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED\ + \ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\ + \ FOR ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING\n NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 153 + end_line: 179 + matcher: 2-aho + rule_length: 159 + matched_length: 159 + match_coverage: '100.0' + rule_relevance: 100 + identifier: carnegie-mellon-contributors_3.RULE + license_expression: carnegie-mellon-contributors + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The following CMU license covers some of the support code for Mach,\n derived\ + \ from Mach 3.0:\n \n Mach Operating System\n Copyright (C) 1991,1990,1989 Carnegie\ + \ Mellon University\n All Rights Reserved.\n \n Permission to use, copy, modify\ + \ and distribute this software and its\n documentation is hereby granted, provided\ + \ that both the copyright\n notice and this permission notice appear in all copies\ + \ of the\n software, derivative works or modified versions, and any portions\n \ + \ thereof, and that both notices appear in supporting documentation.\n \n CARNEGIE\ + \ MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS ``AS IS''\n CONDITION. CARNEGIE\ + \ MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR\n ANY DAMAGES WHATSOEVER RESULTING\ + \ FROM THE USE OF THIS SOFTWARE.\n \n Carnegie Mellon requests users of this software\ + \ to return to\n \n Software Distribution Coordinator\n School of Computer Science\n\ + \ Carnegie Mellon University\n Pittsburgh PA 15213-3890\n \n or Software.Distribution@CS.CMU.EDU\ + \ any improvements or\n extensions that they make and grant Carnegie Mellon the rights\ + \ to\n redistribute these changes." + - score: '100.0' + start_line: 181 + end_line: 206 + matcher: 2-aho + rule_length: 219 + matched_length: 219 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_592.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "under the following CMU license:\n \n Redistribution and use in source\ + \ and binary forms, with or without\n modification, are permitted provided that the\ + \ following conditions\n are met:\n 1. Redistributions of source code must retain\ + \ the above copyright\n notice, this list of conditions and the following disclaimer.\n\ + \ 2. Redistributions in binary form must reproduce the above copyright\n \ + \ notice, this list of conditions and the following disclaimer in the\n documentation\ + \ and/or other materials provided with the distribution.\n 3. Neither the name of\ + \ the University nor the names of its contributors\n may be used to endorse or\ + \ promote products derived from this software\n without specific prior written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY AND\n\ + \ CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR\ + \ A PARTICULAR PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE UNIVERSITY OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\n IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\ + \ OF THIS SOFTWARE, EVEN\n IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 208 + end_line: 211 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_593.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The following license covers the files from Intel's \"Highly Optimized\n\ + \ Mathematical Functions for Itanium\" collection:\n \n Intel License Agreement" + - score: '100.0' + start_line: 217 + end_line: 242 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_2.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions are\n met:\n\ + \ \n * Redistributions of source code must retain the above copyright\n notice,\ + \ this list of conditions and the following disclaimer.\n \n * Redistributions in\ + \ binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n \n * The name of Intel Corporation may not be used to endorse\ + \ or promote\n products derived from this software without specific prior written\n\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED\ + \ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL INTEL OR\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT, INCIDENTAL, SPECIAL,\n EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\ + \ DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n\ + \ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 245 + end_line: 280 + matcher: 2-aho + rule_length: 309 + matched_length: 309 + match_coverage: '100.0' + rule_relevance: 100 + identifier: inner-net-2.0_2.RULE + license_expression: inner-net-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under the following license:\n \n /* The Inner Net License,\ + \ Version 2.00\n \n The author(s) grant permission for redistribution and use in\ + \ source and\n binary forms, with or without modification, of the software and documentation\n\ + \ provided that the following conditions are met:\n \n 0. If you receive a version\ + \ of the software that is specifically labelled\n as not being for redistribution\ + \ (check the version message and/or README),\n you are not permitted to redistribute\ + \ that version of the software in any\n way or form.\n 1. All terms of the\ + \ all other applicable copyrights and licenses must be\n followed.\n 2. Redistributions\ + \ of source code must retain the authors' copyright\n notice(s), this list of conditions,\ + \ and the following disclaimer.\n 3. Redistributions in binary form must reproduce\ + \ the authors' copyright\n notice(s), this list of conditions, and the following\ + \ disclaimer in the\n documentation and/or other materials provided with the distribution.\n\ + \ 4. [The copyright holder has authorized the removal of this clause.]\n 5. Neither\ + \ the name(s) of the author(s) nor the names of its contributors\n may be used\ + \ to endorse or promote products derived from this software\n without specific\ + \ prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY ITS AUTHORS AND CONTRIBUTORS\ + \ ``AS IS'' AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\ + \ THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY\n\ + \ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n \ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n \ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n \ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n \n If these license terms cause\ + \ you a real problem, contact the author. */" + - score: '100.0' + start_line: 286 + end_line: 289 + matcher: 2-aho + rule_length: 48 + matched_length: 48 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_177.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is distributed under the terms of the GNU Lesser General + Public License, version 2.1 or later - see the file COPYING.LIB for details. + If you did not receive a copy of the license with this program, please + see to obtain a copy. + - score: '91.96' + start_line: 296 + end_line: 309 + matcher: 3-seq + rule_length: 112 + matched_length: 103 + match_coverage: '91.96' + rule_relevance: 100 + identifier: lgpl-2.1-plus_56.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GNU [Libidn].\n \n [GNU] [Libidn] is free software; you can redistribute\ + \ it and/or\n modify it under the terms of the GNU Lesser General Public\n License\ + \ as published by the Free Software Foundation; either\n version 2.1 of the License,\ + \ or (at your option) any later version.\n \n GNU [Libidn] is distributed in the hope\ + \ that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser\ + \ General Public License for more details.\n \n You should have received a copy of\ + \ the GNU Lesser General Public\n License along with GNU [Libidn]; if not, see ." + - score: '100.0' + start_line: 314 + end_line: 314 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_218.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: all licensed under LGPL + - score: '93.55' + start_line: 324 + end_line: 332 + matcher: 3-seq + rule_length: 93 + matched_length: 87 + match_coverage: '93.55' + rule_relevance: 100 + identifier: other-permissive_punycode_1.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Disclaimer and license: Regarding this entire document or any + portion of it (including the pseudocode and C code), the author + makes no guarantees and is not responsible for any damage resulting + from its use. The author grants irrevocable permission to anyone + to use, modify, and distribute it in any way that does not diminish + the rights of anyone else to use, modify, and distribute it, + provided that redistributed derivative works do not contain + misleading author or version information. Derivative works need + not be licensed under similar terms. + - score: '100.0' + start_line: 336 + end_line: 358 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf.LICENSE + license_expression: ietf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This document and translations of it may be copied and furnished to\n \ + \ others, and derivative works that comment on or otherwise explain it\n or assist\ + \ in its implementation may be prepared, copied, published\n and distributed, in whole\ + \ or in part, without restriction of any\n kind, provided that the above copyright\ + \ notice and this paragraph are\n included on all such copies and derivative works.\ + \ However, this\n document itself may not be modified in any way, such as by removing\n\ + \ the copyright notice or references to the Internet Society or other\n Internet\ + \ organizations, except as needed for the purpose of\n developing Internet standards\ + \ in which case the procedures for\n copyrights defined in the Internet Standards\ + \ process must be\n followed, or as required to translate it into languages other\ + \ than\n English.\n \n The limited permissions granted above are perpetual and\ + \ will not be\n revoked by the Internet Society or its successors or assigns.\n \n\ + \ This document and the information contained herein is provided on an\n \"AS\ + \ IS\" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING\n TASK FORCE DISCLAIMS\ + \ ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING\n BUT NOT LIMITED TO ANY WARRANTY\ + \ THAT THE USE OF THE INFORMATION\n HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED\ + \ WARRANTIES OF\n MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 365 + end_line: 387 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_66.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions\n are met:\n\ + \ 1. Redistributions of source code must retain the above copyright\n notice,\ + \ this list of conditions and the following disclaimer.\n 2. Redistributions in binary\ + \ form must reproduce the above copyright\n notice, this list of conditions and\ + \ the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. Neither the name of the project nor the names of its\ + \ contributors\n may be used to endorse or promote products derived from this software\n\ + \ without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS\ + \ BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR\ + \ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED\ + \ AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS\ + \ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 395 + end_line: 409 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_144.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software and its\n \ + \ documentation for any purpose and without fee is hereby granted,\n provided that\ + \ the above copyright notice appear in all copies and that\n both that copyright notice\ + \ and this permission notice appear in\n supporting documentation, and that the name\ + \ of the copyright holder not be\n used in advertising or publicity pertaining to\ + \ distribution of the\n software without specific, written prior permission.\n \n\ + \ Tom Lord DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,\n INCLUDING\ + \ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO\n EVENT SHALL TOM LORD\ + \ BE LIABLE FOR ANY SPECIAL, INDIRECT OR\n CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER\ + \ RESULTING FROM LOSS OF\n USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\ + \ NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE\ + \ USE OR\n PERFORMANCE OF THIS SOFTWARE." + - score: '100.0' + start_line: 414 + end_line: 432 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hs-regexp.LICENSE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of the American Telephone\n \ + \ and Telegraph Company or of the Regents of the University of California.\n \n \ + \ Permission is granted to anyone to use this software for any purpose on\n any computer\ + \ system, and to alter it and redistribute it, subject\n to the following restrictions:\n\ + \ \n 1. The author is not responsible for the consequences of use of this\n \ + \ software, no matter how awful, even if they arise from flaws in it.\n \n 2. The\ + \ origin of this software must not be misrepresented, either by\n explicit claim\ + \ or by omission. Since few users ever read sources,\n credits must appear in\ + \ the documentation.\n \n 3. Altered versions must be plainly marked as such, and\ + \ must not be\n misrepresented as being the original software. Since few users\n\ + \ ever read sources, credits must appear in the documentation.\n \n 4. This\ + \ notice may not be removed or altered." + - score: '95.0' + start_line: 438 + end_line: 473 + matcher: 2-aho + rule_length: 271 + matched_length: 271 + match_coverage: '100.0' + rule_relevance: 95 + identifier: pcre_2.RULE + license_expression: pcre + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to anyone to use this software for any purpose on any\n\ + \ computer system, and to redistribute it freely, subject to the following\n restrictions:\n\ + \ \n 1. This software is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE.\n \n 2. The origin of this software must not\ + \ be misrepresented, either by\n explicit claim or by omission. In practice, this\ + \ means that if you use\n PCRE in software that you distribute to others, commercially\ + \ or\n otherwise, you must put a sentence like this\n \n Regular expression\ + \ support is provided by the PCRE library package,\n which is open source software,\ + \ written by Philip Hazel, and copyright\n by the University of Cambridge, England.\n\ + \ \n somewhere reasonably visible in your documentation and in any relevant\n \ + \ files or online help data or similar. A reference to the ftp site for\n \ + \ the source, that is, to\n \n ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/\n\ + \ \n should also be given in the documentation. However, this condition is not\n\ + \ intended to apply to whole chains of software. If package A includes PCRE,\n\ + \ it must acknowledge it, but if package B is software that includes package\n\ + \ A, the condition is not imposed on package B (unless it uses PCRE\n independently).\n\ + \ \n 3. Altered versions must be plainly marked as such, and must not be\n \ + \ misrepresented as being the original software.\n \n 4. If PCRE is embedded in any\ + \ software that is released under the GNU\n General Purpose Licence (GPL), or Lesser\ + \ General Purpose Licence (LGPL),\n then the terms of that licence shall supersede\ + \ any condition above with\n which it is incompatible." + - score: '100.0' + start_line: 479 + end_line: 482 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + Permission to use, copy, modify, and distribute this + software is freely granted, provided that this notice + is preserved. + - score: '100.0' + start_line: 488 + end_line: 491 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_145.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Feel free to copy, use and distribute this software provided:\n \n \ + \ 1. you do not pretend that you wrote it\n 2. you leave this copyright notice\ + \ intact." + - score: '100.0' + start_line: 497 + end_line: 509 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_36.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n \ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ Lesser General Public\n License along with this library; if not, see\n .\ + \ */" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc6/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc6/copyright-detailed.expected.yml index c5c37b56afb..bc1fa56bcd5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc6/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc6/copyright-detailed.expected.yml @@ -1,10 +1,10 @@ -- -- -- lgpl-2.1-plus AND gpl-2.0-plus AND bsd-new AND bsd-new AND historical AND isc AND bsd-new - AND carnegie-mellon-contributors AND bsd-new AND bsd-new AND bsd-new AND inner-net-2.0 AND - lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus AND other-permissive AND ietf AND bsd-new +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND gpl-2.0-plus AND bsd-new AND bsd-new AND historical AND + isc AND bsd-new AND carnegie-mellon-contributors AND bsd-new AND bsd-new AND bsd-new AND inner-net-2.0 + AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus AND other-permissive AND ietf AND bsd-new AND other-permissive AND hs-regexp AND pcre AND sunpro AND other-permissive AND lgpl-2.1-plus -- | +copyright: | Copyright (c) 1991-2015 Free Software Foundation, Inc. Copyright (c) 1991-2015 Free Software Foundation, Inc. Copyright (c) 1991 Regents of the University of California @@ -34,3 +34,648 @@ (c) Copyright C E Chew copyright Stephen L. Moshier Copyright 2001 by Stephen L. Moshier +matches: + - score: '100.0' + start_line: 10 + end_line: 26 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The GNU C Library is free software; you can redistribute it and/or\n \ + \ modify it under the terms of the GNU Lesser General Public\n License as published\ + \ by the Free Software Foundation; either\n version 2.1 of the License, or (at your\ + \ option) any later version.\n \n The GNU C Library is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser\ + \ General Public License for more details.\n \n You should have received a copy of\ + \ the GNU Lesser General Public\n License along with the GNU C Library; if not, write\ + \ to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n\ + \ 02110-1301 USA\n \n On Debian systems, the complete text of the GNU Library\n\ + \ General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'." + - score: '95.0' + start_line: 33 + end_line: 48 + matcher: 2-aho + rule_length: 135 + matched_length: 135 + match_coverage: '100.0' + rule_relevance: 95 + identifier: gpl-2.0-plus_15.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published\n by the Free\ + \ Software Foundation; version 2 of the License, or\n (at your option) any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\ + \ \n You should have received a copy of the GNU General Public License\n along\ + \ with this program; if not, write to the Free Software Foundation,\n Inc., 51 Franklin\ + \ St, Fifth Floor, Boston, MA 02110-1301 USA.\n \n On Debian systems, the complete text\ + \ of the GNU Library\n General Public License can be found in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 50 + end_line: 51 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_24.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + All code incorporated from 4.4 BSD is distributed under the following + license: + - score: '100.0' + start_line: 56 + end_line: 80 + matcher: 2-aho + rule_length: 218 + matched_length: 218 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_57.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ 3. [This condition was removed.]\n 4. Neither the name of the University nor the\ + \ names of its contributors\n may be used to endorse or promote products derived\ + \ from this software\n without specific prior written permission.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 88 + end_line: 102 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_10.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n \ + \ purpose with or without fee is hereby granted, provided that the above\n copyright\ + \ notice and this permission notice appear in all copies, and\n that the name of Digital\ + \ Equipment Corporation not be used in\n advertising or publicity pertaining to distribution\ + \ of the document or\n software without specific, written prior permission.\n \n \ + \ THE SOFTWARE IS PROVIDED ``AS IS'' AND DIGITAL EQUIPMENT CORP.\n DISCLAIMS ALL\ + \ WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS. IN NO EVENT SHALL\n DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY\ + \ SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER\ + \ RESULTING\n FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\n\ + \ NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION\n WITH\ + \ THE USE OR PERFORMANCE OF THIS SOFTWARE." + - score: '100.0' + start_line: 108 + end_line: 119 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n \ + \ purpose with or without fee is hereby granted, provided that the above\n copyright\ + \ notice and this permission notice appear in all copies.\n \n THE SOFTWARE IS PROVIDED\ + \ \"AS IS\" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS\n ALL WARRANTIES WITH REGARD\ + \ TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS.\ + \ IN NO EVENT SHALL INTERNET SOFTWARE\n CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,\ + \ INDIRECT, OR CONSEQUENTIAL\n DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\ + \ OF USE, DATA OR\n PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER\ + \ TORTIOUS\n ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF\ + \ THIS\n SOFTWARE." + - score: '100.0' + start_line: 126 + end_line: 151 + matcher: 2-aho + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_591.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions are\n met:\n\ + \ \n * Redistributions of source code must retain the above copyright\n \ + \ notice, this list of conditions and the following disclaimer.\n * Redistributions\ + \ in binary form must reproduce the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer in the documentation and/or other materials\n\ + \ provided with the distribution.\n * Neither the name of the \"Oracle\ + \ America, Inc.\" nor the names of its\n contributors may be used to endorse\ + \ or promote products derived\n from this software without specific prior written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED\ + \ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\ + \ FOR ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING\n NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 153 + end_line: 179 + matcher: 2-aho + rule_length: 159 + matched_length: 159 + match_coverage: '100.0' + rule_relevance: 100 + identifier: carnegie-mellon-contributors_3.RULE + license_expression: carnegie-mellon-contributors + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The following CMU license covers some of the support code for Mach,\n derived\ + \ from Mach 3.0:\n \n Mach Operating System\n Copyright (C) 1991,1990,1989 Carnegie\ + \ Mellon University\n All Rights Reserved.\n \n Permission to use, copy, modify\ + \ and distribute this software and its\n documentation is hereby granted, provided\ + \ that both the copyright\n notice and this permission notice appear in all copies\ + \ of the\n software, derivative works or modified versions, and any portions\n \ + \ thereof, and that both notices appear in supporting documentation.\n \n CARNEGIE\ + \ MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS ``AS IS''\n CONDITION. CARNEGIE\ + \ MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR\n ANY DAMAGES WHATSOEVER RESULTING\ + \ FROM THE USE OF THIS SOFTWARE.\n \n Carnegie Mellon requests users of this software\ + \ to return to\n \n Software Distribution Coordinator\n School of Computer Science\n\ + \ Carnegie Mellon University\n Pittsburgh PA 15213-3890\n \n or Software.Distribution@CS.CMU.EDU\ + \ any improvements or\n extensions that they make and grant Carnegie Mellon the rights\ + \ to\n redistribute these changes." + - score: '100.0' + start_line: 181 + end_line: 206 + matcher: 2-aho + rule_length: 219 + matched_length: 219 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_592.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "under the following CMU license:\n \n Redistribution and use in source\ + \ and binary forms, with or without\n modification, are permitted provided that the\ + \ following conditions\n are met:\n 1. Redistributions of source code must retain\ + \ the above copyright\n notice, this list of conditions and the following disclaimer.\n\ + \ 2. Redistributions in binary form must reproduce the above copyright\n \ + \ notice, this list of conditions and the following disclaimer in the\n documentation\ + \ and/or other materials provided with the distribution.\n 3. Neither the name of\ + \ the University nor the names of its contributors\n may be used to endorse or\ + \ promote products derived from this software\n without specific prior written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY AND\n\ + \ CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR\ + \ A PARTICULAR PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE UNIVERSITY OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\n IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\ + \ OF THIS SOFTWARE, EVEN\n IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 208 + end_line: 211 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_593.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The following license covers the files from Intel's \"Highly Optimized\n\ + \ Mathematical Functions for Itanium\" collection:\n \n Intel License Agreement" + - score: '100.0' + start_line: 217 + end_line: 242 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_2.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions are\n met:\n\ + \ \n * Redistributions of source code must retain the above copyright\n notice,\ + \ this list of conditions and the following disclaimer.\n \n * Redistributions in\ + \ binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n \n * The name of Intel Corporation may not be used to endorse\ + \ or promote\n products derived from this software without specific prior written\n\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED\ + \ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL INTEL OR\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT, INCIDENTAL, SPECIAL,\n EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\ + \ DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n\ + \ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 245 + end_line: 280 + matcher: 2-aho + rule_length: 309 + matched_length: 309 + match_coverage: '100.0' + rule_relevance: 100 + identifier: inner-net-2.0_2.RULE + license_expression: inner-net-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under the following license:\n \n /* The Inner Net License,\ + \ Version 2.00\n \n The author(s) grant permission for redistribution and use in\ + \ source and\n binary forms, with or without modification, of the software and documentation\n\ + \ provided that the following conditions are met:\n \n 0. If you receive a version\ + \ of the software that is specifically labelled\n as not being for redistribution\ + \ (check the version message and/or README),\n you are not permitted to redistribute\ + \ that version of the software in any\n way or form.\n 1. All terms of the\ + \ all other applicable copyrights and licenses must be\n followed.\n 2. Redistributions\ + \ of source code must retain the authors' copyright\n notice(s), this list of conditions,\ + \ and the following disclaimer.\n 3. Redistributions in binary form must reproduce\ + \ the authors' copyright\n notice(s), this list of conditions, and the following\ + \ disclaimer in the\n documentation and/or other materials provided with the distribution.\n\ + \ 4. [The copyright holder has authorized the removal of this clause.]\n 5. Neither\ + \ the name(s) of the author(s) nor the names of its contributors\n may be used\ + \ to endorse or promote products derived from this software\n without specific\ + \ prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY ITS AUTHORS AND CONTRIBUTORS\ + \ ``AS IS'' AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\ + \ THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY\n\ + \ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n \ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n \ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n \ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n \n If these license terms cause\ + \ you a real problem, contact the author. */" + - score: '100.0' + start_line: 286 + end_line: 289 + matcher: 2-aho + rule_length: 48 + matched_length: 48 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_177.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is distributed under the terms of the GNU Lesser General + Public License, version 2.1 or later - see the file COPYING.LIB for details. + If you did not receive a copy of the license with this program, please + see to obtain a copy. + - score: '91.96' + start_line: 296 + end_line: 309 + matcher: 3-seq + rule_length: 112 + matched_length: 103 + match_coverage: '91.96' + rule_relevance: 100 + identifier: lgpl-2.1-plus_56.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GNU [Libidn].\n \n [GNU] [Libidn] is free software; you can redistribute\ + \ it and/or\n modify it under the terms of the GNU Lesser General Public\n License\ + \ as published by the Free Software Foundation; either\n version 2.1 of the License,\ + \ or (at your option) any later version.\n \n GNU [Libidn] is distributed in the hope\ + \ that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser\ + \ General Public License for more details.\n \n You should have received a copy of\ + \ the GNU Lesser General Public\n License along with GNU [Libidn]; if not, see ." + - score: '100.0' + start_line: 314 + end_line: 314 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_218.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: all licensed under LGPL + - score: '93.55' + start_line: 324 + end_line: 332 + matcher: 3-seq + rule_length: 93 + matched_length: 87 + match_coverage: '93.55' + rule_relevance: 100 + identifier: other-permissive_punycode_1.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Disclaimer and license: Regarding this entire document or any + portion of it (including the pseudocode and C code), the author + makes no guarantees and is not responsible for any damage resulting + from its use. The author grants irrevocable permission to anyone + to use, modify, and distribute it in any way that does not diminish + the rights of anyone else to use, modify, and distribute it, + provided that redistributed derivative works do not contain + misleading author or version information. Derivative works need + not be licensed under similar terms. + - score: '100.0' + start_line: 336 + end_line: 358 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf.LICENSE + license_expression: ietf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This document and translations of it may be copied and furnished to\n \ + \ others, and derivative works that comment on or otherwise explain it\n or assist\ + \ in its implementation may be prepared, copied, published\n and distributed, in whole\ + \ or in part, without restriction of any\n kind, provided that the above copyright\ + \ notice and this paragraph are\n included on all such copies and derivative works.\ + \ However, this\n document itself may not be modified in any way, such as by removing\n\ + \ the copyright notice or references to the Internet Society or other\n Internet\ + \ organizations, except as needed for the purpose of\n developing Internet standards\ + \ in which case the procedures for\n copyrights defined in the Internet Standards\ + \ process must be\n followed, or as required to translate it into languages other\ + \ than\n English.\n \n The limited permissions granted above are perpetual and\ + \ will not be\n revoked by the Internet Society or its successors or assigns.\n \n\ + \ This document and the information contained herein is provided on an\n \"AS\ + \ IS\" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING\n TASK FORCE DISCLAIMS\ + \ ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING\n BUT NOT LIMITED TO ANY WARRANTY\ + \ THAT THE USE OF THE INFORMATION\n HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED\ + \ WARRANTIES OF\n MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 365 + end_line: 387 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_66.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions\n are met:\n\ + \ 1. Redistributions of source code must retain the above copyright\n notice,\ + \ this list of conditions and the following disclaimer.\n 2. Redistributions in binary\ + \ form must reproduce the above copyright\n notice, this list of conditions and\ + \ the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. Neither the name of the project nor the names of its\ + \ contributors\n may be used to endorse or promote products derived from this software\n\ + \ without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS\ + \ BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR\ + \ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED\ + \ AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS\ + \ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 395 + end_line: 409 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_144.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software and its\n \ + \ documentation for any purpose and without fee is hereby granted,\n provided that\ + \ the above copyright notice appear in all copies and that\n both that copyright notice\ + \ and this permission notice appear in\n supporting documentation, and that the name\ + \ of the copyright holder not be\n used in advertising or publicity pertaining to\ + \ distribution of the\n software without specific, written prior permission.\n \n\ + \ Tom Lord DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,\n INCLUDING\ + \ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO\n EVENT SHALL TOM LORD\ + \ BE LIABLE FOR ANY SPECIAL, INDIRECT OR\n CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER\ + \ RESULTING FROM LOSS OF\n USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\ + \ NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE\ + \ USE OR\n PERFORMANCE OF THIS SOFTWARE." + - score: '100.0' + start_line: 414 + end_line: 432 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hs-regexp.LICENSE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of the American Telephone\n \ + \ and Telegraph Company or of the Regents of the University of California.\n \n \ + \ Permission is granted to anyone to use this software for any purpose on\n any computer\ + \ system, and to alter it and redistribute it, subject\n to the following restrictions:\n\ + \ \n 1. The author is not responsible for the consequences of use of this\n \ + \ software, no matter how awful, even if they arise from flaws in it.\n \n 2. The\ + \ origin of this software must not be misrepresented, either by\n explicit claim\ + \ or by omission. Since few users ever read sources,\n credits must appear in\ + \ the documentation.\n \n 3. Altered versions must be plainly marked as such, and\ + \ must not be\n misrepresented as being the original software. Since few users\n\ + \ ever read sources, credits must appear in the documentation.\n \n 4. This\ + \ notice may not be removed or altered." + - score: '95.0' + start_line: 438 + end_line: 473 + matcher: 2-aho + rule_length: 271 + matched_length: 271 + match_coverage: '100.0' + rule_relevance: 95 + identifier: pcre_2.RULE + license_expression: pcre + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to anyone to use this software for any purpose on any\n\ + \ computer system, and to redistribute it freely, subject to the following\n restrictions:\n\ + \ \n 1. This software is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE.\n \n 2. The origin of this software must not\ + \ be misrepresented, either by\n explicit claim or by omission. In practice, this\ + \ means that if you use\n PCRE in software that you distribute to others, commercially\ + \ or\n otherwise, you must put a sentence like this\n \n Regular expression\ + \ support is provided by the PCRE library package,\n which is open source software,\ + \ written by Philip Hazel, and copyright\n by the University of Cambridge, England.\n\ + \ \n somewhere reasonably visible in your documentation and in any relevant\n \ + \ files or online help data or similar. A reference to the ftp site for\n \ + \ the source, that is, to\n \n ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/\n\ + \ \n should also be given in the documentation. However, this condition is not\n\ + \ intended to apply to whole chains of software. If package A includes PCRE,\n\ + \ it must acknowledge it, but if package B is software that includes package\n\ + \ A, the condition is not imposed on package B (unless it uses PCRE\n independently).\n\ + \ \n 3. Altered versions must be plainly marked as such, and must not be\n \ + \ misrepresented as being the original software.\n \n 4. If PCRE is embedded in any\ + \ software that is released under the GNU\n General Purpose Licence (GPL), or Lesser\ + \ General Purpose Licence (LGPL),\n then the terms of that licence shall supersede\ + \ any condition above with\n which it is incompatible." + - score: '100.0' + start_line: 479 + end_line: 482 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + Permission to use, copy, modify, and distribute this + software is freely granted, provided that this notice + is preserved. + - score: '100.0' + start_line: 488 + end_line: 491 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_145.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Feel free to copy, use and distribute this software provided:\n \n \ + \ 1. you do not pretend that you wrote it\n 2. you leave this copyright notice\ + \ intact." + - score: '100.0' + start_line: 497 + end_line: 509 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_36.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n \ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ Lesser General Public\n License along with this library; if not, see\n .\ + \ */" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc6/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc6/copyright.expected.yml index cadc5724361..ece0973723b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc6/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc6/copyright.expected.yml @@ -1,9 +1,9 @@ -- -- -- lgpl-2.1-plus AND gpl-2.0-plus AND bsd-new AND historical AND isc AND carnegie-mellon-contributors +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND gpl-2.0-plus AND bsd-new AND historical AND isc AND carnegie-mellon-contributors AND inner-net-2.0 AND lgpl-2.0-plus AND other-permissive AND ietf AND hs-regexp AND pcre AND sunpro -- | +copyright: | Copyright (c) 1991-2015 Free Software Foundation, Inc. Copyright (c) 1991-2015 Free Software Foundation, Inc. Copyright (c) 1991 Regents of the University of California @@ -33,3 +33,648 @@ (c) Copyright C E Chew copyright Stephen L. Moshier Copyright 2001 by Stephen L. Moshier +matches: + - score: '100.0' + start_line: 10 + end_line: 26 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The GNU C Library is free software; you can redistribute it and/or\n \ + \ modify it under the terms of the GNU Lesser General Public\n License as published\ + \ by the Free Software Foundation; either\n version 2.1 of the License, or (at your\ + \ option) any later version.\n \n The GNU C Library is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser\ + \ General Public License for more details.\n \n You should have received a copy of\ + \ the GNU Lesser General Public\n License along with the GNU C Library; if not, write\ + \ to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n\ + \ 02110-1301 USA\n \n On Debian systems, the complete text of the GNU Library\n\ + \ General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'." + - score: '95.0' + start_line: 33 + end_line: 48 + matcher: 2-aho + rule_length: 135 + matched_length: 135 + match_coverage: '100.0' + rule_relevance: 95 + identifier: gpl-2.0-plus_15.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published\n by the Free\ + \ Software Foundation; version 2 of the License, or\n (at your option) any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\ + \ \n You should have received a copy of the GNU General Public License\n along\ + \ with this program; if not, write to the Free Software Foundation,\n Inc., 51 Franklin\ + \ St, Fifth Floor, Boston, MA 02110-1301 USA.\n \n On Debian systems, the complete text\ + \ of the GNU Library\n General Public License can be found in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 50 + end_line: 51 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_24.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + All code incorporated from 4.4 BSD is distributed under the following + license: + - score: '100.0' + start_line: 56 + end_line: 80 + matcher: 2-aho + rule_length: 218 + matched_length: 218 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_57.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ 3. [This condition was removed.]\n 4. Neither the name of the University nor the\ + \ names of its contributors\n may be used to endorse or promote products derived\ + \ from this software\n without specific prior written permission.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 88 + end_line: 102 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_10.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n \ + \ purpose with or without fee is hereby granted, provided that the above\n copyright\ + \ notice and this permission notice appear in all copies, and\n that the name of Digital\ + \ Equipment Corporation not be used in\n advertising or publicity pertaining to distribution\ + \ of the document or\n software without specific, written prior permission.\n \n \ + \ THE SOFTWARE IS PROVIDED ``AS IS'' AND DIGITAL EQUIPMENT CORP.\n DISCLAIMS ALL\ + \ WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS. IN NO EVENT SHALL\n DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY\ + \ SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER\ + \ RESULTING\n FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\n\ + \ NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION\n WITH\ + \ THE USE OR PERFORMANCE OF THIS SOFTWARE." + - score: '100.0' + start_line: 108 + end_line: 119 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n \ + \ purpose with or without fee is hereby granted, provided that the above\n copyright\ + \ notice and this permission notice appear in all copies.\n \n THE SOFTWARE IS PROVIDED\ + \ \"AS IS\" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS\n ALL WARRANTIES WITH REGARD\ + \ TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS.\ + \ IN NO EVENT SHALL INTERNET SOFTWARE\n CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,\ + \ INDIRECT, OR CONSEQUENTIAL\n DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\ + \ OF USE, DATA OR\n PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER\ + \ TORTIOUS\n ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF\ + \ THIS\n SOFTWARE." + - score: '100.0' + start_line: 126 + end_line: 151 + matcher: 2-aho + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_591.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions are\n met:\n\ + \ \n * Redistributions of source code must retain the above copyright\n \ + \ notice, this list of conditions and the following disclaimer.\n * Redistributions\ + \ in binary form must reproduce the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer in the documentation and/or other materials\n\ + \ provided with the distribution.\n * Neither the name of the \"Oracle\ + \ America, Inc.\" nor the names of its\n contributors may be used to endorse\ + \ or promote products derived\n from this software without specific prior written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED\ + \ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\ + \ FOR ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING\n NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 153 + end_line: 179 + matcher: 2-aho + rule_length: 159 + matched_length: 159 + match_coverage: '100.0' + rule_relevance: 100 + identifier: carnegie-mellon-contributors_3.RULE + license_expression: carnegie-mellon-contributors + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The following CMU license covers some of the support code for Mach,\n derived\ + \ from Mach 3.0:\n \n Mach Operating System\n Copyright (C) 1991,1990,1989 Carnegie\ + \ Mellon University\n All Rights Reserved.\n \n Permission to use, copy, modify\ + \ and distribute this software and its\n documentation is hereby granted, provided\ + \ that both the copyright\n notice and this permission notice appear in all copies\ + \ of the\n software, derivative works or modified versions, and any portions\n \ + \ thereof, and that both notices appear in supporting documentation.\n \n CARNEGIE\ + \ MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS ``AS IS''\n CONDITION. CARNEGIE\ + \ MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR\n ANY DAMAGES WHATSOEVER RESULTING\ + \ FROM THE USE OF THIS SOFTWARE.\n \n Carnegie Mellon requests users of this software\ + \ to return to\n \n Software Distribution Coordinator\n School of Computer Science\n\ + \ Carnegie Mellon University\n Pittsburgh PA 15213-3890\n \n or Software.Distribution@CS.CMU.EDU\ + \ any improvements or\n extensions that they make and grant Carnegie Mellon the rights\ + \ to\n redistribute these changes." + - score: '100.0' + start_line: 181 + end_line: 206 + matcher: 2-aho + rule_length: 219 + matched_length: 219 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_592.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "under the following CMU license:\n \n Redistribution and use in source\ + \ and binary forms, with or without\n modification, are permitted provided that the\ + \ following conditions\n are met:\n 1. Redistributions of source code must retain\ + \ the above copyright\n notice, this list of conditions and the following disclaimer.\n\ + \ 2. Redistributions in binary form must reproduce the above copyright\n \ + \ notice, this list of conditions and the following disclaimer in the\n documentation\ + \ and/or other materials provided with the distribution.\n 3. Neither the name of\ + \ the University nor the names of its contributors\n may be used to endorse or\ + \ promote products derived from this software\n without specific prior written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY AND\n\ + \ CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR\ + \ A PARTICULAR PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE UNIVERSITY OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\n IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\ + \ OF THIS SOFTWARE, EVEN\n IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 208 + end_line: 211 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_593.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The following license covers the files from Intel's \"Highly Optimized\n\ + \ Mathematical Functions for Itanium\" collection:\n \n Intel License Agreement" + - score: '100.0' + start_line: 217 + end_line: 242 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_2.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions are\n met:\n\ + \ \n * Redistributions of source code must retain the above copyright\n notice,\ + \ this list of conditions and the following disclaimer.\n \n * Redistributions in\ + \ binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n \n * The name of Intel Corporation may not be used to endorse\ + \ or promote\n products derived from this software without specific prior written\n\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED\ + \ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL INTEL OR\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT, INCIDENTAL, SPECIAL,\n EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\ + \ DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n\ + \ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 245 + end_line: 280 + matcher: 2-aho + rule_length: 309 + matched_length: 309 + match_coverage: '100.0' + rule_relevance: 100 + identifier: inner-net-2.0_2.RULE + license_expression: inner-net-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under the following license:\n \n /* The Inner Net License,\ + \ Version 2.00\n \n The author(s) grant permission for redistribution and use in\ + \ source and\n binary forms, with or without modification, of the software and documentation\n\ + \ provided that the following conditions are met:\n \n 0. If you receive a version\ + \ of the software that is specifically labelled\n as not being for redistribution\ + \ (check the version message and/or README),\n you are not permitted to redistribute\ + \ that version of the software in any\n way or form.\n 1. All terms of the\ + \ all other applicable copyrights and licenses must be\n followed.\n 2. Redistributions\ + \ of source code must retain the authors' copyright\n notice(s), this list of conditions,\ + \ and the following disclaimer.\n 3. Redistributions in binary form must reproduce\ + \ the authors' copyright\n notice(s), this list of conditions, and the following\ + \ disclaimer in the\n documentation and/or other materials provided with the distribution.\n\ + \ 4. [The copyright holder has authorized the removal of this clause.]\n 5. Neither\ + \ the name(s) of the author(s) nor the names of its contributors\n may be used\ + \ to endorse or promote products derived from this software\n without specific\ + \ prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY ITS AUTHORS AND CONTRIBUTORS\ + \ ``AS IS'' AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\ + \ THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY\n\ + \ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n \ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n \ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n \ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n \n If these license terms cause\ + \ you a real problem, contact the author. */" + - score: '100.0' + start_line: 286 + end_line: 289 + matcher: 2-aho + rule_length: 48 + matched_length: 48 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_177.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is distributed under the terms of the GNU Lesser General + Public License, version 2.1 or later - see the file COPYING.LIB for details. + If you did not receive a copy of the license with this program, please + see to obtain a copy. + - score: '91.96' + start_line: 296 + end_line: 309 + matcher: 3-seq + rule_length: 112 + matched_length: 103 + match_coverage: '91.96' + rule_relevance: 100 + identifier: lgpl-2.1-plus_56.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GNU [Libidn].\n \n [GNU] [Libidn] is free software; you can redistribute\ + \ it and/or\n modify it under the terms of the GNU Lesser General Public\n License\ + \ as published by the Free Software Foundation; either\n version 2.1 of the License,\ + \ or (at your option) any later version.\n \n GNU [Libidn] is distributed in the hope\ + \ that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser\ + \ General Public License for more details.\n \n You should have received a copy of\ + \ the GNU Lesser General Public\n License along with GNU [Libidn]; if not, see ." + - score: '100.0' + start_line: 314 + end_line: 314 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_218.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: all licensed under LGPL + - score: '93.55' + start_line: 324 + end_line: 332 + matcher: 3-seq + rule_length: 93 + matched_length: 87 + match_coverage: '93.55' + rule_relevance: 100 + identifier: other-permissive_punycode_1.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Disclaimer and license: Regarding this entire document or any + portion of it (including the pseudocode and C code), the author + makes no guarantees and is not responsible for any damage resulting + from its use. The author grants irrevocable permission to anyone + to use, modify, and distribute it in any way that does not diminish + the rights of anyone else to use, modify, and distribute it, + provided that redistributed derivative works do not contain + misleading author or version information. Derivative works need + not be licensed under similar terms. + - score: '100.0' + start_line: 336 + end_line: 358 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf.LICENSE + license_expression: ietf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This document and translations of it may be copied and furnished to\n \ + \ others, and derivative works that comment on or otherwise explain it\n or assist\ + \ in its implementation may be prepared, copied, published\n and distributed, in whole\ + \ or in part, without restriction of any\n kind, provided that the above copyright\ + \ notice and this paragraph are\n included on all such copies and derivative works.\ + \ However, this\n document itself may not be modified in any way, such as by removing\n\ + \ the copyright notice or references to the Internet Society or other\n Internet\ + \ organizations, except as needed for the purpose of\n developing Internet standards\ + \ in which case the procedures for\n copyrights defined in the Internet Standards\ + \ process must be\n followed, or as required to translate it into languages other\ + \ than\n English.\n \n The limited permissions granted above are perpetual and\ + \ will not be\n revoked by the Internet Society or its successors or assigns.\n \n\ + \ This document and the information contained herein is provided on an\n \"AS\ + \ IS\" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING\n TASK FORCE DISCLAIMS\ + \ ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING\n BUT NOT LIMITED TO ANY WARRANTY\ + \ THAT THE USE OF THE INFORMATION\n HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED\ + \ WARRANTIES OF\n MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 365 + end_line: 387 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_66.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions\n are met:\n\ + \ 1. Redistributions of source code must retain the above copyright\n notice,\ + \ this list of conditions and the following disclaimer.\n 2. Redistributions in binary\ + \ form must reproduce the above copyright\n notice, this list of conditions and\ + \ the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. Neither the name of the project nor the names of its\ + \ contributors\n may be used to endorse or promote products derived from this software\n\ + \ without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS\ + \ BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR\ + \ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED\ + \ AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS\ + \ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 395 + end_line: 409 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_144.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software and its\n \ + \ documentation for any purpose and without fee is hereby granted,\n provided that\ + \ the above copyright notice appear in all copies and that\n both that copyright notice\ + \ and this permission notice appear in\n supporting documentation, and that the name\ + \ of the copyright holder not be\n used in advertising or publicity pertaining to\ + \ distribution of the\n software without specific, written prior permission.\n \n\ + \ Tom Lord DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,\n INCLUDING\ + \ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO\n EVENT SHALL TOM LORD\ + \ BE LIABLE FOR ANY SPECIAL, INDIRECT OR\n CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER\ + \ RESULTING FROM LOSS OF\n USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\ + \ NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE\ + \ USE OR\n PERFORMANCE OF THIS SOFTWARE." + - score: '100.0' + start_line: 414 + end_line: 432 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hs-regexp.LICENSE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of the American Telephone\n \ + \ and Telegraph Company or of the Regents of the University of California.\n \n \ + \ Permission is granted to anyone to use this software for any purpose on\n any computer\ + \ system, and to alter it and redistribute it, subject\n to the following restrictions:\n\ + \ \n 1. The author is not responsible for the consequences of use of this\n \ + \ software, no matter how awful, even if they arise from flaws in it.\n \n 2. The\ + \ origin of this software must not be misrepresented, either by\n explicit claim\ + \ or by omission. Since few users ever read sources,\n credits must appear in\ + \ the documentation.\n \n 3. Altered versions must be plainly marked as such, and\ + \ must not be\n misrepresented as being the original software. Since few users\n\ + \ ever read sources, credits must appear in the documentation.\n \n 4. This\ + \ notice may not be removed or altered." + - score: '95.0' + start_line: 438 + end_line: 473 + matcher: 2-aho + rule_length: 271 + matched_length: 271 + match_coverage: '100.0' + rule_relevance: 95 + identifier: pcre_2.RULE + license_expression: pcre + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to anyone to use this software for any purpose on any\n\ + \ computer system, and to redistribute it freely, subject to the following\n restrictions:\n\ + \ \n 1. This software is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE.\n \n 2. The origin of this software must not\ + \ be misrepresented, either by\n explicit claim or by omission. In practice, this\ + \ means that if you use\n PCRE in software that you distribute to others, commercially\ + \ or\n otherwise, you must put a sentence like this\n \n Regular expression\ + \ support is provided by the PCRE library package,\n which is open source software,\ + \ written by Philip Hazel, and copyright\n by the University of Cambridge, England.\n\ + \ \n somewhere reasonably visible in your documentation and in any relevant\n \ + \ files or online help data or similar. A reference to the ftp site for\n \ + \ the source, that is, to\n \n ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/\n\ + \ \n should also be given in the documentation. However, this condition is not\n\ + \ intended to apply to whole chains of software. If package A includes PCRE,\n\ + \ it must acknowledge it, but if package B is software that includes package\n\ + \ A, the condition is not imposed on package B (unless it uses PCRE\n independently).\n\ + \ \n 3. Altered versions must be plainly marked as such, and must not be\n \ + \ misrepresented as being the original software.\n \n 4. If PCRE is embedded in any\ + \ software that is released under the GNU\n General Purpose Licence (GPL), or Lesser\ + \ General Purpose Licence (LGPL),\n then the terms of that licence shall supersede\ + \ any condition above with\n which it is incompatible." + - score: '100.0' + start_line: 479 + end_line: 482 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + Permission to use, copy, modify, and distribute this + software is freely granted, provided that this notice + is preserved. + - score: '100.0' + start_line: 488 + end_line: 491 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_145.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Feel free to copy, use and distribute this software provided:\n \n \ + \ 1. you do not pretend that you wrote it\n 2. you leave this copyright notice\ + \ intact." + - score: '100.0' + start_line: 497 + end_line: 509 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_36.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n \ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ Lesser General Public\n License along with this library; if not, see\n .\ + \ */" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcap-ng0/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcap-ng0/copyright-detailed.expected.yml index 3e15777fe1c..3cff3d11675 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcap-ng0/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcap-ng0/copyright-detailed.expected.yml @@ -1,6 +1,82 @@ -- -- -- lgpl-2.0-plus AND gpl-2.0-plus AND gpl-3.0 AND gpl-3.0 -- | +primary_license: +declared_license: +license_expression: lgpl-2.0-plus AND gpl-2.0-plus AND gpl-3.0 AND gpl-3.0 +copyright: | Copyright 2009 Red Hat Inc. Copyright (c) 2009 Pierre Chifflier +matches: + - score: '96.88' + start_line: 10 + end_line: 27 + matcher: 3-seq + rule_length: 128 + matched_length: 124 + match_coverage: '96.88' + rule_relevance: 100 + identifier: lgpl-2.0-plus_22.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This library is free software; you can redistribute it\ + \ and/or\n modify it under the terms of the GNU Lesser General Public\n License\ + \ as published by the Free Software Foundation; either\n version 2.[1] of the License,\ + \ or (at your option) any later version.\n \n This library is distributed in the\ + \ hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n\ + \ Lesser General Public License for more details.\n \n You should have received\ + \ a copy of the GNU Lesser General Public\n License along with this library; if not,\ + \ write to the Free Software\n Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,\n\ + \ MA 02110-1301, USA.\n \n see `/usr/share/common-licenses/LGPL-2." + - score: '100.0' + start_line: 30 + end_line: 31 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_209.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed under the GNU General Public License version 2 or above + See `/usr/share/common-licenses/GPL-2'. + - score: '44.0' + start_line: 37 + end_line: 37 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 44 + identifier: gpl-3.0_22.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: and is licensed under the GPL version 3, + - score: '33.0' + start_line: 38 + end_line: 38 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcap-ng0/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcap-ng0/copyright.expected.yml index 3a97f8f3bac..4c232e3de0c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcap-ng0/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcap-ng0/copyright.expected.yml @@ -1,6 +1,82 @@ -- -- -- lgpl-2.0-plus AND gpl-2.0-plus AND gpl-3.0 -- | +primary_license: +declared_license: +license_expression: lgpl-2.0-plus AND gpl-2.0-plus AND gpl-3.0 +copyright: | Copyright 2009 Red Hat Inc. Copyright (c) 2009 Pierre Chifflier +matches: + - score: '96.88' + start_line: 10 + end_line: 27 + matcher: 3-seq + rule_length: 128 + matched_length: 124 + match_coverage: '96.88' + rule_relevance: 100 + identifier: lgpl-2.0-plus_22.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This library is free software; you can redistribute it\ + \ and/or\n modify it under the terms of the GNU Lesser General Public\n License\ + \ as published by the Free Software Foundation; either\n version 2.[1] of the License,\ + \ or (at your option) any later version.\n \n This library is distributed in the\ + \ hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n\ + \ Lesser General Public License for more details.\n \n You should have received\ + \ a copy of the GNU Lesser General Public\n License along with this library; if not,\ + \ write to the Free Software\n Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,\n\ + \ MA 02110-1301, USA.\n \n see `/usr/share/common-licenses/LGPL-2." + - score: '100.0' + start_line: 30 + end_line: 31 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_209.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed under the GNU General Public License version 2 or above + See `/usr/share/common-licenses/GPL-2'. + - score: '44.0' + start_line: 37 + end_line: 37 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 44 + identifier: gpl-3.0_22.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: and is licensed under the GPL version 3, + - score: '33.0' + start_line: 38 + end_line: 38 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcom-err2/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcom-err2/copyright-detailed.expected.yml index 5ad583a65b8..5ecad633492 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcom-err2/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcom-err2/copyright-detailed.expected.yml @@ -1,5 +1,33 @@ -- -- -- mit-old-style-no-advert -- Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts Institute - of Technology +primary_license: +declared_license: +license_expression: mit-old-style-no-advert +copyright: Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts + Institute of Technology +matches: + - score: '100.0' + start_line: 14 + end_line: 24 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_5.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + and its documentation for any purpose and without fee is + hereby granted, provided that the above copyright notice + appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, + and that the names of M.I.T. and the M.I.T. S.I.P.B. not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + M.I.T. and the M.I.T. S.I.P.B. make no representations about + the suitability of this software for any purpose. It is + provided "as is" without express or implied warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcom-err2/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcom-err2/copyright.expected.yml index 5ad583a65b8..5ecad633492 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcom-err2/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcom-err2/copyright.expected.yml @@ -1,5 +1,33 @@ -- -- -- mit-old-style-no-advert -- Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts Institute - of Technology +primary_license: +declared_license: +license_expression: mit-old-style-no-advert +copyright: Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts + Institute of Technology +matches: + - score: '100.0' + start_line: 14 + end_line: 24 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_5.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + and its documentation for any purpose and without fee is + hereby granted, provided that the above copyright notice + appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, + and that the names of M.I.T. and the M.I.T. S.I.P.B. not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + M.I.T. and the M.I.T. S.I.P.B. make no representations about + the suitability of this software for any purpose. It is + provided "as is" without express or implied warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcrypt1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcrypt1/copyright-detailed.expected.yml index cee5abc2571..c7e44447b0a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcrypt1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcrypt1/copyright-detailed.expected.yml @@ -1,10 +1,10 @@ -- -- -- lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.1 AND lgpl-2.1 AND bsd-new AND public-domain AND - public-domain AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified - AND bsd-simplified AND public-domain AND bsd-new AND bsd-simplified AND public-domain AND - gpl-3.0 AND gpl-2.0-plus AND gpl-3.0 -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.1 AND lgpl-2.1 AND bsd-new AND + public-domain AND public-domain AND bsd-simplified AND bsd-simplified AND bsd-simplified AND + bsd-simplified AND bsd-simplified AND public-domain AND bsd-new AND bsd-simplified AND public-domain + AND gpl-3.0 AND gpl-2.0-plus AND gpl-3.0 +copyright: | Copyright Thorsten Kukuk, Bjorn Esser, Zack Weinberg LGPL Copyright Free Software Foundation, Inc. Copyright David Burren @@ -34,3 +34,311 @@ Copyright 2002, 2003, 2004 SuSE Linux AG Germany Copyright 2005, 2008, 2009 2011 SUSE LINUX Products GmbH Copyright 2015 Bjorn Esser +matches: + - score: '97.06' + start_line: 14 + end_line: 16 + matcher: 2-aho + rule_length: 33 + matched_length: 33 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_297.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The overall license for [libxcrypt] is the GNU Lesser General Public + License, version 2.1 (or, at your option, any later version); see + the file COPYING.LIB for the full terms of this license. + - score: '20.0' + start_line: 22 + end_line: 22 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 80 + identifier: lgpl_20_tag.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: Copyright [Thorsten] [Kukuk], [Björn] [Esser], [Zack] [Weinberg]; LGPL ( + - score: '75.0' + start_line: 22 + end_line: 22 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 75 + identifier: lgpl-2.1_88.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL (v2.1 + - score: '75.0' + start_line: 25 + end_line: 25 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 75 + identifier: lgpl-2.1_88.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL (v2.1 + - score: '100.0' + start_line: 29 + end_line: 29 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_308.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '3-clause BSD:' + - score: '70.0' + start_line: 33 + end_line: 33 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain, + - score: '70.0' + start_line: 36 + end_line: 36 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain, + - score: '100.0' + start_line: 43 + end_line: 43 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '100.0' + start_line: 47 + end_line: 47 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '100.0' + start_line: 50 + end_line: 50 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '100.0' + start_line: 71 + end_line: 71 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '100.0' + start_line: 74 + end_line: 74 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '70.0' + start_line: 77 + end_line: 77 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain, + - score: '100.0' + start_line: 80 + end_line: 80 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_308.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '3-clause BSD:' + - score: '100.0' + start_line: 83 + end_line: 83 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '70.0' + start_line: 86 + end_line: 86 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain, + - score: '100.0' + start_line: 98 + end_line: 98 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_76.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL (v3 + - score: '90.0' + start_line: 118 + end_line: 118 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-2.0-plus_176.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPL (v2 or later), + - score: '100.0' + start_line: 128 + end_line: 128 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_76.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL (v3 diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcrypt1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcrypt1/copyright.expected.yml index 0f84bd42e1e..4609b125ae1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcrypt1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcrypt1/copyright.expected.yml @@ -1,8 +1,8 @@ -- -- -- lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.1 AND bsd-new AND public-domain AND bsd-simplified - AND gpl-3.0 AND gpl-2.0-plus -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.1 AND bsd-new AND public-domain + AND bsd-simplified AND gpl-3.0 AND gpl-2.0-plus +copyright: | Copyright Thorsten Kukuk, Bjorn Esser, Zack Weinberg LGPL Copyright Free Software Foundation, Inc. Copyright David Burren @@ -32,3 +32,311 @@ Copyright 2002, 2003, 2004 SuSE Linux AG Germany Copyright 2005, 2008, 2009 2011 SUSE LINUX Products GmbH Copyright 2015 Bjorn Esser +matches: + - score: '97.06' + start_line: 14 + end_line: 16 + matcher: 2-aho + rule_length: 33 + matched_length: 33 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_297.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The overall license for [libxcrypt] is the GNU Lesser General Public + License, version 2.1 (or, at your option, any later version); see + the file COPYING.LIB for the full terms of this license. + - score: '20.0' + start_line: 22 + end_line: 22 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 80 + identifier: lgpl_20_tag.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: Copyright [Thorsten] [Kukuk], [Björn] [Esser], [Zack] [Weinberg]; LGPL ( + - score: '75.0' + start_line: 22 + end_line: 22 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 75 + identifier: lgpl-2.1_88.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL (v2.1 + - score: '75.0' + start_line: 25 + end_line: 25 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 75 + identifier: lgpl-2.1_88.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL (v2.1 + - score: '100.0' + start_line: 29 + end_line: 29 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_308.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '3-clause BSD:' + - score: '70.0' + start_line: 33 + end_line: 33 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain, + - score: '70.0' + start_line: 36 + end_line: 36 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain, + - score: '100.0' + start_line: 43 + end_line: 43 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '100.0' + start_line: 47 + end_line: 47 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '100.0' + start_line: 50 + end_line: 50 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '100.0' + start_line: 71 + end_line: 71 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '100.0' + start_line: 74 + end_line: 74 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '70.0' + start_line: 77 + end_line: 77 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain, + - score: '100.0' + start_line: 80 + end_line: 80 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_308.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '3-clause BSD:' + - score: '100.0' + start_line: 83 + end_line: 83 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '70.0' + start_line: 86 + end_line: 86 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain, + - score: '100.0' + start_line: 98 + end_line: 98 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_76.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL (v3 + - score: '90.0' + start_line: 118 + end_line: 118 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-2.0-plus_176.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPL (v2 or later), + - score: '100.0' + start_line: 128 + end_line: 128 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_76.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL (v3 diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdb5.3/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdb5.3/copyright-detailed.expected.yml index 9e6e73d2e7a..653ae560a42 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdb5.3/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdb5.3/copyright-detailed.expected.yml @@ -1,8 +1,192 @@ -- -- -- sleepycat AND sleepycat AND bsd-new AND bsd-new AND bsd-new -- | +primary_license: +declared_license: +license_expression: sleepycat AND sleepycat AND bsd-new AND bsd-new AND bsd-new +copyright: | Copyright (c) 1990, 2010 Oracle and/or its affiliates Copyright (c) 1990, 1993, 1994, 1995 The Regents of the University of California Copyright (c) 1995, 1996 The President and Fellows of Harvard University Copyright (c) 2000-2005 INRIA, France Telecom +matches: + - score: '100.0' + start_line: 5 + end_line: 12 + matcher: 2-aho + rule_length: 61 + matched_length: 61 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sleepycat_17.RULE + license_expression: sleepycat + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "http://www.oracle.com/technology/software/products/berkeley-db/db/index.html\n\ + \ \n Copyright and license:\n \n The following is the license that applies to this copy\ + \ of the Berkeley DB\n software. For a license to use the Berkeley DB software under\ + \ conditions\n other than those described here, or to purchase support for this software,\n\ + \ please contact Oracle at berkeleydb-info_us@oracle.com." + - score: '100.0' + start_line: 18 + end_line: 47 + matcher: 2-aho + rule_length: 283 + matched_length: 283 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sleepycat_15.RULE + license_expression: sleepycat + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 3. Redistributions in any form must be accompanied by information on + * how to obtain complete source code for the DB software and any + * accompanying software that uses the DB software. The source code + * must either be included in the distribution or be available for no + * more than the cost of distribution plus a nominal fee, and must be + * freely redistributable under reasonable conditions. For an + * executable file, complete source code means the source code for all + * modules it contains. It does not include source code for modules or + * files that typically accompany the major components of the operating + * system on which the executable file runs. + * + * THIS SOFTWARE IS PROVIDED BY ORACLE ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR + * NON-INFRINGEMENT, ARE DISCLAIMED. IN NO EVENT SHALL ORACLE 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. + - score: '100.0' + start_line: 53 + end_line: 75 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 81 + end_line: 103 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_943.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 3. 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 BY HARVARD AND ITS 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 HARVARD OR ITS 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. + - score: '100.0' + start_line: 111 + end_line: 133 + matcher: 2-aho + rule_length: 216 + matched_length: 216 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_115.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 3. Neither the name of the copyright holders 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 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 OWNER 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdb5.3/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdb5.3/copyright.expected.yml index 0afcb545c1c..9de36f22be5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdb5.3/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdb5.3/copyright.expected.yml @@ -1,8 +1,192 @@ -- -- -- sleepycat AND bsd-new -- | +primary_license: +declared_license: +license_expression: sleepycat AND bsd-new +copyright: | Copyright (c) 1990, 2010 Oracle and/or its affiliates Copyright (c) 1990, 1993, 1994, 1995 The Regents of the University of California Copyright (c) 1995, 1996 The President and Fellows of Harvard University Copyright (c) 2000-2005 INRIA, France Telecom +matches: + - score: '100.0' + start_line: 5 + end_line: 12 + matcher: 2-aho + rule_length: 61 + matched_length: 61 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sleepycat_17.RULE + license_expression: sleepycat + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "http://www.oracle.com/technology/software/products/berkeley-db/db/index.html\n\ + \ \n Copyright and license:\n \n The following is the license that applies to this copy\ + \ of the Berkeley DB\n software. For a license to use the Berkeley DB software under\ + \ conditions\n other than those described here, or to purchase support for this software,\n\ + \ please contact Oracle at berkeleydb-info_us@oracle.com." + - score: '100.0' + start_line: 18 + end_line: 47 + matcher: 2-aho + rule_length: 283 + matched_length: 283 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sleepycat_15.RULE + license_expression: sleepycat + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 3. Redistributions in any form must be accompanied by information on + * how to obtain complete source code for the DB software and any + * accompanying software that uses the DB software. The source code + * must either be included in the distribution or be available for no + * more than the cost of distribution plus a nominal fee, and must be + * freely redistributable under reasonable conditions. For an + * executable file, complete source code means the source code for all + * modules it contains. It does not include source code for modules or + * files that typically accompany the major components of the operating + * system on which the executable file runs. + * + * THIS SOFTWARE IS PROVIDED BY ORACLE ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR + * NON-INFRINGEMENT, ARE DISCLAIMED. IN NO EVENT SHALL ORACLE 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. + - score: '100.0' + start_line: 53 + end_line: 75 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 81 + end_line: 103 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_943.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 3. 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 BY HARVARD AND ITS 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 HARVARD OR ITS 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. + - score: '100.0' + start_line: 111 + end_line: 133 + matcher: 2-aho + rule_length: 216 + matched_length: 216 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_115.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + * 3. Neither the name of the copyright holders 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 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 OWNER 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdebconfclient0/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdebconfclient0/copyright-detailed.expected.yml index af963938687..190e152c74d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdebconfclient0/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdebconfclient0/copyright-detailed.expected.yml @@ -1,7 +1,54 @@ -- -- -- public-domain AND bsd-unmodified -- | +primary_license: +declared_license: +license_expression: public-domain AND bsd-unmodified +copyright: | (c) Joey Hess (c) Jason Gunthorpe copyrighted (c) 2000-2009 by Randolph Chung +matches: + - score: '100.0' + start_line: 17 + end_line: 17 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_282.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: derived portions are public domain) + - score: '100.0' + start_line: 22 + end_line: 41 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-unmodified_4.RULE + license_expression: bsd-unmodified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdebconfclient0/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdebconfclient0/copyright.expected.yml index af963938687..190e152c74d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdebconfclient0/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdebconfclient0/copyright.expected.yml @@ -1,7 +1,54 @@ -- -- -- public-domain AND bsd-unmodified -- | +primary_license: +declared_license: +license_expression: public-domain AND bsd-unmodified +copyright: | (c) Joey Hess (c) Jason Gunthorpe copyrighted (c) 2000-2009 by Randolph Chung +matches: + - score: '100.0' + start_line: 17 + end_line: 17 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_282.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: derived portions are public domain) + - score: '100.0' + start_line: 22 + end_line: 41 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-unmodified_4.RULE + license_expression: bsd-unmodified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libext2fs2/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libext2fs2/copyright-detailed.expected.yml index 5bc174cbba1..16a70b23cf0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libext2fs2/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libext2fs2/copyright-detailed.expected.yml @@ -1,8 +1,8 @@ -- -- -- (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 AND lgpl-2.0) - AND ntp-0 AND bsd-new -- | +primary_license: +declared_license: +license_expression: (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 + AND lgpl-2.0) AND ntp-0 AND bsd-new +copyright: | Copyright (c) 2003-2007 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove @@ -10,3 +10,103 @@ Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o Copyright 1987 by the Student Information Processing Board of the Massachusetts Institute of Technology +matches: + - score: '98.28' + start_line: 17 + end_line: 22 + matcher: 3-seq + rule_length: 58 + matched_length: 57 + match_coverage: '98.28' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_2.RULE + license_expression: gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 [filesystem] utilities, are made available under + the GNU General Public License version 2, with the exception of the + [lib]/[ext2fs] [and] [lib]/[e2p] libraries, which are made available under the + GNU Library General Public License Version 2, the [lib]/[uuid] library + which is made available under a BSD-style license and the [lib]/[et] [and] + [lib]/[ss] libraries which are made available under an MIT-style license. + - score: '100.0' + start_line: 27 + end_line: 30 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_4.RULE + license_expression: gpl-2.0 AND lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General Public + License can be found in `/usr/share/common-licenses/GPL-2'. The + complete text of the GNU Library General Public License can be found + in '/usr/share/common-licenses/LGPL-2'. + - score: '100.0' + start_line: 38 + end_line: 45 + matcher: 2-aho + rule_length: 83 + matched_length: 83 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ntp-0.LICENSE + license_expression: ntp-0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose is hereby granted, provided that + the names of M.I.T. and the M.I.T. S.I.P.B. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. M.I.T. and the + M.I.T. S.I.P.B. make no representations about the suitability of + this software for any purpose. It is provided "as is" without + express or implied warranty. + - score: '100.0' + start_line: 49 + end_line: 73 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or\ + \ promote\n products derived from this software without specific prior\n written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\ + \ EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH\n\ + \ DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libext2fs2/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libext2fs2/copyright.expected.yml index 5bc174cbba1..16a70b23cf0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libext2fs2/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libext2fs2/copyright.expected.yml @@ -1,8 +1,8 @@ -- -- -- (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 AND lgpl-2.0) - AND ntp-0 AND bsd-new -- | +primary_license: +declared_license: +license_expression: (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 + AND lgpl-2.0) AND ntp-0 AND bsd-new +copyright: | Copyright (c) 2003-2007 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove @@ -10,3 +10,103 @@ Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o Copyright 1987 by the Student Information Processing Board of the Massachusetts Institute of Technology +matches: + - score: '98.28' + start_line: 17 + end_line: 22 + matcher: 3-seq + rule_length: 58 + matched_length: 57 + match_coverage: '98.28' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_2.RULE + license_expression: gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 [filesystem] utilities, are made available under + the GNU General Public License version 2, with the exception of the + [lib]/[ext2fs] [and] [lib]/[e2p] libraries, which are made available under the + GNU Library General Public License Version 2, the [lib]/[uuid] library + which is made available under a BSD-style license and the [lib]/[et] [and] + [lib]/[ss] libraries which are made available under an MIT-style license. + - score: '100.0' + start_line: 27 + end_line: 30 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_4.RULE + license_expression: gpl-2.0 AND lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General Public + License can be found in `/usr/share/common-licenses/GPL-2'. The + complete text of the GNU Library General Public License can be found + in '/usr/share/common-licenses/LGPL-2'. + - score: '100.0' + start_line: 38 + end_line: 45 + matcher: 2-aho + rule_length: 83 + matched_length: 83 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ntp-0.LICENSE + license_expression: ntp-0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose is hereby granted, provided that + the names of M.I.T. and the M.I.T. S.I.P.B. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. M.I.T. and the + M.I.T. S.I.P.B. make no representations about the suitability of + this software for any purpose. It is provided "as is" without + express or implied warranty. + - score: '100.0' + start_line: 49 + end_line: 73 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or\ + \ promote\n products derived from this software without specific prior\n written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\ + \ EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH\n\ + \ DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libffi7/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libffi7/copyright-detailed.expected.yml index 69722ee342b..612a79d5418 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libffi7/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libffi7/copyright-detailed.expected.yml @@ -1,7 +1,8 @@ -- -- -- mit AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-1.0-plus -- | +primary_license: +declared_license: +license_expression: mit AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus + AND gpl-1.0-plus +copyright: | Copyright (c) 1996-2011 Red Hat, Inc. Copyright (c) 1996-2011 Anthony Green Copyright (c) 1996-2010 Free Software Foundation, Inc @@ -26,3 +27,125 @@ Copyright (c) 2008 Bjorn Konig Copyright (c) 1996-2010 Red Hat, Inc and others (c) 2008, 2011 Matthias Klose +matches: + - score: '100.0' + start_line: 42 + end_line: 59 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining\n \ + \ a copy of this software and associated documentation files (the\n ``Software''),\ + \ to deal in the Software without restriction, including\n without limitation the\ + \ rights to use, copy, modify, merge, publish,\n distribute, sublicense, and/or sell\ + \ copies of the Software, and to\n permit persons to whom the Software is furnished\ + \ to do so, subject to\n the following conditions:\n \n The above copyright notice\ + \ and this permission notice shall be included\n in all copies or substantial portions\ + \ of the Software.\n \n THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY\ + \ KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n \ + \ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n IN NO\ + \ EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n CLAIM, DAMAGES\ + \ OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n TORT OR OTHERWISE, ARISING\ + \ FROM, OUT OF OR IN CONNECTION WITH THE\n SOFTWARE OR THE USE OR OTHER DEALINGS IN\ + \ THE SOFTWARE." + - score: '100.0' + start_line: 62 + end_line: 66 + matcher: 2-aho + rule_length: 51 + matched_length: 51 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_35.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. A copy of the license is included in the + section entitled ``GNU General Public License''. + - score: '100.0' + start_line: 69 + end_line: 73 + matcher: 2-aho + rule_length: 51 + matched_length: 51 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_35.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. A copy of the license is included in the + section entitled ``GNU General Public License''. + - score: '19.35' + start_line: 75 + end_line: 76 + matcher: 3-seq + rule_length: 31 + matched_length: 6 + match_coverage: '19.35' + rule_relevance: 100 + identifier: gpl-2.0-plus_636.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + of the GNU General + Public License + - score: '100.0' + start_line: 76 + end_line: 76 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_424.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL'. + - score: '66.35' + start_line: 79 + end_line: 79 + matcher: 3-seq + rule_length: 17 + matched_length: 12 + match_coverage: '70.59' + rule_relevance: 94 + identifier: gpl_50.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libffi7/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libffi7/copyright.expected.yml index 6580f96c762..9eb2d130f50 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libffi7/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libffi7/copyright.expected.yml @@ -1,7 +1,7 @@ -- -- -- mit AND gpl-2.0-plus AND gpl-1.0-plus -- | +primary_license: +declared_license: +license_expression: mit AND gpl-2.0-plus AND gpl-1.0-plus +copyright: | Copyright (c) 1996-2011 Red Hat, Inc. Copyright (c) 1996-2011 Anthony Green Copyright (c) 1996-2010 Free Software Foundation, Inc @@ -26,3 +26,125 @@ Copyright (c) 2008 Bjorn Konig Copyright (c) 1996-2010 Red Hat, Inc and others (c) 2008, 2011 Matthias Klose +matches: + - score: '100.0' + start_line: 42 + end_line: 59 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining\n \ + \ a copy of this software and associated documentation files (the\n ``Software''),\ + \ to deal in the Software without restriction, including\n without limitation the\ + \ rights to use, copy, modify, merge, publish,\n distribute, sublicense, and/or sell\ + \ copies of the Software, and to\n permit persons to whom the Software is furnished\ + \ to do so, subject to\n the following conditions:\n \n The above copyright notice\ + \ and this permission notice shall be included\n in all copies or substantial portions\ + \ of the Software.\n \n THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY\ + \ KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n \ + \ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n IN NO\ + \ EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n CLAIM, DAMAGES\ + \ OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n TORT OR OTHERWISE, ARISING\ + \ FROM, OUT OF OR IN CONNECTION WITH THE\n SOFTWARE OR THE USE OR OTHER DEALINGS IN\ + \ THE SOFTWARE." + - score: '100.0' + start_line: 62 + end_line: 66 + matcher: 2-aho + rule_length: 51 + matched_length: 51 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_35.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. A copy of the license is included in the + section entitled ``GNU General Public License''. + - score: '100.0' + start_line: 69 + end_line: 73 + matcher: 2-aho + rule_length: 51 + matched_length: 51 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_35.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. A copy of the license is included in the + section entitled ``GNU General Public License''. + - score: '19.35' + start_line: 75 + end_line: 76 + matcher: 3-seq + rule_length: 31 + matched_length: 6 + match_coverage: '19.35' + rule_relevance: 100 + identifier: gpl-2.0-plus_636.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + of the GNU General + Public License + - score: '100.0' + start_line: 76 + end_line: 76 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_424.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL'. + - score: '66.35' + start_line: 79 + end_line: 79 + matcher: 3-seq + rule_length: 17 + matched_length: 12 + match_coverage: '70.59' + rule_relevance: 94 + identifier: gpl_50.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgcrypt20/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgcrypt20/copyright-detailed.expected.yml index 2fec3d1666b..cff71dbdd08 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgcrypt20/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgcrypt20/copyright-detailed.expected.yml @@ -1,12 +1,12 @@ -- -- -- gpl-1.0-plus AND public-domain AND fsf-unlimited-no-warranty AND (lgpl-2.0-plus AND gpl-1.0-plus) - AND (gpl-1.0-plus OR lgpl-2.0-plus) AND gpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.1-plus AND - lgpl-2.1-plus AND lgpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0-plus AND ((gpl-2.0 AND lgpl-2.1-plus) - AND other-permissive) AND bsd-new AND bsd-new AND (bsd-new OR gpl-1.0-plus) AND x11-xconsortium - AND public-domain AND public-domain AND ocb-open-source-2013 AND ocb-open-source-2013 AND - gpl-2.0-plus -- | +primary_license: +declared_license: +license_expression: gpl-1.0-plus AND public-domain AND fsf-unlimited-no-warranty AND (lgpl-2.0-plus + AND gpl-1.0-plus) AND (gpl-1.0-plus OR lgpl-2.0-plus) AND gpl-2.0-plus AND lgpl-2.0-plus AND + lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0-plus AND ((gpl-2.0 + AND lgpl-2.1-plus) AND other-permissive) AND bsd-new AND bsd-new AND (bsd-new OR gpl-1.0-plus) + AND x11-xconsortium AND public-domain AND public-domain AND ocb-open-source-2013 AND ocb-open-source-2013 + AND gpl-2.0-plus +copyright: | Copyright (c) 1989,1991-2019 Free Software Foundation, Inc. Copyright (c) 1994 X Consortium Copyright (c) 1996 L. Peter Deutsch @@ -32,3 +32,520 @@ Copyright (c) 2012, Intel Corporation Copyright Stephan Mueller , 2013 Copyright (c) 1994 X Consortium +matches: + - score: '50.0' + start_line: 211 + end_line: 211 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 218 + end_line: 218 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_311.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: public domain code + - score: '100.0' + start_line: 222 + end_line: 228 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; as a special exception the author gives\n unlimited\ + \ permission to copy and/or distribute it, with or without\n modifications, as long as\ + \ this notice is preserved.\n \n This file is distributed in the hope that it will be\ + \ useful, but\n WITHOUT ANY WARRANTY, to the extent permitted by law; without even the\n\ + \ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + - score: '96.83' + start_line: 226 + end_line: 260 + matcher: 3-seq + rule_length: 189 + matched_length: 183 + match_coverage: '96.83' + rule_relevance: 100 + identifier: lgpl-2.0-plus_and_gpl-1.0-plus_4.RULE + license_expression: lgpl-2.0-plus AND gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is distributed [in] [the] [hope] [that] [it] [will] [be] [useful], [but]\n\ + \ [WITHOUT] [ANY] [WARRANTY], [to] [the] [extent] [permitted] [by] [law]; [without] [even]\ + \ [the]\n [implied] [warranty] [of] [MERCHANTABILITY] [or] [FITNESS] [FOR] A [PARTICULAR]\ + \ [PURPOSE].\n [8X]---------------------------------------------------\n \n [License]:\n\ + \ \n [Most] [of] [the] [package] [is] [licensed] [under] the GNU Lesser General Public\n\ + \ License (LGPL) [version] [2].[1] ([or] [later]), [except] [for] [helper] [and] [debugging]\n\ + \ [binaries]. [See] [below] [for] [details]. [The] [documentation] [is] [licensed] [under]\n\ + \ [the] [GPLv2] ([or] [later]), [see] [below].\n \n [Excerpt] [from] [upstream]'s [README]:\n\ + \ \n [The] [library] [is] [distributed] [under] [the] [terms] [of] [the] [GNU] [Lesser]\n\ + \ [General] [Public] [License] ([LGPL]); see the file COPYING.LIB for the\n actual\ + \ terms. The helper programs ([e].[g]. [gcryptrnd] [and] [getrandom])\n as well as\ + \ the documentation are distributed under the terms of\n the GNU General Public License\ + \ (GPL); see the file COPYING for the\n actual terms.\n \n This library used to\ + \ be available under the GPL - this was changed\n with version 1.1.7 with the rationale\ + \ that there are now many free\n crypto libraries available and many of them come\ + \ with capabilities\n similar to Libcrypt. We decided that to foster the use of\n\ + \ cryptography in Free Software an LGPLed library would make more\n sense because\ + \ it avoids problems due to license incompatibilities\n between some Free Software\ + \ licenses and the GPL.\n \n Please note that in many cases it is better for a library\ + \ to be\n licensed under the GPL, so that it provides an advantage for free\n \ + \ software projects. The Lesser GPL is so named because it does\n less to protect\ + \ the freedom of the users of the code that it\n covers. See http://www.gnu.org/philosophy/why-not-lgpl.html\ + \ for\n more explanation." + - score: '100.0' + start_line: 233 + end_line: 234 + matcher: 2-aho + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_lgpl-2.0-plus_4.RULE + license_expression: gpl-1.0-plus OR lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Most of the package is licensed under the GNU Lesser General Public + License (LGPL) version 2.1 (or later), + - score: '50.0' + start_line: 235 + end_line: 236 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl-2.0-plus_813.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The documentation is licensed under + the GPLv2 (or later), + - score: '75.0' + start_line: 262 + end_line: 262 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 75 + identifier: lgpl_bare_single_word.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL + - score: '99.03' + start_line: 270 + end_line: 281 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_260.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify\n it under the\ + \ terms of the GNU Lesser General Public License as\n published by the Free Software\ + \ Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\ + \ \n [Libgcrypt] is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n GNU Lesser General Public License for more details.\n\ + \ \n You should have received a copy of the GNU Lesser General Public\n License\ + \ along with this program; if not, see ." + - score: '100.0' + start_line: 284 + end_line: 285 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU Lesser + General Public License + - score: '50.0' + start_line: 285 + end_line: 286 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: lgpl-2.0-plus_438.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + can be found in + `/usr/share/common-licenses/LGPL'; + - score: '100.0' + start_line: 288 + end_line: 288 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_85.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: licensed under the GPL + - score: '100.0' + start_line: 294 + end_line: 298 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_767.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2 of the License, or (at your + option) any later version. The text of the license can be found in the + section entitled ``GNU General Public License''. + - score: '96.97' + start_line: 306 + end_line: 308 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.1-plus_and_other-permissive_1.RULE + license_expression: (gpl-2.0 AND lgpl-2.1-plus) AND other-permissive + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file contains the copying permission notices for various files in + the [Libgcrypt] distribution which are not covered by the GNU Lesser + General Public License (LGPL) or the GNU General Public License (GPL). + - score: '100.0' + start_line: 315 + end_line: 315 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_947.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: BSD_3Clause + - score: '100.0' + start_line: 330 + end_line: 357 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_152.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the\n distribution.\n\ + \ \n * Neither the name of the Intel Corporation nor the names of its\n contributors\ + \ may be used to endorse or promote products derived from\n this software without\ + \ specific prior written permission.\n \n \n THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION\ + \ \"AS IS\" AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\ + \ THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION OR\n CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,\ + \ OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY,\ + \ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n NEGLIGENCE OR OTHERWISE)\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 372 + end_line: 402 + matcher: 2-aho + rule_length: 260 + matched_length: 260 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl_2.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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, and the entire permission notice in its entirety, + * including the disclaimer of warranties. + * 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. + * 3. The name of the author may not be used to endorse or promote + * products derived from this software without specific prior + * written permission. + * + * ALTERNATIVELY, this product may be distributed under the terms of + * the GNU General Public License, in which case the provisions of the GPL are + * required INSTEAD OF the above restrictions. (This clause is + * necessary due to a potential bad interaction between the GPL and + * the restrictions contained in a BSD-style copyright.) + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF + * WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR 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 NOT ADVISED OF THE POSSIBILITY OF SUCH + * DAMAGE. + - score: '100.0' + start_line: 413 + end_line: 433 + matcher: 2-aho + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to\n deal\ + \ in the Software without restriction, including without limitation the\n rights to\ + \ use, copy, modify, merge, publish, distribute, sublicense, and/or\n sell copies of\ + \ the Software, and to permit persons to whom the Software is\n furnished to do so,\ + \ subject to the following conditions:\n \n The above copyright notice and this permission\ + \ notice shall be included in\n all copies or substantial portions of the Software.\n\ + \ \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\ + \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS\ + \ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n X CONSORTIUM\ + \ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN\n AN ACTION OF CONTRACT,\ + \ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-\n TION WITH THE SOFTWARE OR\ + \ THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n Except as contained in this notice,\ + \ the name of the X Consortium shall not\n be used in advertising or otherwise to promote\ + \ the sale, use or other deal-\n ings in this Software without prior written authorization\ + \ from the X Consor-\n tium." + - score: '70.0' + start_line: 436 + end_line: 436 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain + - score: '100.0' + start_line: 443 + end_line: 444 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_326.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licence: I hereby disclaim the copyright on this code and place it + in the public domain. + - score: '99.0' + start_line: 453 + end_line: 454 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 99 + identifier: ocb-open-source-2013_2.RULE + license_expression: ocb-open-source-2013 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + OCB is covered by several patents but may be used freely by most + software. + - score: '96.98' + start_line: 475 + end_line: 540 + matcher: 3-seq + rule_length: 597 + matched_length: 579 + match_coverage: '96.98' + rule_relevance: 100 + identifier: ocb-open-source-2013.LICENSE + license_expression: ocb-open-source-2013 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "1.1 “Licensor” means Phillip Rogaway.\n \n 1.2 “Licensed Patents” means\ + \ any patent that claims priority to United\n States Patent Application No. 09/918,615\ + \ entitled “Method and Apparatus\n for Facilitating Efficient Authenticated Encryption,”\ + \ and any utility,\n divisional, provisional, continuation, continuations-in-part, reexamination,\n\ + \ reissue, or foreign counterpart patents that may issue with respect to the\n aforesaid\ + \ patent application. This includes, but is not limited to, United\n States Patent No.\ + \ 7,046,802; United States Patent No. 7,200,227; United\n States Patent No. 7,949,129;\ + \ United States Patent No. 8,321,675 ; and any\n patent that issues out of United States\ + \ Patent Application No. 13/669,114.\n \n 1.3 “Use” means any practice of any invention\ + \ claimed in the Licensed Patents.\n \n 1.4 “Software Implementation” means any practice\ + \ of any invention\n claimed in the Licensed Patents that takes the form of software\ + \ executing on\n a [user]-[programmable], general-purpose computer or that takes the\ + \ form of a\n [computer]-[readable] medium storing such software. Software Implementation\ + \ does\n not include, for example, application-specific integrated circuits (ASICs),\n\ + \ [field]-[programmable] gate arrays (FPGAs), embedded systems, or IP cores.\n \n 1.5\ + \ “Open Source Software” means software whose source code is published\n and made available\ + \ for inspection and use by anyone because either (a) the\n source code is subject to\ + \ a license that permits recipients to copy, modify,\n and distribute the source code\ + \ without payment of fees or royalties, or\n (b) the source code is in the public domain,\ + \ including code released for\n public use through a CC0 waiver. All licenses certified\ + \ by the Open Source\n Initiative at opensource.org as of January 9, 2013 and all Creative\ + \ Commons\n licenses identified on the creativecommons.org website as of January 9,\n\ + \ 2013, including the Public License Fallback of the CC0 waiver, satisfy these\n requirements\ + \ for the purposes of this license.\n \n 1.6 “Open Source Software Implementation” means\ + \ a Software\n Implementation in which the software implicating the Licensed Patents\ + \ is\n Open Source Software. Open Source Software Implementation does not include\n \ + \ any Software Implementation in which the software implicating the Licensed\n Patents\ + \ is combined, so as to form a larger program, with software that is\n not Open Source\ + \ Software.\n \n 2 License Grant\n \n 2.1 License. Subject to your compliance with the\ + \ [term] s of this license,\n including the restriction set forth in Section 2.2, Licensor\ + \ hereby\n grants to you a perpetual, worldwide, non-exclusive, non-transferable,\n \ + \ non-sublicenseable, no-charge, royalty-free, irrevocable license to practice\n any\ + \ invention claimed in the Licensed Patents in any Open Source Software\n Implementation.\n\ + \ \n 2.2 Restriction. If you or your affiliates institute patent litigation\n (including,\ + \ but not limited to, a cross-claim or counterclaim in a lawsuit)\n against any entity\ + \ alleging that any Use authorized by this license\n infringes another patent, then any\ + \ rights granted to you under this license\n automatically terminate as of the date such\ + \ litigation is filed.\n \n 3 Disclaimer\n YOUR USE OF THE LICENSED PATENTS IS AT YOUR\ + \ OWN RISK AND UNLESS REQUIRED\n BY APPLICABLE LAW, LICENSOR MAKES NO REPRESENTATIONS\ + \ OR WARRANTIES OF ANY\n KIND CONCERNING THE LICENSED PATENTS OR ANY PRODUCT EMBODYING\ + \ ANY LICENSED\n PATENT, EXPRESS OR IMPLIED, [STATUT] [ORY] OR OTHERWISE, INCLUDING,\ + \ WITHOUT\n LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR\n\ + \ PURPOSE, OR NONINFRINGEMENT. IN NO EVENT WILL LICENSOR BE LIABLE FOR ANY\n CLAIM,\ + \ DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\n ARISING FROM\ + \ OR RELATED TO ANY USE OF THE LICENSED PATENTS, INCLUDING,\n WITHOUT LIMITATION, DIRECT,\ + \ INDIRECT, INCIDENTAL, CONSEQUENTIAL, PUNITIVE\n OR SPECIAL DAMAGES, EVEN IF LICENSOR\ + \ HAS BEEN ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGES PRIOR TO SUCH AN OCCURRENCE." + - score: '62.5' + start_line: 545 + end_line: 546 + matcher: 3-seq + rule_length: 40 + matched_length: 25 + match_coverage: '62.5' + rule_relevance: 100 + identifier: gpl-2.0-plus_754.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the text of the GNU General Public License, + version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgcrypt20/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgcrypt20/copyright.expected.yml index 7238be02953..c98116a75f6 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgcrypt20/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgcrypt20/copyright.expected.yml @@ -1,10 +1,10 @@ -- -- -- gpl-1.0-plus AND public-domain AND fsf-unlimited-no-warranty AND (lgpl-2.0-plus AND gpl-1.0-plus) - AND (gpl-1.0-plus OR lgpl-2.0-plus) AND gpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.1-plus AND - ((gpl-2.0 AND lgpl-2.1-plus) AND other-permissive) AND bsd-new AND (bsd-new OR gpl-1.0-plus) - AND x11-xconsortium AND ocb-open-source-2013 -- | +primary_license: +declared_license: +license_expression: gpl-1.0-plus AND public-domain AND fsf-unlimited-no-warranty AND (lgpl-2.0-plus + AND gpl-1.0-plus) AND (gpl-1.0-plus OR lgpl-2.0-plus) AND gpl-2.0-plus AND lgpl-2.0-plus AND + lgpl-2.1-plus AND ((gpl-2.0 AND lgpl-2.1-plus) AND other-permissive) AND bsd-new AND (bsd-new + OR gpl-1.0-plus) AND x11-xconsortium AND ocb-open-source-2013 +copyright: | Copyright (c) 1989,1991-2019 Free Software Foundation, Inc. Copyright (c) 1994 X Consortium Copyright (c) 1996 L. Peter Deutsch @@ -30,3 +30,520 @@ Copyright (c) 2012, Intel Corporation Copyright Stephan Mueller , 2013 Copyright (c) 1994 X Consortium +matches: + - score: '50.0' + start_line: 211 + end_line: 211 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 218 + end_line: 218 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_311.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: public domain code + - score: '100.0' + start_line: 222 + end_line: 228 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; as a special exception the author gives\n unlimited\ + \ permission to copy and/or distribute it, with or without\n modifications, as long as\ + \ this notice is preserved.\n \n This file is distributed in the hope that it will be\ + \ useful, but\n WITHOUT ANY WARRANTY, to the extent permitted by law; without even the\n\ + \ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + - score: '96.83' + start_line: 226 + end_line: 260 + matcher: 3-seq + rule_length: 189 + matched_length: 183 + match_coverage: '96.83' + rule_relevance: 100 + identifier: lgpl-2.0-plus_and_gpl-1.0-plus_4.RULE + license_expression: lgpl-2.0-plus AND gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is distributed [in] [the] [hope] [that] [it] [will] [be] [useful], [but]\n\ + \ [WITHOUT] [ANY] [WARRANTY], [to] [the] [extent] [permitted] [by] [law]; [without] [even]\ + \ [the]\n [implied] [warranty] [of] [MERCHANTABILITY] [or] [FITNESS] [FOR] A [PARTICULAR]\ + \ [PURPOSE].\n [8X]---------------------------------------------------\n \n [License]:\n\ + \ \n [Most] [of] [the] [package] [is] [licensed] [under] the GNU Lesser General Public\n\ + \ License (LGPL) [version] [2].[1] ([or] [later]), [except] [for] [helper] [and] [debugging]\n\ + \ [binaries]. [See] [below] [for] [details]. [The] [documentation] [is] [licensed] [under]\n\ + \ [the] [GPLv2] ([or] [later]), [see] [below].\n \n [Excerpt] [from] [upstream]'s [README]:\n\ + \ \n [The] [library] [is] [distributed] [under] [the] [terms] [of] [the] [GNU] [Lesser]\n\ + \ [General] [Public] [License] ([LGPL]); see the file COPYING.LIB for the\n actual\ + \ terms. The helper programs ([e].[g]. [gcryptrnd] [and] [getrandom])\n as well as\ + \ the documentation are distributed under the terms of\n the GNU General Public License\ + \ (GPL); see the file COPYING for the\n actual terms.\n \n This library used to\ + \ be available under the GPL - this was changed\n with version 1.1.7 with the rationale\ + \ that there are now many free\n crypto libraries available and many of them come\ + \ with capabilities\n similar to Libcrypt. We decided that to foster the use of\n\ + \ cryptography in Free Software an LGPLed library would make more\n sense because\ + \ it avoids problems due to license incompatibilities\n between some Free Software\ + \ licenses and the GPL.\n \n Please note that in many cases it is better for a library\ + \ to be\n licensed under the GPL, so that it provides an advantage for free\n \ + \ software projects. The Lesser GPL is so named because it does\n less to protect\ + \ the freedom of the users of the code that it\n covers. See http://www.gnu.org/philosophy/why-not-lgpl.html\ + \ for\n more explanation." + - score: '100.0' + start_line: 233 + end_line: 234 + matcher: 2-aho + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_lgpl-2.0-plus_4.RULE + license_expression: gpl-1.0-plus OR lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Most of the package is licensed under the GNU Lesser General Public + License (LGPL) version 2.1 (or later), + - score: '50.0' + start_line: 235 + end_line: 236 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl-2.0-plus_813.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The documentation is licensed under + the GPLv2 (or later), + - score: '75.0' + start_line: 262 + end_line: 262 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 75 + identifier: lgpl_bare_single_word.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL + - score: '99.03' + start_line: 270 + end_line: 281 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_260.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify\n it under the\ + \ terms of the GNU Lesser General Public License as\n published by the Free Software\ + \ Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\ + \ \n [Libgcrypt] is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n GNU Lesser General Public License for more details.\n\ + \ \n You should have received a copy of the GNU Lesser General Public\n License\ + \ along with this program; if not, see ." + - score: '100.0' + start_line: 284 + end_line: 285 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU Lesser + General Public License + - score: '50.0' + start_line: 285 + end_line: 286 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: lgpl-2.0-plus_438.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + can be found in + `/usr/share/common-licenses/LGPL'; + - score: '100.0' + start_line: 288 + end_line: 288 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_85.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: licensed under the GPL + - score: '100.0' + start_line: 294 + end_line: 298 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_767.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2 of the License, or (at your + option) any later version. The text of the license can be found in the + section entitled ``GNU General Public License''. + - score: '96.97' + start_line: 306 + end_line: 308 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.1-plus_and_other-permissive_1.RULE + license_expression: (gpl-2.0 AND lgpl-2.1-plus) AND other-permissive + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file contains the copying permission notices for various files in + the [Libgcrypt] distribution which are not covered by the GNU Lesser + General Public License (LGPL) or the GNU General Public License (GPL). + - score: '100.0' + start_line: 315 + end_line: 315 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_947.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: BSD_3Clause + - score: '100.0' + start_line: 330 + end_line: 357 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_152.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the\n distribution.\n\ + \ \n * Neither the name of the Intel Corporation nor the names of its\n contributors\ + \ may be used to endorse or promote products derived from\n this software without\ + \ specific prior written permission.\n \n \n THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION\ + \ \"AS IS\" AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\ + \ THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION OR\n CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,\ + \ OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY,\ + \ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n NEGLIGENCE OR OTHERWISE)\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 372 + end_line: 402 + matcher: 2-aho + rule_length: 260 + matched_length: 260 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl_2.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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, and the entire permission notice in its entirety, + * including the disclaimer of warranties. + * 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. + * 3. The name of the author may not be used to endorse or promote + * products derived from this software without specific prior + * written permission. + * + * ALTERNATIVELY, this product may be distributed under the terms of + * the GNU General Public License, in which case the provisions of the GPL are + * required INSTEAD OF the above restrictions. (This clause is + * necessary due to a potential bad interaction between the GPL and + * the restrictions contained in a BSD-style copyright.) + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF + * WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR 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 NOT ADVISED OF THE POSSIBILITY OF SUCH + * DAMAGE. + - score: '100.0' + start_line: 413 + end_line: 433 + matcher: 2-aho + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to\n deal\ + \ in the Software without restriction, including without limitation the\n rights to\ + \ use, copy, modify, merge, publish, distribute, sublicense, and/or\n sell copies of\ + \ the Software, and to permit persons to whom the Software is\n furnished to do so,\ + \ subject to the following conditions:\n \n The above copyright notice and this permission\ + \ notice shall be included in\n all copies or substantial portions of the Software.\n\ + \ \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\ + \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS\ + \ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n X CONSORTIUM\ + \ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN\n AN ACTION OF CONTRACT,\ + \ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-\n TION WITH THE SOFTWARE OR\ + \ THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n Except as contained in this notice,\ + \ the name of the X Consortium shall not\n be used in advertising or otherwise to promote\ + \ the sale, use or other deal-\n ings in this Software without prior written authorization\ + \ from the X Consor-\n tium." + - score: '70.0' + start_line: 436 + end_line: 436 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain + - score: '100.0' + start_line: 443 + end_line: 444 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_326.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licence: I hereby disclaim the copyright on this code and place it + in the public domain. + - score: '99.0' + start_line: 453 + end_line: 454 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 99 + identifier: ocb-open-source-2013_2.RULE + license_expression: ocb-open-source-2013 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + OCB is covered by several patents but may be used freely by most + software. + - score: '96.98' + start_line: 475 + end_line: 540 + matcher: 3-seq + rule_length: 597 + matched_length: 579 + match_coverage: '96.98' + rule_relevance: 100 + identifier: ocb-open-source-2013.LICENSE + license_expression: ocb-open-source-2013 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "1.1 “Licensor” means Phillip Rogaway.\n \n 1.2 “Licensed Patents” means\ + \ any patent that claims priority to United\n States Patent Application No. 09/918,615\ + \ entitled “Method and Apparatus\n for Facilitating Efficient Authenticated Encryption,”\ + \ and any utility,\n divisional, provisional, continuation, continuations-in-part, reexamination,\n\ + \ reissue, or foreign counterpart patents that may issue with respect to the\n aforesaid\ + \ patent application. This includes, but is not limited to, United\n States Patent No.\ + \ 7,046,802; United States Patent No. 7,200,227; United\n States Patent No. 7,949,129;\ + \ United States Patent No. 8,321,675 ; and any\n patent that issues out of United States\ + \ Patent Application No. 13/669,114.\n \n 1.3 “Use” means any practice of any invention\ + \ claimed in the Licensed Patents.\n \n 1.4 “Software Implementation” means any practice\ + \ of any invention\n claimed in the Licensed Patents that takes the form of software\ + \ executing on\n a [user]-[programmable], general-purpose computer or that takes the\ + \ form of a\n [computer]-[readable] medium storing such software. Software Implementation\ + \ does\n not include, for example, application-specific integrated circuits (ASICs),\n\ + \ [field]-[programmable] gate arrays (FPGAs), embedded systems, or IP cores.\n \n 1.5\ + \ “Open Source Software” means software whose source code is published\n and made available\ + \ for inspection and use by anyone because either (a) the\n source code is subject to\ + \ a license that permits recipients to copy, modify,\n and distribute the source code\ + \ without payment of fees or royalties, or\n (b) the source code is in the public domain,\ + \ including code released for\n public use through a CC0 waiver. All licenses certified\ + \ by the Open Source\n Initiative at opensource.org as of January 9, 2013 and all Creative\ + \ Commons\n licenses identified on the creativecommons.org website as of January 9,\n\ + \ 2013, including the Public License Fallback of the CC0 waiver, satisfy these\n requirements\ + \ for the purposes of this license.\n \n 1.6 “Open Source Software Implementation” means\ + \ a Software\n Implementation in which the software implicating the Licensed Patents\ + \ is\n Open Source Software. Open Source Software Implementation does not include\n \ + \ any Software Implementation in which the software implicating the Licensed\n Patents\ + \ is combined, so as to form a larger program, with software that is\n not Open Source\ + \ Software.\n \n 2 License Grant\n \n 2.1 License. Subject to your compliance with the\ + \ [term] s of this license,\n including the restriction set forth in Section 2.2, Licensor\ + \ hereby\n grants to you a perpetual, worldwide, non-exclusive, non-transferable,\n \ + \ non-sublicenseable, no-charge, royalty-free, irrevocable license to practice\n any\ + \ invention claimed in the Licensed Patents in any Open Source Software\n Implementation.\n\ + \ \n 2.2 Restriction. If you or your affiliates institute patent litigation\n (including,\ + \ but not limited to, a cross-claim or counterclaim in a lawsuit)\n against any entity\ + \ alleging that any Use authorized by this license\n infringes another patent, then any\ + \ rights granted to you under this license\n automatically terminate as of the date such\ + \ litigation is filed.\n \n 3 Disclaimer\n YOUR USE OF THE LICENSED PATENTS IS AT YOUR\ + \ OWN RISK AND UNLESS REQUIRED\n BY APPLICABLE LAW, LICENSOR MAKES NO REPRESENTATIONS\ + \ OR WARRANTIES OF ANY\n KIND CONCERNING THE LICENSED PATENTS OR ANY PRODUCT EMBODYING\ + \ ANY LICENSED\n PATENT, EXPRESS OR IMPLIED, [STATUT] [ORY] OR OTHERWISE, INCLUDING,\ + \ WITHOUT\n LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR\n\ + \ PURPOSE, OR NONINFRINGEMENT. IN NO EVENT WILL LICENSOR BE LIABLE FOR ANY\n CLAIM,\ + \ DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\n ARISING FROM\ + \ OR RELATED TO ANY USE OF THE LICENSED PATENTS, INCLUDING,\n WITHOUT LIMITATION, DIRECT,\ + \ INDIRECT, INCIDENTAL, CONSEQUENTIAL, PUNITIVE\n OR SPECIAL DAMAGES, EVEN IF LICENSOR\ + \ HAS BEEN ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGES PRIOR TO SUCH AN OCCURRENCE." + - score: '62.5' + start_line: 545 + end_line: 546 + matcher: 3-seq + rule_length: 40 + matched_length: 25 + match_coverage: '62.5' + rule_relevance: 100 + identifier: gpl-2.0-plus_754.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the text of the GNU General Public License, + version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgmp10/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgmp10/copyright-detailed.expected.yml index c71a59a30fb..9c850435f31 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgmp10/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgmp10/copyright-detailed.expected.yml @@ -1,5 +1,134 @@ -- -- -- (lgpl-3.0-plus OR gpl-2.0-plus) AND lgpl-2.1-plus AND lgpl-3.0 AND gpl-2.0 AND gpl-3.0 AND - gfdl-1.1-plus AND lgpl-2.1-plus -- Copyright 1991, 1996, 1999, 2000, 2007 Free Software Foundation, Inc. +primary_license: +declared_license: +license_expression: (lgpl-3.0-plus OR gpl-2.0-plus) AND lgpl-2.1-plus AND lgpl-3.0 AND gpl-2.0 + AND gpl-3.0 AND gfdl-1.1-plus AND lgpl-2.1-plus +copyright: Copyright 1991, 1996, 1999, 2000, 2007 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: '19' + end_line: 41 + matcher: 2-aho + rule_length: 149 + matched_length: 149 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_or_gpl-2.0-plus_8.RULE + license_expression: lgpl-3.0-plus OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The GNU MP Library is free software; you can redistribute it and/or modify\n\ + \ it under the terms of either:\n \n * the GNU Lesser General Public License as published\ + \ by the Free\n Software Foundation; either version 3 of the License, or (at your\n\ + \ option) any later version.\n \n or\n \n * the GNU General Public License as published\ + \ by the Free Software\n Foundation; either version 2 of the License, or (at your\ + \ option) any\n later version.\n \n or both in parallel, as here.\n \n The GNU MP\ + \ Library is distributed in the hope that it will be useful, but\n WITHOUT ANY WARRANTY;\ + \ without even the implied warranty of MERCHANTABILITY\n or FITNESS FOR A PARTICULAR PURPOSE.\ + \ See the GNU General Public License\n for more details.\n \n You should have received\ + \ copies of the GNU General Public License and the\n GNU Lesser General Public License\ + \ along with the GNU MP Library. If not,\n see https://www.gnu.org/licenses/." + - score: '100.0' + start_line: 44 + end_line: 44 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The GNU Lesser General Public License + - score: '100.0' + start_line: 44 + end_line: 44 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_41.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-3. + - score: '88.0' + start_line: 45 + end_line: 45 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 88 + identifier: gpl-2.0_1124.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The GNU General Public License v2 text is contained in /usr/share/common-licenses/GPL-2. + - score: '88.0' + start_line: 46 + end_line: 46 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 88 + identifier: gpl-3.0_395.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The GNU General Public License v3 text is contained in /usr/share/common-licenses/GPL-3. + - score: '100.0' + start_line: 52 + end_line: 55 + matcher: 2-aho + rule_length: 38 + matched_length: 38 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.1-plus_32.RULE + license_expression: gfdl-1.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The documentation is released under the GNU Free Documentation License + (GFDL) and it has cover texts. As such, it has been determined not to + meet the Debian Free Software Guidelines, and is not shipped in the + debian packages. + - score: '100.0' + start_line: 57 + end_line: 58 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_300.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is covered either by the LGPL, or + under the GNU General Public License /usr/share/common-licenses/GPL. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgmp10/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgmp10/copyright.expected.yml index 81d24b0f417..28f9adafefb 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgmp10/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgmp10/copyright.expected.yml @@ -1,5 +1,134 @@ -- -- -- (lgpl-3.0-plus OR gpl-2.0-plus) AND lgpl-2.1-plus AND lgpl-3.0 AND gpl-2.0 AND gpl-3.0 AND - gfdl-1.1-plus -- Copyright 1991, 1996, 1999, 2000, 2007 Free Software Foundation, Inc. +primary_license: +declared_license: +license_expression: (lgpl-3.0-plus OR gpl-2.0-plus) AND lgpl-2.1-plus AND lgpl-3.0 AND gpl-2.0 + AND gpl-3.0 AND gfdl-1.1-plus +copyright: Copyright 1991, 1996, 1999, 2000, 2007 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: '19' + end_line: 41 + matcher: 2-aho + rule_length: 149 + matched_length: 149 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_or_gpl-2.0-plus_8.RULE + license_expression: lgpl-3.0-plus OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The GNU MP Library is free software; you can redistribute it and/or modify\n\ + \ it under the terms of either:\n \n * the GNU Lesser General Public License as published\ + \ by the Free\n Software Foundation; either version 3 of the License, or (at your\n\ + \ option) any later version.\n \n or\n \n * the GNU General Public License as published\ + \ by the Free Software\n Foundation; either version 2 of the License, or (at your\ + \ option) any\n later version.\n \n or both in parallel, as here.\n \n The GNU MP\ + \ Library is distributed in the hope that it will be useful, but\n WITHOUT ANY WARRANTY;\ + \ without even the implied warranty of MERCHANTABILITY\n or FITNESS FOR A PARTICULAR PURPOSE.\ + \ See the GNU General Public License\n for more details.\n \n You should have received\ + \ copies of the GNU General Public License and the\n GNU Lesser General Public License\ + \ along with the GNU MP Library. If not,\n see https://www.gnu.org/licenses/." + - score: '100.0' + start_line: 44 + end_line: 44 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The GNU Lesser General Public License + - score: '100.0' + start_line: 44 + end_line: 44 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_41.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-3. + - score: '88.0' + start_line: 45 + end_line: 45 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 88 + identifier: gpl-2.0_1124.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The GNU General Public License v2 text is contained in /usr/share/common-licenses/GPL-2. + - score: '88.0' + start_line: 46 + end_line: 46 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 88 + identifier: gpl-3.0_395.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The GNU General Public License v3 text is contained in /usr/share/common-licenses/GPL-3. + - score: '100.0' + start_line: 52 + end_line: 55 + matcher: 2-aho + rule_length: 38 + matched_length: 38 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.1-plus_32.RULE + license_expression: gfdl-1.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The documentation is released under the GNU Free Documentation License + (GFDL) and it has cover texts. As such, it has been determined not to + meet the Debian Free Software Guidelines, and is not shipped in the + debian packages. + - score: '100.0' + start_line: 57 + end_line: 58 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_300.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is covered either by the LGPL, or + under the GNU General Public License /usr/share/common-licenses/GPL. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgnutls30/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgnutls30/copyright-detailed.expected.yml index fdd3a4a5769..b9f27cdc350 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgnutls30/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgnutls30/copyright-detailed.expected.yml @@ -1,28 +1,28 @@ -- -- -- (lgpl-2.1-plus AND gpl-3.0-plus AND (lgpl-3.0-plus AND gpl-2.0-plus)) AND lgpl-2.1-plus AND - gpl-3.0-plus AND gfdl-1.1-plus AND gfdl-1.3-plus AND (lgpl-2.0-plus AND lgpl-3.0 AND gpl-1.0-plus - AND gpl-3.0 AND gfdl-1.3) AND lgpl-2.1-plus AND lgpl-3.0-plus AND gpl-2.0-plus AND lgpl-3.0-plus - AND gpl-2.0-plus AND lgpl-2.0-plus AND gpl-3.0 AND (bsd-new OR gpl-1.0-plus) AND bsd-simplified - AND public-domain AND isc AND cc0-1.0 AND mit AND mit AND apache-2.0 AND (lgpl-3.0-plus AND - gpl-2.0-plus) AND apache-2.0 AND apache-2.0 AND apache-2.0 AND apache-2.0 AND apache-2.0 AND - mit AND mit AND mit AND mit AND mit AND mit AND lgpl-2.1-plus AND (lgpl-3.0-plus AND gpl-2.0-plus) - AND (lgpl-3.0-plus AND gpl-2.0-plus) AND mit AND mit AND (lgpl-3.0-plus AND gpl-2.0-plus) +primary_license: +declared_license: +license_expression: (lgpl-2.1-plus AND gpl-3.0-plus AND (lgpl-3.0-plus AND gpl-2.0-plus)) AND + lgpl-2.1-plus AND gpl-3.0-plus AND gfdl-1.1-plus AND gfdl-1.3-plus AND (lgpl-2.0-plus AND + lgpl-3.0 AND gpl-1.0-plus AND gpl-3.0 AND gfdl-1.3) AND lgpl-2.1-plus AND lgpl-3.0-plus AND + gpl-2.0-plus AND lgpl-3.0-plus AND gpl-2.0-plus AND lgpl-2.0-plus AND gpl-3.0 AND (bsd-new + OR gpl-1.0-plus) AND bsd-simplified AND public-domain AND isc AND cc0-1.0 AND mit AND mit + AND apache-2.0 AND (lgpl-3.0-plus AND gpl-2.0-plus) AND apache-2.0 AND apache-2.0 AND apache-2.0 + AND apache-2.0 AND apache-2.0 AND mit AND mit AND mit AND mit AND mit AND mit AND lgpl-2.1-plus + AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND mit AND mit AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) - AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND mit AND mit - AND lgpl-2.1-plus AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) - AND (lgpl-3.0-plus OR gpl-2.0-plus) AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND - gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND lgpl-2.1-plus AND gpl-3.0-plus AND gpl-3.0-plus + AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus + AND gpl-2.0-plus) AND mit AND mit AND lgpl-2.1-plus AND (lgpl-3.0-plus AND gpl-2.0-plus) AND + (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus OR gpl-2.0-plus) AND gpl-3.0-plus AND + gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND lgpl-2.1-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus - AND lgpl-2.1-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND - gpl-3.0-plus AND gpl-3.0-plus AND bsd-new -- | + AND gpl-3.0-plus AND gpl-3.0-plus AND lgpl-2.1-plus AND gpl-3.0-plus AND gpl-3.0-plus AND + gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND bsd-new +copyright: | Copyright (c) 2000-2019 Free Software Foundation, Inc. Copyright (c) 2004-2015 Free Software Foundation, Inc. Copyright (c) 2002 Andrew McDonald @@ -100,3 +100,1880 @@ Copyright 2021 Steffen Jaeckel Copyright 2016 Thomas Klute Copyright 2009-2019, Ben Hoyt +matches: + - score: '100.0' + start_line: 221 + end_line: 233 + matcher: 2-aho + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_and_gpl-3.0-plus_and_lgpl-3.0-plus_and_gpl-2.0-plus_2.RULE + license_expression: lgpl-2.1-plus AND gpl-3.0-plus AND (lgpl-3.0-plus AND gpl-2.0-plus) + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License: The main library is licensed under GNU Lesser\n General Public License\ + \ (LGPL) version 2.1+, Gnutls Extra (which is currently\n just the openssl wrapper library),\ + \ build system, testsuite and commandline\n utilities are licenced under the GNU General\ + \ Public License version 3+. The\n Guile bindings use the same license as the respective\ + \ underlying library,\n i.e. LGPLv2.1+ for the main library and GPLv3+ for Gnutls extra.\n\ + \ \n However to be able to use and link against libgnutls a program needs to be\n available\ + \ under a license compatible with LGPLv3+ or GPLv2+ since GnuTLS\n requires nettle which\ + \ requires GMP. GMP (>= 6.0.0) is dual licensed\n LGPLv3+ or GPLv2+. Starting with 3.5.7\ + \ libunistring is needed, too. It also\n is dual licensed LGPLv3+ or GPLv2+ (libunistring\ + \ 0.9.7 and above, earlier\n version were LGPLv3+ only.)" + - score: '100.0' + start_line: 244 + end_line: 255 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_257.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The GnuTLS is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see + - score: '98.0' + start_line: 265 + end_line: 276 + matcher: 3-seq + rule_length: 98 + matched_length: 98 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_27.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * [GnuTLS]-[extra] is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + - score: '100.0' + start_line: 280 + end_line: 281 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.1-plus_10.RULE + license_expression: gfdl-1.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Free + Documentation License ( + - score: '100.0' + start_line: 286 + end_line: 291 + matcher: 2-aho + rule_length: 60 + matched_length: 60 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation License, + Version 1.3 or any later version published by the Free Software + Foundation; with no Invariant Sections, no Front-Cover Texts, and + no Back-Cover Texts. A copy of the license is included in the + section entitled "GNU Free Documentation License". + - score: '100.0' + start_line: 321 + end_line: 327 + matcher: 2-aho + rule_length: 77 + matched_length: 77 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_and_lgpl-3.0_and_gpl-1.0-plus_and_gpl-3.0_and_gfdl-1.3_1.RULE + license_expression: lgpl-2.0-plus AND lgpl-3.0 AND gpl-1.0-plus AND gpl-3.0 AND gfdl-1.3 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the latest version of + the GNU Lesser General Public License can be found in + `/usr/share/common-licenses/LGPL' v3 of the license in + `/usr/share/common-licenses/LGPL-3'; the GNU General Public License can + be found in `/usr/share/common-licenses/GPL' (version 3 in + /usr/share/common-licenses/GPL-3) The GNU Free Documentation + License is available under /usr/share/common-licenses/GFDL-1.3. + - score: '100.0' + start_line: 336 + end_line: 337 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_173.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under + the GNU Lesser General Public License (LGPL) version 2.1 or later. + - score: '100.0' + start_line: 340 + end_line: 340 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_123.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: distributed under a LGPLv3+ + - score: '90.0' + start_line: 340 + end_line: 340 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-2.0-plus_bare_single_word.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPLv2+ + - score: '5.0' + start_line: 341 + end_line: 341 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 5 + identifier: lgpl-3.0-plus_14.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPLv3+ + - score: '90.0' + start_line: 342 + end_line: 342 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-2.0-plus_bare_single_word.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPLv2+ + - score: '100.0' + start_line: 347 + end_line: 347 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl_48.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GNU LGPL + - score: '100.0' + start_line: 349 + end_line: 349 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_379.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GNU GPL version 3. + - score: '100.0' + start_line: 370 + end_line: 402 + matcher: 2-aho + rule_length: 252 + matched_length: 252 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl-1.0-plus_7.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 must retain copyright notices, + # 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. + # + # * Neither the name of the Andy Polyakov nor the names of its + # copyright holder and contributors may be used to endorse or + # promote products derived from this software without specific + # prior written permission. + # + # ALTERNATIVELY, provided that this notice is retained in full, this + # product may be distributed under the terms of the GNU General Public + # License (GPL), in which case the provisions of the GPL apply INSTEAD OF + # those given above. + # + # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER 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 + # OWNER 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. + - score: '100.0' + start_line: 417 + end_line: 435 + matcher: 2-aho + rule_length: 179 + matched_length: 179 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_8.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR ``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 AUTHOR 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. + - score: '99.0' + start_line: 446 + end_line: 447 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 99 + identifier: pypi_public_domain.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: + Public domain. + - score: '100.0' + start_line: 458 + end_line: 469 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + * CONSORTIUM 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 THIS + * SOFTWARE. + - score: '99.69' + start_line: 476 + end_line: 504 + matcher: 3-seq + rule_length: 975 + matched_length: 972 + match_coverage: '99.69' + rule_relevance: 100 + identifier: cc0-1.0_116.RULE + license_expression: cc0-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License: CC0 [license]\n Statement of Purpose\n \n The laws of most jurisdictions\ + \ throughout the world automatically confer exclusive Copyright and Related Rights (defined\ + \ below) upon the creator and subsequent owner(s) (each and all, an \"owner\") of an original\ + \ work of authorship and/or a database (each, a \"Work\").\n \n Certain owners wish\ + \ to permanently relinquish those rights to a Work for the purpose of contributing to\ + \ a commons of creative, cultural and scientific works (\"Commons\") that the public can\ + \ reliably and without fear of later claims of infringement build upon, modify, incorporate\ + \ in other works, reuse and redistribute as freely as possible in any form whatsoever\ + \ and for any purposes, including without limitation commercial purposes. These owners\ + \ may contribute to the Commons to promote the ideal of a free culture and the further\ + \ production of creative, cultural and scientific works, or to gain reputation or greater\ + \ distribution for their Work in part through the use and efforts of others.\n \n For\ + \ these and/or other purposes and motivations, and without any expectation of additional\ + \ consideration or compensation, the person associating CC0 with a Work (the \"Affirmer\"\ + ), to the extent that he or she is an owner of Copyright and Related Rights in the Work,\ + \ voluntarily elects to apply CC0 to the Work and publicly distribute the Work under its\ + \ terms, with knowledge of his or her Copyright and Related Rights in the Work and the\ + \ meaning and intended legal effect of CC0 on those rights.\n \n 1. Copyright and Related\ + \ Rights. A Work made available under CC0 may be protected by copyright and related or\ + \ neighboring rights (\"Copyright and Related Rights\"). Copyright and Related Rights\ + \ include, but are not limited to, the following:\n \n the right to reproduce, adapt,\ + \ distribute, perform, display, communicate, and translate a Work;\n moral rights\ + \ retained by the original author(s) and/or performer(s);\n publicity and privacy\ + \ rights pertaining to a person's image or likeness depicted in a Work;\n rights\ + \ protecting against unfair competition in regards to a Work, subject to the limitations\ + \ in paragraph 4(a), below;\n rights protecting the extraction, dissemination, use\ + \ and reuse of data in a Work;\n database rights (such as those arising under Directive\ + \ 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal\ + \ protection of databases, and under any national implementation thereof, including any\ + \ amended or successor version of such directive); and\n other similar, equivalent\ + \ or corresponding rights throughout the world based on applicable law or treaty, and\ + \ any national implementations thereof.\n \n 2. Waiver. To the greatest extent permitted\ + \ by, but not in contravention of, applicable law, Affirmer hereby overtly, fully, permanently,\ + \ irrevocably and unconditionally waives, abandons, and surrenders all of Affirmer's Copyright\ + \ and Related Rights and associated claims and causes of action, whether now known or\ + \ unknown (including existing as well as future claims and causes of action), in the Work\ + \ (i) in all territories worldwide, (ii) for the maximum duration provided by applicable\ + \ law or treaty (including future time extensions), (iii) in any current or future medium\ + \ and for any number of copies, and (iv) for any purpose whatsoever, including without\ + \ limitation commercial, advertising or promotional purposes (the \"Waiver\"). Affirmer\ + \ makes the Waiver for the benefit of each member of the public at large and to the detriment\ + \ of Affirmer's heirs and successors, fully intending that such Waiver shall not be subject\ + \ to revocation, rescission, cancellation, termination, or any other legal or equitable\ + \ action to disrupt the quiet enjoyment of the Work by the public as contemplated by Affirmer's\ + \ express Statement of Purpose.\n \n 3. Public License Fallback. Should any part of\ + \ the Waiver for any reason be judged legally invalid or ineffective under applicable\ + \ law, then the Waiver shall be preserved to the maximum extent permitted taking into\ + \ account Affirmer's express Statement of Purpose. In addition, to the extent the Waiver\ + \ is so judged Affirmer hereby grants to each affected person a royalty-free, non transferable,\ + \ non sublicensable, non exclusive, irrevocable and unconditional license to exercise\ + \ Affirmer's Copyright and Related Rights in the Work (i) in all territories worldwide,\ + \ (ii) for the maximum duration provided by applicable law or treaty (including future\ + \ time extensions), (iii) in any current or future medium and for any number of copies,\ + \ and (iv) for any purpose whatsoever, including without limitation commercial, advertising\ + \ or promotional purposes (the \"License\"). The License shall be deemed effective as\ + \ of the date CC0 was applied by Affirmer to the Work. Should any part of the License\ + \ for any reason be judged legally invalid or ineffective under applicable law, such partial\ + \ invalidity or ineffectiveness shall not invalidate the remainder of the License, and\ + \ in such case Affirmer hereby affirms that he or she will not (i) exercise any of his\ + \ or her remaining Copyright and Related Rights in the Work or (ii) assert any associated\ + \ claims and causes of action with respect to the Work, in either case contrary to Affirmer's\ + \ express Statement of Purpose.\n \n 4. Limitations and Disclaimers.\n \n No trademark\ + \ or patent rights held by Affirmer are waived, abandoned, surrendered, licensed or otherwise\ + \ affected by this document.\n Affirmer offers the Work as-is and makes no representations\ + \ or warranties of any kind concerning the Work, express, implied, statutory or otherwise,\ + \ including without limitation warranties of title, merchantability, fitness for a particular\ + \ purpose, non infringement, or the absence of latent or other defects, accuracy, or the\ + \ present or absence of errors, whether or not discoverable, all to the greatest extent\ + \ permissible under applicable law.\n Affirmer disclaims responsibility for clearing\ + \ rights of other persons that may apply to the Work or any use thereof, including without\ + \ limitation any person's Copyright and Related Rights in the Work. Further, Affirmer\ + \ disclaims responsibility for obtaining any necessary consents, permissions or other\ + \ rights required for any use of the Work.\n Affirmer understands and acknowledges\ + \ that Creative Commons is not a party to this document and has no duty or obligation\ + \ with respect to this CC0 or use of the Work." + - score: '100.0' + start_line: 510 + end_line: 510 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 511 + end_line: 527 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a\n\ + \ copy of this software and associated documentation files (the \"Software\"),\n to\ + \ deal in the Software without restriction, including without limitation\n the rights\ + \ to use, copy, modify, merge, publish, distribute, sublicense,\n and/or sell copies\ + \ of the Software, and to permit persons to whom the\n Software is furnished to do so,\ + \ subject to the following conditions:\n \n The above copyright notice and this permission\ + \ notice shall be included\n in all copies or substantial portions of the Software.\n\ + \ \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n \ + \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS\ + \ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n THE AUTHORS OR COPYRIGHT\ + \ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n OTHER LIABILITY, WHETHER IN AN ACTION\ + \ OF CONTRACT, TORT OR OTHERWISE,\n ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE\ + \ OR THE USE OR\n OTHER DEALINGS IN THE SOFTWARE." + - score: '93.16' + start_line: 533 + end_line: 548 + matcher: 3-seq + rule_length: 109 + matched_length: 109 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_922.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + [X]-[Comment]: [Written] [originally] [for] [the] [Pkcs11Interop] [project] [by]: + [Jaroslav] [IMRICH] <[jimrich]@[jimrich].[sk]> + License: Apache-2.0 + On Debian systems the complete text of the license can be found in + /usr/share/common-licenses/Apache-2.0 + - score: '22.0' + start_line: 556 + end_line: 556 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '100.0' + start_line: 564 + end_line: 566 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_921.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: Apache-2.0 + On Debian systems the complete text of the license can be found in + /usr/share/common-licenses/Apache-2.0 + - score: '100.0' + start_line: 572 + end_line: 585 + matcher: 2-aho + rule_length: 104 + matched_length: 104 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_923.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Comment: On Debian systems the complete license text is available in + /usr/share/common-licenses/Apache-2.0 + License + # Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + # + # Unless required by applicable law or agreed to in writing, software + # distributed under the License is distributed on an "AS IS" BASIS, + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + # See the License for the specific language governing permissions and + # limitations under the License. + - score: '100.0' + start_line: 591 + end_line: 604 + matcher: 2-aho + rule_length: 104 + matched_length: 104 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_923.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Comment: On Debian systems the complete license text is available in + /usr/share/common-licenses/Apache-2.0 + License + # Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + # + # Unless required by applicable law or agreed to in writing, software + # distributed under the License is distributed on an "AS IS" BASIS, + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + # See the License for the specific language governing permissions and + # limitations under the License. + - score: '100.0' + start_line: 610 + end_line: 611 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_919.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Comment: On Debian systems the complete license text is available in + /usr/share/common-licenses/Apache-2.0 + - score: '100.0' + start_line: 612 + end_line: 614 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_921.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: Apache-2.0 + On Debian systems the complete text of the license can be found in + /usr/share/common-licenses/Apache-2.0 + - score: '100.0' + start_line: 619 + end_line: 619 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 620 + end_line: 636 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 645 + end_line: 645 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 646 + end_line: 662 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 667 + end_line: 667 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 668 + end_line: 684 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + - score: '16.0' + start_line: 688 + end_line: 688 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: lgpl-2.1-plus_299.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv2.1+' + - score: '22.0' + start_line: 695 + end_line: 695 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 699 + end_line: 699 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '100.0' + start_line: 705 + end_line: 705 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 706 + end_line: 723 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '22.0' + start_line: 729 + end_line: 729 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 735 + end_line: 735 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 741 + end_line: 741 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 745 + end_line: 745 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 749 + end_line: 749 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 753 + end_line: 753 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 759 + end_line: 759 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 764 + end_line: 764 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 768 + end_line: 768 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 772 + end_line: 772 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 776 + end_line: 776 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 780 + end_line: 780 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 785 + end_line: 785 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 789 + end_line: 789 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 794 + end_line: 794 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 799 + end_line: 799 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 803 + end_line: 803 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 808 + end_line: 808 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '100.0' + start_line: 809 + end_line: 826 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 838 + end_line: 855 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '97.17' + start_line: 864 + end_line: 877 + matcher: 3-seq + rule_length: 106 + matched_length: 103 + match_coverage: '97.17' + rule_relevance: 100 + identifier: lgpl-2.1-plus_257.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GnuTLS. + * + * [Libgcrypt] is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * [Libgcrypt] is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, see . + - score: '22.0' + start_line: 880 + end_line: 880 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 884 + end_line: 884 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '100.0' + start_line: 885 + end_line: 907 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_or_gpl-2.0-plus_5.RULE + license_expression: lgpl-3.0-plus OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software: you can redistribute it and/or + * modify it under the terms of either: + * + * * the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 3 of the License, or (at your + * option) any later version. + * + * or + * + * * the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * or both in parallel, as here. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received copies of the GNU General Public License and + * the GNU Lesser General Public License along with this program. If + * not, see http://www.gnu.org/licenses/. + - score: '100.0' + start_line: 927 + end_line: 927 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 940 + end_line: 940 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 945 + end_line: 945 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 949 + end_line: 949 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 954 + end_line: 954 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 964 + end_line: 964 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '16.0' + start_line: 968 + end_line: 968 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: lgpl-2.1-plus_299.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv2.1+' + - score: '100.0' + start_line: 972 + end_line: 972 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 978 + end_line: 978 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 983 + end_line: 983 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 988 + end_line: 988 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 993 + end_line: 993 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 999 + end_line: 999 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1006 + end_line: 1006 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1011 + end_line: 1011 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1015 + end_line: 1015 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1019 + end_line: 1019 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1024 + end_line: 1024 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1028 + end_line: 1028 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1032 + end_line: 1032 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1036 + end_line: 1036 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '16.0' + start_line: 1040 + end_line: 1040 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: lgpl-2.1-plus_299.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv2.1+' + - score: '100.0' + start_line: 1047 + end_line: 1047 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1052 + end_line: 1052 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1056 + end_line: 1056 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1061 + end_line: 1061 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1065 + end_line: 1065 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1069 + end_line: 1069 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '98.59' + start_line: 1074 + end_line: 1097 + matcher: 3-seq + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_1007.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: BSD-3-Clause + [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 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. + * Neither the name of Ben Hoyt 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 BY BEN HOYT ''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 BEN HOYT 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgnutls30/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgnutls30/copyright.expected.yml index 1236d89e253..20ec2608a46 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgnutls30/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgnutls30/copyright.expected.yml @@ -1,12 +1,12 @@ -- -- -- (lgpl-2.1-plus AND gpl-3.0-plus AND (lgpl-3.0-plus AND gpl-2.0-plus)) AND lgpl-2.1-plus AND - gpl-3.0-plus AND gfdl-1.1-plus AND gfdl-1.3-plus AND (lgpl-2.0-plus AND lgpl-3.0 AND gpl-1.0-plus - AND gpl-3.0 AND gfdl-1.3) AND lgpl-3.0-plus AND gpl-2.0-plus AND lgpl-2.0-plus AND gpl-3.0 - AND (bsd-new OR gpl-1.0-plus) AND bsd-simplified AND public-domain AND isc AND cc0-1.0 AND - mit AND apache-2.0 AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus OR gpl-2.0-plus) - AND bsd-new -- | +primary_license: +declared_license: +license_expression: (lgpl-2.1-plus AND gpl-3.0-plus AND (lgpl-3.0-plus AND gpl-2.0-plus)) AND + lgpl-2.1-plus AND gpl-3.0-plus AND gfdl-1.1-plus AND gfdl-1.3-plus AND (lgpl-2.0-plus AND + lgpl-3.0 AND gpl-1.0-plus AND gpl-3.0 AND gfdl-1.3) AND lgpl-3.0-plus AND gpl-2.0-plus AND + lgpl-2.0-plus AND gpl-3.0 AND (bsd-new OR gpl-1.0-plus) AND bsd-simplified AND public-domain + AND isc AND cc0-1.0 AND mit AND apache-2.0 AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus + OR gpl-2.0-plus) AND bsd-new +copyright: | Copyright (c) 2000-2019 Free Software Foundation, Inc. Copyright (c) 2004-2015 Free Software Foundation, Inc. Copyright (c) 2002 Andrew McDonald @@ -84,3 +84,1880 @@ Copyright 2021 Steffen Jaeckel Copyright 2016 Thomas Klute Copyright 2009-2019, Ben Hoyt +matches: + - score: '100.0' + start_line: 221 + end_line: 233 + matcher: 2-aho + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_and_gpl-3.0-plus_and_lgpl-3.0-plus_and_gpl-2.0-plus_2.RULE + license_expression: lgpl-2.1-plus AND gpl-3.0-plus AND (lgpl-3.0-plus AND gpl-2.0-plus) + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License: The main library is licensed under GNU Lesser\n General Public License\ + \ (LGPL) version 2.1+, Gnutls Extra (which is currently\n just the openssl wrapper library),\ + \ build system, testsuite and commandline\n utilities are licenced under the GNU General\ + \ Public License version 3+. The\n Guile bindings use the same license as the respective\ + \ underlying library,\n i.e. LGPLv2.1+ for the main library and GPLv3+ for Gnutls extra.\n\ + \ \n However to be able to use and link against libgnutls a program needs to be\n available\ + \ under a license compatible with LGPLv3+ or GPLv2+ since GnuTLS\n requires nettle which\ + \ requires GMP. GMP (>= 6.0.0) is dual licensed\n LGPLv3+ or GPLv2+. Starting with 3.5.7\ + \ libunistring is needed, too. It also\n is dual licensed LGPLv3+ or GPLv2+ (libunistring\ + \ 0.9.7 and above, earlier\n version were LGPLv3+ only.)" + - score: '100.0' + start_line: 244 + end_line: 255 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_257.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The GnuTLS is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see + - score: '98.0' + start_line: 265 + end_line: 276 + matcher: 3-seq + rule_length: 98 + matched_length: 98 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_27.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * [GnuTLS]-[extra] is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + - score: '100.0' + start_line: 280 + end_line: 281 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.1-plus_10.RULE + license_expression: gfdl-1.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Free + Documentation License ( + - score: '100.0' + start_line: 286 + end_line: 291 + matcher: 2-aho + rule_length: 60 + matched_length: 60 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation License, + Version 1.3 or any later version published by the Free Software + Foundation; with no Invariant Sections, no Front-Cover Texts, and + no Back-Cover Texts. A copy of the license is included in the + section entitled "GNU Free Documentation License". + - score: '100.0' + start_line: 321 + end_line: 327 + matcher: 2-aho + rule_length: 77 + matched_length: 77 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_and_lgpl-3.0_and_gpl-1.0-plus_and_gpl-3.0_and_gfdl-1.3_1.RULE + license_expression: lgpl-2.0-plus AND lgpl-3.0 AND gpl-1.0-plus AND gpl-3.0 AND gfdl-1.3 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the latest version of + the GNU Lesser General Public License can be found in + `/usr/share/common-licenses/LGPL' v3 of the license in + `/usr/share/common-licenses/LGPL-3'; the GNU General Public License can + be found in `/usr/share/common-licenses/GPL' (version 3 in + /usr/share/common-licenses/GPL-3) The GNU Free Documentation + License is available under /usr/share/common-licenses/GFDL-1.3. + - score: '100.0' + start_line: 336 + end_line: 337 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_173.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under + the GNU Lesser General Public License (LGPL) version 2.1 or later. + - score: '100.0' + start_line: 340 + end_line: 340 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_123.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: distributed under a LGPLv3+ + - score: '90.0' + start_line: 340 + end_line: 340 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-2.0-plus_bare_single_word.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPLv2+ + - score: '5.0' + start_line: 341 + end_line: 341 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 5 + identifier: lgpl-3.0-plus_14.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPLv3+ + - score: '90.0' + start_line: 342 + end_line: 342 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-2.0-plus_bare_single_word.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPLv2+ + - score: '100.0' + start_line: 347 + end_line: 347 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl_48.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GNU LGPL + - score: '100.0' + start_line: 349 + end_line: 349 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_379.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GNU GPL version 3. + - score: '100.0' + start_line: 370 + end_line: 402 + matcher: 2-aho + rule_length: 252 + matched_length: 252 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl-1.0-plus_7.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 must retain copyright notices, + # 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. + # + # * Neither the name of the Andy Polyakov nor the names of its + # copyright holder and contributors may be used to endorse or + # promote products derived from this software without specific + # prior written permission. + # + # ALTERNATIVELY, provided that this notice is retained in full, this + # product may be distributed under the terms of the GNU General Public + # License (GPL), in which case the provisions of the GPL apply INSTEAD OF + # those given above. + # + # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER 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 + # OWNER 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. + - score: '100.0' + start_line: 417 + end_line: 435 + matcher: 2-aho + rule_length: 179 + matched_length: 179 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_8.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR ``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 AUTHOR 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. + - score: '99.0' + start_line: 446 + end_line: 447 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 99 + identifier: pypi_public_domain.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: + Public domain. + - score: '100.0' + start_line: 458 + end_line: 469 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + * CONSORTIUM 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 THIS + * SOFTWARE. + - score: '99.69' + start_line: 476 + end_line: 504 + matcher: 3-seq + rule_length: 975 + matched_length: 972 + match_coverage: '99.69' + rule_relevance: 100 + identifier: cc0-1.0_116.RULE + license_expression: cc0-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License: CC0 [license]\n Statement of Purpose\n \n The laws of most jurisdictions\ + \ throughout the world automatically confer exclusive Copyright and Related Rights (defined\ + \ below) upon the creator and subsequent owner(s) (each and all, an \"owner\") of an original\ + \ work of authorship and/or a database (each, a \"Work\").\n \n Certain owners wish\ + \ to permanently relinquish those rights to a Work for the purpose of contributing to\ + \ a commons of creative, cultural and scientific works (\"Commons\") that the public can\ + \ reliably and without fear of later claims of infringement build upon, modify, incorporate\ + \ in other works, reuse and redistribute as freely as possible in any form whatsoever\ + \ and for any purposes, including without limitation commercial purposes. These owners\ + \ may contribute to the Commons to promote the ideal of a free culture and the further\ + \ production of creative, cultural and scientific works, or to gain reputation or greater\ + \ distribution for their Work in part through the use and efforts of others.\n \n For\ + \ these and/or other purposes and motivations, and without any expectation of additional\ + \ consideration or compensation, the person associating CC0 with a Work (the \"Affirmer\"\ + ), to the extent that he or she is an owner of Copyright and Related Rights in the Work,\ + \ voluntarily elects to apply CC0 to the Work and publicly distribute the Work under its\ + \ terms, with knowledge of his or her Copyright and Related Rights in the Work and the\ + \ meaning and intended legal effect of CC0 on those rights.\n \n 1. Copyright and Related\ + \ Rights. A Work made available under CC0 may be protected by copyright and related or\ + \ neighboring rights (\"Copyright and Related Rights\"). Copyright and Related Rights\ + \ include, but are not limited to, the following:\n \n the right to reproduce, adapt,\ + \ distribute, perform, display, communicate, and translate a Work;\n moral rights\ + \ retained by the original author(s) and/or performer(s);\n publicity and privacy\ + \ rights pertaining to a person's image or likeness depicted in a Work;\n rights\ + \ protecting against unfair competition in regards to a Work, subject to the limitations\ + \ in paragraph 4(a), below;\n rights protecting the extraction, dissemination, use\ + \ and reuse of data in a Work;\n database rights (such as those arising under Directive\ + \ 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal\ + \ protection of databases, and under any national implementation thereof, including any\ + \ amended or successor version of such directive); and\n other similar, equivalent\ + \ or corresponding rights throughout the world based on applicable law or treaty, and\ + \ any national implementations thereof.\n \n 2. Waiver. To the greatest extent permitted\ + \ by, but not in contravention of, applicable law, Affirmer hereby overtly, fully, permanently,\ + \ irrevocably and unconditionally waives, abandons, and surrenders all of Affirmer's Copyright\ + \ and Related Rights and associated claims and causes of action, whether now known or\ + \ unknown (including existing as well as future claims and causes of action), in the Work\ + \ (i) in all territories worldwide, (ii) for the maximum duration provided by applicable\ + \ law or treaty (including future time extensions), (iii) in any current or future medium\ + \ and for any number of copies, and (iv) for any purpose whatsoever, including without\ + \ limitation commercial, advertising or promotional purposes (the \"Waiver\"). Affirmer\ + \ makes the Waiver for the benefit of each member of the public at large and to the detriment\ + \ of Affirmer's heirs and successors, fully intending that such Waiver shall not be subject\ + \ to revocation, rescission, cancellation, termination, or any other legal or equitable\ + \ action to disrupt the quiet enjoyment of the Work by the public as contemplated by Affirmer's\ + \ express Statement of Purpose.\n \n 3. Public License Fallback. Should any part of\ + \ the Waiver for any reason be judged legally invalid or ineffective under applicable\ + \ law, then the Waiver shall be preserved to the maximum extent permitted taking into\ + \ account Affirmer's express Statement of Purpose. In addition, to the extent the Waiver\ + \ is so judged Affirmer hereby grants to each affected person a royalty-free, non transferable,\ + \ non sublicensable, non exclusive, irrevocable and unconditional license to exercise\ + \ Affirmer's Copyright and Related Rights in the Work (i) in all territories worldwide,\ + \ (ii) for the maximum duration provided by applicable law or treaty (including future\ + \ time extensions), (iii) in any current or future medium and for any number of copies,\ + \ and (iv) for any purpose whatsoever, including without limitation commercial, advertising\ + \ or promotional purposes (the \"License\"). The License shall be deemed effective as\ + \ of the date CC0 was applied by Affirmer to the Work. Should any part of the License\ + \ for any reason be judged legally invalid or ineffective under applicable law, such partial\ + \ invalidity or ineffectiveness shall not invalidate the remainder of the License, and\ + \ in such case Affirmer hereby affirms that he or she will not (i) exercise any of his\ + \ or her remaining Copyright and Related Rights in the Work or (ii) assert any associated\ + \ claims and causes of action with respect to the Work, in either case contrary to Affirmer's\ + \ express Statement of Purpose.\n \n 4. Limitations and Disclaimers.\n \n No trademark\ + \ or patent rights held by Affirmer are waived, abandoned, surrendered, licensed or otherwise\ + \ affected by this document.\n Affirmer offers the Work as-is and makes no representations\ + \ or warranties of any kind concerning the Work, express, implied, statutory or otherwise,\ + \ including without limitation warranties of title, merchantability, fitness for a particular\ + \ purpose, non infringement, or the absence of latent or other defects, accuracy, or the\ + \ present or absence of errors, whether or not discoverable, all to the greatest extent\ + \ permissible under applicable law.\n Affirmer disclaims responsibility for clearing\ + \ rights of other persons that may apply to the Work or any use thereof, including without\ + \ limitation any person's Copyright and Related Rights in the Work. Further, Affirmer\ + \ disclaims responsibility for obtaining any necessary consents, permissions or other\ + \ rights required for any use of the Work.\n Affirmer understands and acknowledges\ + \ that Creative Commons is not a party to this document and has no duty or obligation\ + \ with respect to this CC0 or use of the Work." + - score: '100.0' + start_line: 510 + end_line: 510 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 511 + end_line: 527 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a\n\ + \ copy of this software and associated documentation files (the \"Software\"),\n to\ + \ deal in the Software without restriction, including without limitation\n the rights\ + \ to use, copy, modify, merge, publish, distribute, sublicense,\n and/or sell copies\ + \ of the Software, and to permit persons to whom the\n Software is furnished to do so,\ + \ subject to the following conditions:\n \n The above copyright notice and this permission\ + \ notice shall be included\n in all copies or substantial portions of the Software.\n\ + \ \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n \ + \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS\ + \ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n THE AUTHORS OR COPYRIGHT\ + \ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n OTHER LIABILITY, WHETHER IN AN ACTION\ + \ OF CONTRACT, TORT OR OTHERWISE,\n ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE\ + \ OR THE USE OR\n OTHER DEALINGS IN THE SOFTWARE." + - score: '93.16' + start_line: 533 + end_line: 548 + matcher: 3-seq + rule_length: 109 + matched_length: 109 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_922.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + [X]-[Comment]: [Written] [originally] [for] [the] [Pkcs11Interop] [project] [by]: + [Jaroslav] [IMRICH] <[jimrich]@[jimrich].[sk]> + License: Apache-2.0 + On Debian systems the complete text of the license can be found in + /usr/share/common-licenses/Apache-2.0 + - score: '22.0' + start_line: 556 + end_line: 556 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '100.0' + start_line: 564 + end_line: 566 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_921.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: Apache-2.0 + On Debian systems the complete text of the license can be found in + /usr/share/common-licenses/Apache-2.0 + - score: '100.0' + start_line: 572 + end_line: 585 + matcher: 2-aho + rule_length: 104 + matched_length: 104 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_923.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Comment: On Debian systems the complete license text is available in + /usr/share/common-licenses/Apache-2.0 + License + # Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + # + # Unless required by applicable law or agreed to in writing, software + # distributed under the License is distributed on an "AS IS" BASIS, + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + # See the License for the specific language governing permissions and + # limitations under the License. + - score: '100.0' + start_line: 591 + end_line: 604 + matcher: 2-aho + rule_length: 104 + matched_length: 104 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_923.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Comment: On Debian systems the complete license text is available in + /usr/share/common-licenses/Apache-2.0 + License + # Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + # + # Unless required by applicable law or agreed to in writing, software + # distributed under the License is distributed on an "AS IS" BASIS, + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + # See the License for the specific language governing permissions and + # limitations under the License. + - score: '100.0' + start_line: 610 + end_line: 611 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_919.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Comment: On Debian systems the complete license text is available in + /usr/share/common-licenses/Apache-2.0 + - score: '100.0' + start_line: 612 + end_line: 614 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_921.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: Apache-2.0 + On Debian systems the complete text of the license can be found in + /usr/share/common-licenses/Apache-2.0 + - score: '100.0' + start_line: 619 + end_line: 619 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 620 + end_line: 636 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 645 + end_line: 645 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 646 + end_line: 662 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 667 + end_line: 667 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 668 + end_line: 684 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + - score: '16.0' + start_line: 688 + end_line: 688 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: lgpl-2.1-plus_299.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv2.1+' + - score: '22.0' + start_line: 695 + end_line: 695 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 699 + end_line: 699 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '100.0' + start_line: 705 + end_line: 705 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 706 + end_line: 723 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '22.0' + start_line: 729 + end_line: 729 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 735 + end_line: 735 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 741 + end_line: 741 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 745 + end_line: 745 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 749 + end_line: 749 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 753 + end_line: 753 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 759 + end_line: 759 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 764 + end_line: 764 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 768 + end_line: 768 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 772 + end_line: 772 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 776 + end_line: 776 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 780 + end_line: 780 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 785 + end_line: 785 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 789 + end_line: 789 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 794 + end_line: 794 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 799 + end_line: 799 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 803 + end_line: 803 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 808 + end_line: 808 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '100.0' + start_line: 809 + end_line: 826 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 838 + end_line: 855 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '97.17' + start_line: 864 + end_line: 877 + matcher: 3-seq + rule_length: 106 + matched_length: 103 + match_coverage: '97.17' + rule_relevance: 100 + identifier: lgpl-2.1-plus_257.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GnuTLS. + * + * [Libgcrypt] is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * [Libgcrypt] is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, see . + - score: '22.0' + start_line: 880 + end_line: 880 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 884 + end_line: 884 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '100.0' + start_line: 885 + end_line: 907 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_or_gpl-2.0-plus_5.RULE + license_expression: lgpl-3.0-plus OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software: you can redistribute it and/or + * modify it under the terms of either: + * + * * the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 3 of the License, or (at your + * option) any later version. + * + * or + * + * * the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * or both in parallel, as here. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received copies of the GNU General Public License and + * the GNU Lesser General Public License along with this program. If + * not, see http://www.gnu.org/licenses/. + - score: '100.0' + start_line: 927 + end_line: 927 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 940 + end_line: 940 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 945 + end_line: 945 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 949 + end_line: 949 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 954 + end_line: 954 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 964 + end_line: 964 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '16.0' + start_line: 968 + end_line: 968 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: lgpl-2.1-plus_299.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv2.1+' + - score: '100.0' + start_line: 972 + end_line: 972 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 978 + end_line: 978 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 983 + end_line: 983 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 988 + end_line: 988 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 993 + end_line: 993 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 999 + end_line: 999 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1006 + end_line: 1006 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1011 + end_line: 1011 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1015 + end_line: 1015 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1019 + end_line: 1019 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1024 + end_line: 1024 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1028 + end_line: 1028 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1032 + end_line: 1032 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1036 + end_line: 1036 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '16.0' + start_line: 1040 + end_line: 1040 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: lgpl-2.1-plus_299.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv2.1+' + - score: '100.0' + start_line: 1047 + end_line: 1047 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1052 + end_line: 1052 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1056 + end_line: 1056 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1061 + end_line: 1061 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1065 + end_line: 1065 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1069 + end_line: 1069 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '98.59' + start_line: 1074 + end_line: 1097 + matcher: 3-seq + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_1007.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: BSD-3-Clause + [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 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. + * Neither the name of Ben Hoyt 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 BY BEN HOYT ''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 BEN HOYT 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgpg-error0/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgpg-error0/copyright-detailed.expected.yml index 5394982a5bb..0da2ee797b0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgpg-error0/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgpg-error0/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- lgpl-2.1-plus AND lgpl-2.1 -- - LGPL-2.1+ +primary_license: lgpl-2.1-plus AND lgpl-2.1 +declared_license: + - LGPL-2.1+ - LGPL-2.1+ - LGPL-2.1+ or BSD-3-clause - LGPL-2.1+ @@ -14,12 +15,12 @@ - LGPL-2.1+ - GPL-3+ - BSD-3-clause -- (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) - AND ((lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) OR bsd-new) AND (lgpl-2.1-plus AND lgpl-2.1-plus - AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND fsf-unlimited-no-warranty +license_expression: (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND ((lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) OR bsd-new) AND (lgpl-2.1-plus + AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND fsf-unlimited-no-warranty AND fsf-unlimited-no-warranty AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND fsf-unlimited-no-warranty -- | +copyright: | 2001-2004, 2010, 2012-2018, g10 Code GmbH 2008, 2011 Free Software Foundation, Inc. 2008, 2011, 2016 g10 Code GmbH @@ -37,3 +38,192 @@ 2006, 2008, 2011 Free Software Foundation, Inc. 2008 g10 Code GmbH 2010 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 117 + matched_length: 117 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_37.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public License + version 2.1 can be found in /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_60.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License + version 3 can be found in /usr/share/common-licenses/GPL-3. + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 205 + matched_length: 205 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_910.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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, and the entire permission notice in its entirety, + including the disclaimer of warranties. + 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. + 3. The name of the author 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 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 AUTHOR 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgpg-error0/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgpg-error0/copyright.expected.yml index eaea54aabfc..07dbea9932c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgpg-error0/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgpg-error0/copyright.expected.yml @@ -1,12 +1,13 @@ -- lgpl-2.1-plus AND lgpl-2.1 -- - LGPL-2.1+ +primary_license: lgpl-2.1-plus AND lgpl-2.1 +declared_license: + - LGPL-2.1+ - LGPL-2.1+ or BSD-3-clause - g10-permissive - GPL-3+ - BSD-3-clause -- (lgpl-2.1-plus AND lgpl-2.1) AND ((lgpl-2.1-plus AND lgpl-2.1) OR bsd-new) AND fsf-unlimited-no-warranty - AND (gpl-3.0-plus AND gpl-3.0) -- | +license_expression: (lgpl-2.1-plus AND lgpl-2.1) AND ((lgpl-2.1-plus AND lgpl-2.1) OR bsd-new) + AND fsf-unlimited-no-warranty AND (gpl-3.0-plus AND gpl-3.0) +copyright: | 2001-2004, 2010, 2012-2018, g10 Code GmbH 2008, 2011 Free Software Foundation, Inc. 2008, 2011, 2016 g10 Code GmbH @@ -22,3 +23,192 @@ 2005, 2013, 2015, 2016 g10 Code GmbH 2006, 2008, 2011 Free Software Foundation, Inc. 2008 g10 Code GmbH +matches: + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 117 + matched_length: 117 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_37.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public License + version 2.1 can be found in /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_60.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License + version 3 can be found in /usr/share/common-licenses/GPL-3. + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 205 + matched_length: 205 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_910.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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, and the entire permission notice in its entirety, + including the disclaimer of warranties. + 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. + 3. The name of the author 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 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 AUTHOR 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgssapi-krb5-2/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgssapi-krb5-2/copyright-detailed.expected.yml index c16288eada2..9fb5d8d7b4c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgssapi-krb5-2/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgssapi-krb5-2/copyright-detailed.expected.yml @@ -1,15 +1,15 @@ -- -- -- bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license AND - other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new AND - mit AND bsd-2-clause-views AND mit AND bsd-new AND bsd-new AND michigan-disclaimer AND fsf-unlimited-no-warranty - AND mit-no-advert-export-control AND openldap-2.8 AND bsd-new AND bsd-new AND bsd-new AND - freebsd-doc AND cmu-uc AND nrl-permission AND ietf-trust AND mit-old-style AND mit AND bsd-simplified - AND (mit-no-advert-export-control AND proprietary-license) AND bsd-original-uc AND mit-no-advert-export-control - AND bsd-original AND mit AND isc AND isc AND other-permissive AND bsd-new AND rsa-md4 AND - rsa-md5 AND rsa-1990 AND mit-with-modification-obligations AND bsd-new AND (bsd-simplified - OR gpl-2.0-plus) AND bsd-new AND bsd-simplified -- | +primary_license: +declared_license: +license_expression: bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license + AND other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new + AND mit AND bsd-2-clause-views AND mit AND bsd-new AND bsd-new AND michigan-disclaimer AND + fsf-unlimited-no-warranty AND mit-no-advert-export-control AND openldap-2.8 AND bsd-new AND + bsd-new AND bsd-new AND freebsd-doc AND cmu-uc AND nrl-permission AND ietf-trust AND mit-old-style + AND mit AND bsd-simplified AND (mit-no-advert-export-control AND proprietary-license) AND + bsd-original-uc AND mit-no-advert-export-control AND bsd-original AND mit AND isc AND isc + AND other-permissive AND bsd-new AND rsa-md4 AND rsa-md5 AND rsa-1990 AND mit-with-modification-obligations + AND bsd-new AND (bsd-simplified OR gpl-2.0-plus) AND bsd-new AND bsd-simplified +copyright: | Copyright (c) 1985-2018 by the Massachusetts Institute of Technology copyright MIT, Cygnus Support, Novell, OpenVision Technologies, Oracle, Red Hat, Sun Microsystems, FundsXpress, and others Copyright, OpenVision Technologies, Inc., 1993-1996 @@ -59,3 +59,1281 @@ Copyright (c) 2007,2008,2009 Marc Alexander Lehmann Copyright (c) 2010, Intel Corporation Copyright (c) 1998 by Danilo Almeida +matches: + - score: '100.0' + start_line: 18 + end_line: 39 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions and\ + \ the following disclaimer.\n \n * Redistributions in binary form must reproduce the above\ + \ copyright\n notice, this list of conditions and the following disclaimer in the\n\ + \ documentation and/or other materials provided with the distribution.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 41 + end_line: 52 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: generic-export-compliance_3.RULE + license_expression: generic-export-compliance + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Downloading of this software may constitute an export of cryptographic\n\ + \ software from the United States of America that is subject to the\n United States Export\ + \ Administration Regulations (EAR), 15 CFR 730-774.\n Additional laws or regulations may\ + \ apply. It is the responsibility of\n the person or entity contemplating export to comply\ + \ with all\n applicable export laws and regulations, including obtaining any\n required\ + \ license from the U.S. government.\n \n The U.S. government prohibits export of encryption\ + \ source code to\n certain countries and individuals, including, but not limited to, the\n\ + \ countries of Cuba, Iran, North Korea, Sudan, Syria, and residents and\n nationals of\ + \ those countries." + - score: '100.0' + start_line: 54 + end_line: 56 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc-by-sa-3.0_22.RULE + license_expression: cc-by-sa-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Documentation components of this software distribution are licensed + under a Creative Commons Attribution-ShareAlike 3.0 Unported License. + (http://creativecommons.org/licenses/by-sa/3.0/) + - score: '100.0' + start_line: 64 + end_line: 70 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_136.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "No commercial use of these trademarks may be made without\n prior written\ + \ permission of MIT.\n \n \"Commercial use\" means use of a name in a product or other\ + \ for-profit\n manner. It does NOT prevent a commercial firm from referring to the\n\ + \ MIT trademarks in order to convey information (although in doing so,\n recognition of\ + \ their trademark status should be given)." + - score: '100.0' + start_line: 82 + end_line: 111 + matcher: 2-aho + rule_length: 244 + matched_length: 244 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_80.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "WARNING: Retrieving the OpenVision Kerberos Administration system\n source\ + \ code, as described below, indicates your acceptance of the\n following terms. If\ + \ you do not agree to the following terms, do\n not retrieve the OpenVision Kerberos\ + \ administration system.\n \n You may freely use and distribute the Source Code and\ + \ Object Code\n compiled from it, with or without modification, but this Source\n \ + \ Code is provided to you \"AS IS\" EXCLUSIVE OF ANY WARRANTY,\n INCLUDING, WITHOUT\ + \ LIMITATION, ANY WARRANTIES OF MERCHANTABILITY OR\n FITNESS FOR A PARTICULAR PURPOSE,\ + \ OR ANY OTHER WARRANTY, WHETHER\n EXPRESS OR IMPLIED. IN NO EVENT WILL OPENVISION\ + \ HAVE ANY LIABILITY\n FOR ANY LOST PROFITS, LOSS OF DATA OR COSTS OF PROCUREMENT OF\n\ + \ SUBSTITUTE GOODS OR SERVICES, OR FOR ANY SPECIAL, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES ARISING OUT OF THIS AGREEMENT, INCLUDING,\n WITHOUT LIMITATION, THOSE RESULTING\ + \ FROM THE USE OF THE SOURCE\n CODE, OR THE FAILURE OF THE SOURCE CODE TO PERFORM,\ + \ OR FOR ANY\n OTHER REASON.\n \n OpenVision retains all copyrights in the donated\ + \ Source Code.\n OpenVision also retains copyright to derivative works of the Source\n\ + \ Code, whether created by OpenVision or by a third party. The\n OpenVision copyright\ + \ notice must be preserved if derivative works\n are made based on the donated Source\ + \ Code.\n \n OpenVision Technologies, Inc. has donated this Kerberos\n Administration\ + \ system to MIT for inclusion in the standard Kerberos\n 5 distribution. This donation\ + \ underscores our commitment to\n continuing Kerberos technology development and our\ + \ gratitude for\n the valuable work which has been performed by MIT and the Kerberos\n\ + \ community." + - score: '98.73' + start_line: 128 + end_line: 146 + matcher: 2-aho + rule_length: 155 + matched_length: 155 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_1.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of [FundsXpress]. not be used in advertising or\ + \ publicity\n pertaining to distribution of the software without specific,\n written\ + \ prior permission. [FundsXpress] makes no representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS\ + \ OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 156 + end_line: 175 + matcher: 2-aho + rule_length: 116 + matched_length: 116 + match_coverage: '100.0' + rule_relevance: 100 + identifier: brian-gladman-3-clause_2.RULE + license_expression: brian-gladman-3-clause + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "LICENSE TERMS\n \n The free distribution and use of this software in both\ + \ source and\n binary form is allowed (with or without changes) provided that:\n \n\ + \ 1. distributions of this source code include the above copyright\n notice,\ + \ this list of conditions and the following disclaimer;\n \n 2. distributions in binary\ + \ form include the above copyright notice,\n this list of conditions and the following\ + \ disclaimer in the\n documentation and/or other associated materials;\n \n 3.\ + \ the copyright holder's name is not used to endorse products\n built using this\ + \ software without specific written permission.\n \n DISCLAIMER\n \n This software\ + \ is provided 'as is' with no explcit or implied\n warranties in respect of any properties,\ + \ including, but not limited\n to, correctness and fitness for purpose." + - score: '100.0' + start_line: 187 + end_line: 214 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_587.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * Neither the name of Red Hat, Inc., nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 222 + end_line: 240 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT\n HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n \ + \ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN\ + \ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n DEALINGS IN THE SOFTWARE." + - score: '85.71' + start_line: 248 + end_line: 276 + matcher: 3-seq + rule_length: 217 + matched_length: 186 + match_coverage: '85.71' + rule_relevance: 100 + identifier: bsd-2-clause-freebsd_9.RULE + license_expression: bsd-2-clause-views + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form\ + \ must reproduce the above\n copyright notice, this list of conditions and the\ + \ following\n disclaimer in the documentation and/or other materials\n \ + \ provided with the distribution.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n ======================================================================\n\ + \ \n The" + - score: '100.0' + start_line: 334 + end_line: 352 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 363 + end_line: 390 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 400 + end_line: 427 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_588.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * The copyright holder's name is not used to endorse or promote\n products\ + \ derived from this software without specific prior\n written permission.\n \n \ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\"\ + \ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 440 + end_line: 459 + matcher: 2-aho + rule_length: 186 + matched_length: 186 + match_coverage: '100.0' + rule_relevance: 100 + identifier: michigan-disclaimer.LICENSE + license_expression: michigan-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to use, copy, create derivative works and\n redistribute\ + \ this software and such derivative works for any\n purpose, so long as the name of\ + \ The University of Michigan is not\n used in any advertising or publicity pertaining\ + \ to the use of\n distribution of this software without specific, written prior\n \ + \ authorization. If the above copyright notice or any other\n identification of\ + \ the University of Michigan is included in any\n copy of any portion of this software,\ + \ then the disclaimer below\n must also be included.\n \n THIS SOFTWARE IS PROVIDED\ + \ AS IS, WITHOUT REPRESENTATION FROM THE\n UNIVERSITY OF MICHIGAN AS TO ITS FITNESS\ + \ FOR ANY PURPOSE, AND\n WITHOUT WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND,\ + \ EITHER\n EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\n THE REGENTS OF THE UNIVERSITY\ + \ OF MICHIGAN SHALL NOT BE LIABLE FOR\n ANY DAMAGES, INCLUDING SPECIAL, INDIRECT, INCIDENTAL,\ + \ OR\n CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR\n IN CONNECTION\ + \ WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR\n IS HEREAFTER ADVISED OF THE\ + \ POSSIBILITY OF SUCH DAMAGES." + - score: '100.0' + start_line: 469 + end_line: 476 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; as a special exception the author gives\n \ + \ unlimited permission to copy and/or distribute it, with or without\n modifications,\ + \ as long as this notice is preserved.\n \n This file is distributed in the hope that\ + \ it will be useful, but\n WITHOUT ANY WARRANTY, to the extent permitted by law; without\ + \ even\n the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n PURPOSE." + - score: '100.0' + start_line: 485 + end_line: 503 + matcher: 2-aho + rule_length: 159 + matched_length: 159 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_2.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Apple Inc. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Apple Inc. makes no representations\n about the suitability of this software for\ + \ any purpose. It is\n provided \"as is\" without express or implied warranty.\n \n\ + \ THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR\n IMPLIED WARRANTIES,\ + \ INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES OF MERCHANTIBILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 511 + end_line: 558 + matcher: 2-aho + rule_length: 328 + matched_length: 328 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8.LICENSE + license_expression: openldap-2.8 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The OpenLDAP Public License\n Version 2.8, 17 August 2003\n \n Redistribution\ + \ and use of this software and associated\n documentation (\"Software\"), with or without\ + \ modification, are\n permitted provided that the following conditions are met:\n \n\ + \ 1. Redistributions in source form must retain copyright statements\n and notices,\n\ + \ \n 2. Redistributions in binary form must reproduce applicable\n copyright\ + \ statements and notices, this list of conditions, and\n the following disclaimer\ + \ in the documentation and/or other\n materials provided with the distribution,\ + \ and\n \n 3. Redistributions must contain a verbatim copy of this document.\n \n \ + \ The OpenLDAP Foundation may revise this license from time to time.\n Each revision\ + \ is distinguished by a version number. You may use\n this Software under terms of\ + \ this license revision or under the\n terms of any subsequent revision of the license.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS\n CONTRIBUTORS\ + \ \"AS IS\" AND ANY EXPRESSED OR IMPLIED WARRANTIES,\n INCLUDING, BUT NOT LIMITED TO,\ + \ THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL THE OPENLDAP FOUNDATION, ITS\n CONTRIBUTORS,\ + \ OR THE AUTHOR(S) OR OWNER(S) OF THE SOFTWARE BE\n LIABLE FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER\ + \ IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF SUCH\n DAMAGE.\n \n The names of the authors and copyright holders must not\ + \ be used in\n advertising or otherwise to promote the sale, use or other dealing\n\ + \ in this Software without specific, written prior permission. Title\n to copyright\ + \ in this Software shall at all times remain with\n copyright holders.\n \n OpenLDAP\ + \ is a registered trademark of the OpenLDAP Foundation.\n \n Copyright 1999-2003 The\ + \ OpenLDAP Foundation, Redwood City,\n California, USA. All Rights Reserved. Permission\ + \ to copy and\n distribute verbatim copies of this document is granted." + - score: '100.0' + start_line: 568 + end_line: 595 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of KTH nor the names of its contributors may be\n used\ + \ to endorse or promote products derived from this software\n without specific prior\ + \ written permission.\n \n THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS \"\ + AS IS\" AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n \ + \ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE,\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF\ + \ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 608 + end_line: 636 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_151.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form must\ + \ reproduce the above\n copyright notice, this list of conditions and the following\n\ + \ disclaimer in the documentation and/or other materials provided\n with the\ + \ distribution.\n \n 3. Neither the name of the Institute nor the names of its\n \ + \ contributors may be used to endorse or promote products derived\n from this\ + \ software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE INSTITUTE AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE\n \ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 647 + end_line: 675 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_589.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the \"Oracle America, Inc.\" nor the names of\n its\ + \ contributors may be used to endorse or promote products\n derived from this software\ + \ without specific prior written\n permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n \ + \ COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 682 + end_line: 705 + matcher: 2-aho + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: freebsd-doc_5.RULE + license_expression: freebsd-doc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer as\n the first lines of this file unmodified.\n \n\ + \ 2. Redistributions in binary form must reproduce the above\n copyright notice,\ + \ this list of conditions and the following\n disclaimer in the documentation and/or\ + \ other materials provided\n with the distribution.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY NTT \"AS IS\" AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED\ + \ TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL NTT BE LIABLE FOR ANY DIRECT,\n INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\ + \ IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n \ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '99.0' + start_line: 713 + end_line: 729 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 99 + identifier: cmu-uc_12.RULE + license_expression: cmu-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software and\n its\ + \ documentation for any purpose and without fee is hereby\n granted, provided that\ + \ the above copyright notice appear in all\n copies and that both that copyright notice\ + \ and this permission\n notice appear in supporting documentation, and that the name\ + \ of\n Carnegie Mellon University not be used in advertising or publicity\n pertaining\ + \ to distribution of the software without specific,\n written prior permission.\n \n\ + \ CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO\n THIS SOFTWARE,\ + \ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS, IN NO EVENT SHALL\ + \ CARNEGIE MELLON UNIVERSITY BE LIABLE\n FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES\n WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\ + \ WHETHER IN\n AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\n\ + \ OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS\n SOFTWARE." + - score: '95.0' + start_line: 735 + end_line: 743 + matcher: 2-aho + rule_length: 71 + matched_length: 71 + match_coverage: '100.0' + rule_relevance: 95 + identifier: nrl-permission_1.RULE + license_expression: nrl-permission + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify and distribute this software and\n its\ + \ documentation is hereby granted, provided that both the\n copyright notice and this\ + \ permission notice appear in all copies of\n the software, derivative works or modified\ + \ versions, and any\n portions thereof.\n \n NRL ALLOWS FREE USE OF THIS SOFTWARE\ + \ IN ITS \"AS IS\" CONDITION AND\n DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES\ + \ WHATSOEVER\n RESULTING FROM THE USE OF THIS SOFTWARE." + - score: '100.0' + start_line: 752 + end_line: 763 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf-trust_10.RULE + license_expression: ietf-trust + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This document is subject to the rights, licenses and restrictions\n contained\ + \ in BCP 78, and except as set forth therein, the authors\n retain all their rights.\n\ + \ \n This document and the information contained herein are provided on\n an \"\ + AS IS\" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE\n REPRESENTS OR IS SPONSORED\ + \ BY (IF ANY), THE INTERNET SOCIETY AND\n THE INTERNET ENGINEERING TASK FORCE DISCLAIM\ + \ ALL WARRANTIES,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT\n\ + \ THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR\n ANY IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A\n PARTICULAR PURPOSE." + - score: '100.0' + start_line: 769 + end_line: 776 + matcher: 2-aho + rule_length: 69 + matched_length: 69 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style_11.RULE + license_expression: mit-old-style + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appear in all + copies and that both that copyright notice and this permission + notice appear in supporting documentation. Cygnus Support makes no + representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied + warranty. + - score: '100.0' + start_line: 782 + end_line: 800 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 810 + end_line: 833 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS \"AS IS\"\n AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR OR\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO,\ + \ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN\ + \ CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 837 + end_line: 856 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_and_proprietary-license_1.RULE + license_expression: mit-no-advert-export-control AND proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "EXPORT OF THIS SOFTWARE from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to copy, modify, and distribute\n\ + \ this software and its documentation in source and binary forms is\n hereby granted,\ + \ provided that any documentation or other materials\n related to such distribution\ + \ or use acknowledge that the software\n was developed by the University of Southern\ + \ California.\n \n DISCLAIMER OF WARRANTY. THIS SOFTWARE IS PROVIDED \"AS IS\". The\n\ + \ University of Southern California MAKES NO REPRESENTATIONS OR\n WARRANTIES, EXPRESS\ + \ OR IMPLIED. By way of example, but not\n limitation, the University of Southern\ + \ California MAKES NO\n REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS\ + \ FOR ANY\n PARTICULAR PURPOSE. The University of Southern California shall not\n \ + \ be held liable for any liability nor for any direct, indirect, or\n consequential\ + \ damages with respect to any claim by the user or\n distributor of the ksu software." + - score: '100.0' + start_line: 866 + end_line: 899 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the University of\n California, Berkeley and its contributors.\n\ + \ \n 4. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '99.0' + start_line: 907 + end_line: 922 + matcher: 2-aho + rule_length: 145 + matched_length: 145 + match_coverage: '100.0' + rule_relevance: 99 + identifier: mit-no-advert-export-control_4.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Richard P. Basch, Lehman Brothers and M.I.T.\ + \ not be\n used in advertising or publicity pertaining to distribution of the\n \ + \ software without specific, written prior permission. Richard P.\n Basch, Lehman\ + \ Brothers and M.I.T. make no representations about the\n suitability of this software\ + \ for any purpose. It is provided \"as\n is\" without express or implied warranty." + - score: '100.0' + start_line: 934 + end_line: 968 + matcher: 2-aho + rule_length: 245 + matched_length: 245 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_32.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the NetBSD\n Foundation, Inc. and its contributors.\n \n 4.\ + \ Neither the name of The NetBSD Foundation nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION,\ + \ INC. AND\n CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A\ + \ PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS\ + \ BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\ + \ ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF SUCH\n DAMAGE." + - score: '100.0' + start_line: 978 + end_line: 996 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_483.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE COMPUTING\ + \ RESEARCH LAB OR\n NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY CLAIM, DAMAGES OR\n\ + \ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING\ + \ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE\n OR THE USE OR OTHER DEALINGS IN\ + \ THE SOFTWARE." + - score: '100.0' + start_line: 1004 + end_line: 1016 + matcher: 2-aho + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for\n any\ + \ purpose with or without fee is hereby granted, provided that\n the above copyright\ + \ notice and this permission notice appear in all\n copies.\n \n THE SOFTWARE IS\ + \ PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL\n WARRANTIES WITH REGARD TO THIS\ + \ SOFTWARE INCLUDING ALL IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO\ + \ EVENT SHALL THE\n AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\n OF USE, DATA OR PROFITS,\ + \ WHETHER IN AN ACTION OF CONTRACT,\n NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\ + \ OUT OF OR IN\n CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." + - score: '95.0' + start_line: 1025 + end_line: 1037 + matcher: 2-aho + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 95 + identifier: isc_16.RULE + license_expression: isc + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for + any purpose with or without fee is hereby granted, provided that + the above copyright notice and this permission notice appear in all + copies. THE SOFTWARE IS PROVIDED "AS IS" AND THEODORE TS'O (THE + AUTHOR) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS 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 THIS SOFTWARE. (Isn't + it sick that the U.S. culture of lawsuit-happy lawyers requires + this kind of disclaimer?) + - score: '100.0' + start_line: 1046 + end_line: 1047 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_22.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be freely redistributed without license or fee + provided this copyright message remains intact. + - score: '100.0' + start_line: 1060 + end_line: 1087 + matcher: 2-aho + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_134.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO\ + \ EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\n \ + \ DAMAGE." + - score: '100.0' + start_line: 1096 + end_line: 1112 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md4.LICENSE + license_expression: rsa-md4 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD4 Message Digest\n Algorithm\" in all\ + \ material mentioning or referencing this software\n or this function.\n \n License\ + \ is also granted to make and use derivative works provided\n that such works are identified\ + \ as \"derived from the RSA Data\n Security, Inc. MD4 Message Digest Algorithm\" in\ + \ all material\n mentioning or referencing the derived work.\n \n RSA Data Security,\ + \ Inc. makes no representations concerning either\n the merchantability of this software\ + \ or the suitability of this\n software for any particular purpose. It is provided\ + \ \"as is\"\n without express or implied warranty of any kind.\n \n These notices\ + \ must be retained in any copies of any part of this\n documentation and/or software." + - score: '100.0' + start_line: 1121 + end_line: 1137 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md5.LICENSE + license_expression: rsa-md5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD5 Message- Digest\n Algorithm\" in\ + \ all material mentioning or referencing this software\n or this function.\n \n \ + \ License is also granted to make and use derivative works provided\n that such works\ + \ are identified as \"derived from the RSA Data\n Security, Inc. MD5 Message-Digest\ + \ Algorithm\" in all material\n mentioning or referencing the derived work.\n \n \ + \ RSA Data Security, Inc. makes no representations concerning either\n the merchantability\ + \ of this software or the suitability of this\n software for any particular purpose.\ + \ It is provided \"as is\"\n without express or implied warranty of any kind.\n \n\ + \ These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1147 + end_line: 1153 + matcher: 2-aho + rule_length: 54 + matched_length: 54 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-1990.LICENSE + license_expression: rsa-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "RSA Data Security, Inc. makes no representations concerning either\n the\ + \ merchantability of this software or the suitability of this\n software for any particular\ + \ purpose. It is provided \"as is\" without\n express or implied warranty of any kind.\n\ + \ \n These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1163 + end_line: 1181 + matcher: 2-aho + rule_length: 177 + matched_length: 177 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-with-modification-obligations_2.RULE + license_expression: mit-with-modification-obligations + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of M.I.T. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Furthermore if you modify this software\n you must label your software as modified\ + \ software and not\n distribute it in such a fashion that it might be confused with\ + \ the\n original M.I.T. software. Neither M.I.T., the Open Computing\n Security\ + \ Group, nor CyberSAFE Corporation make any representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty." + - score: '100.0' + start_line: 1190 + end_line: 1217 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_590.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of PADL Software nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY PADL SOFTWARE\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL PADL SOFTWARE\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1226 + end_line: 1264 + matcher: 2-aho + rule_length: 335 + matched_length: 335 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_or_gpl-2.0-plus_7.RULE + license_expression: bsd-simplified OR gpl-2.0-plus + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n Alternatively, the contents\ + \ of this package may be used under the\n terms of the GNU General Public License (\"\ + GPL\") version 2 or any\n later version, in which case the provisions of the GPL are\n\ + \ applicable instead of the above. If you wish to allow the use of\n your version\ + \ of this package only under the terms of the GPL and\n not to allow others to use\ + \ your version of this file under the BSD\n license, indicate your decision by deleting\ + \ the provisions above\n and replace them with the notice and other provisions required\ + \ by\n the GPL in this and the other files of this package. If you do not\n delete\ + \ the provisions above, a recipient may use your version of\n this file under either\ + \ the BSD or the GPL.\n \n On Debian systems, the complete text of the GNU General\ + \ Public License\n version 2 can be found in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 1274 + end_line: 1302 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_4.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials\n provided with\ + \ the distribution.\n \n * Neither the name of Intel Corporation nor the names of\ + \ its\n contributors may be used to endorse or promote products\n derived\ + \ from this software without specific prior written\n permission.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 1311 + end_line: 1334 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgssapi-krb5-2/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgssapi-krb5-2/copyright.expected.yml index 9f248069883..1df017652bd 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgssapi-krb5-2/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgssapi-krb5-2/copyright.expected.yml @@ -1,12 +1,12 @@ -- -- -- bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license AND - other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new AND - mit AND bsd-2-clause-views AND michigan-disclaimer AND fsf-unlimited-no-warranty AND openldap-2.8 +primary_license: +declared_license: +license_expression: bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license + AND other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new + AND mit AND bsd-2-clause-views AND michigan-disclaimer AND fsf-unlimited-no-warranty AND openldap-2.8 AND freebsd-doc AND cmu-uc AND nrl-permission AND ietf-trust AND mit-old-style AND (mit-no-advert-export-control AND proprietary-license) AND bsd-original-uc AND bsd-original AND isc AND rsa-md4 AND rsa-md5 AND rsa-1990 AND mit-with-modification-obligations AND (bsd-simplified OR gpl-2.0-plus) -- | +copyright: | Copyright (c) 1985-2018 by the Massachusetts Institute of Technology copyright MIT, Cygnus Support, Novell, OpenVision Technologies, Oracle, Red Hat, Sun Microsystems, FundsXpress, and others Copyright, OpenVision Technologies, Inc., 1993-1996 @@ -56,3 +56,1281 @@ Copyright (c) 2007,2008,2009 Marc Alexander Lehmann Copyright (c) 2010, Intel Corporation Copyright (c) 1998 by Danilo Almeida +matches: + - score: '100.0' + start_line: 18 + end_line: 39 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions and\ + \ the following disclaimer.\n \n * Redistributions in binary form must reproduce the above\ + \ copyright\n notice, this list of conditions and the following disclaimer in the\n\ + \ documentation and/or other materials provided with the distribution.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 41 + end_line: 52 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: generic-export-compliance_3.RULE + license_expression: generic-export-compliance + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Downloading of this software may constitute an export of cryptographic\n\ + \ software from the United States of America that is subject to the\n United States Export\ + \ Administration Regulations (EAR), 15 CFR 730-774.\n Additional laws or regulations may\ + \ apply. It is the responsibility of\n the person or entity contemplating export to comply\ + \ with all\n applicable export laws and regulations, including obtaining any\n required\ + \ license from the U.S. government.\n \n The U.S. government prohibits export of encryption\ + \ source code to\n certain countries and individuals, including, but not limited to, the\n\ + \ countries of Cuba, Iran, North Korea, Sudan, Syria, and residents and\n nationals of\ + \ those countries." + - score: '100.0' + start_line: 54 + end_line: 56 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc-by-sa-3.0_22.RULE + license_expression: cc-by-sa-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Documentation components of this software distribution are licensed + under a Creative Commons Attribution-ShareAlike 3.0 Unported License. + (http://creativecommons.org/licenses/by-sa/3.0/) + - score: '100.0' + start_line: 64 + end_line: 70 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_136.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "No commercial use of these trademarks may be made without\n prior written\ + \ permission of MIT.\n \n \"Commercial use\" means use of a name in a product or other\ + \ for-profit\n manner. It does NOT prevent a commercial firm from referring to the\n\ + \ MIT trademarks in order to convey information (although in doing so,\n recognition of\ + \ their trademark status should be given)." + - score: '100.0' + start_line: 82 + end_line: 111 + matcher: 2-aho + rule_length: 244 + matched_length: 244 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_80.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "WARNING: Retrieving the OpenVision Kerberos Administration system\n source\ + \ code, as described below, indicates your acceptance of the\n following terms. If\ + \ you do not agree to the following terms, do\n not retrieve the OpenVision Kerberos\ + \ administration system.\n \n You may freely use and distribute the Source Code and\ + \ Object Code\n compiled from it, with or without modification, but this Source\n \ + \ Code is provided to you \"AS IS\" EXCLUSIVE OF ANY WARRANTY,\n INCLUDING, WITHOUT\ + \ LIMITATION, ANY WARRANTIES OF MERCHANTABILITY OR\n FITNESS FOR A PARTICULAR PURPOSE,\ + \ OR ANY OTHER WARRANTY, WHETHER\n EXPRESS OR IMPLIED. IN NO EVENT WILL OPENVISION\ + \ HAVE ANY LIABILITY\n FOR ANY LOST PROFITS, LOSS OF DATA OR COSTS OF PROCUREMENT OF\n\ + \ SUBSTITUTE GOODS OR SERVICES, OR FOR ANY SPECIAL, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES ARISING OUT OF THIS AGREEMENT, INCLUDING,\n WITHOUT LIMITATION, THOSE RESULTING\ + \ FROM THE USE OF THE SOURCE\n CODE, OR THE FAILURE OF THE SOURCE CODE TO PERFORM,\ + \ OR FOR ANY\n OTHER REASON.\n \n OpenVision retains all copyrights in the donated\ + \ Source Code.\n OpenVision also retains copyright to derivative works of the Source\n\ + \ Code, whether created by OpenVision or by a third party. The\n OpenVision copyright\ + \ notice must be preserved if derivative works\n are made based on the donated Source\ + \ Code.\n \n OpenVision Technologies, Inc. has donated this Kerberos\n Administration\ + \ system to MIT for inclusion in the standard Kerberos\n 5 distribution. This donation\ + \ underscores our commitment to\n continuing Kerberos technology development and our\ + \ gratitude for\n the valuable work which has been performed by MIT and the Kerberos\n\ + \ community." + - score: '98.73' + start_line: 128 + end_line: 146 + matcher: 2-aho + rule_length: 155 + matched_length: 155 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_1.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of [FundsXpress]. not be used in advertising or\ + \ publicity\n pertaining to distribution of the software without specific,\n written\ + \ prior permission. [FundsXpress] makes no representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS\ + \ OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 156 + end_line: 175 + matcher: 2-aho + rule_length: 116 + matched_length: 116 + match_coverage: '100.0' + rule_relevance: 100 + identifier: brian-gladman-3-clause_2.RULE + license_expression: brian-gladman-3-clause + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "LICENSE TERMS\n \n The free distribution and use of this software in both\ + \ source and\n binary form is allowed (with or without changes) provided that:\n \n\ + \ 1. distributions of this source code include the above copyright\n notice,\ + \ this list of conditions and the following disclaimer;\n \n 2. distributions in binary\ + \ form include the above copyright notice,\n this list of conditions and the following\ + \ disclaimer in the\n documentation and/or other associated materials;\n \n 3.\ + \ the copyright holder's name is not used to endorse products\n built using this\ + \ software without specific written permission.\n \n DISCLAIMER\n \n This software\ + \ is provided 'as is' with no explcit or implied\n warranties in respect of any properties,\ + \ including, but not limited\n to, correctness and fitness for purpose." + - score: '100.0' + start_line: 187 + end_line: 214 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_587.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * Neither the name of Red Hat, Inc., nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 222 + end_line: 240 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT\n HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n \ + \ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN\ + \ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n DEALINGS IN THE SOFTWARE." + - score: '85.71' + start_line: 248 + end_line: 276 + matcher: 3-seq + rule_length: 217 + matched_length: 186 + match_coverage: '85.71' + rule_relevance: 100 + identifier: bsd-2-clause-freebsd_9.RULE + license_expression: bsd-2-clause-views + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form\ + \ must reproduce the above\n copyright notice, this list of conditions and the\ + \ following\n disclaimer in the documentation and/or other materials\n \ + \ provided with the distribution.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n ======================================================================\n\ + \ \n The" + - score: '100.0' + start_line: 334 + end_line: 352 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 363 + end_line: 390 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 400 + end_line: 427 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_588.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * The copyright holder's name is not used to endorse or promote\n products\ + \ derived from this software without specific prior\n written permission.\n \n \ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\"\ + \ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 440 + end_line: 459 + matcher: 2-aho + rule_length: 186 + matched_length: 186 + match_coverage: '100.0' + rule_relevance: 100 + identifier: michigan-disclaimer.LICENSE + license_expression: michigan-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to use, copy, create derivative works and\n redistribute\ + \ this software and such derivative works for any\n purpose, so long as the name of\ + \ The University of Michigan is not\n used in any advertising or publicity pertaining\ + \ to the use of\n distribution of this software without specific, written prior\n \ + \ authorization. If the above copyright notice or any other\n identification of\ + \ the University of Michigan is included in any\n copy of any portion of this software,\ + \ then the disclaimer below\n must also be included.\n \n THIS SOFTWARE IS PROVIDED\ + \ AS IS, WITHOUT REPRESENTATION FROM THE\n UNIVERSITY OF MICHIGAN AS TO ITS FITNESS\ + \ FOR ANY PURPOSE, AND\n WITHOUT WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND,\ + \ EITHER\n EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\n THE REGENTS OF THE UNIVERSITY\ + \ OF MICHIGAN SHALL NOT BE LIABLE FOR\n ANY DAMAGES, INCLUDING SPECIAL, INDIRECT, INCIDENTAL,\ + \ OR\n CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR\n IN CONNECTION\ + \ WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR\n IS HEREAFTER ADVISED OF THE\ + \ POSSIBILITY OF SUCH DAMAGES." + - score: '100.0' + start_line: 469 + end_line: 476 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; as a special exception the author gives\n \ + \ unlimited permission to copy and/or distribute it, with or without\n modifications,\ + \ as long as this notice is preserved.\n \n This file is distributed in the hope that\ + \ it will be useful, but\n WITHOUT ANY WARRANTY, to the extent permitted by law; without\ + \ even\n the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n PURPOSE." + - score: '100.0' + start_line: 485 + end_line: 503 + matcher: 2-aho + rule_length: 159 + matched_length: 159 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_2.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Apple Inc. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Apple Inc. makes no representations\n about the suitability of this software for\ + \ any purpose. It is\n provided \"as is\" without express or implied warranty.\n \n\ + \ THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR\n IMPLIED WARRANTIES,\ + \ INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES OF MERCHANTIBILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 511 + end_line: 558 + matcher: 2-aho + rule_length: 328 + matched_length: 328 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8.LICENSE + license_expression: openldap-2.8 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The OpenLDAP Public License\n Version 2.8, 17 August 2003\n \n Redistribution\ + \ and use of this software and associated\n documentation (\"Software\"), with or without\ + \ modification, are\n permitted provided that the following conditions are met:\n \n\ + \ 1. Redistributions in source form must retain copyright statements\n and notices,\n\ + \ \n 2. Redistributions in binary form must reproduce applicable\n copyright\ + \ statements and notices, this list of conditions, and\n the following disclaimer\ + \ in the documentation and/or other\n materials provided with the distribution,\ + \ and\n \n 3. Redistributions must contain a verbatim copy of this document.\n \n \ + \ The OpenLDAP Foundation may revise this license from time to time.\n Each revision\ + \ is distinguished by a version number. You may use\n this Software under terms of\ + \ this license revision or under the\n terms of any subsequent revision of the license.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS\n CONTRIBUTORS\ + \ \"AS IS\" AND ANY EXPRESSED OR IMPLIED WARRANTIES,\n INCLUDING, BUT NOT LIMITED TO,\ + \ THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL THE OPENLDAP FOUNDATION, ITS\n CONTRIBUTORS,\ + \ OR THE AUTHOR(S) OR OWNER(S) OF THE SOFTWARE BE\n LIABLE FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER\ + \ IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF SUCH\n DAMAGE.\n \n The names of the authors and copyright holders must not\ + \ be used in\n advertising or otherwise to promote the sale, use or other dealing\n\ + \ in this Software without specific, written prior permission. Title\n to copyright\ + \ in this Software shall at all times remain with\n copyright holders.\n \n OpenLDAP\ + \ is a registered trademark of the OpenLDAP Foundation.\n \n Copyright 1999-2003 The\ + \ OpenLDAP Foundation, Redwood City,\n California, USA. All Rights Reserved. Permission\ + \ to copy and\n distribute verbatim copies of this document is granted." + - score: '100.0' + start_line: 568 + end_line: 595 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of KTH nor the names of its contributors may be\n used\ + \ to endorse or promote products derived from this software\n without specific prior\ + \ written permission.\n \n THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS \"\ + AS IS\" AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n \ + \ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE,\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF\ + \ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 608 + end_line: 636 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_151.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form must\ + \ reproduce the above\n copyright notice, this list of conditions and the following\n\ + \ disclaimer in the documentation and/or other materials provided\n with the\ + \ distribution.\n \n 3. Neither the name of the Institute nor the names of its\n \ + \ contributors may be used to endorse or promote products derived\n from this\ + \ software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE INSTITUTE AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE\n \ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 647 + end_line: 675 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_589.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the \"Oracle America, Inc.\" nor the names of\n its\ + \ contributors may be used to endorse or promote products\n derived from this software\ + \ without specific prior written\n permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n \ + \ COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 682 + end_line: 705 + matcher: 2-aho + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: freebsd-doc_5.RULE + license_expression: freebsd-doc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer as\n the first lines of this file unmodified.\n \n\ + \ 2. Redistributions in binary form must reproduce the above\n copyright notice,\ + \ this list of conditions and the following\n disclaimer in the documentation and/or\ + \ other materials provided\n with the distribution.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY NTT \"AS IS\" AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED\ + \ TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL NTT BE LIABLE FOR ANY DIRECT,\n INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\ + \ IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n \ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '99.0' + start_line: 713 + end_line: 729 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 99 + identifier: cmu-uc_12.RULE + license_expression: cmu-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software and\n its\ + \ documentation for any purpose and without fee is hereby\n granted, provided that\ + \ the above copyright notice appear in all\n copies and that both that copyright notice\ + \ and this permission\n notice appear in supporting documentation, and that the name\ + \ of\n Carnegie Mellon University not be used in advertising or publicity\n pertaining\ + \ to distribution of the software without specific,\n written prior permission.\n \n\ + \ CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO\n THIS SOFTWARE,\ + \ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS, IN NO EVENT SHALL\ + \ CARNEGIE MELLON UNIVERSITY BE LIABLE\n FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES\n WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\ + \ WHETHER IN\n AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\n\ + \ OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS\n SOFTWARE." + - score: '95.0' + start_line: 735 + end_line: 743 + matcher: 2-aho + rule_length: 71 + matched_length: 71 + match_coverage: '100.0' + rule_relevance: 95 + identifier: nrl-permission_1.RULE + license_expression: nrl-permission + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify and distribute this software and\n its\ + \ documentation is hereby granted, provided that both the\n copyright notice and this\ + \ permission notice appear in all copies of\n the software, derivative works or modified\ + \ versions, and any\n portions thereof.\n \n NRL ALLOWS FREE USE OF THIS SOFTWARE\ + \ IN ITS \"AS IS\" CONDITION AND\n DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES\ + \ WHATSOEVER\n RESULTING FROM THE USE OF THIS SOFTWARE." + - score: '100.0' + start_line: 752 + end_line: 763 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf-trust_10.RULE + license_expression: ietf-trust + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This document is subject to the rights, licenses and restrictions\n contained\ + \ in BCP 78, and except as set forth therein, the authors\n retain all their rights.\n\ + \ \n This document and the information contained herein are provided on\n an \"\ + AS IS\" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE\n REPRESENTS OR IS SPONSORED\ + \ BY (IF ANY), THE INTERNET SOCIETY AND\n THE INTERNET ENGINEERING TASK FORCE DISCLAIM\ + \ ALL WARRANTIES,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT\n\ + \ THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR\n ANY IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A\n PARTICULAR PURPOSE." + - score: '100.0' + start_line: 769 + end_line: 776 + matcher: 2-aho + rule_length: 69 + matched_length: 69 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style_11.RULE + license_expression: mit-old-style + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appear in all + copies and that both that copyright notice and this permission + notice appear in supporting documentation. Cygnus Support makes no + representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied + warranty. + - score: '100.0' + start_line: 782 + end_line: 800 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 810 + end_line: 833 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS \"AS IS\"\n AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR OR\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO,\ + \ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN\ + \ CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 837 + end_line: 856 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_and_proprietary-license_1.RULE + license_expression: mit-no-advert-export-control AND proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "EXPORT OF THIS SOFTWARE from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to copy, modify, and distribute\n\ + \ this software and its documentation in source and binary forms is\n hereby granted,\ + \ provided that any documentation or other materials\n related to such distribution\ + \ or use acknowledge that the software\n was developed by the University of Southern\ + \ California.\n \n DISCLAIMER OF WARRANTY. THIS SOFTWARE IS PROVIDED \"AS IS\". The\n\ + \ University of Southern California MAKES NO REPRESENTATIONS OR\n WARRANTIES, EXPRESS\ + \ OR IMPLIED. By way of example, but not\n limitation, the University of Southern\ + \ California MAKES NO\n REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS\ + \ FOR ANY\n PARTICULAR PURPOSE. The University of Southern California shall not\n \ + \ be held liable for any liability nor for any direct, indirect, or\n consequential\ + \ damages with respect to any claim by the user or\n distributor of the ksu software." + - score: '100.0' + start_line: 866 + end_line: 899 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the University of\n California, Berkeley and its contributors.\n\ + \ \n 4. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '99.0' + start_line: 907 + end_line: 922 + matcher: 2-aho + rule_length: 145 + matched_length: 145 + match_coverage: '100.0' + rule_relevance: 99 + identifier: mit-no-advert-export-control_4.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Richard P. Basch, Lehman Brothers and M.I.T.\ + \ not be\n used in advertising or publicity pertaining to distribution of the\n \ + \ software without specific, written prior permission. Richard P.\n Basch, Lehman\ + \ Brothers and M.I.T. make no representations about the\n suitability of this software\ + \ for any purpose. It is provided \"as\n is\" without express or implied warranty." + - score: '100.0' + start_line: 934 + end_line: 968 + matcher: 2-aho + rule_length: 245 + matched_length: 245 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_32.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the NetBSD\n Foundation, Inc. and its contributors.\n \n 4.\ + \ Neither the name of The NetBSD Foundation nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION,\ + \ INC. AND\n CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A\ + \ PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS\ + \ BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\ + \ ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF SUCH\n DAMAGE." + - score: '100.0' + start_line: 978 + end_line: 996 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_483.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE COMPUTING\ + \ RESEARCH LAB OR\n NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY CLAIM, DAMAGES OR\n\ + \ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING\ + \ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE\n OR THE USE OR OTHER DEALINGS IN\ + \ THE SOFTWARE." + - score: '100.0' + start_line: 1004 + end_line: 1016 + matcher: 2-aho + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for\n any\ + \ purpose with or without fee is hereby granted, provided that\n the above copyright\ + \ notice and this permission notice appear in all\n copies.\n \n THE SOFTWARE IS\ + \ PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL\n WARRANTIES WITH REGARD TO THIS\ + \ SOFTWARE INCLUDING ALL IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO\ + \ EVENT SHALL THE\n AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\n OF USE, DATA OR PROFITS,\ + \ WHETHER IN AN ACTION OF CONTRACT,\n NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\ + \ OUT OF OR IN\n CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." + - score: '95.0' + start_line: 1025 + end_line: 1037 + matcher: 2-aho + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 95 + identifier: isc_16.RULE + license_expression: isc + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for + any purpose with or without fee is hereby granted, provided that + the above copyright notice and this permission notice appear in all + copies. THE SOFTWARE IS PROVIDED "AS IS" AND THEODORE TS'O (THE + AUTHOR) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS 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 THIS SOFTWARE. (Isn't + it sick that the U.S. culture of lawsuit-happy lawyers requires + this kind of disclaimer?) + - score: '100.0' + start_line: 1046 + end_line: 1047 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_22.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be freely redistributed without license or fee + provided this copyright message remains intact. + - score: '100.0' + start_line: 1060 + end_line: 1087 + matcher: 2-aho + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_134.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO\ + \ EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\n \ + \ DAMAGE." + - score: '100.0' + start_line: 1096 + end_line: 1112 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md4.LICENSE + license_expression: rsa-md4 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD4 Message Digest\n Algorithm\" in all\ + \ material mentioning or referencing this software\n or this function.\n \n License\ + \ is also granted to make and use derivative works provided\n that such works are identified\ + \ as \"derived from the RSA Data\n Security, Inc. MD4 Message Digest Algorithm\" in\ + \ all material\n mentioning or referencing the derived work.\n \n RSA Data Security,\ + \ Inc. makes no representations concerning either\n the merchantability of this software\ + \ or the suitability of this\n software for any particular purpose. It is provided\ + \ \"as is\"\n without express or implied warranty of any kind.\n \n These notices\ + \ must be retained in any copies of any part of this\n documentation and/or software." + - score: '100.0' + start_line: 1121 + end_line: 1137 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md5.LICENSE + license_expression: rsa-md5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD5 Message- Digest\n Algorithm\" in\ + \ all material mentioning or referencing this software\n or this function.\n \n \ + \ License is also granted to make and use derivative works provided\n that such works\ + \ are identified as \"derived from the RSA Data\n Security, Inc. MD5 Message-Digest\ + \ Algorithm\" in all material\n mentioning or referencing the derived work.\n \n \ + \ RSA Data Security, Inc. makes no representations concerning either\n the merchantability\ + \ of this software or the suitability of this\n software for any particular purpose.\ + \ It is provided \"as is\"\n without express or implied warranty of any kind.\n \n\ + \ These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1147 + end_line: 1153 + matcher: 2-aho + rule_length: 54 + matched_length: 54 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-1990.LICENSE + license_expression: rsa-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "RSA Data Security, Inc. makes no representations concerning either\n the\ + \ merchantability of this software or the suitability of this\n software for any particular\ + \ purpose. It is provided \"as is\" without\n express or implied warranty of any kind.\n\ + \ \n These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1163 + end_line: 1181 + matcher: 2-aho + rule_length: 177 + matched_length: 177 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-with-modification-obligations_2.RULE + license_expression: mit-with-modification-obligations + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of M.I.T. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Furthermore if you modify this software\n you must label your software as modified\ + \ software and not\n distribute it in such a fashion that it might be confused with\ + \ the\n original M.I.T. software. Neither M.I.T., the Open Computing\n Security\ + \ Group, nor CyberSAFE Corporation make any representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty." + - score: '100.0' + start_line: 1190 + end_line: 1217 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_590.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of PADL Software nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY PADL SOFTWARE\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL PADL SOFTWARE\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1226 + end_line: 1264 + matcher: 2-aho + rule_length: 335 + matched_length: 335 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_or_gpl-2.0-plus_7.RULE + license_expression: bsd-simplified OR gpl-2.0-plus + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n Alternatively, the contents\ + \ of this package may be used under the\n terms of the GNU General Public License (\"\ + GPL\") version 2 or any\n later version, in which case the provisions of the GPL are\n\ + \ applicable instead of the above. If you wish to allow the use of\n your version\ + \ of this package only under the terms of the GPL and\n not to allow others to use\ + \ your version of this file under the BSD\n license, indicate your decision by deleting\ + \ the provisions above\n and replace them with the notice and other provisions required\ + \ by\n the GPL in this and the other files of this package. If you do not\n delete\ + \ the provisions above, a recipient may use your version of\n this file under either\ + \ the BSD or the GPL.\n \n On Debian systems, the complete text of the GNU General\ + \ Public License\n version 2 can be found in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 1274 + end_line: 1302 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_4.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials\n provided with\ + \ the distribution.\n \n * Neither the name of Intel Corporation nor the names of\ + \ its\n contributors may be used to endorse or promote products\n derived\ + \ from this software without specific prior written\n permission.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 1311 + end_line: 1334 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libhogweed6/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libhogweed6/copyright-detailed.expected.yml index d5e5dde1d36..710505c86b8 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libhogweed6/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libhogweed6/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- lgpl-3.0-plus OR gpl-2.0-plus -- - LGPL-3+ or GPL-2+ +primary_license: lgpl-3.0-plus OR gpl-2.0-plus +declared_license: + - LGPL-3+ or GPL-2+ - LGPL-3+ or GPL-2+ - LGPL-3+ or GPL-2+ - LGPL-3+ or GPL-2+ @@ -70,10 +71,11 @@ - LGPL-3+ - GPL-2+ - Expat -- ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus - OR gpl-2.0-plus) AND (other-permissive AND public-domain) AND public-domain AND lgpl-2.0-plus - AND mit AND public-domain AND public-domain AND public-domain AND public-domain AND public-domain - AND lgpl-2.0-plus) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) +license_expression: ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND + ((lgpl-3.0-plus OR gpl-2.0-plus) AND (other-permissive AND public-domain) AND public-domain + AND lgpl-2.0-plus AND mit AND public-domain AND public-domain AND public-domain AND public-domain + AND public-domain AND lgpl-2.0-plus) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus + AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus @@ -90,14 +92,14 @@ AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) - AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND (lgpl-2.0-plus - AND gpl-2.0-plus AND lgpl-2.0) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND + AND (lgpl-2.0-plus AND gpl-2.0-plus AND lgpl-2.0) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR + (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus - AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) - AND mit AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus + AND gpl-2.0-plus)) AND mit AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) + AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) @@ -118,12 +120,12 @@ OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus - AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) - OR (gpl-2.0-plus AND gpl-2.0-plus)) AND (gpl-3.0-plus AND gpl-3.0-plus WITH tex-exception) - AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus - AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND (gpl-2.0-plus AND gpl-2.0-plus) - AND autoconf-simple-exception-2.0 AND public-domain AND (gpl-2.0 AND gpl-2.0) AND fsf-ap -- | + AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND (gpl-3.0-plus AND gpl-3.0-plus + WITH tex-exception) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) + AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND (gpl-2.0-plus + AND gpl-2.0-plus) AND autoconf-simple-exception-2.0 AND public-domain AND (gpl-2.0 AND gpl-2.0) + AND fsf-ap +copyright: | © 2001-2020 Niels Möller Some parts are Copyright © the Free Software Foundation and various people. See below and source code comments for details. @@ -251,3 +253,541 @@ 2002 Timshel Knoll 2007 Magnus Holmgren 2007 Magnus Holmgren +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '97.81' + start_line: 1 + end_line: 17 + matcher: 3-seq + rule_length: 137 + matched_length: 134 + match_coverage: '97.81' + rule_relevance: 100 + identifier: gpl-2.0-plus_28.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU [Library] General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU [Library] General Public License for more details. + + You should have received a copy of the GNU [Library] General Public License + along with this [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian GNU/Linux systems, the complete text of the GNU [Library] + General Public License, [version] [2], can be found in + /usr/share/common-licenses/ + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_71.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Library + General Public License, version 2, + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 137 + matched_length: 137 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_tex-exception_5.RULE + license_expression: gpl-3.0-plus WITH tex-exception + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This texinfo.tex file is free software: you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This texinfo.tex file is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception, when this file is read by TeX when processing + a Texinfo source document, you may use the result without + restriction. (This has been our intent since Texinfo was invented.) + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: autoconf-simple-exception-2.0.LICENSE + license_expression: autoconf-simple-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that program. + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: public-domain_354.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + I believe that most files in debian/ hardly contains any creative + expression eligible for copyright. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '93.38' + start_line: 1 + end_line: 17 + matcher: 3-seq + rule_length: 136 + matched_length: 127 + match_coverage: '93.38' + rule_relevance: 100 + identifier: gpl-2.0_54.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June. 1991. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin [Street], Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License, [version] [2], can be found in + /usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap_3.RULE + license_expression: fsf-ap + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '90.77' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 130 + matched_length: 118 + match_coverage: '90.77' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 3 of the License, or (at your + option) any later version. + + [GNU] [Nettle] is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this [library]; if not, see http://www.gnu.org/licenses/. + + On Debian [GNU]/[Linux] [systems], [the] [complete] [text] [of] [the] [newest] [version] + of the GNU Lesser General Public License can be found in + /usr/share/common-licenses/LGPL. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '96.35' + start_line: 1 + end_line: 18 + matcher: 3-seq + rule_length: 137 + matched_length: 132 + match_coverage: '96.35' + rule_relevance: 100 + identifier: gpl-2.0-plus_28.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + [GNU] [Nettle] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin [Street], Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian GNU/Linux systems, the complete text [of] [the] [newest] [version] + of the GNU General Public License can be found in + /usr/share/common-licenses/GPL. + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '97.56' + start_line: 1 + end_line: 4 + matcher: 3-seq + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_or_gpl-2.0-plus_15.RULE + license_expression: lgpl-3.0-plus OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is dual licenced under the GNU General Public License version + 2 or later, and the GNU Lesser General Public License version 3 or + later. When using [Nettle], you must comply fully with all conditions + of at least one of these licenses. + - score: '100.0' + start_line: 4 + end_line: 7 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_and_public-domain_1.RULE + license_expression: other-permissive AND public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + few of the individual files are + licensed under more permissive terms, or in the public domain. To + find the current status of particular files, you have to read the + copyright notices at the top of the files. + - score: '100.0' + start_line: 38 + end_line: 38 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 46 + end_line: 46 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_221.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the LGPL, + - score: '100.0' + start_line: 51 + end_line: 51 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_384.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is released under the MIT license. + - score: '70.0' + start_line: 56 + end_line: 56 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain). + - score: '100.0' + start_line: 60 + end_line: 60 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 65 + end_line: 65 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 78 + end_line: 78 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the public domain), + - score: '100.0' + start_line: 96 + end_line: 96 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 97 + end_line: 97 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_221.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the LGPL. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libhogweed6/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libhogweed6/copyright.expected.yml index df52af7aa59..c88a4fcd8d3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libhogweed6/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libhogweed6/copyright.expected.yml @@ -1,5 +1,6 @@ -- lgpl-3.0-plus OR gpl-2.0-plus -- - LGPL-3+ or GPL-2+ +primary_license: lgpl-3.0-plus OR gpl-2.0-plus +declared_license: + - LGPL-3+ or GPL-2+ - LGPL-2+ - Expat - GPL-3+ @@ -8,11 +9,11 @@ - GPL-2 - GAP - LGPL-3+ -- (lgpl-3.0-plus OR gpl-2.0-plus) AND ((lgpl-3.0-plus OR gpl-2.0-plus) AND (other-permissive - AND public-domain) AND public-domain AND lgpl-2.0-plus AND mit) AND (lgpl-2.0-plus AND gpl-2.0-plus - AND lgpl-2.0) AND mit AND (gpl-3.0-plus AND gpl-3.0-plus WITH tex-exception) AND gpl-2.0-plus - AND autoconf-simple-exception-2.0 AND gpl-2.0 AND fsf-ap -- | +license_expression: (lgpl-3.0-plus OR gpl-2.0-plus) AND ((lgpl-3.0-plus OR gpl-2.0-plus) AND + (other-permissive AND public-domain) AND public-domain AND lgpl-2.0-plus AND mit) AND (lgpl-2.0-plus + AND gpl-2.0-plus AND lgpl-2.0) AND mit AND (gpl-3.0-plus AND gpl-3.0-plus WITH tex-exception) + AND gpl-2.0-plus AND autoconf-simple-exception-2.0 AND gpl-2.0 AND fsf-ap +copyright: | © 2001-2020 Niels Möller Some parts are Copyright © the Free Software Foundation and various people. See below and source code comments for details. @@ -115,3 +116,541 @@ © 1992-2020 Free Software Foundation, Inc. 2002 Timshel Knoll 2007 Magnus Holmgren +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '97.81' + start_line: 1 + end_line: 17 + matcher: 3-seq + rule_length: 137 + matched_length: 134 + match_coverage: '97.81' + rule_relevance: 100 + identifier: gpl-2.0-plus_28.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU [Library] General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU [Library] General Public License for more details. + + You should have received a copy of the GNU [Library] General Public License + along with this [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian GNU/Linux systems, the complete text of the GNU [Library] + General Public License, [version] [2], can be found in + /usr/share/common-licenses/ + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_71.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Library + General Public License, version 2, + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 137 + matched_length: 137 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_tex-exception_5.RULE + license_expression: gpl-3.0-plus WITH tex-exception + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This texinfo.tex file is free software: you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This texinfo.tex file is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception, when this file is read by TeX when processing + a Texinfo source document, you may use the result without + restriction. (This has been our intent since Texinfo was invented.) + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: autoconf-simple-exception-2.0.LICENSE + license_expression: autoconf-simple-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that program. + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: public-domain_354.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + I believe that most files in debian/ hardly contains any creative + expression eligible for copyright. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '93.38' + start_line: 1 + end_line: 17 + matcher: 3-seq + rule_length: 136 + matched_length: 127 + match_coverage: '93.38' + rule_relevance: 100 + identifier: gpl-2.0_54.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June. 1991. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin [Street], Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License, [version] [2], can be found in + /usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap_3.RULE + license_expression: fsf-ap + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '90.77' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 130 + matched_length: 118 + match_coverage: '90.77' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 3 of the License, or (at your + option) any later version. + + [GNU] [Nettle] is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this [library]; if not, see http://www.gnu.org/licenses/. + + On Debian [GNU]/[Linux] [systems], [the] [complete] [text] [of] [the] [newest] [version] + of the GNU Lesser General Public License can be found in + /usr/share/common-licenses/LGPL. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '96.35' + start_line: 1 + end_line: 18 + matcher: 3-seq + rule_length: 137 + matched_length: 132 + match_coverage: '96.35' + rule_relevance: 100 + identifier: gpl-2.0-plus_28.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + [GNU] [Nettle] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin [Street], Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian GNU/Linux systems, the complete text [of] [the] [newest] [version] + of the GNU General Public License can be found in + /usr/share/common-licenses/GPL. + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '97.56' + start_line: 1 + end_line: 4 + matcher: 3-seq + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_or_gpl-2.0-plus_15.RULE + license_expression: lgpl-3.0-plus OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is dual licenced under the GNU General Public License version + 2 or later, and the GNU Lesser General Public License version 3 or + later. When using [Nettle], you must comply fully with all conditions + of at least one of these licenses. + - score: '100.0' + start_line: 4 + end_line: 7 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_and_public-domain_1.RULE + license_expression: other-permissive AND public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + few of the individual files are + licensed under more permissive terms, or in the public domain. To + find the current status of particular files, you have to read the + copyright notices at the top of the files. + - score: '100.0' + start_line: 38 + end_line: 38 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 46 + end_line: 46 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_221.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the LGPL, + - score: '100.0' + start_line: 51 + end_line: 51 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_384.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is released under the MIT license. + - score: '70.0' + start_line: 56 + end_line: 56 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain). + - score: '100.0' + start_line: 60 + end_line: 60 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 65 + end_line: 65 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 78 + end_line: 78 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the public domain), + - score: '100.0' + start_line: 96 + end_line: 96 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 97 + end_line: 97 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_221.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the LGPL. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libidn2-0/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libidn2-0/copyright-detailed.expected.yml index de37ab0e254..e0bf57109e1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libidn2-0/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libidn2-0/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-3.0-plus -- - GPL-3+ +primary_license: gpl-3.0-plus +declared_license: + - GPL-3+ - LGPL-3+ or GPL-2+ - GPL-3+ - GPL-3+ @@ -8,10 +9,10 @@ - GPL-2+ - LGPL-3+ - Unicode -- (gpl-3.0-plus AND gpl-3.0-plus) AND ((lgpl-3.0-plus AND lgpl-3.0-plus AND lgpl-3.0-plus) OR - (gpl-2.0-plus AND gpl-2.0-plus)) AND (gpl-3.0-plus AND gpl-3.0-plus) AND (gpl-3.0-plus AND - gpl-3.0-plus) AND (unicode AND unicode) -- | +license_expression: (gpl-3.0-plus AND gpl-3.0-plus) AND ((lgpl-3.0-plus AND lgpl-3.0-plus AND + lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND (gpl-3.0-plus AND gpl-3.0-plus) AND + (gpl-3.0-plus AND gpl-3.0-plus) AND (unicode AND unicode) +copyright: | Copyright (C) 2011-2014 Simon Josefsson Copyright (C) 2011-2014 Simon Josefsson Copyright (C) 2001-2011 Free Software Foundation, Inc. @@ -19,3 +20,238 @@ Copyright (c) 2001, 2002 Nikos Mavrogiannopoulos Copyright (c) 1998 Michael Zucchi Copyright (c) 1991-2010 Unicode, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 128 + matched_length: 128 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_288.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian GNU/Linux systems, the complete text of the GNU General Public + License version 3 can be found in /usr/share/common-licenses/GPL-3. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 128 + matched_length: 128 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_740.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian GNU/Linux systems, the complete text of the GNU General Public + License version 2 can be found in /usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 104 + matched_length: 104 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_4.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '72.31' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 94 + match_coverage: '72.31' + rule_relevance: 100 + identifier: lgpl-3.0-plus_167.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This [program] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See [the] + [GNU] [General] [Public] [License] [for] [more] [details]. + + [You] [should] [have] [received] a [copy] [of] the GNU Lesser General Public License + [along] [with] [this] [program]. [If] [not], [see] <[http]://[www].[gnu].[org]/[licenses]/>. + + [On] [Debian] [GNU]/[Linux] [systems], [the] [complete] [text] of the GNU Lesser General + Public License version 3 can be found in /usr/share/common-licenses/LGPL-3. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_14.RULE + license_expression: unicode + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For terms of use, see http://www.unicode.org/terms_of_use.html + - score: '100.0' + start_line: 2 + end_line: 34 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed + under the Terms of Use in http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of the Unicode data files and any associated documentation + (the "Data Files") or Unicode software and any associated + documentation (the "Software") to deal in the Data Files or Software + without restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, and/or sell copies of the + Data Files or Software, and to permit persons to whom the Data Files + or Software are furnished to do so, provided that (a) the above + copyright notice(s) and this permission notice appear with all copies + of the Data Files or Software, (b) both the above copyright notice(s) + and this permission notice appear in associated documentation, and + (c) there is clear notice in each modified Data File or in the + Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF + ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE + COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY + CLAIM, OR ANY SPECIAL 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 DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in these Data Files or Software without prior + written authorization of the copyright holder. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libidn2-0/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libidn2-0/copyright.expected.yml index 326943f1c31..31460593577 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libidn2-0/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libidn2-0/copyright.expected.yml @@ -1,14 +1,250 @@ -- gpl-3.0-plus -- - GPL-3+ +primary_license: gpl-3.0-plus +declared_license: + - GPL-3+ - LGPL-3+ or GPL-2+ - Unicode - GPL-2+ - LGPL-3+ -- gpl-3.0-plus AND (lgpl-3.0-plus OR gpl-2.0-plus) AND unicode -- | +license_expression: gpl-3.0-plus AND (lgpl-3.0-plus OR gpl-2.0-plus) AND unicode +copyright: | Copyright (C) 2011-2014 Simon Josefsson Copyright (C) 2001-2011 Free Software Foundation, Inc. Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Simon Josefsson Copyright (c) 2001, 2002 Nikos Mavrogiannopoulos Copyright (c) 1998 Michael Zucchi Copyright (c) 1991-2010 Unicode, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 128 + matched_length: 128 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_288.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian GNU/Linux systems, the complete text of the GNU General Public + License version 3 can be found in /usr/share/common-licenses/GPL-3. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 128 + matched_length: 128 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_740.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian GNU/Linux systems, the complete text of the GNU General Public + License version 2 can be found in /usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 104 + matched_length: 104 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_4.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '72.31' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 94 + match_coverage: '72.31' + rule_relevance: 100 + identifier: lgpl-3.0-plus_167.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This [program] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See [the] + [GNU] [General] [Public] [License] [for] [more] [details]. + + [You] [should] [have] [received] a [copy] [of] the GNU Lesser General Public License + [along] [with] [this] [program]. [If] [not], [see] <[http]://[www].[gnu].[org]/[licenses]/>. + + [On] [Debian] [GNU]/[Linux] [systems], [the] [complete] [text] of the GNU Lesser General + Public License version 3 can be found in /usr/share/common-licenses/LGPL-3. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_14.RULE + license_expression: unicode + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For terms of use, see http://www.unicode.org/terms_of_use.html + - score: '100.0' + start_line: 2 + end_line: 34 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed + under the Terms of Use in http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of the Unicode data files and any associated documentation + (the "Data Files") or Unicode software and any associated + documentation (the "Software") to deal in the Data Files or Software + without restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, and/or sell copies of the + Data Files or Software, and to permit persons to whom the Data Files + or Software are furnished to do so, provided that (a) the above + copyright notice(s) and this permission notice appear with all copies + of the Data Files or Software, (b) both the above copyright notice(s) + and this permission notice appear in associated documentation, and + (c) there is clear notice in each modified Data File or in the + Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF + ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE + COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY + CLAIM, OR ANY SPECIAL 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 DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in these Data Files or Software without prior + written authorization of the copyright holder. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libk5crypto3/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libk5crypto3/copyright-detailed.expected.yml index c16288eada2..9fb5d8d7b4c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libk5crypto3/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libk5crypto3/copyright-detailed.expected.yml @@ -1,15 +1,15 @@ -- -- -- bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license AND - other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new AND - mit AND bsd-2-clause-views AND mit AND bsd-new AND bsd-new AND michigan-disclaimer AND fsf-unlimited-no-warranty - AND mit-no-advert-export-control AND openldap-2.8 AND bsd-new AND bsd-new AND bsd-new AND - freebsd-doc AND cmu-uc AND nrl-permission AND ietf-trust AND mit-old-style AND mit AND bsd-simplified - AND (mit-no-advert-export-control AND proprietary-license) AND bsd-original-uc AND mit-no-advert-export-control - AND bsd-original AND mit AND isc AND isc AND other-permissive AND bsd-new AND rsa-md4 AND - rsa-md5 AND rsa-1990 AND mit-with-modification-obligations AND bsd-new AND (bsd-simplified - OR gpl-2.0-plus) AND bsd-new AND bsd-simplified -- | +primary_license: +declared_license: +license_expression: bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license + AND other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new + AND mit AND bsd-2-clause-views AND mit AND bsd-new AND bsd-new AND michigan-disclaimer AND + fsf-unlimited-no-warranty AND mit-no-advert-export-control AND openldap-2.8 AND bsd-new AND + bsd-new AND bsd-new AND freebsd-doc AND cmu-uc AND nrl-permission AND ietf-trust AND mit-old-style + AND mit AND bsd-simplified AND (mit-no-advert-export-control AND proprietary-license) AND + bsd-original-uc AND mit-no-advert-export-control AND bsd-original AND mit AND isc AND isc + AND other-permissive AND bsd-new AND rsa-md4 AND rsa-md5 AND rsa-1990 AND mit-with-modification-obligations + AND bsd-new AND (bsd-simplified OR gpl-2.0-plus) AND bsd-new AND bsd-simplified +copyright: | Copyright (c) 1985-2018 by the Massachusetts Institute of Technology copyright MIT, Cygnus Support, Novell, OpenVision Technologies, Oracle, Red Hat, Sun Microsystems, FundsXpress, and others Copyright, OpenVision Technologies, Inc., 1993-1996 @@ -59,3 +59,1281 @@ Copyright (c) 2007,2008,2009 Marc Alexander Lehmann Copyright (c) 2010, Intel Corporation Copyright (c) 1998 by Danilo Almeida +matches: + - score: '100.0' + start_line: 18 + end_line: 39 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions and\ + \ the following disclaimer.\n \n * Redistributions in binary form must reproduce the above\ + \ copyright\n notice, this list of conditions and the following disclaimer in the\n\ + \ documentation and/or other materials provided with the distribution.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 41 + end_line: 52 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: generic-export-compliance_3.RULE + license_expression: generic-export-compliance + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Downloading of this software may constitute an export of cryptographic\n\ + \ software from the United States of America that is subject to the\n United States Export\ + \ Administration Regulations (EAR), 15 CFR 730-774.\n Additional laws or regulations may\ + \ apply. It is the responsibility of\n the person or entity contemplating export to comply\ + \ with all\n applicable export laws and regulations, including obtaining any\n required\ + \ license from the U.S. government.\n \n The U.S. government prohibits export of encryption\ + \ source code to\n certain countries and individuals, including, but not limited to, the\n\ + \ countries of Cuba, Iran, North Korea, Sudan, Syria, and residents and\n nationals of\ + \ those countries." + - score: '100.0' + start_line: 54 + end_line: 56 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc-by-sa-3.0_22.RULE + license_expression: cc-by-sa-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Documentation components of this software distribution are licensed + under a Creative Commons Attribution-ShareAlike 3.0 Unported License. + (http://creativecommons.org/licenses/by-sa/3.0/) + - score: '100.0' + start_line: 64 + end_line: 70 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_136.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "No commercial use of these trademarks may be made without\n prior written\ + \ permission of MIT.\n \n \"Commercial use\" means use of a name in a product or other\ + \ for-profit\n manner. It does NOT prevent a commercial firm from referring to the\n\ + \ MIT trademarks in order to convey information (although in doing so,\n recognition of\ + \ their trademark status should be given)." + - score: '100.0' + start_line: 82 + end_line: 111 + matcher: 2-aho + rule_length: 244 + matched_length: 244 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_80.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "WARNING: Retrieving the OpenVision Kerberos Administration system\n source\ + \ code, as described below, indicates your acceptance of the\n following terms. If\ + \ you do not agree to the following terms, do\n not retrieve the OpenVision Kerberos\ + \ administration system.\n \n You may freely use and distribute the Source Code and\ + \ Object Code\n compiled from it, with or without modification, but this Source\n \ + \ Code is provided to you \"AS IS\" EXCLUSIVE OF ANY WARRANTY,\n INCLUDING, WITHOUT\ + \ LIMITATION, ANY WARRANTIES OF MERCHANTABILITY OR\n FITNESS FOR A PARTICULAR PURPOSE,\ + \ OR ANY OTHER WARRANTY, WHETHER\n EXPRESS OR IMPLIED. IN NO EVENT WILL OPENVISION\ + \ HAVE ANY LIABILITY\n FOR ANY LOST PROFITS, LOSS OF DATA OR COSTS OF PROCUREMENT OF\n\ + \ SUBSTITUTE GOODS OR SERVICES, OR FOR ANY SPECIAL, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES ARISING OUT OF THIS AGREEMENT, INCLUDING,\n WITHOUT LIMITATION, THOSE RESULTING\ + \ FROM THE USE OF THE SOURCE\n CODE, OR THE FAILURE OF THE SOURCE CODE TO PERFORM,\ + \ OR FOR ANY\n OTHER REASON.\n \n OpenVision retains all copyrights in the donated\ + \ Source Code.\n OpenVision also retains copyright to derivative works of the Source\n\ + \ Code, whether created by OpenVision or by a third party. The\n OpenVision copyright\ + \ notice must be preserved if derivative works\n are made based on the donated Source\ + \ Code.\n \n OpenVision Technologies, Inc. has donated this Kerberos\n Administration\ + \ system to MIT for inclusion in the standard Kerberos\n 5 distribution. This donation\ + \ underscores our commitment to\n continuing Kerberos technology development and our\ + \ gratitude for\n the valuable work which has been performed by MIT and the Kerberos\n\ + \ community." + - score: '98.73' + start_line: 128 + end_line: 146 + matcher: 2-aho + rule_length: 155 + matched_length: 155 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_1.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of [FundsXpress]. not be used in advertising or\ + \ publicity\n pertaining to distribution of the software without specific,\n written\ + \ prior permission. [FundsXpress] makes no representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS\ + \ OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 156 + end_line: 175 + matcher: 2-aho + rule_length: 116 + matched_length: 116 + match_coverage: '100.0' + rule_relevance: 100 + identifier: brian-gladman-3-clause_2.RULE + license_expression: brian-gladman-3-clause + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "LICENSE TERMS\n \n The free distribution and use of this software in both\ + \ source and\n binary form is allowed (with or without changes) provided that:\n \n\ + \ 1. distributions of this source code include the above copyright\n notice,\ + \ this list of conditions and the following disclaimer;\n \n 2. distributions in binary\ + \ form include the above copyright notice,\n this list of conditions and the following\ + \ disclaimer in the\n documentation and/or other associated materials;\n \n 3.\ + \ the copyright holder's name is not used to endorse products\n built using this\ + \ software without specific written permission.\n \n DISCLAIMER\n \n This software\ + \ is provided 'as is' with no explcit or implied\n warranties in respect of any properties,\ + \ including, but not limited\n to, correctness and fitness for purpose." + - score: '100.0' + start_line: 187 + end_line: 214 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_587.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * Neither the name of Red Hat, Inc., nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 222 + end_line: 240 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT\n HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n \ + \ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN\ + \ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n DEALINGS IN THE SOFTWARE." + - score: '85.71' + start_line: 248 + end_line: 276 + matcher: 3-seq + rule_length: 217 + matched_length: 186 + match_coverage: '85.71' + rule_relevance: 100 + identifier: bsd-2-clause-freebsd_9.RULE + license_expression: bsd-2-clause-views + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form\ + \ must reproduce the above\n copyright notice, this list of conditions and the\ + \ following\n disclaimer in the documentation and/or other materials\n \ + \ provided with the distribution.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n ======================================================================\n\ + \ \n The" + - score: '100.0' + start_line: 334 + end_line: 352 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 363 + end_line: 390 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 400 + end_line: 427 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_588.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * The copyright holder's name is not used to endorse or promote\n products\ + \ derived from this software without specific prior\n written permission.\n \n \ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\"\ + \ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 440 + end_line: 459 + matcher: 2-aho + rule_length: 186 + matched_length: 186 + match_coverage: '100.0' + rule_relevance: 100 + identifier: michigan-disclaimer.LICENSE + license_expression: michigan-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to use, copy, create derivative works and\n redistribute\ + \ this software and such derivative works for any\n purpose, so long as the name of\ + \ The University of Michigan is not\n used in any advertising or publicity pertaining\ + \ to the use of\n distribution of this software without specific, written prior\n \ + \ authorization. If the above copyright notice or any other\n identification of\ + \ the University of Michigan is included in any\n copy of any portion of this software,\ + \ then the disclaimer below\n must also be included.\n \n THIS SOFTWARE IS PROVIDED\ + \ AS IS, WITHOUT REPRESENTATION FROM THE\n UNIVERSITY OF MICHIGAN AS TO ITS FITNESS\ + \ FOR ANY PURPOSE, AND\n WITHOUT WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND,\ + \ EITHER\n EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\n THE REGENTS OF THE UNIVERSITY\ + \ OF MICHIGAN SHALL NOT BE LIABLE FOR\n ANY DAMAGES, INCLUDING SPECIAL, INDIRECT, INCIDENTAL,\ + \ OR\n CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR\n IN CONNECTION\ + \ WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR\n IS HEREAFTER ADVISED OF THE\ + \ POSSIBILITY OF SUCH DAMAGES." + - score: '100.0' + start_line: 469 + end_line: 476 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; as a special exception the author gives\n \ + \ unlimited permission to copy and/or distribute it, with or without\n modifications,\ + \ as long as this notice is preserved.\n \n This file is distributed in the hope that\ + \ it will be useful, but\n WITHOUT ANY WARRANTY, to the extent permitted by law; without\ + \ even\n the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n PURPOSE." + - score: '100.0' + start_line: 485 + end_line: 503 + matcher: 2-aho + rule_length: 159 + matched_length: 159 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_2.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Apple Inc. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Apple Inc. makes no representations\n about the suitability of this software for\ + \ any purpose. It is\n provided \"as is\" without express or implied warranty.\n \n\ + \ THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR\n IMPLIED WARRANTIES,\ + \ INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES OF MERCHANTIBILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 511 + end_line: 558 + matcher: 2-aho + rule_length: 328 + matched_length: 328 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8.LICENSE + license_expression: openldap-2.8 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The OpenLDAP Public License\n Version 2.8, 17 August 2003\n \n Redistribution\ + \ and use of this software and associated\n documentation (\"Software\"), with or without\ + \ modification, are\n permitted provided that the following conditions are met:\n \n\ + \ 1. Redistributions in source form must retain copyright statements\n and notices,\n\ + \ \n 2. Redistributions in binary form must reproduce applicable\n copyright\ + \ statements and notices, this list of conditions, and\n the following disclaimer\ + \ in the documentation and/or other\n materials provided with the distribution,\ + \ and\n \n 3. Redistributions must contain a verbatim copy of this document.\n \n \ + \ The OpenLDAP Foundation may revise this license from time to time.\n Each revision\ + \ is distinguished by a version number. You may use\n this Software under terms of\ + \ this license revision or under the\n terms of any subsequent revision of the license.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS\n CONTRIBUTORS\ + \ \"AS IS\" AND ANY EXPRESSED OR IMPLIED WARRANTIES,\n INCLUDING, BUT NOT LIMITED TO,\ + \ THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL THE OPENLDAP FOUNDATION, ITS\n CONTRIBUTORS,\ + \ OR THE AUTHOR(S) OR OWNER(S) OF THE SOFTWARE BE\n LIABLE FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER\ + \ IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF SUCH\n DAMAGE.\n \n The names of the authors and copyright holders must not\ + \ be used in\n advertising or otherwise to promote the sale, use or other dealing\n\ + \ in this Software without specific, written prior permission. Title\n to copyright\ + \ in this Software shall at all times remain with\n copyright holders.\n \n OpenLDAP\ + \ is a registered trademark of the OpenLDAP Foundation.\n \n Copyright 1999-2003 The\ + \ OpenLDAP Foundation, Redwood City,\n California, USA. All Rights Reserved. Permission\ + \ to copy and\n distribute verbatim copies of this document is granted." + - score: '100.0' + start_line: 568 + end_line: 595 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of KTH nor the names of its contributors may be\n used\ + \ to endorse or promote products derived from this software\n without specific prior\ + \ written permission.\n \n THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS \"\ + AS IS\" AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n \ + \ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE,\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF\ + \ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 608 + end_line: 636 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_151.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form must\ + \ reproduce the above\n copyright notice, this list of conditions and the following\n\ + \ disclaimer in the documentation and/or other materials provided\n with the\ + \ distribution.\n \n 3. Neither the name of the Institute nor the names of its\n \ + \ contributors may be used to endorse or promote products derived\n from this\ + \ software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE INSTITUTE AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE\n \ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 647 + end_line: 675 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_589.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the \"Oracle America, Inc.\" nor the names of\n its\ + \ contributors may be used to endorse or promote products\n derived from this software\ + \ without specific prior written\n permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n \ + \ COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 682 + end_line: 705 + matcher: 2-aho + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: freebsd-doc_5.RULE + license_expression: freebsd-doc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer as\n the first lines of this file unmodified.\n \n\ + \ 2. Redistributions in binary form must reproduce the above\n copyright notice,\ + \ this list of conditions and the following\n disclaimer in the documentation and/or\ + \ other materials provided\n with the distribution.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY NTT \"AS IS\" AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED\ + \ TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL NTT BE LIABLE FOR ANY DIRECT,\n INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\ + \ IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n \ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '99.0' + start_line: 713 + end_line: 729 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 99 + identifier: cmu-uc_12.RULE + license_expression: cmu-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software and\n its\ + \ documentation for any purpose and without fee is hereby\n granted, provided that\ + \ the above copyright notice appear in all\n copies and that both that copyright notice\ + \ and this permission\n notice appear in supporting documentation, and that the name\ + \ of\n Carnegie Mellon University not be used in advertising or publicity\n pertaining\ + \ to distribution of the software without specific,\n written prior permission.\n \n\ + \ CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO\n THIS SOFTWARE,\ + \ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS, IN NO EVENT SHALL\ + \ CARNEGIE MELLON UNIVERSITY BE LIABLE\n FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES\n WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\ + \ WHETHER IN\n AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\n\ + \ OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS\n SOFTWARE." + - score: '95.0' + start_line: 735 + end_line: 743 + matcher: 2-aho + rule_length: 71 + matched_length: 71 + match_coverage: '100.0' + rule_relevance: 95 + identifier: nrl-permission_1.RULE + license_expression: nrl-permission + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify and distribute this software and\n its\ + \ documentation is hereby granted, provided that both the\n copyright notice and this\ + \ permission notice appear in all copies of\n the software, derivative works or modified\ + \ versions, and any\n portions thereof.\n \n NRL ALLOWS FREE USE OF THIS SOFTWARE\ + \ IN ITS \"AS IS\" CONDITION AND\n DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES\ + \ WHATSOEVER\n RESULTING FROM THE USE OF THIS SOFTWARE." + - score: '100.0' + start_line: 752 + end_line: 763 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf-trust_10.RULE + license_expression: ietf-trust + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This document is subject to the rights, licenses and restrictions\n contained\ + \ in BCP 78, and except as set forth therein, the authors\n retain all their rights.\n\ + \ \n This document and the information contained herein are provided on\n an \"\ + AS IS\" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE\n REPRESENTS OR IS SPONSORED\ + \ BY (IF ANY), THE INTERNET SOCIETY AND\n THE INTERNET ENGINEERING TASK FORCE DISCLAIM\ + \ ALL WARRANTIES,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT\n\ + \ THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR\n ANY IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A\n PARTICULAR PURPOSE." + - score: '100.0' + start_line: 769 + end_line: 776 + matcher: 2-aho + rule_length: 69 + matched_length: 69 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style_11.RULE + license_expression: mit-old-style + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appear in all + copies and that both that copyright notice and this permission + notice appear in supporting documentation. Cygnus Support makes no + representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied + warranty. + - score: '100.0' + start_line: 782 + end_line: 800 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 810 + end_line: 833 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS \"AS IS\"\n AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR OR\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO,\ + \ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN\ + \ CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 837 + end_line: 856 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_and_proprietary-license_1.RULE + license_expression: mit-no-advert-export-control AND proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "EXPORT OF THIS SOFTWARE from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to copy, modify, and distribute\n\ + \ this software and its documentation in source and binary forms is\n hereby granted,\ + \ provided that any documentation or other materials\n related to such distribution\ + \ or use acknowledge that the software\n was developed by the University of Southern\ + \ California.\n \n DISCLAIMER OF WARRANTY. THIS SOFTWARE IS PROVIDED \"AS IS\". The\n\ + \ University of Southern California MAKES NO REPRESENTATIONS OR\n WARRANTIES, EXPRESS\ + \ OR IMPLIED. By way of example, but not\n limitation, the University of Southern\ + \ California MAKES NO\n REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS\ + \ FOR ANY\n PARTICULAR PURPOSE. The University of Southern California shall not\n \ + \ be held liable for any liability nor for any direct, indirect, or\n consequential\ + \ damages with respect to any claim by the user or\n distributor of the ksu software." + - score: '100.0' + start_line: 866 + end_line: 899 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the University of\n California, Berkeley and its contributors.\n\ + \ \n 4. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '99.0' + start_line: 907 + end_line: 922 + matcher: 2-aho + rule_length: 145 + matched_length: 145 + match_coverage: '100.0' + rule_relevance: 99 + identifier: mit-no-advert-export-control_4.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Richard P. Basch, Lehman Brothers and M.I.T.\ + \ not be\n used in advertising or publicity pertaining to distribution of the\n \ + \ software without specific, written prior permission. Richard P.\n Basch, Lehman\ + \ Brothers and M.I.T. make no representations about the\n suitability of this software\ + \ for any purpose. It is provided \"as\n is\" without express or implied warranty." + - score: '100.0' + start_line: 934 + end_line: 968 + matcher: 2-aho + rule_length: 245 + matched_length: 245 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_32.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the NetBSD\n Foundation, Inc. and its contributors.\n \n 4.\ + \ Neither the name of The NetBSD Foundation nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION,\ + \ INC. AND\n CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A\ + \ PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS\ + \ BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\ + \ ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF SUCH\n DAMAGE." + - score: '100.0' + start_line: 978 + end_line: 996 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_483.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE COMPUTING\ + \ RESEARCH LAB OR\n NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY CLAIM, DAMAGES OR\n\ + \ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING\ + \ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE\n OR THE USE OR OTHER DEALINGS IN\ + \ THE SOFTWARE." + - score: '100.0' + start_line: 1004 + end_line: 1016 + matcher: 2-aho + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for\n any\ + \ purpose with or without fee is hereby granted, provided that\n the above copyright\ + \ notice and this permission notice appear in all\n copies.\n \n THE SOFTWARE IS\ + \ PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL\n WARRANTIES WITH REGARD TO THIS\ + \ SOFTWARE INCLUDING ALL IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO\ + \ EVENT SHALL THE\n AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\n OF USE, DATA OR PROFITS,\ + \ WHETHER IN AN ACTION OF CONTRACT,\n NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\ + \ OUT OF OR IN\n CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." + - score: '95.0' + start_line: 1025 + end_line: 1037 + matcher: 2-aho + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 95 + identifier: isc_16.RULE + license_expression: isc + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for + any purpose with or without fee is hereby granted, provided that + the above copyright notice and this permission notice appear in all + copies. THE SOFTWARE IS PROVIDED "AS IS" AND THEODORE TS'O (THE + AUTHOR) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS 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 THIS SOFTWARE. (Isn't + it sick that the U.S. culture of lawsuit-happy lawyers requires + this kind of disclaimer?) + - score: '100.0' + start_line: 1046 + end_line: 1047 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_22.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be freely redistributed without license or fee + provided this copyright message remains intact. + - score: '100.0' + start_line: 1060 + end_line: 1087 + matcher: 2-aho + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_134.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO\ + \ EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\n \ + \ DAMAGE." + - score: '100.0' + start_line: 1096 + end_line: 1112 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md4.LICENSE + license_expression: rsa-md4 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD4 Message Digest\n Algorithm\" in all\ + \ material mentioning or referencing this software\n or this function.\n \n License\ + \ is also granted to make and use derivative works provided\n that such works are identified\ + \ as \"derived from the RSA Data\n Security, Inc. MD4 Message Digest Algorithm\" in\ + \ all material\n mentioning or referencing the derived work.\n \n RSA Data Security,\ + \ Inc. makes no representations concerning either\n the merchantability of this software\ + \ or the suitability of this\n software for any particular purpose. It is provided\ + \ \"as is\"\n without express or implied warranty of any kind.\n \n These notices\ + \ must be retained in any copies of any part of this\n documentation and/or software." + - score: '100.0' + start_line: 1121 + end_line: 1137 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md5.LICENSE + license_expression: rsa-md5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD5 Message- Digest\n Algorithm\" in\ + \ all material mentioning or referencing this software\n or this function.\n \n \ + \ License is also granted to make and use derivative works provided\n that such works\ + \ are identified as \"derived from the RSA Data\n Security, Inc. MD5 Message-Digest\ + \ Algorithm\" in all material\n mentioning or referencing the derived work.\n \n \ + \ RSA Data Security, Inc. makes no representations concerning either\n the merchantability\ + \ of this software or the suitability of this\n software for any particular purpose.\ + \ It is provided \"as is\"\n without express or implied warranty of any kind.\n \n\ + \ These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1147 + end_line: 1153 + matcher: 2-aho + rule_length: 54 + matched_length: 54 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-1990.LICENSE + license_expression: rsa-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "RSA Data Security, Inc. makes no representations concerning either\n the\ + \ merchantability of this software or the suitability of this\n software for any particular\ + \ purpose. It is provided \"as is\" without\n express or implied warranty of any kind.\n\ + \ \n These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1163 + end_line: 1181 + matcher: 2-aho + rule_length: 177 + matched_length: 177 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-with-modification-obligations_2.RULE + license_expression: mit-with-modification-obligations + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of M.I.T. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Furthermore if you modify this software\n you must label your software as modified\ + \ software and not\n distribute it in such a fashion that it might be confused with\ + \ the\n original M.I.T. software. Neither M.I.T., the Open Computing\n Security\ + \ Group, nor CyberSAFE Corporation make any representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty." + - score: '100.0' + start_line: 1190 + end_line: 1217 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_590.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of PADL Software nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY PADL SOFTWARE\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL PADL SOFTWARE\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1226 + end_line: 1264 + matcher: 2-aho + rule_length: 335 + matched_length: 335 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_or_gpl-2.0-plus_7.RULE + license_expression: bsd-simplified OR gpl-2.0-plus + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n Alternatively, the contents\ + \ of this package may be used under the\n terms of the GNU General Public License (\"\ + GPL\") version 2 or any\n later version, in which case the provisions of the GPL are\n\ + \ applicable instead of the above. If you wish to allow the use of\n your version\ + \ of this package only under the terms of the GPL and\n not to allow others to use\ + \ your version of this file under the BSD\n license, indicate your decision by deleting\ + \ the provisions above\n and replace them with the notice and other provisions required\ + \ by\n the GPL in this and the other files of this package. If you do not\n delete\ + \ the provisions above, a recipient may use your version of\n this file under either\ + \ the BSD or the GPL.\n \n On Debian systems, the complete text of the GNU General\ + \ Public License\n version 2 can be found in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 1274 + end_line: 1302 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_4.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials\n provided with\ + \ the distribution.\n \n * Neither the name of Intel Corporation nor the names of\ + \ its\n contributors may be used to endorse or promote products\n derived\ + \ from this software without specific prior written\n permission.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 1311 + end_line: 1334 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libk5crypto3/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libk5crypto3/copyright.expected.yml index 9f248069883..1df017652bd 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libk5crypto3/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libk5crypto3/copyright.expected.yml @@ -1,12 +1,12 @@ -- -- -- bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license AND - other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new AND - mit AND bsd-2-clause-views AND michigan-disclaimer AND fsf-unlimited-no-warranty AND openldap-2.8 +primary_license: +declared_license: +license_expression: bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license + AND other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new + AND mit AND bsd-2-clause-views AND michigan-disclaimer AND fsf-unlimited-no-warranty AND openldap-2.8 AND freebsd-doc AND cmu-uc AND nrl-permission AND ietf-trust AND mit-old-style AND (mit-no-advert-export-control AND proprietary-license) AND bsd-original-uc AND bsd-original AND isc AND rsa-md4 AND rsa-md5 AND rsa-1990 AND mit-with-modification-obligations AND (bsd-simplified OR gpl-2.0-plus) -- | +copyright: | Copyright (c) 1985-2018 by the Massachusetts Institute of Technology copyright MIT, Cygnus Support, Novell, OpenVision Technologies, Oracle, Red Hat, Sun Microsystems, FundsXpress, and others Copyright, OpenVision Technologies, Inc., 1993-1996 @@ -56,3 +56,1281 @@ Copyright (c) 2007,2008,2009 Marc Alexander Lehmann Copyright (c) 2010, Intel Corporation Copyright (c) 1998 by Danilo Almeida +matches: + - score: '100.0' + start_line: 18 + end_line: 39 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions and\ + \ the following disclaimer.\n \n * Redistributions in binary form must reproduce the above\ + \ copyright\n notice, this list of conditions and the following disclaimer in the\n\ + \ documentation and/or other materials provided with the distribution.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 41 + end_line: 52 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: generic-export-compliance_3.RULE + license_expression: generic-export-compliance + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Downloading of this software may constitute an export of cryptographic\n\ + \ software from the United States of America that is subject to the\n United States Export\ + \ Administration Regulations (EAR), 15 CFR 730-774.\n Additional laws or regulations may\ + \ apply. It is the responsibility of\n the person or entity contemplating export to comply\ + \ with all\n applicable export laws and regulations, including obtaining any\n required\ + \ license from the U.S. government.\n \n The U.S. government prohibits export of encryption\ + \ source code to\n certain countries and individuals, including, but not limited to, the\n\ + \ countries of Cuba, Iran, North Korea, Sudan, Syria, and residents and\n nationals of\ + \ those countries." + - score: '100.0' + start_line: 54 + end_line: 56 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc-by-sa-3.0_22.RULE + license_expression: cc-by-sa-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Documentation components of this software distribution are licensed + under a Creative Commons Attribution-ShareAlike 3.0 Unported License. + (http://creativecommons.org/licenses/by-sa/3.0/) + - score: '100.0' + start_line: 64 + end_line: 70 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_136.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "No commercial use of these trademarks may be made without\n prior written\ + \ permission of MIT.\n \n \"Commercial use\" means use of a name in a product or other\ + \ for-profit\n manner. It does NOT prevent a commercial firm from referring to the\n\ + \ MIT trademarks in order to convey information (although in doing so,\n recognition of\ + \ their trademark status should be given)." + - score: '100.0' + start_line: 82 + end_line: 111 + matcher: 2-aho + rule_length: 244 + matched_length: 244 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_80.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "WARNING: Retrieving the OpenVision Kerberos Administration system\n source\ + \ code, as described below, indicates your acceptance of the\n following terms. If\ + \ you do not agree to the following terms, do\n not retrieve the OpenVision Kerberos\ + \ administration system.\n \n You may freely use and distribute the Source Code and\ + \ Object Code\n compiled from it, with or without modification, but this Source\n \ + \ Code is provided to you \"AS IS\" EXCLUSIVE OF ANY WARRANTY,\n INCLUDING, WITHOUT\ + \ LIMITATION, ANY WARRANTIES OF MERCHANTABILITY OR\n FITNESS FOR A PARTICULAR PURPOSE,\ + \ OR ANY OTHER WARRANTY, WHETHER\n EXPRESS OR IMPLIED. IN NO EVENT WILL OPENVISION\ + \ HAVE ANY LIABILITY\n FOR ANY LOST PROFITS, LOSS OF DATA OR COSTS OF PROCUREMENT OF\n\ + \ SUBSTITUTE GOODS OR SERVICES, OR FOR ANY SPECIAL, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES ARISING OUT OF THIS AGREEMENT, INCLUDING,\n WITHOUT LIMITATION, THOSE RESULTING\ + \ FROM THE USE OF THE SOURCE\n CODE, OR THE FAILURE OF THE SOURCE CODE TO PERFORM,\ + \ OR FOR ANY\n OTHER REASON.\n \n OpenVision retains all copyrights in the donated\ + \ Source Code.\n OpenVision also retains copyright to derivative works of the Source\n\ + \ Code, whether created by OpenVision or by a third party. The\n OpenVision copyright\ + \ notice must be preserved if derivative works\n are made based on the donated Source\ + \ Code.\n \n OpenVision Technologies, Inc. has donated this Kerberos\n Administration\ + \ system to MIT for inclusion in the standard Kerberos\n 5 distribution. This donation\ + \ underscores our commitment to\n continuing Kerberos technology development and our\ + \ gratitude for\n the valuable work which has been performed by MIT and the Kerberos\n\ + \ community." + - score: '98.73' + start_line: 128 + end_line: 146 + matcher: 2-aho + rule_length: 155 + matched_length: 155 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_1.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of [FundsXpress]. not be used in advertising or\ + \ publicity\n pertaining to distribution of the software without specific,\n written\ + \ prior permission. [FundsXpress] makes no representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS\ + \ OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 156 + end_line: 175 + matcher: 2-aho + rule_length: 116 + matched_length: 116 + match_coverage: '100.0' + rule_relevance: 100 + identifier: brian-gladman-3-clause_2.RULE + license_expression: brian-gladman-3-clause + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "LICENSE TERMS\n \n The free distribution and use of this software in both\ + \ source and\n binary form is allowed (with or without changes) provided that:\n \n\ + \ 1. distributions of this source code include the above copyright\n notice,\ + \ this list of conditions and the following disclaimer;\n \n 2. distributions in binary\ + \ form include the above copyright notice,\n this list of conditions and the following\ + \ disclaimer in the\n documentation and/or other associated materials;\n \n 3.\ + \ the copyright holder's name is not used to endorse products\n built using this\ + \ software without specific written permission.\n \n DISCLAIMER\n \n This software\ + \ is provided 'as is' with no explcit or implied\n warranties in respect of any properties,\ + \ including, but not limited\n to, correctness and fitness for purpose." + - score: '100.0' + start_line: 187 + end_line: 214 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_587.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * Neither the name of Red Hat, Inc., nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 222 + end_line: 240 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT\n HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n \ + \ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN\ + \ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n DEALINGS IN THE SOFTWARE." + - score: '85.71' + start_line: 248 + end_line: 276 + matcher: 3-seq + rule_length: 217 + matched_length: 186 + match_coverage: '85.71' + rule_relevance: 100 + identifier: bsd-2-clause-freebsd_9.RULE + license_expression: bsd-2-clause-views + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form\ + \ must reproduce the above\n copyright notice, this list of conditions and the\ + \ following\n disclaimer in the documentation and/or other materials\n \ + \ provided with the distribution.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n ======================================================================\n\ + \ \n The" + - score: '100.0' + start_line: 334 + end_line: 352 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 363 + end_line: 390 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 400 + end_line: 427 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_588.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * The copyright holder's name is not used to endorse or promote\n products\ + \ derived from this software without specific prior\n written permission.\n \n \ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\"\ + \ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 440 + end_line: 459 + matcher: 2-aho + rule_length: 186 + matched_length: 186 + match_coverage: '100.0' + rule_relevance: 100 + identifier: michigan-disclaimer.LICENSE + license_expression: michigan-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to use, copy, create derivative works and\n redistribute\ + \ this software and such derivative works for any\n purpose, so long as the name of\ + \ The University of Michigan is not\n used in any advertising or publicity pertaining\ + \ to the use of\n distribution of this software without specific, written prior\n \ + \ authorization. If the above copyright notice or any other\n identification of\ + \ the University of Michigan is included in any\n copy of any portion of this software,\ + \ then the disclaimer below\n must also be included.\n \n THIS SOFTWARE IS PROVIDED\ + \ AS IS, WITHOUT REPRESENTATION FROM THE\n UNIVERSITY OF MICHIGAN AS TO ITS FITNESS\ + \ FOR ANY PURPOSE, AND\n WITHOUT WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND,\ + \ EITHER\n EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\n THE REGENTS OF THE UNIVERSITY\ + \ OF MICHIGAN SHALL NOT BE LIABLE FOR\n ANY DAMAGES, INCLUDING SPECIAL, INDIRECT, INCIDENTAL,\ + \ OR\n CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR\n IN CONNECTION\ + \ WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR\n IS HEREAFTER ADVISED OF THE\ + \ POSSIBILITY OF SUCH DAMAGES." + - score: '100.0' + start_line: 469 + end_line: 476 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; as a special exception the author gives\n \ + \ unlimited permission to copy and/or distribute it, with or without\n modifications,\ + \ as long as this notice is preserved.\n \n This file is distributed in the hope that\ + \ it will be useful, but\n WITHOUT ANY WARRANTY, to the extent permitted by law; without\ + \ even\n the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n PURPOSE." + - score: '100.0' + start_line: 485 + end_line: 503 + matcher: 2-aho + rule_length: 159 + matched_length: 159 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_2.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Apple Inc. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Apple Inc. makes no representations\n about the suitability of this software for\ + \ any purpose. It is\n provided \"as is\" without express or implied warranty.\n \n\ + \ THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR\n IMPLIED WARRANTIES,\ + \ INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES OF MERCHANTIBILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 511 + end_line: 558 + matcher: 2-aho + rule_length: 328 + matched_length: 328 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8.LICENSE + license_expression: openldap-2.8 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The OpenLDAP Public License\n Version 2.8, 17 August 2003\n \n Redistribution\ + \ and use of this software and associated\n documentation (\"Software\"), with or without\ + \ modification, are\n permitted provided that the following conditions are met:\n \n\ + \ 1. Redistributions in source form must retain copyright statements\n and notices,\n\ + \ \n 2. Redistributions in binary form must reproduce applicable\n copyright\ + \ statements and notices, this list of conditions, and\n the following disclaimer\ + \ in the documentation and/or other\n materials provided with the distribution,\ + \ and\n \n 3. Redistributions must contain a verbatim copy of this document.\n \n \ + \ The OpenLDAP Foundation may revise this license from time to time.\n Each revision\ + \ is distinguished by a version number. You may use\n this Software under terms of\ + \ this license revision or under the\n terms of any subsequent revision of the license.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS\n CONTRIBUTORS\ + \ \"AS IS\" AND ANY EXPRESSED OR IMPLIED WARRANTIES,\n INCLUDING, BUT NOT LIMITED TO,\ + \ THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL THE OPENLDAP FOUNDATION, ITS\n CONTRIBUTORS,\ + \ OR THE AUTHOR(S) OR OWNER(S) OF THE SOFTWARE BE\n LIABLE FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER\ + \ IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF SUCH\n DAMAGE.\n \n The names of the authors and copyright holders must not\ + \ be used in\n advertising or otherwise to promote the sale, use or other dealing\n\ + \ in this Software without specific, written prior permission. Title\n to copyright\ + \ in this Software shall at all times remain with\n copyright holders.\n \n OpenLDAP\ + \ is a registered trademark of the OpenLDAP Foundation.\n \n Copyright 1999-2003 The\ + \ OpenLDAP Foundation, Redwood City,\n California, USA. All Rights Reserved. Permission\ + \ to copy and\n distribute verbatim copies of this document is granted." + - score: '100.0' + start_line: 568 + end_line: 595 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of KTH nor the names of its contributors may be\n used\ + \ to endorse or promote products derived from this software\n without specific prior\ + \ written permission.\n \n THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS \"\ + AS IS\" AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n \ + \ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE,\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF\ + \ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 608 + end_line: 636 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_151.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form must\ + \ reproduce the above\n copyright notice, this list of conditions and the following\n\ + \ disclaimer in the documentation and/or other materials provided\n with the\ + \ distribution.\n \n 3. Neither the name of the Institute nor the names of its\n \ + \ contributors may be used to endorse or promote products derived\n from this\ + \ software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE INSTITUTE AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE\n \ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 647 + end_line: 675 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_589.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the \"Oracle America, Inc.\" nor the names of\n its\ + \ contributors may be used to endorse or promote products\n derived from this software\ + \ without specific prior written\n permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n \ + \ COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 682 + end_line: 705 + matcher: 2-aho + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: freebsd-doc_5.RULE + license_expression: freebsd-doc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer as\n the first lines of this file unmodified.\n \n\ + \ 2. Redistributions in binary form must reproduce the above\n copyright notice,\ + \ this list of conditions and the following\n disclaimer in the documentation and/or\ + \ other materials provided\n with the distribution.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY NTT \"AS IS\" AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED\ + \ TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL NTT BE LIABLE FOR ANY DIRECT,\n INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\ + \ IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n \ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '99.0' + start_line: 713 + end_line: 729 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 99 + identifier: cmu-uc_12.RULE + license_expression: cmu-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software and\n its\ + \ documentation for any purpose and without fee is hereby\n granted, provided that\ + \ the above copyright notice appear in all\n copies and that both that copyright notice\ + \ and this permission\n notice appear in supporting documentation, and that the name\ + \ of\n Carnegie Mellon University not be used in advertising or publicity\n pertaining\ + \ to distribution of the software without specific,\n written prior permission.\n \n\ + \ CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO\n THIS SOFTWARE,\ + \ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS, IN NO EVENT SHALL\ + \ CARNEGIE MELLON UNIVERSITY BE LIABLE\n FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES\n WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\ + \ WHETHER IN\n AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\n\ + \ OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS\n SOFTWARE." + - score: '95.0' + start_line: 735 + end_line: 743 + matcher: 2-aho + rule_length: 71 + matched_length: 71 + match_coverage: '100.0' + rule_relevance: 95 + identifier: nrl-permission_1.RULE + license_expression: nrl-permission + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify and distribute this software and\n its\ + \ documentation is hereby granted, provided that both the\n copyright notice and this\ + \ permission notice appear in all copies of\n the software, derivative works or modified\ + \ versions, and any\n portions thereof.\n \n NRL ALLOWS FREE USE OF THIS SOFTWARE\ + \ IN ITS \"AS IS\" CONDITION AND\n DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES\ + \ WHATSOEVER\n RESULTING FROM THE USE OF THIS SOFTWARE." + - score: '100.0' + start_line: 752 + end_line: 763 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf-trust_10.RULE + license_expression: ietf-trust + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This document is subject to the rights, licenses and restrictions\n contained\ + \ in BCP 78, and except as set forth therein, the authors\n retain all their rights.\n\ + \ \n This document and the information contained herein are provided on\n an \"\ + AS IS\" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE\n REPRESENTS OR IS SPONSORED\ + \ BY (IF ANY), THE INTERNET SOCIETY AND\n THE INTERNET ENGINEERING TASK FORCE DISCLAIM\ + \ ALL WARRANTIES,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT\n\ + \ THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR\n ANY IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A\n PARTICULAR PURPOSE." + - score: '100.0' + start_line: 769 + end_line: 776 + matcher: 2-aho + rule_length: 69 + matched_length: 69 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style_11.RULE + license_expression: mit-old-style + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appear in all + copies and that both that copyright notice and this permission + notice appear in supporting documentation. Cygnus Support makes no + representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied + warranty. + - score: '100.0' + start_line: 782 + end_line: 800 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 810 + end_line: 833 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS \"AS IS\"\n AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR OR\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO,\ + \ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN\ + \ CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 837 + end_line: 856 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_and_proprietary-license_1.RULE + license_expression: mit-no-advert-export-control AND proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "EXPORT OF THIS SOFTWARE from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to copy, modify, and distribute\n\ + \ this software and its documentation in source and binary forms is\n hereby granted,\ + \ provided that any documentation or other materials\n related to such distribution\ + \ or use acknowledge that the software\n was developed by the University of Southern\ + \ California.\n \n DISCLAIMER OF WARRANTY. THIS SOFTWARE IS PROVIDED \"AS IS\". The\n\ + \ University of Southern California MAKES NO REPRESENTATIONS OR\n WARRANTIES, EXPRESS\ + \ OR IMPLIED. By way of example, but not\n limitation, the University of Southern\ + \ California MAKES NO\n REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS\ + \ FOR ANY\n PARTICULAR PURPOSE. The University of Southern California shall not\n \ + \ be held liable for any liability nor for any direct, indirect, or\n consequential\ + \ damages with respect to any claim by the user or\n distributor of the ksu software." + - score: '100.0' + start_line: 866 + end_line: 899 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the University of\n California, Berkeley and its contributors.\n\ + \ \n 4. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '99.0' + start_line: 907 + end_line: 922 + matcher: 2-aho + rule_length: 145 + matched_length: 145 + match_coverage: '100.0' + rule_relevance: 99 + identifier: mit-no-advert-export-control_4.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Richard P. Basch, Lehman Brothers and M.I.T.\ + \ not be\n used in advertising or publicity pertaining to distribution of the\n \ + \ software without specific, written prior permission. Richard P.\n Basch, Lehman\ + \ Brothers and M.I.T. make no representations about the\n suitability of this software\ + \ for any purpose. It is provided \"as\n is\" without express or implied warranty." + - score: '100.0' + start_line: 934 + end_line: 968 + matcher: 2-aho + rule_length: 245 + matched_length: 245 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_32.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the NetBSD\n Foundation, Inc. and its contributors.\n \n 4.\ + \ Neither the name of The NetBSD Foundation nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION,\ + \ INC. AND\n CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A\ + \ PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS\ + \ BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\ + \ ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF SUCH\n DAMAGE." + - score: '100.0' + start_line: 978 + end_line: 996 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_483.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE COMPUTING\ + \ RESEARCH LAB OR\n NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY CLAIM, DAMAGES OR\n\ + \ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING\ + \ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE\n OR THE USE OR OTHER DEALINGS IN\ + \ THE SOFTWARE." + - score: '100.0' + start_line: 1004 + end_line: 1016 + matcher: 2-aho + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for\n any\ + \ purpose with or without fee is hereby granted, provided that\n the above copyright\ + \ notice and this permission notice appear in all\n copies.\n \n THE SOFTWARE IS\ + \ PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL\n WARRANTIES WITH REGARD TO THIS\ + \ SOFTWARE INCLUDING ALL IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO\ + \ EVENT SHALL THE\n AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\n OF USE, DATA OR PROFITS,\ + \ WHETHER IN AN ACTION OF CONTRACT,\n NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\ + \ OUT OF OR IN\n CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." + - score: '95.0' + start_line: 1025 + end_line: 1037 + matcher: 2-aho + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 95 + identifier: isc_16.RULE + license_expression: isc + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for + any purpose with or without fee is hereby granted, provided that + the above copyright notice and this permission notice appear in all + copies. THE SOFTWARE IS PROVIDED "AS IS" AND THEODORE TS'O (THE + AUTHOR) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS 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 THIS SOFTWARE. (Isn't + it sick that the U.S. culture of lawsuit-happy lawyers requires + this kind of disclaimer?) + - score: '100.0' + start_line: 1046 + end_line: 1047 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_22.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be freely redistributed without license or fee + provided this copyright message remains intact. + - score: '100.0' + start_line: 1060 + end_line: 1087 + matcher: 2-aho + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_134.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO\ + \ EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\n \ + \ DAMAGE." + - score: '100.0' + start_line: 1096 + end_line: 1112 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md4.LICENSE + license_expression: rsa-md4 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD4 Message Digest\n Algorithm\" in all\ + \ material mentioning or referencing this software\n or this function.\n \n License\ + \ is also granted to make and use derivative works provided\n that such works are identified\ + \ as \"derived from the RSA Data\n Security, Inc. MD4 Message Digest Algorithm\" in\ + \ all material\n mentioning or referencing the derived work.\n \n RSA Data Security,\ + \ Inc. makes no representations concerning either\n the merchantability of this software\ + \ or the suitability of this\n software for any particular purpose. It is provided\ + \ \"as is\"\n without express or implied warranty of any kind.\n \n These notices\ + \ must be retained in any copies of any part of this\n documentation and/or software." + - score: '100.0' + start_line: 1121 + end_line: 1137 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md5.LICENSE + license_expression: rsa-md5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD5 Message- Digest\n Algorithm\" in\ + \ all material mentioning or referencing this software\n or this function.\n \n \ + \ License is also granted to make and use derivative works provided\n that such works\ + \ are identified as \"derived from the RSA Data\n Security, Inc. MD5 Message-Digest\ + \ Algorithm\" in all material\n mentioning or referencing the derived work.\n \n \ + \ RSA Data Security, Inc. makes no representations concerning either\n the merchantability\ + \ of this software or the suitability of this\n software for any particular purpose.\ + \ It is provided \"as is\"\n without express or implied warranty of any kind.\n \n\ + \ These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1147 + end_line: 1153 + matcher: 2-aho + rule_length: 54 + matched_length: 54 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-1990.LICENSE + license_expression: rsa-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "RSA Data Security, Inc. makes no representations concerning either\n the\ + \ merchantability of this software or the suitability of this\n software for any particular\ + \ purpose. It is provided \"as is\" without\n express or implied warranty of any kind.\n\ + \ \n These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1163 + end_line: 1181 + matcher: 2-aho + rule_length: 177 + matched_length: 177 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-with-modification-obligations_2.RULE + license_expression: mit-with-modification-obligations + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of M.I.T. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Furthermore if you modify this software\n you must label your software as modified\ + \ software and not\n distribute it in such a fashion that it might be confused with\ + \ the\n original M.I.T. software. Neither M.I.T., the Open Computing\n Security\ + \ Group, nor CyberSAFE Corporation make any representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty." + - score: '100.0' + start_line: 1190 + end_line: 1217 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_590.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of PADL Software nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY PADL SOFTWARE\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL PADL SOFTWARE\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1226 + end_line: 1264 + matcher: 2-aho + rule_length: 335 + matched_length: 335 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_or_gpl-2.0-plus_7.RULE + license_expression: bsd-simplified OR gpl-2.0-plus + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n Alternatively, the contents\ + \ of this package may be used under the\n terms of the GNU General Public License (\"\ + GPL\") version 2 or any\n later version, in which case the provisions of the GPL are\n\ + \ applicable instead of the above. If you wish to allow the use of\n your version\ + \ of this package only under the terms of the GPL and\n not to allow others to use\ + \ your version of this file under the BSD\n license, indicate your decision by deleting\ + \ the provisions above\n and replace them with the notice and other provisions required\ + \ by\n the GPL in this and the other files of this package. If you do not\n delete\ + \ the provisions above, a recipient may use your version of\n this file under either\ + \ the BSD or the GPL.\n \n On Debian systems, the complete text of the GNU General\ + \ Public License\n version 2 can be found in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 1274 + end_line: 1302 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_4.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials\n provided with\ + \ the distribution.\n \n * Neither the name of Intel Corporation nor the names of\ + \ its\n contributors may be used to endorse or promote products\n derived\ + \ from this software without specific prior written\n permission.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 1311 + end_line: 1334 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkeyutils1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkeyutils1/copyright-detailed.expected.yml index caf78b1f567..2541b82a395 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkeyutils1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkeyutils1/copyright-detailed.expected.yml @@ -1,14 +1,154 @@ -- gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - LGPL-2+ - LGPL-2+ - GPL-2+ - LGPL-2+ -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus - AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (lgpl-2.0-plus + AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) +copyright: | 2005-2018, Red Hat 2005-2018, Red Hat 2006-2013, Daniel Baumann 2013, Luk Claes 2014-2019, Christian Kastner +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_119.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkeyutils1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkeyutils1/copyright.expected.yml index 59df93f23d1..8cb1eda4df0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkeyutils1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkeyutils1/copyright.expected.yml @@ -1,5 +1,145 @@ -- gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - LGPL-2+ -- (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0) -- 2005-2018, Red Hat +license_expression: (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0) +copyright: 2005-2018, Red Hat +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_119.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkrb5-3/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkrb5-3/copyright-detailed.expected.yml index c16288eada2..9fb5d8d7b4c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkrb5-3/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkrb5-3/copyright-detailed.expected.yml @@ -1,15 +1,15 @@ -- -- -- bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license AND - other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new AND - mit AND bsd-2-clause-views AND mit AND bsd-new AND bsd-new AND michigan-disclaimer AND fsf-unlimited-no-warranty - AND mit-no-advert-export-control AND openldap-2.8 AND bsd-new AND bsd-new AND bsd-new AND - freebsd-doc AND cmu-uc AND nrl-permission AND ietf-trust AND mit-old-style AND mit AND bsd-simplified - AND (mit-no-advert-export-control AND proprietary-license) AND bsd-original-uc AND mit-no-advert-export-control - AND bsd-original AND mit AND isc AND isc AND other-permissive AND bsd-new AND rsa-md4 AND - rsa-md5 AND rsa-1990 AND mit-with-modification-obligations AND bsd-new AND (bsd-simplified - OR gpl-2.0-plus) AND bsd-new AND bsd-simplified -- | +primary_license: +declared_license: +license_expression: bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license + AND other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new + AND mit AND bsd-2-clause-views AND mit AND bsd-new AND bsd-new AND michigan-disclaimer AND + fsf-unlimited-no-warranty AND mit-no-advert-export-control AND openldap-2.8 AND bsd-new AND + bsd-new AND bsd-new AND freebsd-doc AND cmu-uc AND nrl-permission AND ietf-trust AND mit-old-style + AND mit AND bsd-simplified AND (mit-no-advert-export-control AND proprietary-license) AND + bsd-original-uc AND mit-no-advert-export-control AND bsd-original AND mit AND isc AND isc + AND other-permissive AND bsd-new AND rsa-md4 AND rsa-md5 AND rsa-1990 AND mit-with-modification-obligations + AND bsd-new AND (bsd-simplified OR gpl-2.0-plus) AND bsd-new AND bsd-simplified +copyright: | Copyright (c) 1985-2018 by the Massachusetts Institute of Technology copyright MIT, Cygnus Support, Novell, OpenVision Technologies, Oracle, Red Hat, Sun Microsystems, FundsXpress, and others Copyright, OpenVision Technologies, Inc., 1993-1996 @@ -59,3 +59,1281 @@ Copyright (c) 2007,2008,2009 Marc Alexander Lehmann Copyright (c) 2010, Intel Corporation Copyright (c) 1998 by Danilo Almeida +matches: + - score: '100.0' + start_line: 18 + end_line: 39 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions and\ + \ the following disclaimer.\n \n * Redistributions in binary form must reproduce the above\ + \ copyright\n notice, this list of conditions and the following disclaimer in the\n\ + \ documentation and/or other materials provided with the distribution.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 41 + end_line: 52 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: generic-export-compliance_3.RULE + license_expression: generic-export-compliance + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Downloading of this software may constitute an export of cryptographic\n\ + \ software from the United States of America that is subject to the\n United States Export\ + \ Administration Regulations (EAR), 15 CFR 730-774.\n Additional laws or regulations may\ + \ apply. It is the responsibility of\n the person or entity contemplating export to comply\ + \ with all\n applicable export laws and regulations, including obtaining any\n required\ + \ license from the U.S. government.\n \n The U.S. government prohibits export of encryption\ + \ source code to\n certain countries and individuals, including, but not limited to, the\n\ + \ countries of Cuba, Iran, North Korea, Sudan, Syria, and residents and\n nationals of\ + \ those countries." + - score: '100.0' + start_line: 54 + end_line: 56 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc-by-sa-3.0_22.RULE + license_expression: cc-by-sa-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Documentation components of this software distribution are licensed + under a Creative Commons Attribution-ShareAlike 3.0 Unported License. + (http://creativecommons.org/licenses/by-sa/3.0/) + - score: '100.0' + start_line: 64 + end_line: 70 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_136.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "No commercial use of these trademarks may be made without\n prior written\ + \ permission of MIT.\n \n \"Commercial use\" means use of a name in a product or other\ + \ for-profit\n manner. It does NOT prevent a commercial firm from referring to the\n\ + \ MIT trademarks in order to convey information (although in doing so,\n recognition of\ + \ their trademark status should be given)." + - score: '100.0' + start_line: 82 + end_line: 111 + matcher: 2-aho + rule_length: 244 + matched_length: 244 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_80.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "WARNING: Retrieving the OpenVision Kerberos Administration system\n source\ + \ code, as described below, indicates your acceptance of the\n following terms. If\ + \ you do not agree to the following terms, do\n not retrieve the OpenVision Kerberos\ + \ administration system.\n \n You may freely use and distribute the Source Code and\ + \ Object Code\n compiled from it, with or without modification, but this Source\n \ + \ Code is provided to you \"AS IS\" EXCLUSIVE OF ANY WARRANTY,\n INCLUDING, WITHOUT\ + \ LIMITATION, ANY WARRANTIES OF MERCHANTABILITY OR\n FITNESS FOR A PARTICULAR PURPOSE,\ + \ OR ANY OTHER WARRANTY, WHETHER\n EXPRESS OR IMPLIED. IN NO EVENT WILL OPENVISION\ + \ HAVE ANY LIABILITY\n FOR ANY LOST PROFITS, LOSS OF DATA OR COSTS OF PROCUREMENT OF\n\ + \ SUBSTITUTE GOODS OR SERVICES, OR FOR ANY SPECIAL, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES ARISING OUT OF THIS AGREEMENT, INCLUDING,\n WITHOUT LIMITATION, THOSE RESULTING\ + \ FROM THE USE OF THE SOURCE\n CODE, OR THE FAILURE OF THE SOURCE CODE TO PERFORM,\ + \ OR FOR ANY\n OTHER REASON.\n \n OpenVision retains all copyrights in the donated\ + \ Source Code.\n OpenVision also retains copyright to derivative works of the Source\n\ + \ Code, whether created by OpenVision or by a third party. The\n OpenVision copyright\ + \ notice must be preserved if derivative works\n are made based on the donated Source\ + \ Code.\n \n OpenVision Technologies, Inc. has donated this Kerberos\n Administration\ + \ system to MIT for inclusion in the standard Kerberos\n 5 distribution. This donation\ + \ underscores our commitment to\n continuing Kerberos technology development and our\ + \ gratitude for\n the valuable work which has been performed by MIT and the Kerberos\n\ + \ community." + - score: '98.73' + start_line: 128 + end_line: 146 + matcher: 2-aho + rule_length: 155 + matched_length: 155 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_1.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of [FundsXpress]. not be used in advertising or\ + \ publicity\n pertaining to distribution of the software without specific,\n written\ + \ prior permission. [FundsXpress] makes no representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS\ + \ OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 156 + end_line: 175 + matcher: 2-aho + rule_length: 116 + matched_length: 116 + match_coverage: '100.0' + rule_relevance: 100 + identifier: brian-gladman-3-clause_2.RULE + license_expression: brian-gladman-3-clause + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "LICENSE TERMS\n \n The free distribution and use of this software in both\ + \ source and\n binary form is allowed (with or without changes) provided that:\n \n\ + \ 1. distributions of this source code include the above copyright\n notice,\ + \ this list of conditions and the following disclaimer;\n \n 2. distributions in binary\ + \ form include the above copyright notice,\n this list of conditions and the following\ + \ disclaimer in the\n documentation and/or other associated materials;\n \n 3.\ + \ the copyright holder's name is not used to endorse products\n built using this\ + \ software without specific written permission.\n \n DISCLAIMER\n \n This software\ + \ is provided 'as is' with no explcit or implied\n warranties in respect of any properties,\ + \ including, but not limited\n to, correctness and fitness for purpose." + - score: '100.0' + start_line: 187 + end_line: 214 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_587.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * Neither the name of Red Hat, Inc., nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 222 + end_line: 240 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT\n HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n \ + \ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN\ + \ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n DEALINGS IN THE SOFTWARE." + - score: '85.71' + start_line: 248 + end_line: 276 + matcher: 3-seq + rule_length: 217 + matched_length: 186 + match_coverage: '85.71' + rule_relevance: 100 + identifier: bsd-2-clause-freebsd_9.RULE + license_expression: bsd-2-clause-views + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form\ + \ must reproduce the above\n copyright notice, this list of conditions and the\ + \ following\n disclaimer in the documentation and/or other materials\n \ + \ provided with the distribution.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n ======================================================================\n\ + \ \n The" + - score: '100.0' + start_line: 334 + end_line: 352 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 363 + end_line: 390 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 400 + end_line: 427 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_588.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * The copyright holder's name is not used to endorse or promote\n products\ + \ derived from this software without specific prior\n written permission.\n \n \ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\"\ + \ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 440 + end_line: 459 + matcher: 2-aho + rule_length: 186 + matched_length: 186 + match_coverage: '100.0' + rule_relevance: 100 + identifier: michigan-disclaimer.LICENSE + license_expression: michigan-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to use, copy, create derivative works and\n redistribute\ + \ this software and such derivative works for any\n purpose, so long as the name of\ + \ The University of Michigan is not\n used in any advertising or publicity pertaining\ + \ to the use of\n distribution of this software without specific, written prior\n \ + \ authorization. If the above copyright notice or any other\n identification of\ + \ the University of Michigan is included in any\n copy of any portion of this software,\ + \ then the disclaimer below\n must also be included.\n \n THIS SOFTWARE IS PROVIDED\ + \ AS IS, WITHOUT REPRESENTATION FROM THE\n UNIVERSITY OF MICHIGAN AS TO ITS FITNESS\ + \ FOR ANY PURPOSE, AND\n WITHOUT WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND,\ + \ EITHER\n EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\n THE REGENTS OF THE UNIVERSITY\ + \ OF MICHIGAN SHALL NOT BE LIABLE FOR\n ANY DAMAGES, INCLUDING SPECIAL, INDIRECT, INCIDENTAL,\ + \ OR\n CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR\n IN CONNECTION\ + \ WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR\n IS HEREAFTER ADVISED OF THE\ + \ POSSIBILITY OF SUCH DAMAGES." + - score: '100.0' + start_line: 469 + end_line: 476 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; as a special exception the author gives\n \ + \ unlimited permission to copy and/or distribute it, with or without\n modifications,\ + \ as long as this notice is preserved.\n \n This file is distributed in the hope that\ + \ it will be useful, but\n WITHOUT ANY WARRANTY, to the extent permitted by law; without\ + \ even\n the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n PURPOSE." + - score: '100.0' + start_line: 485 + end_line: 503 + matcher: 2-aho + rule_length: 159 + matched_length: 159 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_2.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Apple Inc. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Apple Inc. makes no representations\n about the suitability of this software for\ + \ any purpose. It is\n provided \"as is\" without express or implied warranty.\n \n\ + \ THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR\n IMPLIED WARRANTIES,\ + \ INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES OF MERCHANTIBILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 511 + end_line: 558 + matcher: 2-aho + rule_length: 328 + matched_length: 328 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8.LICENSE + license_expression: openldap-2.8 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The OpenLDAP Public License\n Version 2.8, 17 August 2003\n \n Redistribution\ + \ and use of this software and associated\n documentation (\"Software\"), with or without\ + \ modification, are\n permitted provided that the following conditions are met:\n \n\ + \ 1. Redistributions in source form must retain copyright statements\n and notices,\n\ + \ \n 2. Redistributions in binary form must reproduce applicable\n copyright\ + \ statements and notices, this list of conditions, and\n the following disclaimer\ + \ in the documentation and/or other\n materials provided with the distribution,\ + \ and\n \n 3. Redistributions must contain a verbatim copy of this document.\n \n \ + \ The OpenLDAP Foundation may revise this license from time to time.\n Each revision\ + \ is distinguished by a version number. You may use\n this Software under terms of\ + \ this license revision or under the\n terms of any subsequent revision of the license.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS\n CONTRIBUTORS\ + \ \"AS IS\" AND ANY EXPRESSED OR IMPLIED WARRANTIES,\n INCLUDING, BUT NOT LIMITED TO,\ + \ THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL THE OPENLDAP FOUNDATION, ITS\n CONTRIBUTORS,\ + \ OR THE AUTHOR(S) OR OWNER(S) OF THE SOFTWARE BE\n LIABLE FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER\ + \ IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF SUCH\n DAMAGE.\n \n The names of the authors and copyright holders must not\ + \ be used in\n advertising or otherwise to promote the sale, use or other dealing\n\ + \ in this Software without specific, written prior permission. Title\n to copyright\ + \ in this Software shall at all times remain with\n copyright holders.\n \n OpenLDAP\ + \ is a registered trademark of the OpenLDAP Foundation.\n \n Copyright 1999-2003 The\ + \ OpenLDAP Foundation, Redwood City,\n California, USA. All Rights Reserved. Permission\ + \ to copy and\n distribute verbatim copies of this document is granted." + - score: '100.0' + start_line: 568 + end_line: 595 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of KTH nor the names of its contributors may be\n used\ + \ to endorse or promote products derived from this software\n without specific prior\ + \ written permission.\n \n THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS \"\ + AS IS\" AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n \ + \ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE,\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF\ + \ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 608 + end_line: 636 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_151.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form must\ + \ reproduce the above\n copyright notice, this list of conditions and the following\n\ + \ disclaimer in the documentation and/or other materials provided\n with the\ + \ distribution.\n \n 3. Neither the name of the Institute nor the names of its\n \ + \ contributors may be used to endorse or promote products derived\n from this\ + \ software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE INSTITUTE AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE\n \ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 647 + end_line: 675 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_589.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the \"Oracle America, Inc.\" nor the names of\n its\ + \ contributors may be used to endorse or promote products\n derived from this software\ + \ without specific prior written\n permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n \ + \ COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 682 + end_line: 705 + matcher: 2-aho + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: freebsd-doc_5.RULE + license_expression: freebsd-doc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer as\n the first lines of this file unmodified.\n \n\ + \ 2. Redistributions in binary form must reproduce the above\n copyright notice,\ + \ this list of conditions and the following\n disclaimer in the documentation and/or\ + \ other materials provided\n with the distribution.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY NTT \"AS IS\" AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED\ + \ TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL NTT BE LIABLE FOR ANY DIRECT,\n INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\ + \ IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n \ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '99.0' + start_line: 713 + end_line: 729 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 99 + identifier: cmu-uc_12.RULE + license_expression: cmu-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software and\n its\ + \ documentation for any purpose and without fee is hereby\n granted, provided that\ + \ the above copyright notice appear in all\n copies and that both that copyright notice\ + \ and this permission\n notice appear in supporting documentation, and that the name\ + \ of\n Carnegie Mellon University not be used in advertising or publicity\n pertaining\ + \ to distribution of the software without specific,\n written prior permission.\n \n\ + \ CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO\n THIS SOFTWARE,\ + \ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS, IN NO EVENT SHALL\ + \ CARNEGIE MELLON UNIVERSITY BE LIABLE\n FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES\n WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\ + \ WHETHER IN\n AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\n\ + \ OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS\n SOFTWARE." + - score: '95.0' + start_line: 735 + end_line: 743 + matcher: 2-aho + rule_length: 71 + matched_length: 71 + match_coverage: '100.0' + rule_relevance: 95 + identifier: nrl-permission_1.RULE + license_expression: nrl-permission + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify and distribute this software and\n its\ + \ documentation is hereby granted, provided that both the\n copyright notice and this\ + \ permission notice appear in all copies of\n the software, derivative works or modified\ + \ versions, and any\n portions thereof.\n \n NRL ALLOWS FREE USE OF THIS SOFTWARE\ + \ IN ITS \"AS IS\" CONDITION AND\n DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES\ + \ WHATSOEVER\n RESULTING FROM THE USE OF THIS SOFTWARE." + - score: '100.0' + start_line: 752 + end_line: 763 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf-trust_10.RULE + license_expression: ietf-trust + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This document is subject to the rights, licenses and restrictions\n contained\ + \ in BCP 78, and except as set forth therein, the authors\n retain all their rights.\n\ + \ \n This document and the information contained herein are provided on\n an \"\ + AS IS\" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE\n REPRESENTS OR IS SPONSORED\ + \ BY (IF ANY), THE INTERNET SOCIETY AND\n THE INTERNET ENGINEERING TASK FORCE DISCLAIM\ + \ ALL WARRANTIES,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT\n\ + \ THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR\n ANY IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A\n PARTICULAR PURPOSE." + - score: '100.0' + start_line: 769 + end_line: 776 + matcher: 2-aho + rule_length: 69 + matched_length: 69 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style_11.RULE + license_expression: mit-old-style + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appear in all + copies and that both that copyright notice and this permission + notice appear in supporting documentation. Cygnus Support makes no + representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied + warranty. + - score: '100.0' + start_line: 782 + end_line: 800 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 810 + end_line: 833 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS \"AS IS\"\n AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR OR\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO,\ + \ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN\ + \ CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 837 + end_line: 856 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_and_proprietary-license_1.RULE + license_expression: mit-no-advert-export-control AND proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "EXPORT OF THIS SOFTWARE from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to copy, modify, and distribute\n\ + \ this software and its documentation in source and binary forms is\n hereby granted,\ + \ provided that any documentation or other materials\n related to such distribution\ + \ or use acknowledge that the software\n was developed by the University of Southern\ + \ California.\n \n DISCLAIMER OF WARRANTY. THIS SOFTWARE IS PROVIDED \"AS IS\". The\n\ + \ University of Southern California MAKES NO REPRESENTATIONS OR\n WARRANTIES, EXPRESS\ + \ OR IMPLIED. By way of example, but not\n limitation, the University of Southern\ + \ California MAKES NO\n REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS\ + \ FOR ANY\n PARTICULAR PURPOSE. The University of Southern California shall not\n \ + \ be held liable for any liability nor for any direct, indirect, or\n consequential\ + \ damages with respect to any claim by the user or\n distributor of the ksu software." + - score: '100.0' + start_line: 866 + end_line: 899 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the University of\n California, Berkeley and its contributors.\n\ + \ \n 4. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '99.0' + start_line: 907 + end_line: 922 + matcher: 2-aho + rule_length: 145 + matched_length: 145 + match_coverage: '100.0' + rule_relevance: 99 + identifier: mit-no-advert-export-control_4.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Richard P. Basch, Lehman Brothers and M.I.T.\ + \ not be\n used in advertising or publicity pertaining to distribution of the\n \ + \ software without specific, written prior permission. Richard P.\n Basch, Lehman\ + \ Brothers and M.I.T. make no representations about the\n suitability of this software\ + \ for any purpose. It is provided \"as\n is\" without express or implied warranty." + - score: '100.0' + start_line: 934 + end_line: 968 + matcher: 2-aho + rule_length: 245 + matched_length: 245 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_32.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the NetBSD\n Foundation, Inc. and its contributors.\n \n 4.\ + \ Neither the name of The NetBSD Foundation nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION,\ + \ INC. AND\n CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A\ + \ PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS\ + \ BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\ + \ ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF SUCH\n DAMAGE." + - score: '100.0' + start_line: 978 + end_line: 996 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_483.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE COMPUTING\ + \ RESEARCH LAB OR\n NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY CLAIM, DAMAGES OR\n\ + \ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING\ + \ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE\n OR THE USE OR OTHER DEALINGS IN\ + \ THE SOFTWARE." + - score: '100.0' + start_line: 1004 + end_line: 1016 + matcher: 2-aho + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for\n any\ + \ purpose with or without fee is hereby granted, provided that\n the above copyright\ + \ notice and this permission notice appear in all\n copies.\n \n THE SOFTWARE IS\ + \ PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL\n WARRANTIES WITH REGARD TO THIS\ + \ SOFTWARE INCLUDING ALL IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO\ + \ EVENT SHALL THE\n AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\n OF USE, DATA OR PROFITS,\ + \ WHETHER IN AN ACTION OF CONTRACT,\n NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\ + \ OUT OF OR IN\n CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." + - score: '95.0' + start_line: 1025 + end_line: 1037 + matcher: 2-aho + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 95 + identifier: isc_16.RULE + license_expression: isc + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for + any purpose with or without fee is hereby granted, provided that + the above copyright notice and this permission notice appear in all + copies. THE SOFTWARE IS PROVIDED "AS IS" AND THEODORE TS'O (THE + AUTHOR) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS 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 THIS SOFTWARE. (Isn't + it sick that the U.S. culture of lawsuit-happy lawyers requires + this kind of disclaimer?) + - score: '100.0' + start_line: 1046 + end_line: 1047 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_22.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be freely redistributed without license or fee + provided this copyright message remains intact. + - score: '100.0' + start_line: 1060 + end_line: 1087 + matcher: 2-aho + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_134.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO\ + \ EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\n \ + \ DAMAGE." + - score: '100.0' + start_line: 1096 + end_line: 1112 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md4.LICENSE + license_expression: rsa-md4 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD4 Message Digest\n Algorithm\" in all\ + \ material mentioning or referencing this software\n or this function.\n \n License\ + \ is also granted to make and use derivative works provided\n that such works are identified\ + \ as \"derived from the RSA Data\n Security, Inc. MD4 Message Digest Algorithm\" in\ + \ all material\n mentioning or referencing the derived work.\n \n RSA Data Security,\ + \ Inc. makes no representations concerning either\n the merchantability of this software\ + \ or the suitability of this\n software for any particular purpose. It is provided\ + \ \"as is\"\n without express or implied warranty of any kind.\n \n These notices\ + \ must be retained in any copies of any part of this\n documentation and/or software." + - score: '100.0' + start_line: 1121 + end_line: 1137 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md5.LICENSE + license_expression: rsa-md5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD5 Message- Digest\n Algorithm\" in\ + \ all material mentioning or referencing this software\n or this function.\n \n \ + \ License is also granted to make and use derivative works provided\n that such works\ + \ are identified as \"derived from the RSA Data\n Security, Inc. MD5 Message-Digest\ + \ Algorithm\" in all material\n mentioning or referencing the derived work.\n \n \ + \ RSA Data Security, Inc. makes no representations concerning either\n the merchantability\ + \ of this software or the suitability of this\n software for any particular purpose.\ + \ It is provided \"as is\"\n without express or implied warranty of any kind.\n \n\ + \ These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1147 + end_line: 1153 + matcher: 2-aho + rule_length: 54 + matched_length: 54 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-1990.LICENSE + license_expression: rsa-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "RSA Data Security, Inc. makes no representations concerning either\n the\ + \ merchantability of this software or the suitability of this\n software for any particular\ + \ purpose. It is provided \"as is\" without\n express or implied warranty of any kind.\n\ + \ \n These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1163 + end_line: 1181 + matcher: 2-aho + rule_length: 177 + matched_length: 177 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-with-modification-obligations_2.RULE + license_expression: mit-with-modification-obligations + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of M.I.T. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Furthermore if you modify this software\n you must label your software as modified\ + \ software and not\n distribute it in such a fashion that it might be confused with\ + \ the\n original M.I.T. software. Neither M.I.T., the Open Computing\n Security\ + \ Group, nor CyberSAFE Corporation make any representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty." + - score: '100.0' + start_line: 1190 + end_line: 1217 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_590.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of PADL Software nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY PADL SOFTWARE\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL PADL SOFTWARE\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1226 + end_line: 1264 + matcher: 2-aho + rule_length: 335 + matched_length: 335 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_or_gpl-2.0-plus_7.RULE + license_expression: bsd-simplified OR gpl-2.0-plus + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n Alternatively, the contents\ + \ of this package may be used under the\n terms of the GNU General Public License (\"\ + GPL\") version 2 or any\n later version, in which case the provisions of the GPL are\n\ + \ applicable instead of the above. If you wish to allow the use of\n your version\ + \ of this package only under the terms of the GPL and\n not to allow others to use\ + \ your version of this file under the BSD\n license, indicate your decision by deleting\ + \ the provisions above\n and replace them with the notice and other provisions required\ + \ by\n the GPL in this and the other files of this package. If you do not\n delete\ + \ the provisions above, a recipient may use your version of\n this file under either\ + \ the BSD or the GPL.\n \n On Debian systems, the complete text of the GNU General\ + \ Public License\n version 2 can be found in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 1274 + end_line: 1302 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_4.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials\n provided with\ + \ the distribution.\n \n * Neither the name of Intel Corporation nor the names of\ + \ its\n contributors may be used to endorse or promote products\n derived\ + \ from this software without specific prior written\n permission.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 1311 + end_line: 1334 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkrb5-3/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkrb5-3/copyright.expected.yml index 9f248069883..1df017652bd 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkrb5-3/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkrb5-3/copyright.expected.yml @@ -1,12 +1,12 @@ -- -- -- bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license AND - other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new AND - mit AND bsd-2-clause-views AND michigan-disclaimer AND fsf-unlimited-no-warranty AND openldap-2.8 +primary_license: +declared_license: +license_expression: bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license + AND other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new + AND mit AND bsd-2-clause-views AND michigan-disclaimer AND fsf-unlimited-no-warranty AND openldap-2.8 AND freebsd-doc AND cmu-uc AND nrl-permission AND ietf-trust AND mit-old-style AND (mit-no-advert-export-control AND proprietary-license) AND bsd-original-uc AND bsd-original AND isc AND rsa-md4 AND rsa-md5 AND rsa-1990 AND mit-with-modification-obligations AND (bsd-simplified OR gpl-2.0-plus) -- | +copyright: | Copyright (c) 1985-2018 by the Massachusetts Institute of Technology copyright MIT, Cygnus Support, Novell, OpenVision Technologies, Oracle, Red Hat, Sun Microsystems, FundsXpress, and others Copyright, OpenVision Technologies, Inc., 1993-1996 @@ -56,3 +56,1281 @@ Copyright (c) 2007,2008,2009 Marc Alexander Lehmann Copyright (c) 2010, Intel Corporation Copyright (c) 1998 by Danilo Almeida +matches: + - score: '100.0' + start_line: 18 + end_line: 39 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions and\ + \ the following disclaimer.\n \n * Redistributions in binary form must reproduce the above\ + \ copyright\n notice, this list of conditions and the following disclaimer in the\n\ + \ documentation and/or other materials provided with the distribution.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 41 + end_line: 52 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: generic-export-compliance_3.RULE + license_expression: generic-export-compliance + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Downloading of this software may constitute an export of cryptographic\n\ + \ software from the United States of America that is subject to the\n United States Export\ + \ Administration Regulations (EAR), 15 CFR 730-774.\n Additional laws or regulations may\ + \ apply. It is the responsibility of\n the person or entity contemplating export to comply\ + \ with all\n applicable export laws and regulations, including obtaining any\n required\ + \ license from the U.S. government.\n \n The U.S. government prohibits export of encryption\ + \ source code to\n certain countries and individuals, including, but not limited to, the\n\ + \ countries of Cuba, Iran, North Korea, Sudan, Syria, and residents and\n nationals of\ + \ those countries." + - score: '100.0' + start_line: 54 + end_line: 56 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc-by-sa-3.0_22.RULE + license_expression: cc-by-sa-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Documentation components of this software distribution are licensed + under a Creative Commons Attribution-ShareAlike 3.0 Unported License. + (http://creativecommons.org/licenses/by-sa/3.0/) + - score: '100.0' + start_line: 64 + end_line: 70 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_136.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "No commercial use of these trademarks may be made without\n prior written\ + \ permission of MIT.\n \n \"Commercial use\" means use of a name in a product or other\ + \ for-profit\n manner. It does NOT prevent a commercial firm from referring to the\n\ + \ MIT trademarks in order to convey information (although in doing so,\n recognition of\ + \ their trademark status should be given)." + - score: '100.0' + start_line: 82 + end_line: 111 + matcher: 2-aho + rule_length: 244 + matched_length: 244 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_80.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "WARNING: Retrieving the OpenVision Kerberos Administration system\n source\ + \ code, as described below, indicates your acceptance of the\n following terms. If\ + \ you do not agree to the following terms, do\n not retrieve the OpenVision Kerberos\ + \ administration system.\n \n You may freely use and distribute the Source Code and\ + \ Object Code\n compiled from it, with or without modification, but this Source\n \ + \ Code is provided to you \"AS IS\" EXCLUSIVE OF ANY WARRANTY,\n INCLUDING, WITHOUT\ + \ LIMITATION, ANY WARRANTIES OF MERCHANTABILITY OR\n FITNESS FOR A PARTICULAR PURPOSE,\ + \ OR ANY OTHER WARRANTY, WHETHER\n EXPRESS OR IMPLIED. IN NO EVENT WILL OPENVISION\ + \ HAVE ANY LIABILITY\n FOR ANY LOST PROFITS, LOSS OF DATA OR COSTS OF PROCUREMENT OF\n\ + \ SUBSTITUTE GOODS OR SERVICES, OR FOR ANY SPECIAL, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES ARISING OUT OF THIS AGREEMENT, INCLUDING,\n WITHOUT LIMITATION, THOSE RESULTING\ + \ FROM THE USE OF THE SOURCE\n CODE, OR THE FAILURE OF THE SOURCE CODE TO PERFORM,\ + \ OR FOR ANY\n OTHER REASON.\n \n OpenVision retains all copyrights in the donated\ + \ Source Code.\n OpenVision also retains copyright to derivative works of the Source\n\ + \ Code, whether created by OpenVision or by a third party. The\n OpenVision copyright\ + \ notice must be preserved if derivative works\n are made based on the donated Source\ + \ Code.\n \n OpenVision Technologies, Inc. has donated this Kerberos\n Administration\ + \ system to MIT for inclusion in the standard Kerberos\n 5 distribution. This donation\ + \ underscores our commitment to\n continuing Kerberos technology development and our\ + \ gratitude for\n the valuable work which has been performed by MIT and the Kerberos\n\ + \ community." + - score: '98.73' + start_line: 128 + end_line: 146 + matcher: 2-aho + rule_length: 155 + matched_length: 155 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_1.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of [FundsXpress]. not be used in advertising or\ + \ publicity\n pertaining to distribution of the software without specific,\n written\ + \ prior permission. [FundsXpress] makes no representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS\ + \ OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 156 + end_line: 175 + matcher: 2-aho + rule_length: 116 + matched_length: 116 + match_coverage: '100.0' + rule_relevance: 100 + identifier: brian-gladman-3-clause_2.RULE + license_expression: brian-gladman-3-clause + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "LICENSE TERMS\n \n The free distribution and use of this software in both\ + \ source and\n binary form is allowed (with or without changes) provided that:\n \n\ + \ 1. distributions of this source code include the above copyright\n notice,\ + \ this list of conditions and the following disclaimer;\n \n 2. distributions in binary\ + \ form include the above copyright notice,\n this list of conditions and the following\ + \ disclaimer in the\n documentation and/or other associated materials;\n \n 3.\ + \ the copyright holder's name is not used to endorse products\n built using this\ + \ software without specific written permission.\n \n DISCLAIMER\n \n This software\ + \ is provided 'as is' with no explcit or implied\n warranties in respect of any properties,\ + \ including, but not limited\n to, correctness and fitness for purpose." + - score: '100.0' + start_line: 187 + end_line: 214 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_587.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * Neither the name of Red Hat, Inc., nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 222 + end_line: 240 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT\n HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n \ + \ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN\ + \ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n DEALINGS IN THE SOFTWARE." + - score: '85.71' + start_line: 248 + end_line: 276 + matcher: 3-seq + rule_length: 217 + matched_length: 186 + match_coverage: '85.71' + rule_relevance: 100 + identifier: bsd-2-clause-freebsd_9.RULE + license_expression: bsd-2-clause-views + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form\ + \ must reproduce the above\n copyright notice, this list of conditions and the\ + \ following\n disclaimer in the documentation and/or other materials\n \ + \ provided with the distribution.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n ======================================================================\n\ + \ \n The" + - score: '100.0' + start_line: 334 + end_line: 352 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 363 + end_line: 390 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 400 + end_line: 427 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_588.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * The copyright holder's name is not used to endorse or promote\n products\ + \ derived from this software without specific prior\n written permission.\n \n \ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\"\ + \ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 440 + end_line: 459 + matcher: 2-aho + rule_length: 186 + matched_length: 186 + match_coverage: '100.0' + rule_relevance: 100 + identifier: michigan-disclaimer.LICENSE + license_expression: michigan-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to use, copy, create derivative works and\n redistribute\ + \ this software and such derivative works for any\n purpose, so long as the name of\ + \ The University of Michigan is not\n used in any advertising or publicity pertaining\ + \ to the use of\n distribution of this software without specific, written prior\n \ + \ authorization. If the above copyright notice or any other\n identification of\ + \ the University of Michigan is included in any\n copy of any portion of this software,\ + \ then the disclaimer below\n must also be included.\n \n THIS SOFTWARE IS PROVIDED\ + \ AS IS, WITHOUT REPRESENTATION FROM THE\n UNIVERSITY OF MICHIGAN AS TO ITS FITNESS\ + \ FOR ANY PURPOSE, AND\n WITHOUT WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND,\ + \ EITHER\n EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\n THE REGENTS OF THE UNIVERSITY\ + \ OF MICHIGAN SHALL NOT BE LIABLE FOR\n ANY DAMAGES, INCLUDING SPECIAL, INDIRECT, INCIDENTAL,\ + \ OR\n CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR\n IN CONNECTION\ + \ WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR\n IS HEREAFTER ADVISED OF THE\ + \ POSSIBILITY OF SUCH DAMAGES." + - score: '100.0' + start_line: 469 + end_line: 476 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; as a special exception the author gives\n \ + \ unlimited permission to copy and/or distribute it, with or without\n modifications,\ + \ as long as this notice is preserved.\n \n This file is distributed in the hope that\ + \ it will be useful, but\n WITHOUT ANY WARRANTY, to the extent permitted by law; without\ + \ even\n the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n PURPOSE." + - score: '100.0' + start_line: 485 + end_line: 503 + matcher: 2-aho + rule_length: 159 + matched_length: 159 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_2.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Apple Inc. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Apple Inc. makes no representations\n about the suitability of this software for\ + \ any purpose. It is\n provided \"as is\" without express or implied warranty.\n \n\ + \ THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR\n IMPLIED WARRANTIES,\ + \ INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES OF MERCHANTIBILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 511 + end_line: 558 + matcher: 2-aho + rule_length: 328 + matched_length: 328 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8.LICENSE + license_expression: openldap-2.8 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The OpenLDAP Public License\n Version 2.8, 17 August 2003\n \n Redistribution\ + \ and use of this software and associated\n documentation (\"Software\"), with or without\ + \ modification, are\n permitted provided that the following conditions are met:\n \n\ + \ 1. Redistributions in source form must retain copyright statements\n and notices,\n\ + \ \n 2. Redistributions in binary form must reproduce applicable\n copyright\ + \ statements and notices, this list of conditions, and\n the following disclaimer\ + \ in the documentation and/or other\n materials provided with the distribution,\ + \ and\n \n 3. Redistributions must contain a verbatim copy of this document.\n \n \ + \ The OpenLDAP Foundation may revise this license from time to time.\n Each revision\ + \ is distinguished by a version number. You may use\n this Software under terms of\ + \ this license revision or under the\n terms of any subsequent revision of the license.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS\n CONTRIBUTORS\ + \ \"AS IS\" AND ANY EXPRESSED OR IMPLIED WARRANTIES,\n INCLUDING, BUT NOT LIMITED TO,\ + \ THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL THE OPENLDAP FOUNDATION, ITS\n CONTRIBUTORS,\ + \ OR THE AUTHOR(S) OR OWNER(S) OF THE SOFTWARE BE\n LIABLE FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER\ + \ IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF SUCH\n DAMAGE.\n \n The names of the authors and copyright holders must not\ + \ be used in\n advertising or otherwise to promote the sale, use or other dealing\n\ + \ in this Software without specific, written prior permission. Title\n to copyright\ + \ in this Software shall at all times remain with\n copyright holders.\n \n OpenLDAP\ + \ is a registered trademark of the OpenLDAP Foundation.\n \n Copyright 1999-2003 The\ + \ OpenLDAP Foundation, Redwood City,\n California, USA. All Rights Reserved. Permission\ + \ to copy and\n distribute verbatim copies of this document is granted." + - score: '100.0' + start_line: 568 + end_line: 595 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of KTH nor the names of its contributors may be\n used\ + \ to endorse or promote products derived from this software\n without specific prior\ + \ written permission.\n \n THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS \"\ + AS IS\" AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n \ + \ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE,\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF\ + \ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 608 + end_line: 636 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_151.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form must\ + \ reproduce the above\n copyright notice, this list of conditions and the following\n\ + \ disclaimer in the documentation and/or other materials provided\n with the\ + \ distribution.\n \n 3. Neither the name of the Institute nor the names of its\n \ + \ contributors may be used to endorse or promote products derived\n from this\ + \ software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE INSTITUTE AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE\n \ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 647 + end_line: 675 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_589.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the \"Oracle America, Inc.\" nor the names of\n its\ + \ contributors may be used to endorse or promote products\n derived from this software\ + \ without specific prior written\n permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n \ + \ COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 682 + end_line: 705 + matcher: 2-aho + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: freebsd-doc_5.RULE + license_expression: freebsd-doc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer as\n the first lines of this file unmodified.\n \n\ + \ 2. Redistributions in binary form must reproduce the above\n copyright notice,\ + \ this list of conditions and the following\n disclaimer in the documentation and/or\ + \ other materials provided\n with the distribution.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY NTT \"AS IS\" AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED\ + \ TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL NTT BE LIABLE FOR ANY DIRECT,\n INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\ + \ IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n \ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '99.0' + start_line: 713 + end_line: 729 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 99 + identifier: cmu-uc_12.RULE + license_expression: cmu-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software and\n its\ + \ documentation for any purpose and without fee is hereby\n granted, provided that\ + \ the above copyright notice appear in all\n copies and that both that copyright notice\ + \ and this permission\n notice appear in supporting documentation, and that the name\ + \ of\n Carnegie Mellon University not be used in advertising or publicity\n pertaining\ + \ to distribution of the software without specific,\n written prior permission.\n \n\ + \ CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO\n THIS SOFTWARE,\ + \ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS, IN NO EVENT SHALL\ + \ CARNEGIE MELLON UNIVERSITY BE LIABLE\n FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES\n WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\ + \ WHETHER IN\n AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\n\ + \ OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS\n SOFTWARE." + - score: '95.0' + start_line: 735 + end_line: 743 + matcher: 2-aho + rule_length: 71 + matched_length: 71 + match_coverage: '100.0' + rule_relevance: 95 + identifier: nrl-permission_1.RULE + license_expression: nrl-permission + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify and distribute this software and\n its\ + \ documentation is hereby granted, provided that both the\n copyright notice and this\ + \ permission notice appear in all copies of\n the software, derivative works or modified\ + \ versions, and any\n portions thereof.\n \n NRL ALLOWS FREE USE OF THIS SOFTWARE\ + \ IN ITS \"AS IS\" CONDITION AND\n DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES\ + \ WHATSOEVER\n RESULTING FROM THE USE OF THIS SOFTWARE." + - score: '100.0' + start_line: 752 + end_line: 763 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf-trust_10.RULE + license_expression: ietf-trust + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This document is subject to the rights, licenses and restrictions\n contained\ + \ in BCP 78, and except as set forth therein, the authors\n retain all their rights.\n\ + \ \n This document and the information contained herein are provided on\n an \"\ + AS IS\" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE\n REPRESENTS OR IS SPONSORED\ + \ BY (IF ANY), THE INTERNET SOCIETY AND\n THE INTERNET ENGINEERING TASK FORCE DISCLAIM\ + \ ALL WARRANTIES,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT\n\ + \ THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR\n ANY IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A\n PARTICULAR PURPOSE." + - score: '100.0' + start_line: 769 + end_line: 776 + matcher: 2-aho + rule_length: 69 + matched_length: 69 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style_11.RULE + license_expression: mit-old-style + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appear in all + copies and that both that copyright notice and this permission + notice appear in supporting documentation. Cygnus Support makes no + representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied + warranty. + - score: '100.0' + start_line: 782 + end_line: 800 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 810 + end_line: 833 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS \"AS IS\"\n AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR OR\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO,\ + \ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN\ + \ CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 837 + end_line: 856 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_and_proprietary-license_1.RULE + license_expression: mit-no-advert-export-control AND proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "EXPORT OF THIS SOFTWARE from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to copy, modify, and distribute\n\ + \ this software and its documentation in source and binary forms is\n hereby granted,\ + \ provided that any documentation or other materials\n related to such distribution\ + \ or use acknowledge that the software\n was developed by the University of Southern\ + \ California.\n \n DISCLAIMER OF WARRANTY. THIS SOFTWARE IS PROVIDED \"AS IS\". The\n\ + \ University of Southern California MAKES NO REPRESENTATIONS OR\n WARRANTIES, EXPRESS\ + \ OR IMPLIED. By way of example, but not\n limitation, the University of Southern\ + \ California MAKES NO\n REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS\ + \ FOR ANY\n PARTICULAR PURPOSE. The University of Southern California shall not\n \ + \ be held liable for any liability nor for any direct, indirect, or\n consequential\ + \ damages with respect to any claim by the user or\n distributor of the ksu software." + - score: '100.0' + start_line: 866 + end_line: 899 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the University of\n California, Berkeley and its contributors.\n\ + \ \n 4. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '99.0' + start_line: 907 + end_line: 922 + matcher: 2-aho + rule_length: 145 + matched_length: 145 + match_coverage: '100.0' + rule_relevance: 99 + identifier: mit-no-advert-export-control_4.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Richard P. Basch, Lehman Brothers and M.I.T.\ + \ not be\n used in advertising or publicity pertaining to distribution of the\n \ + \ software without specific, written prior permission. Richard P.\n Basch, Lehman\ + \ Brothers and M.I.T. make no representations about the\n suitability of this software\ + \ for any purpose. It is provided \"as\n is\" without express or implied warranty." + - score: '100.0' + start_line: 934 + end_line: 968 + matcher: 2-aho + rule_length: 245 + matched_length: 245 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_32.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the NetBSD\n Foundation, Inc. and its contributors.\n \n 4.\ + \ Neither the name of The NetBSD Foundation nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION,\ + \ INC. AND\n CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A\ + \ PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS\ + \ BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\ + \ ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF SUCH\n DAMAGE." + - score: '100.0' + start_line: 978 + end_line: 996 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_483.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE COMPUTING\ + \ RESEARCH LAB OR\n NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY CLAIM, DAMAGES OR\n\ + \ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING\ + \ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE\n OR THE USE OR OTHER DEALINGS IN\ + \ THE SOFTWARE." + - score: '100.0' + start_line: 1004 + end_line: 1016 + matcher: 2-aho + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for\n any\ + \ purpose with or without fee is hereby granted, provided that\n the above copyright\ + \ notice and this permission notice appear in all\n copies.\n \n THE SOFTWARE IS\ + \ PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL\n WARRANTIES WITH REGARD TO THIS\ + \ SOFTWARE INCLUDING ALL IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO\ + \ EVENT SHALL THE\n AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\n OF USE, DATA OR PROFITS,\ + \ WHETHER IN AN ACTION OF CONTRACT,\n NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\ + \ OUT OF OR IN\n CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." + - score: '95.0' + start_line: 1025 + end_line: 1037 + matcher: 2-aho + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 95 + identifier: isc_16.RULE + license_expression: isc + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for + any purpose with or without fee is hereby granted, provided that + the above copyright notice and this permission notice appear in all + copies. THE SOFTWARE IS PROVIDED "AS IS" AND THEODORE TS'O (THE + AUTHOR) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS 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 THIS SOFTWARE. (Isn't + it sick that the U.S. culture of lawsuit-happy lawyers requires + this kind of disclaimer?) + - score: '100.0' + start_line: 1046 + end_line: 1047 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_22.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be freely redistributed without license or fee + provided this copyright message remains intact. + - score: '100.0' + start_line: 1060 + end_line: 1087 + matcher: 2-aho + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_134.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO\ + \ EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\n \ + \ DAMAGE." + - score: '100.0' + start_line: 1096 + end_line: 1112 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md4.LICENSE + license_expression: rsa-md4 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD4 Message Digest\n Algorithm\" in all\ + \ material mentioning or referencing this software\n or this function.\n \n License\ + \ is also granted to make and use derivative works provided\n that such works are identified\ + \ as \"derived from the RSA Data\n Security, Inc. MD4 Message Digest Algorithm\" in\ + \ all material\n mentioning or referencing the derived work.\n \n RSA Data Security,\ + \ Inc. makes no representations concerning either\n the merchantability of this software\ + \ or the suitability of this\n software for any particular purpose. It is provided\ + \ \"as is\"\n without express or implied warranty of any kind.\n \n These notices\ + \ must be retained in any copies of any part of this\n documentation and/or software." + - score: '100.0' + start_line: 1121 + end_line: 1137 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md5.LICENSE + license_expression: rsa-md5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD5 Message- Digest\n Algorithm\" in\ + \ all material mentioning or referencing this software\n or this function.\n \n \ + \ License is also granted to make and use derivative works provided\n that such works\ + \ are identified as \"derived from the RSA Data\n Security, Inc. MD5 Message-Digest\ + \ Algorithm\" in all material\n mentioning or referencing the derived work.\n \n \ + \ RSA Data Security, Inc. makes no representations concerning either\n the merchantability\ + \ of this software or the suitability of this\n software for any particular purpose.\ + \ It is provided \"as is\"\n without express or implied warranty of any kind.\n \n\ + \ These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1147 + end_line: 1153 + matcher: 2-aho + rule_length: 54 + matched_length: 54 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-1990.LICENSE + license_expression: rsa-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "RSA Data Security, Inc. makes no representations concerning either\n the\ + \ merchantability of this software or the suitability of this\n software for any particular\ + \ purpose. It is provided \"as is\" without\n express or implied warranty of any kind.\n\ + \ \n These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1163 + end_line: 1181 + matcher: 2-aho + rule_length: 177 + matched_length: 177 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-with-modification-obligations_2.RULE + license_expression: mit-with-modification-obligations + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of M.I.T. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Furthermore if you modify this software\n you must label your software as modified\ + \ software and not\n distribute it in such a fashion that it might be confused with\ + \ the\n original M.I.T. software. Neither M.I.T., the Open Computing\n Security\ + \ Group, nor CyberSAFE Corporation make any representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty." + - score: '100.0' + start_line: 1190 + end_line: 1217 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_590.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of PADL Software nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY PADL SOFTWARE\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL PADL SOFTWARE\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1226 + end_line: 1264 + matcher: 2-aho + rule_length: 335 + matched_length: 335 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_or_gpl-2.0-plus_7.RULE + license_expression: bsd-simplified OR gpl-2.0-plus + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n Alternatively, the contents\ + \ of this package may be used under the\n terms of the GNU General Public License (\"\ + GPL\") version 2 or any\n later version, in which case the provisions of the GPL are\n\ + \ applicable instead of the above. If you wish to allow the use of\n your version\ + \ of this package only under the terms of the GPL and\n not to allow others to use\ + \ your version of this file under the BSD\n license, indicate your decision by deleting\ + \ the provisions above\n and replace them with the notice and other provisions required\ + \ by\n the GPL in this and the other files of this package. If you do not\n delete\ + \ the provisions above, a recipient may use your version of\n this file under either\ + \ the BSD or the GPL.\n \n On Debian systems, the complete text of the GNU General\ + \ Public License\n version 2 can be found in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 1274 + end_line: 1302 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_4.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials\n provided with\ + \ the distribution.\n \n * Neither the name of Intel Corporation nor the names of\ + \ its\n contributors may be used to endorse or promote products\n derived\ + \ from this software without specific prior written\n permission.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 1311 + end_line: 1334 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblz4-1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblz4-1/copyright-detailed.expected.yml index 460bfaf04c8..29ae5d88ed5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblz4-1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblz4-1/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- bsd-simplified -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: + - BSD-2-clause - BSD-2-clause - BSD-2-clause - BSD-2-clause @@ -15,13 +16,13 @@ - GPL-2 - GPL-2+ - BSD-2-clause -- bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND (gpl-2.0-plus - AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) +license_expression: bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND (gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 - AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND - gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND bsd-simplified - AND (gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) -- | + AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND + gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND + bsd-simplified AND (gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) +copyright: | Copyright (C) 2011-2017, Yann Collet. Copyright (C) 2011-2017, Yann Collet. Copyright (C) 2011-2014, Yann Collet. @@ -35,3 +36,178 @@ Yann Collet Kyle Harper 2013 Nobuhiro Iwamatsu +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 + - score: '100.0' + start_line: 5 + end_line: 6 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblz4-1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblz4-1/copyright.expected.yml index 9df94512a4b..ed6434fb8a4 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblz4-1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblz4-1/copyright.expected.yml @@ -1,9 +1,10 @@ -- bsd-simplified -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: + - BSD-2-clause - GPL-2+ - GPL-2 -- bsd-simplified AND (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 -- | +license_expression: bsd-simplified AND (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 +copyright: | Copyright (C) 2011-2017, Yann Collet. Copyright (C) 2011-2014, Yann Collet. Copyright (C) 2011-2016, Yann Collet. @@ -12,3 +13,178 @@ Takayuki Matsuoka Yann Collet Kyle Harper +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 + - score: '100.0' + start_line: 5 + end_line: 6 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblzma5/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblzma5/copyright-detailed.expected.yml index eb49400e0c2..5287fa2e3c2 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblzma5/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblzma5/copyright-detailed.expected.yml @@ -1,7 +1,8 @@ -- (public-domain AND lgpl-2.0 AND lgpl-2.1-plus AND gpl-2.0-plus AND (public-domain AND gpl-2.0-plus - AND gpl-3.0-plus) AND lgpl-2.1 AND (epl-2.0 OR gpl-2.0-plus OR lgpl-2.1-plus) AND gpl-3.0) - AND public-domain -- - Different licenses apply to different files in this package. Here +primary_license: (public-domain AND lgpl-2.0 AND lgpl-2.1-plus AND gpl-2.0-plus AND (public-domain + AND gpl-2.0-plus AND gpl-3.0-plus) AND lgpl-2.1 AND (epl-2.0 OR gpl-2.0-plus OR lgpl-2.1-plus) + AND gpl-3.0) AND public-domain +declared_license: + - Different licenses apply to different files in this package. Here - PD - probably-PD - GPL-2+ @@ -28,18 +29,18 @@ - Autoconf - permissive-fsf - permissive-nowarranty -- (public-domain AND public-domain AND lgpl-2.0 AND lgpl-2.1-plus AND gpl-2.0-plus AND public-domain - AND public-domain AND (public-domain AND gpl-2.0-plus AND gpl-3.0-plus) AND public-domain - AND public-domain AND public-domain AND public-domain AND public-domain AND lgpl-2.1 AND (epl-2.0 - OR gpl-2.0-plus OR lgpl-2.1-plus) AND gpl-3.0 AND public-domain AND public-domain) AND public-domain - AND public-domain AND (public-domain AND public-domain) AND public-domain AND (gpl-2.0-plus - AND gpl-2.0-plus) AND public-domain AND public-domain AND (lgpl-2.1-plus AND lgpl-2.1-plus - AND lgpl-2.1) AND fsf-unlimited AND (gpl-3.0-plus WITH autoconf-macro-exception AND gpl-3.0) - AND fsf-ap AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0-plus AND gpl-2.0) AND public-domain AND public-domain - AND public-domain AND public-domain AND public-domain AND public-domain AND fsf-ap AND (public-domain - AND fsf-unlimited AND autoconf-exception-2.0 AND gpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus - AND lgpl-2.1) AND other-copyleft AND public-domain -- | +license_expression: (public-domain AND public-domain AND lgpl-2.0 AND lgpl-2.1-plus AND gpl-2.0-plus + AND public-domain AND public-domain AND (public-domain AND gpl-2.0-plus AND gpl-3.0-plus) + AND public-domain AND public-domain AND public-domain AND public-domain AND public-domain + AND lgpl-2.1 AND (epl-2.0 OR gpl-2.0-plus OR lgpl-2.1-plus) AND gpl-3.0 AND public-domain + AND public-domain) AND public-domain AND public-domain AND (public-domain AND public-domain) + AND public-domain AND (gpl-2.0-plus AND gpl-2.0-plus) AND public-domain AND public-domain + AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND fsf-unlimited AND (gpl-3.0-plus WITH + autoconf-macro-exception AND gpl-3.0) AND fsf-ap AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0-plus + AND gpl-2.0) AND public-domain AND public-domain AND public-domain AND public-domain AND public-domain + AND public-domain AND fsf-ap AND (public-domain AND fsf-unlimited AND autoconf-exception-2.0 + AND gpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND other-copyleft AND public-domain +copyright: | 2006-2018, Lasse Collin 1999-2008, Igor Pavlov 2006, Ville Koskinen @@ -83,3 +84,962 @@ © 2003 Free Software Foundation, Inc. © 1989, 1991, 1999, 2007 Free Software Foundation, Inc. 2009-2012, Jonathan Nieder +matches: + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_285.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is in the public domain. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + are in the public + domain + - score: '100.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_54.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GNU LGPLv2. + - score: '95.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 95 + identifier: lgpl-2.1-plus_70.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPLv2.1+. + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_488.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GNU GPLv2+. + - score: '100.0' + start_line: 17 + end_line: 17 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: are in the public domain. + - score: '100.0' + start_line: '19' + end_line: '19' + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: are in the public domain. + - score: '100.0' + start_line: 21 + end_line: 22 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_and_gpl-2.0-plus_and_gpl-3.0-plus_1.RULE + license_expression: public-domain AND gpl-2.0-plus AND gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The build system contains public domain files, and files that + are under GNU GPLv2+ or GNU GPLv3+. + - score: '100.0' + start_line: 26 + end_line: 26 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: are in the public domain. + - score: '70.0' + start_line: 28 + end_line: 28 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '100.0' + start_line: 31 + end_line: 32 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_128.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + put into + the public domain. + - score: '70.0' + start_line: 32 + end_line: 32 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '100.0' + start_line: 39 + end_line: 39 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_311.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: public domain code + - score: '100.0' + start_line: 48 + end_line: 48 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_286.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: 'COPYING.LGPLv2.1: GNU Lesser General Public License version 2.1' + - score: '50.0' + start_line: 49 + end_line: 50 + matcher: 3-seq + rule_length: 22 + matched_length: 11 + match_coverage: '50.0' + rule_relevance: 100 + identifier: epl-2.0_or_gpl-2.0-plus_or_lgpl-2.1-plus_5.RULE + license_expression: epl-2.0 OR gpl-2.0-plus OR lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU General Public License version 2 + - [COPYING].[GPLv3]: GNU General Public License version + - score: '100.0' + start_line: 50 + end_line: 50 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_381.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: 'COPYING.GPLv3: GNU General Public License version 3' + - score: '100.0' + start_line: 54 + end_line: 54 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the public domain + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_128.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: put into the public domain, + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_353.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file has been put in the public domain. + You can do whatever you want with this file. + - score: '55.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: public-domain_356.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: See the note on AUTHORS, README, and so on above. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_353.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file has been put in the public domain. + You can do whatever you want with this file. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_219.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Not copyrighted -- provided to the public domain. + - score: '22.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: public-domain_355.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: No copyright to license. + - score: '22.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: public-domain_355.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: No copyright to license. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_47.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file has been put into the public domain. + You can do whatever you want with this file. + - score: '44.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 44 + identifier: public-domain_66.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is put in the public domain. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_50.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is in the public domain + - score: '100.0' + start_line: 5 + end_line: 6 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_47.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file has been put into the public domain. + # You can do whatever you want with this file. + - score: '100.0' + start_line: 11 + end_line: 13 + matcher: 2-aho + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + - score: '100.0' + start_line: 24 + end_line: 30 + matcher: 2-aho + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_with_autoconf-exception-2.0_2.RULE + license_expression: autoconf-exception-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, the Free Software Foundation gives unlimited + # permission to copy, distribute and modify the configure scripts that + # are the output of Autoconf. You need not follow the terms of the GNU + # General Public License when using or distributing such scripts, even + # though portions of the text of Autoconf appear in them. The GNU + # General Public License (GPL) does govern all other use of the material + # that constitutes the Autoconf program. + - score: '100.0' + start_line: 32 + end_line: 33 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_221.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the LGPL, + - score: '43.75' + start_line: 5 + end_line: 7 + matcher: 3-seq + rule_length: 48 + matched_length: 21 + match_coverage: '43.75' + rule_relevance: 100 + identifier: lgpl-2.0-plus_and_lgpl-2.1.RULE + license_expression: lgpl-2.0-plus AND lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + can be found in ‘/usr/share/common-licenses/LGPL-2’ + [and] [the] [text] [of] [intl]/[COPYING].[LIB]-[2].[1] can be found in + ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '90.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_4.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_360.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The Debian packaging files are in the public domain. + You may freely use, modify, distribute, and relicense them. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '86.15' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 65 + matched_length: 56 + match_coverage: '86.15' + rule_relevance: 100 + identifier: gpl-2.0_22.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and its + documentation under the terms of the GNU General Public License is + hereby granted. No representations are made about the suitability of + this software for any purpose. It is provided "as is" without express + or implied warranty. See the GNU General Public License for more + details. + - score: '10.71' + start_line: 11 + end_line: 12 + matcher: 3-seq + rule_length: 56 + matched_length: 6 + match_coverage: '10.71' + rule_relevance: 100 + identifier: gpl-2.0-plus_767.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + of the GNU General + Public License + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 2-aho + rule_length: 227 + matched_length: 227 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_autoconf-macro-exception_4.RULE + license_expression: gpl-3.0-plus WITH autoconf-macro-exception + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General + Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program. If not, see . + + As a special exception, the respective Autoconf Macro's copyright owner + gives unlimited permission to copy, distribute and modify the configure + scripts that are the output of Autoconf when processing the Macro. You + need not follow the terms of the GNU General Public License when using + or distributing such scripts, even though portions of the text of the + Macro appear in them. The GNU General Public License (GPL) does govern + all other use of the material that constitutes the Autoconf Macro. + + This special exception to the GPL applies to versions of the Autoconf + Macro released by the Autoconf Archive. When you make and distribute a + modified version of the Autoconf Macro, you may extend this special + exception to the GPL to apply to your modified version as well. + - score: '100.0' + start_line: 27 + end_line: 28 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in ‘/usr/share/common-licenses/GPL-3’. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap_4.RULE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. This file is offered as-is, + without warranty of any kind. + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_128.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: put into the public domain, + - score: '100.0' + start_line: 12 + end_line: 12 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: are in the public domain. + - score: '100.0' + start_line: 16 + end_line: 17 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + are in the public + domain + - score: '100.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the public domain diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblzma5/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblzma5/copyright.expected.yml index 8bf16cba850..fba4c8450ad 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblzma5/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblzma5/copyright.expected.yml @@ -1,7 +1,8 @@ -- (public-domain AND lgpl-2.0 AND lgpl-2.1-plus AND gpl-2.0-plus AND (public-domain AND gpl-2.0-plus - AND gpl-3.0-plus) AND lgpl-2.1 AND (epl-2.0 OR gpl-2.0-plus OR lgpl-2.1-plus) AND gpl-3.0) - AND public-domain -- - Different licenses apply to different files in this package. Here +primary_license: (public-domain AND lgpl-2.0 AND lgpl-2.1-plus AND gpl-2.0-plus AND (public-domain + AND gpl-2.0-plus AND gpl-3.0-plus) AND lgpl-2.1 AND (epl-2.0 OR gpl-2.0-plus OR lgpl-2.1-plus) + AND gpl-3.0) AND public-domain +declared_license: + - Different licenses apply to different files in this package. Here - PD - probably-PD - GPL-2+ @@ -13,12 +14,12 @@ - none - config-h - noderivs -- (public-domain AND lgpl-2.0 AND lgpl-2.1-plus AND gpl-2.0-plus AND (public-domain AND gpl-2.0-plus - AND gpl-3.0-plus) AND lgpl-2.1 AND (epl-2.0 OR gpl-2.0-plus OR lgpl-2.1-plus) AND gpl-3.0) - AND public-domain AND gpl-2.0-plus AND (lgpl-2.1-plus AND lgpl-2.1) AND fsf-unlimited AND - (gpl-3.0-plus WITH autoconf-macro-exception AND gpl-3.0) AND fsf-ap AND (gpl-2.0 AND gpl-2.0-plus) +license_expression: (public-domain AND lgpl-2.0 AND lgpl-2.1-plus AND gpl-2.0-plus AND (public-domain + AND gpl-2.0-plus AND gpl-3.0-plus) AND lgpl-2.1 AND (epl-2.0 OR gpl-2.0-plus OR lgpl-2.1-plus) + AND gpl-3.0) AND public-domain AND gpl-2.0-plus AND (lgpl-2.1-plus AND lgpl-2.1) AND fsf-unlimited + AND (gpl-3.0-plus WITH autoconf-macro-exception AND gpl-3.0) AND fsf-ap AND (gpl-2.0 AND gpl-2.0-plus) AND (public-domain AND fsf-unlimited AND autoconf-exception-2.0 AND gpl-2.0) AND other-copyleft -- | +copyright: | 2006-2018, Lasse Collin 1999-2008, Igor Pavlov 2006, Ville Koskinen @@ -58,3 +59,962 @@ 2007-2010, Lasse Collin © 2003 Free Software Foundation, Inc. © 1989, 1991, 1999, 2007 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_285.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is in the public domain. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + are in the public + domain + - score: '100.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_54.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GNU LGPLv2. + - score: '95.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 95 + identifier: lgpl-2.1-plus_70.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPLv2.1+. + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_488.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GNU GPLv2+. + - score: '100.0' + start_line: 17 + end_line: 17 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: are in the public domain. + - score: '100.0' + start_line: '19' + end_line: '19' + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: are in the public domain. + - score: '100.0' + start_line: 21 + end_line: 22 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_and_gpl-2.0-plus_and_gpl-3.0-plus_1.RULE + license_expression: public-domain AND gpl-2.0-plus AND gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The build system contains public domain files, and files that + are under GNU GPLv2+ or GNU GPLv3+. + - score: '100.0' + start_line: 26 + end_line: 26 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: are in the public domain. + - score: '70.0' + start_line: 28 + end_line: 28 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '100.0' + start_line: 31 + end_line: 32 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_128.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + put into + the public domain. + - score: '70.0' + start_line: 32 + end_line: 32 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '100.0' + start_line: 39 + end_line: 39 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_311.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: public domain code + - score: '100.0' + start_line: 48 + end_line: 48 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_286.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: 'COPYING.LGPLv2.1: GNU Lesser General Public License version 2.1' + - score: '50.0' + start_line: 49 + end_line: 50 + matcher: 3-seq + rule_length: 22 + matched_length: 11 + match_coverage: '50.0' + rule_relevance: 100 + identifier: epl-2.0_or_gpl-2.0-plus_or_lgpl-2.1-plus_5.RULE + license_expression: epl-2.0 OR gpl-2.0-plus OR lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU General Public License version 2 + - [COPYING].[GPLv3]: GNU General Public License version + - score: '100.0' + start_line: 50 + end_line: 50 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_381.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: 'COPYING.GPLv3: GNU General Public License version 3' + - score: '100.0' + start_line: 54 + end_line: 54 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the public domain + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_128.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: put into the public domain, + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_353.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file has been put in the public domain. + You can do whatever you want with this file. + - score: '55.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: public-domain_356.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: See the note on AUTHORS, README, and so on above. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_353.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file has been put in the public domain. + You can do whatever you want with this file. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_219.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Not copyrighted -- provided to the public domain. + - score: '22.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: public-domain_355.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: No copyright to license. + - score: '22.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: public-domain_355.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: No copyright to license. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_47.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file has been put into the public domain. + You can do whatever you want with this file. + - score: '44.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 44 + identifier: public-domain_66.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is put in the public domain. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_50.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is in the public domain + - score: '100.0' + start_line: 5 + end_line: 6 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_47.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file has been put into the public domain. + # You can do whatever you want with this file. + - score: '100.0' + start_line: 11 + end_line: 13 + matcher: 2-aho + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + - score: '100.0' + start_line: 24 + end_line: 30 + matcher: 2-aho + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_with_autoconf-exception-2.0_2.RULE + license_expression: autoconf-exception-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, the Free Software Foundation gives unlimited + # permission to copy, distribute and modify the configure scripts that + # are the output of Autoconf. You need not follow the terms of the GNU + # General Public License when using or distributing such scripts, even + # though portions of the text of Autoconf appear in them. The GNU + # General Public License (GPL) does govern all other use of the material + # that constitutes the Autoconf program. + - score: '100.0' + start_line: 32 + end_line: 33 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_221.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the LGPL, + - score: '43.75' + start_line: 5 + end_line: 7 + matcher: 3-seq + rule_length: 48 + matched_length: 21 + match_coverage: '43.75' + rule_relevance: 100 + identifier: lgpl-2.0-plus_and_lgpl-2.1.RULE + license_expression: lgpl-2.0-plus AND lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + can be found in ‘/usr/share/common-licenses/LGPL-2’ + [and] [the] [text] [of] [intl]/[COPYING].[LIB]-[2].[1] can be found in + ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '90.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_4.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_360.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The Debian packaging files are in the public domain. + You may freely use, modify, distribute, and relicense them. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '86.15' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 65 + matched_length: 56 + match_coverage: '86.15' + rule_relevance: 100 + identifier: gpl-2.0_22.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and its + documentation under the terms of the GNU General Public License is + hereby granted. No representations are made about the suitability of + this software for any purpose. It is provided "as is" without express + or implied warranty. See the GNU General Public License for more + details. + - score: '10.71' + start_line: 11 + end_line: 12 + matcher: 3-seq + rule_length: 56 + matched_length: 6 + match_coverage: '10.71' + rule_relevance: 100 + identifier: gpl-2.0-plus_767.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + of the GNU General + Public License + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 2-aho + rule_length: 227 + matched_length: 227 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_autoconf-macro-exception_4.RULE + license_expression: gpl-3.0-plus WITH autoconf-macro-exception + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General + Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program. If not, see . + + As a special exception, the respective Autoconf Macro's copyright owner + gives unlimited permission to copy, distribute and modify the configure + scripts that are the output of Autoconf when processing the Macro. You + need not follow the terms of the GNU General Public License when using + or distributing such scripts, even though portions of the text of the + Macro appear in them. The GNU General Public License (GPL) does govern + all other use of the material that constitutes the Autoconf Macro. + + This special exception to the GPL applies to versions of the Autoconf + Macro released by the Autoconf Archive. When you make and distribute a + modified version of the Autoconf Macro, you may extend this special + exception to the GPL to apply to your modified version as well. + - score: '100.0' + start_line: 27 + end_line: 28 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in ‘/usr/share/common-licenses/GPL-3’. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap_4.RULE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. This file is offered as-is, + without warranty of any kind. + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_128.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: put into the public domain, + - score: '100.0' + start_line: 12 + end_line: 12 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: are in the public domain. + - score: '100.0' + start_line: 16 + end_line: 17 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + are in the public + domain + - score: '100.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the public domain diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libmount1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libmount1/copyright-detailed.expected.yml index 9d40a8e3a7a..3da8450c864 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libmount1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libmount1/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - GPL-2 - GPL-2 @@ -43,20 +44,20 @@ - LGPL-2.1+ - LGPL-3+ - MIT -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 - AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND - gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc AND mit - AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new AND - (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) - AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND - lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND + gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc + AND mit AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new + AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND + lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-3.0-plus AND lgpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) -- | +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -249,3 +250,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3) Neither the name of the [ORGANIZATION] 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 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. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libmount1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libmount1/copyright.expected.yml index f705a1146cf..4fa8dffb131 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libmount1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libmount1/copyright.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - public-domain - BSD-4-clause @@ -11,10 +12,10 @@ - GPL-3+ - LGPL - LGPL-3+ -- (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 AND public-domain AND bsd-original-uc AND mit AND bsd-simplified - AND bsd-new AND (lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1) AND (gpl-3.0-plus - AND gpl-3.0) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND lgpl-3.0-plus -- | +license_expression: (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 AND public-domain AND bsd-original-uc + AND mit AND bsd-simplified AND bsd-new AND (lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND lgpl-3.0-plus +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -194,3 +195,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3) Neither the name of the [ORGANIZATION] 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 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. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnettle8/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnettle8/copyright-detailed.expected.yml index d5e5dde1d36..710505c86b8 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnettle8/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnettle8/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- lgpl-3.0-plus OR gpl-2.0-plus -- - LGPL-3+ or GPL-2+ +primary_license: lgpl-3.0-plus OR gpl-2.0-plus +declared_license: + - LGPL-3+ or GPL-2+ - LGPL-3+ or GPL-2+ - LGPL-3+ or GPL-2+ - LGPL-3+ or GPL-2+ @@ -70,10 +71,11 @@ - LGPL-3+ - GPL-2+ - Expat -- ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus - OR gpl-2.0-plus) AND (other-permissive AND public-domain) AND public-domain AND lgpl-2.0-plus - AND mit AND public-domain AND public-domain AND public-domain AND public-domain AND public-domain - AND lgpl-2.0-plus) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) +license_expression: ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND + ((lgpl-3.0-plus OR gpl-2.0-plus) AND (other-permissive AND public-domain) AND public-domain + AND lgpl-2.0-plus AND mit AND public-domain AND public-domain AND public-domain AND public-domain + AND public-domain AND lgpl-2.0-plus) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus + AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus @@ -90,14 +92,14 @@ AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) - AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND (lgpl-2.0-plus - AND gpl-2.0-plus AND lgpl-2.0) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND + AND (lgpl-2.0-plus AND gpl-2.0-plus AND lgpl-2.0) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR + (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus - AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) - AND mit AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus + AND gpl-2.0-plus)) AND mit AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) + AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) @@ -118,12 +120,12 @@ OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus - AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) - OR (gpl-2.0-plus AND gpl-2.0-plus)) AND (gpl-3.0-plus AND gpl-3.0-plus WITH tex-exception) - AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus - AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND (gpl-2.0-plus AND gpl-2.0-plus) - AND autoconf-simple-exception-2.0 AND public-domain AND (gpl-2.0 AND gpl-2.0) AND fsf-ap -- | + AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND (gpl-3.0-plus AND gpl-3.0-plus + WITH tex-exception) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) + AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND (gpl-2.0-plus + AND gpl-2.0-plus) AND autoconf-simple-exception-2.0 AND public-domain AND (gpl-2.0 AND gpl-2.0) + AND fsf-ap +copyright: | © 2001-2020 Niels Möller Some parts are Copyright © the Free Software Foundation and various people. See below and source code comments for details. @@ -251,3 +253,541 @@ 2002 Timshel Knoll 2007 Magnus Holmgren 2007 Magnus Holmgren +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '97.81' + start_line: 1 + end_line: 17 + matcher: 3-seq + rule_length: 137 + matched_length: 134 + match_coverage: '97.81' + rule_relevance: 100 + identifier: gpl-2.0-plus_28.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU [Library] General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU [Library] General Public License for more details. + + You should have received a copy of the GNU [Library] General Public License + along with this [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian GNU/Linux systems, the complete text of the GNU [Library] + General Public License, [version] [2], can be found in + /usr/share/common-licenses/ + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_71.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Library + General Public License, version 2, + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 137 + matched_length: 137 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_tex-exception_5.RULE + license_expression: gpl-3.0-plus WITH tex-exception + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This texinfo.tex file is free software: you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This texinfo.tex file is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception, when this file is read by TeX when processing + a Texinfo source document, you may use the result without + restriction. (This has been our intent since Texinfo was invented.) + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: autoconf-simple-exception-2.0.LICENSE + license_expression: autoconf-simple-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that program. + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: public-domain_354.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + I believe that most files in debian/ hardly contains any creative + expression eligible for copyright. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '93.38' + start_line: 1 + end_line: 17 + matcher: 3-seq + rule_length: 136 + matched_length: 127 + match_coverage: '93.38' + rule_relevance: 100 + identifier: gpl-2.0_54.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June. 1991. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin [Street], Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License, [version] [2], can be found in + /usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap_3.RULE + license_expression: fsf-ap + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '90.77' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 130 + matched_length: 118 + match_coverage: '90.77' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 3 of the License, or (at your + option) any later version. + + [GNU] [Nettle] is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this [library]; if not, see http://www.gnu.org/licenses/. + + On Debian [GNU]/[Linux] [systems], [the] [complete] [text] [of] [the] [newest] [version] + of the GNU Lesser General Public License can be found in + /usr/share/common-licenses/LGPL. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '96.35' + start_line: 1 + end_line: 18 + matcher: 3-seq + rule_length: 137 + matched_length: 132 + match_coverage: '96.35' + rule_relevance: 100 + identifier: gpl-2.0-plus_28.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + [GNU] [Nettle] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin [Street], Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian GNU/Linux systems, the complete text [of] [the] [newest] [version] + of the GNU General Public License can be found in + /usr/share/common-licenses/GPL. + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '97.56' + start_line: 1 + end_line: 4 + matcher: 3-seq + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_or_gpl-2.0-plus_15.RULE + license_expression: lgpl-3.0-plus OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is dual licenced under the GNU General Public License version + 2 or later, and the GNU Lesser General Public License version 3 or + later. When using [Nettle], you must comply fully with all conditions + of at least one of these licenses. + - score: '100.0' + start_line: 4 + end_line: 7 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_and_public-domain_1.RULE + license_expression: other-permissive AND public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + few of the individual files are + licensed under more permissive terms, or in the public domain. To + find the current status of particular files, you have to read the + copyright notices at the top of the files. + - score: '100.0' + start_line: 38 + end_line: 38 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 46 + end_line: 46 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_221.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the LGPL, + - score: '100.0' + start_line: 51 + end_line: 51 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_384.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is released under the MIT license. + - score: '70.0' + start_line: 56 + end_line: 56 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain). + - score: '100.0' + start_line: 60 + end_line: 60 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 65 + end_line: 65 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 78 + end_line: 78 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the public domain), + - score: '100.0' + start_line: 96 + end_line: 96 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 97 + end_line: 97 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_221.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the LGPL. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnettle8/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnettle8/copyright.expected.yml index df52af7aa59..c88a4fcd8d3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnettle8/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnettle8/copyright.expected.yml @@ -1,5 +1,6 @@ -- lgpl-3.0-plus OR gpl-2.0-plus -- - LGPL-3+ or GPL-2+ +primary_license: lgpl-3.0-plus OR gpl-2.0-plus +declared_license: + - LGPL-3+ or GPL-2+ - LGPL-2+ - Expat - GPL-3+ @@ -8,11 +9,11 @@ - GPL-2 - GAP - LGPL-3+ -- (lgpl-3.0-plus OR gpl-2.0-plus) AND ((lgpl-3.0-plus OR gpl-2.0-plus) AND (other-permissive - AND public-domain) AND public-domain AND lgpl-2.0-plus AND mit) AND (lgpl-2.0-plus AND gpl-2.0-plus - AND lgpl-2.0) AND mit AND (gpl-3.0-plus AND gpl-3.0-plus WITH tex-exception) AND gpl-2.0-plus - AND autoconf-simple-exception-2.0 AND gpl-2.0 AND fsf-ap -- | +license_expression: (lgpl-3.0-plus OR gpl-2.0-plus) AND ((lgpl-3.0-plus OR gpl-2.0-plus) AND + (other-permissive AND public-domain) AND public-domain AND lgpl-2.0-plus AND mit) AND (lgpl-2.0-plus + AND gpl-2.0-plus AND lgpl-2.0) AND mit AND (gpl-3.0-plus AND gpl-3.0-plus WITH tex-exception) + AND gpl-2.0-plus AND autoconf-simple-exception-2.0 AND gpl-2.0 AND fsf-ap +copyright: | © 2001-2020 Niels Möller Some parts are Copyright © the Free Software Foundation and various people. See below and source code comments for details. @@ -115,3 +116,541 @@ © 1992-2020 Free Software Foundation, Inc. 2002 Timshel Knoll 2007 Magnus Holmgren +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '97.81' + start_line: 1 + end_line: 17 + matcher: 3-seq + rule_length: 137 + matched_length: 134 + match_coverage: '97.81' + rule_relevance: 100 + identifier: gpl-2.0-plus_28.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU [Library] General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU [Library] General Public License for more details. + + You should have received a copy of the GNU [Library] General Public License + along with this [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian GNU/Linux systems, the complete text of the GNU [Library] + General Public License, [version] [2], can be found in + /usr/share/common-licenses/ + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_71.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Library + General Public License, version 2, + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 137 + matched_length: 137 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_tex-exception_5.RULE + license_expression: gpl-3.0-plus WITH tex-exception + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This texinfo.tex file is free software: you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This texinfo.tex file is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception, when this file is read by TeX when processing + a Texinfo source document, you may use the result without + restriction. (This has been our intent since Texinfo was invented.) + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: autoconf-simple-exception-2.0.LICENSE + license_expression: autoconf-simple-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that program. + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: public-domain_354.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + I believe that most files in debian/ hardly contains any creative + expression eligible for copyright. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '93.38' + start_line: 1 + end_line: 17 + matcher: 3-seq + rule_length: 136 + matched_length: 127 + match_coverage: '93.38' + rule_relevance: 100 + identifier: gpl-2.0_54.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June. 1991. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin [Street], Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License, [version] [2], can be found in + /usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap_3.RULE + license_expression: fsf-ap + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '90.77' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 130 + matched_length: 118 + match_coverage: '90.77' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 3 of the License, or (at your + option) any later version. + + [GNU] [Nettle] is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this [library]; if not, see http://www.gnu.org/licenses/. + + On Debian [GNU]/[Linux] [systems], [the] [complete] [text] [of] [the] [newest] [version] + of the GNU Lesser General Public License can be found in + /usr/share/common-licenses/LGPL. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '96.35' + start_line: 1 + end_line: 18 + matcher: 3-seq + rule_length: 137 + matched_length: 132 + match_coverage: '96.35' + rule_relevance: 100 + identifier: gpl-2.0-plus_28.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + [GNU] [Nettle] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin [Street], Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian GNU/Linux systems, the complete text [of] [the] [newest] [version] + of the GNU General Public License can be found in + /usr/share/common-licenses/GPL. + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '97.56' + start_line: 1 + end_line: 4 + matcher: 3-seq + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_or_gpl-2.0-plus_15.RULE + license_expression: lgpl-3.0-plus OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is dual licenced under the GNU General Public License version + 2 or later, and the GNU Lesser General Public License version 3 or + later. When using [Nettle], you must comply fully with all conditions + of at least one of these licenses. + - score: '100.0' + start_line: 4 + end_line: 7 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_and_public-domain_1.RULE + license_expression: other-permissive AND public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + few of the individual files are + licensed under more permissive terms, or in the public domain. To + find the current status of particular files, you have to read the + copyright notices at the top of the files. + - score: '100.0' + start_line: 38 + end_line: 38 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 46 + end_line: 46 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_221.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the LGPL, + - score: '100.0' + start_line: 51 + end_line: 51 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_384.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is released under the MIT license. + - score: '70.0' + start_line: 56 + end_line: 56 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain). + - score: '100.0' + start_line: 60 + end_line: 60 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 65 + end_line: 65 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 78 + end_line: 78 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the public domain), + - score: '100.0' + start_line: 96 + end_line: 96 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 97 + end_line: 97 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_221.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the LGPL. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnsl2/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnsl2/copyright-detailed.expected.yml index 035f051f5c8..40b17a1aaa9 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnsl2/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnsl2/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- None -- - LGPL-2.1+ +primary_license: None +declared_license: + - LGPL-2.1+ - LGPL-2.1 - LGPL-2.1+ - BSD-3-clause @@ -25,13 +26,13 @@ - permissive-configure - permissive-fsf - permissive-makefile-in -- (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1 AND lgpl-3.0-plus AND gpl-1.0-plus - AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND bsd-new AND fsf-ap AND - fsf-unlimited-no-warranty AND fsf-unlimited-no-warranty AND (gpl-3.0-plus WITH autoconf-simple-exception - AND gpl-3.0) AND fsf-free AND (gpl-2.0-plus WITH autoconf-simple-exception-2.0 AND gpl-2.0) - AND x11-xconsortium AND (gpl-2.0-plus WITH libtool-exception-2.0 AND gpl-2.0) AND fsf-unlimited - AND fsf-ap -- | +license_expression: (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1 AND lgpl-3.0-plus + AND gpl-1.0-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND bsd-new + AND fsf-ap AND fsf-unlimited-no-warranty AND fsf-unlimited-no-warranty AND (gpl-3.0-plus WITH + autoconf-simple-exception AND gpl-3.0) AND fsf-free AND (gpl-2.0-plus WITH autoconf-simple-exception-2.0 + AND gpl-2.0) AND x11-xconsortium AND (gpl-2.0-plus WITH libtool-exception-2.0 AND gpl-2.0) + AND fsf-unlimited AND fsf-ap +copyright: | 2020, Aurelien Jarno 2014, 2015, 2017-2018, Thorsten Kukuk 1996-2015, Free Software Foundation, Inc. @@ -46,3 +47,488 @@ 1996-2015 Free Software Foundation, Inc. 1995-2020 Free Software Foundation, Inc. 1995-1997, 2000-2007, 2009-2010 Ulrich Drepper +matches: + - score: '100.0' + start_line: 1 + end_line: 26 + matcher: 1-hash + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_591.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + * Neither the name of the "Oracle America, Inc." 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 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. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_with_autoconf-simple-exception-2.0_10.RULE + license_expression: gpl-2.0-plus WITH autoconf-simple-exception-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that program. + - score: '100.0' + start_line: '19' + end_line: 20 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '86.47' + start_line: 1 + end_line: 17 + matcher: 3-seq + rule_length: 170 + matched_length: 147 + match_coverage: '86.47' + rule_relevance: 100 + identifier: gpl-2.0-plus_with_libtool-exception-2.0_6.RULE + license_expression: gpl-2.0-plus WITH libtool-exception-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Libtool is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + As a special exception to the GNU General Public License, + if you distribute this file as part of a program or library that + is built using GNU Libtool, you may include this file under the + same distribution terms that you use for the rest of that program. + + GNU Libtool is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: '19' + end_line: 20 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 2-aho + rule_length: 162 + matched_length: 162 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_autoconf-simple-exception_1.RULE + license_expression: gpl-3.0-plus WITH autoconf-simple-exception + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, see . + + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that + program. This Exception is an additional permission under section 7 + of the GNU General Public License, version 3 ("GPLv3"). + - score: '100.0' + start_line: 21 + end_line: 22 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License + Version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '53.85' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 130 + matched_length: 70 + match_coverage: '53.85' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software: you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + [in] [version] [2].[1] as published by the Free Software Foundation. + + [This] [library] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See [the] + [GNU] [General] [Public] [License] [for] [more] [details]. + + [You] [should] [have] [received] a [copy] [of] [the] [GNU] [General] [Public] [License] + [along] [with] [this] [program]. [If] [not], [see] <[http]://[www].[gnu].[org]/[licenses]/>. + + [On] [Debian] [systems], [the] [complete] [text] [of] the GNU Lesser General Public + License [version] [2].[1] can be found in "/usr/share/common-licenses/LGPL- + - score: '100.0' + start_line: 10 + end_line: 11 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_35.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 13 + end_line: 14 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_56.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + . + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 63 + matched_length: 63 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.LICENSE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY, to the extent permitted by law; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free.LICENSE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap.LICENSE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. This file is offered as-is, + without any warranty. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty_2.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This Makefile.in is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY, to the extent permitted by law; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnsl2/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnsl2/copyright.expected.yml index fedbbf0e423..02fdc30f8e4 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnsl2/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnsl2/copyright.expected.yml @@ -1,5 +1,6 @@ -- None -- - LGPL-2.1 +primary_license: None +declared_license: + - LGPL-2.1 - LGPL-2.1+ - BSD-3-clause - permissive-fsf @@ -11,11 +12,11 @@ - MIT - GPL-2+-libtool-exception - permissive-autoconf-m4 -- (lgpl-2.1 AND lgpl-3.0-plus AND gpl-1.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1) AND bsd-new - AND fsf-ap AND fsf-unlimited-no-warranty AND (gpl-3.0-plus WITH autoconf-simple-exception +license_expression: (lgpl-2.1 AND lgpl-3.0-plus AND gpl-1.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1) + AND bsd-new AND fsf-ap AND fsf-unlimited-no-warranty AND (gpl-3.0-plus WITH autoconf-simple-exception AND gpl-3.0) AND fsf-free AND (gpl-2.0-plus WITH autoconf-simple-exception-2.0 AND gpl-2.0) AND x11-xconsortium AND (gpl-2.0-plus WITH libtool-exception-2.0 AND gpl-2.0) AND fsf-unlimited -- | +copyright: | 2014, 2015, 2017-2018, Thorsten Kukuk 1996-2015, Free Software Foundation, Inc. 2010, Oracle America, Inc. @@ -29,3 +30,488 @@ 1996-2015 Free Software Foundation, Inc. 1995-2020 Free Software Foundation, Inc. 1995-1997, 2000-2007, 2009-2010 Ulrich Drepper +matches: + - score: '100.0' + start_line: 1 + end_line: 26 + matcher: 1-hash + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_591.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + * Neither the name of the "Oracle America, Inc." 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 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. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_with_autoconf-simple-exception-2.0_10.RULE + license_expression: gpl-2.0-plus WITH autoconf-simple-exception-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that program. + - score: '100.0' + start_line: '19' + end_line: 20 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '86.47' + start_line: 1 + end_line: 17 + matcher: 3-seq + rule_length: 170 + matched_length: 147 + match_coverage: '86.47' + rule_relevance: 100 + identifier: gpl-2.0-plus_with_libtool-exception-2.0_6.RULE + license_expression: gpl-2.0-plus WITH libtool-exception-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Libtool is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + As a special exception to the GNU General Public License, + if you distribute this file as part of a program or library that + is built using GNU Libtool, you may include this file under the + same distribution terms that you use for the rest of that program. + + GNU Libtool is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: '19' + end_line: 20 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 2-aho + rule_length: 162 + matched_length: 162 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_autoconf-simple-exception_1.RULE + license_expression: gpl-3.0-plus WITH autoconf-simple-exception + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, see . + + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that + program. This Exception is an additional permission under section 7 + of the GNU General Public License, version 3 ("GPLv3"). + - score: '100.0' + start_line: 21 + end_line: 22 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License + Version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '53.85' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 130 + matched_length: 70 + match_coverage: '53.85' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software: you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + [in] [version] [2].[1] as published by the Free Software Foundation. + + [This] [library] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See [the] + [GNU] [General] [Public] [License] [for] [more] [details]. + + [You] [should] [have] [received] a [copy] [of] [the] [GNU] [General] [Public] [License] + [along] [with] [this] [program]. [If] [not], [see] <[http]://[www].[gnu].[org]/[licenses]/>. + + [On] [Debian] [systems], [the] [complete] [text] [of] the GNU Lesser General Public + License [version] [2].[1] can be found in "/usr/share/common-licenses/LGPL- + - score: '100.0' + start_line: 10 + end_line: 11 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_35.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 13 + end_line: 14 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_56.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + . + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 63 + matched_length: 63 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.LICENSE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY, to the extent permitted by law; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free.LICENSE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap.LICENSE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. This file is offered as-is, + without any warranty. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty_2.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This Makefile.in is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY, to the extent permitted by law; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libp11-kit0/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libp11-kit0/copyright-detailed.expected.yml index affde70ce4e..591d4407b6f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libp11-kit0/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libp11-kit0/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- bsd-new -- - BSD-3-Clause +primary_license: bsd-new +declared_license: + - BSD-3-Clause - permissive-like-automake-output - BSD-3-Clause - BSD-3-Clause @@ -13,10 +14,10 @@ - BSD-3-Clause - same-as-rest-of-p11kit - BSD-3-Clause -- bsd-new AND fsf-unlimited-no-warranty AND bsd-new AND bsd-new AND mit AND isc AND (isc AND - ibm-dhcp) AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND free-unknown - AND free-unknown -- | +license_expression: bsd-new AND fsf-unlimited-no-warranty AND bsd-new AND bsd-new AND mit AND + isc AND (isc AND ibm-dhcp) AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND + bsd-new AND free-unknown AND free-unknown +copyright: | 2011 Collabora Ltd. 2004, 2005, 2007, 2008, 2012, 2013 Stefan Walter 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Red Hat, Inc. @@ -46,3 +47,220 @@ 2012 Rosetta Contributors and Canonical Ltd 2012 Eerik Uusi-Illikainen https://launchpad.net/~ekiuusi-4, 2012 Timo Jyrinki , 2012 +matches: + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. */ + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_20.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL ISC 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 THIS SOFTWARE. + - score: '100.0' + start_line: 3 + end_line: 14 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + CONSORTIUM 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 THIS + SOFTWARE. + - score: '100.0' + start_line: '19' + end_line: 38 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ibm-dhcp.LICENSE + license_expression: ibm-dhcp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + International Business Machines, Inc. (hereinafter called IBM) grants + permission under its copyrights to use, copy, modify, and distribute this + Software with or without fee, provided that the above copyright notice and + all paragraphs of this notice appear in all copies, and that the name of IBM + not be used in connection with the marketing of any product incorporating + the Software or modifications thereof, without specific, written prior + permission. + + To the extent it has a right to do so, IBM grants an immunity from suit + under its patents, if any, for the use, sale or manufacture of products to + the extent that such products are used for performing Domain Name System + dynamic updates in TCP/IP networks by means of the Software. No immunity is + granted for any product per se or for any other function of any product. + + THE SOFTWARE IS PROVIDED "AS IS", AND IBM DISCLAIMS ALL WARRANTIES, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, + DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ARISING + OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN + IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES. + - score: '76.15' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 90 + identifier: free-unknown_79.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is distributed under the same license as the [p11]-[kit] + package. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '80.0' + start_line: 12 + end_line: 21 + matcher: 2-aho + rule_length: 86 + matched_length: 86 + match_coverage: '100.0' + rule_relevance: 80 + identifier: mit_17.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation files + * (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, + * subject to the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + - score: '82.5' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 12 + matched_length: 11 + match_coverage: '91.67' + rule_relevance: 90 + identifier: free-unknown_80.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is distributed under the same license as the + [debian] [files] [of] [the] [p11]-[kit] package. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libp11-kit0/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libp11-kit0/copyright.expected.yml index caccf770cb1..7d46dab73f0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libp11-kit0/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libp11-kit0/copyright.expected.yml @@ -1,11 +1,13 @@ -- bsd-new -- - BSD-3-Clause +primary_license: bsd-new +declared_license: + - BSD-3-Clause - permissive-like-automake-output - ISC - ISC+IBM - same-as-rest-of-p11kit -- bsd-new AND fsf-unlimited-no-warranty AND mit AND isc AND (isc AND ibm-dhcp) AND free-unknown -- | +license_expression: bsd-new AND fsf-unlimited-no-warranty AND mit AND isc AND (isc AND ibm-dhcp) + AND free-unknown +copyright: | 2011 Collabora Ltd. 2004, 2005, 2007, 2008, 2012, 2013 Stefan Walter 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Red Hat, Inc. @@ -33,3 +35,220 @@ 2012 Rosetta Contributors and Canonical Ltd 2012 Eerik Uusi-Illikainen https://launchpad.net/~ekiuusi-4, 2012 Timo Jyrinki , 2012 +matches: + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. */ + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_20.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL ISC 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 THIS SOFTWARE. + - score: '100.0' + start_line: 3 + end_line: 14 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + CONSORTIUM 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 THIS + SOFTWARE. + - score: '100.0' + start_line: '19' + end_line: 38 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ibm-dhcp.LICENSE + license_expression: ibm-dhcp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + International Business Machines, Inc. (hereinafter called IBM) grants + permission under its copyrights to use, copy, modify, and distribute this + Software with or without fee, provided that the above copyright notice and + all paragraphs of this notice appear in all copies, and that the name of IBM + not be used in connection with the marketing of any product incorporating + the Software or modifications thereof, without specific, written prior + permission. + + To the extent it has a right to do so, IBM grants an immunity from suit + under its patents, if any, for the use, sale or manufacture of products to + the extent that such products are used for performing Domain Name System + dynamic updates in TCP/IP networks by means of the Software. No immunity is + granted for any product per se or for any other function of any product. + + THE SOFTWARE IS PROVIDED "AS IS", AND IBM DISCLAIMS ALL WARRANTIES, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, + DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ARISING + OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN + IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES. + - score: '76.15' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 90 + identifier: free-unknown_79.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is distributed under the same license as the [p11]-[kit] + package. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '80.0' + start_line: 12 + end_line: 21 + matcher: 2-aho + rule_length: 86 + matched_length: 86 + match_coverage: '100.0' + rule_relevance: 80 + identifier: mit_17.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation files + * (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, + * subject to the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + - score: '82.5' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 12 + matched_length: 11 + match_coverage: '91.67' + rule_relevance: 90 + identifier: free-unknown_80.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is distributed under the same license as the + [debian] [files] [of] [the] [p11]-[kit] package. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpam-modules/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpam-modules/copyright-detailed.expected.yml index 236a0d45dd3..3d33083732b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpam-modules/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpam-modules/copyright-detailed.expected.yml @@ -1,7 +1,7 @@ -- -- -- (bsd-new OR lgpl-2.0-plus) AND gpl-1.0-plus -- | +primary_license: +declared_license: +license_expression: (bsd-new OR lgpl-2.0-plus) AND gpl-1.0-plus +copyright: | Copyright (c) 1994, 1995, 1996 Olaf Kirch, Copyright (c) 1995 Wietse Venema Copyright (c) 1995, 2001-2008 Red Hat, Inc. @@ -19,3 +19,61 @@ Copyright (c) 2003 Nalin Dahyabhai Copyright (c) 2005-2008 Thorsten Kukuk Copyright (c) 2005 Darren Tucker +matches: + - score: '98.6' + start_line: 25 + end_line: 63 + matcher: 3-seq + rule_length: 281 + matched_length: 281 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_lgpl-2.0-plus_4.RULE + license_expression: bsd-new OR lgpl-2.0-plus + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Unless otherwise *explicitly* stated the following text describes the\n licensed\ + \ conditions under which the contents of this [Linux]-[PAM] release\n may be distributed:\n\ + \ \n -------------------------------------------------------------------------\n Redistribution\ + \ and use in source and binary forms of [Linux]-[PAM], with\n or without modification,\ + \ are permitted provided that the following\n conditions are met:\n \n 1. Redistributions\ + \ of source code must retain any existing copyright\n notice, and this entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n \n 2. Redistributions\ + \ in binary form must reproduce all prior and current\n copyright notices, this list\ + \ of conditions, and the following\n disclaimer in the documentation and/or other materials\ + \ provided\n with the distribution.\n \n 3. The name of any author may not be used\ + \ to endorse or promote\n products derived from this software without their specific\ + \ prior\n written permission.\n \n ALTERNATIVELY, this product may be distributed under\ + \ the terms of the\n GNU General Public License, in which case the provisions of the GNU\n\ + \ GPL are required INSTEAD OF the above restrictions. (This clause is\n necessary due\ + \ to a potential conflict between the GNU GPL and the\n restrictions contained in a BSD-style\ + \ copyright.)\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE\ + \ FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\ + \ (INCLUDING,\n BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS\n\ + \ OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY\ + \ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF SUCH\n DAMAGE." + - score: '100.0' + start_line: 66 + end_line: 67 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_10.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpam-modules/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpam-modules/copyright.expected.yml index 236a0d45dd3..3d33083732b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpam-modules/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpam-modules/copyright.expected.yml @@ -1,7 +1,7 @@ -- -- -- (bsd-new OR lgpl-2.0-plus) AND gpl-1.0-plus -- | +primary_license: +declared_license: +license_expression: (bsd-new OR lgpl-2.0-plus) AND gpl-1.0-plus +copyright: | Copyright (c) 1994, 1995, 1996 Olaf Kirch, Copyright (c) 1995 Wietse Venema Copyright (c) 1995, 2001-2008 Red Hat, Inc. @@ -19,3 +19,61 @@ Copyright (c) 2003 Nalin Dahyabhai Copyright (c) 2005-2008 Thorsten Kukuk Copyright (c) 2005 Darren Tucker +matches: + - score: '98.6' + start_line: 25 + end_line: 63 + matcher: 3-seq + rule_length: 281 + matched_length: 281 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_lgpl-2.0-plus_4.RULE + license_expression: bsd-new OR lgpl-2.0-plus + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Unless otherwise *explicitly* stated the following text describes the\n licensed\ + \ conditions under which the contents of this [Linux]-[PAM] release\n may be distributed:\n\ + \ \n -------------------------------------------------------------------------\n Redistribution\ + \ and use in source and binary forms of [Linux]-[PAM], with\n or without modification,\ + \ are permitted provided that the following\n conditions are met:\n \n 1. Redistributions\ + \ of source code must retain any existing copyright\n notice, and this entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n \n 2. Redistributions\ + \ in binary form must reproduce all prior and current\n copyright notices, this list\ + \ of conditions, and the following\n disclaimer in the documentation and/or other materials\ + \ provided\n with the distribution.\n \n 3. The name of any author may not be used\ + \ to endorse or promote\n products derived from this software without their specific\ + \ prior\n written permission.\n \n ALTERNATIVELY, this product may be distributed under\ + \ the terms of the\n GNU General Public License, in which case the provisions of the GNU\n\ + \ GPL are required INSTEAD OF the above restrictions. (This clause is\n necessary due\ + \ to a potential conflict between the GNU GPL and the\n restrictions contained in a BSD-style\ + \ copyright.)\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE\ + \ FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\ + \ (INCLUDING,\n BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS\n\ + \ OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY\ + \ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF SUCH\n DAMAGE." + - score: '100.0' + start_line: 66 + end_line: 67 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_10.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre2-8-0/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre2-8-0/copyright-detailed.expected.yml index e0a41ed52ba..1d0f9a78452 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre2-8-0/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre2-8-0/copyright-detailed.expected.yml @@ -1,7 +1,105 @@ -- -- -- pcre AND bsd-new AND public-domain AND bsd-new AND bsd-new -- | +primary_license: +declared_license: +license_expression: pcre AND bsd-new AND public-domain AND bsd-new AND bsd-new +copyright: | Copyright (c) 1997-2015 University of Cambridge Copyright (c) 2010-2015 Zoltan Herczeg Copyright (c) 2009-2015 Zoltan Herczeg +matches: + - score: '66.0' + start_line: 3 + end_line: 5 + matcher: 2-aho + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 66 + identifier: pcre_7.RULE + license_expression: pcre + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/\n \n PCRE2 LICENCE" + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_398.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: distributed under the terms of the "BSD" licence, + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_328.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: not copyrighted and is in the public domain. + - score: '99.0' + start_line: 58 + end_line: 58 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-new_898.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: THE "BSD" LICENCE + - score: '99.53' + start_line: 61 + end_line: 85 + matcher: 3-seq + rule_length: 214 + matched_length: 213 + match_coverage: '99.53' + rule_relevance: 100 + identifier: bsd-new_879.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are met:\n \n * Redistributions\ + \ of source code must retain the above copyright notice,\n this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ \n * Neither the name of the University of Cambridge nor the names of [any]\n \ + \ contributors may be used to endorse or promote products derived from this\n \ + \ software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR\ + \ CONTRIBUTORS BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n\ + \ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n SUBSTITUTE GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER CAUSED\ + \ AND ON ANY THEORY OF LIABILITY, WHETHER IN\n CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre2-8-0/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre2-8-0/copyright.expected.yml index bcc3f037cb7..d6b0ae00ba6 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre2-8-0/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre2-8-0/copyright.expected.yml @@ -1,7 +1,105 @@ -- -- -- pcre AND bsd-new AND public-domain -- | +primary_license: +declared_license: +license_expression: pcre AND bsd-new AND public-domain +copyright: | Copyright (c) 1997-2015 University of Cambridge Copyright (c) 2010-2015 Zoltan Herczeg Copyright (c) 2009-2015 Zoltan Herczeg +matches: + - score: '66.0' + start_line: 3 + end_line: 5 + matcher: 2-aho + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 66 + identifier: pcre_7.RULE + license_expression: pcre + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/\n \n PCRE2 LICENCE" + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_398.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: distributed under the terms of the "BSD" licence, + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_328.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: not copyrighted and is in the public domain. + - score: '99.0' + start_line: 58 + end_line: 58 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-new_898.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: THE "BSD" LICENCE + - score: '99.53' + start_line: 61 + end_line: 85 + matcher: 3-seq + rule_length: 214 + matched_length: 213 + match_coverage: '99.53' + rule_relevance: 100 + identifier: bsd-new_879.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are met:\n \n * Redistributions\ + \ of source code must retain the above copyright notice,\n this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ \n * Neither the name of the University of Cambridge nor the names of [any]\n \ + \ contributors may be used to endorse or promote products derived from this\n \ + \ software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR\ + \ CONTRIBUTORS BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n\ + \ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n SUBSTITUTE GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER CAUSED\ + \ AND ON ANY THEORY OF LIABILITY, WHETHER IN\n CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre3/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre3/copyright-detailed.expected.yml index 410b566fab5..ff48e86b2f4 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre3/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre3/copyright-detailed.expected.yml @@ -1,6 +1,91 @@ -- -- -- pcre AND bsd-new AND bsd-new AND bsd-new -- | +primary_license: +declared_license: +license_expression: pcre AND bsd-new AND bsd-new AND bsd-new +copyright: | Copyright (c) 1997-2007 University of Cambridge Copyright (c) 2007, Google Inc. +matches: + - score: '11.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: pcre_4.RULE + license_expression: pcre + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: PCRE LICENCE + - score: '100.0' + start_line: 13 + end_line: 15 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_645.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + PCRE is distributed under the terms of the "BSD" licence, as + specified below. The documentation for PCRE, supplied in the "doc" + directory, is distributed under the same terms as the software itself. + - score: '99.0' + start_line: 44 + end_line: 44 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-new_898.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: THE "BSD" LICENCE + - score: '100.0' + start_line: 47 + end_line: 72 + matcher: 2-aho + rule_length: 220 + matched_length: 220 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_899.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are met:\n \n * Redistributions\ + \ of source code must retain the above copyright notice,\n this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ \n * Neither the name of the University of Cambridge nor the name of Google\n \ + \ Inc. nor the names of their contributors may be used to endorse or\n promote\ + \ products derived from this software without specific prior\n written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n AND\ + \ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT\ + \ SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF\n SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION)\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS\ + \ SOFTWARE, EVEN IF ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre3/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre3/copyright.expected.yml index cbbc6134bb3..24d4aab3b1d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre3/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre3/copyright.expected.yml @@ -1,6 +1,91 @@ -- -- -- pcre AND bsd-new -- | +primary_license: +declared_license: +license_expression: pcre AND bsd-new +copyright: | Copyright (c) 1997-2007 University of Cambridge Copyright (c) 2007, Google Inc. +matches: + - score: '11.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: pcre_4.RULE + license_expression: pcre + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: PCRE LICENCE + - score: '100.0' + start_line: 13 + end_line: 15 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_645.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + PCRE is distributed under the terms of the "BSD" licence, as + specified below. The documentation for PCRE, supplied in the "doc" + directory, is distributed under the same terms as the software itself. + - score: '99.0' + start_line: 44 + end_line: 44 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-new_898.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: THE "BSD" LICENCE + - score: '100.0' + start_line: 47 + end_line: 72 + matcher: 2-aho + rule_length: 220 + matched_length: 220 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_899.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are met:\n \n * Redistributions\ + \ of source code must retain the above copyright notice,\n this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ \n * Neither the name of the University of Cambridge nor the name of Google\n \ + \ Inc. nor the names of their contributors may be used to endorse or\n promote\ + \ products derived from this software without specific prior\n written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n AND\ + \ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT\ + \ SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF\n SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION)\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS\ + \ SOFTWARE, EVEN IF ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libseccomp2/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libseccomp2/copyright-detailed.expected.yml index d7800304f4e..df40f1edbaa 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libseccomp2/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libseccomp2/copyright-detailed.expected.yml @@ -1,12 +1,13 @@ -- lgpl-2.1 AND lgpl-3.0-plus -- - LGPL-2.1 +primary_license: lgpl-2.1 AND lgpl-3.0-plus +declared_license: - LGPL-2.1 - LGPL-2.1 - LGPL-2.1 - LGPL-2.1 -- (lgpl-2.1 AND lgpl-3.0-plus) AND (lgpl-2.1 AND lgpl-3.0-plus) AND (lgpl-2.1 AND lgpl-3.0-plus) - AND (lgpl-2.1 AND lgpl-3.0-plus) -- | + - LGPL-2.1 +license_expression: (lgpl-2.1 AND lgpl-3.0-plus) AND (lgpl-2.1 AND lgpl-3.0-plus) AND (lgpl-2.1 + AND lgpl-3.0-plus) AND (lgpl-2.1 AND lgpl-3.0-plus) +copyright: | 2012 Paul Moore 2012 Ashley Lai 2012 Corey Bryant @@ -15,3 +16,50 @@ 2013 Vitaly Shukela 2006 Bob Jenkins 2012 Kees Cook +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '80.15' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 136 + matched_length: 109 + match_coverage: '80.15' + rule_relevance: 100 + identifier: lgpl-3.0-plus_96.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the terms [of] [version] [2].[1] of the GNU Lesser General Public License as + published by the Free Software Foundation. + + This library is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License + for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this library; if not, see . + + On Debian systems, the [complete] text of the GNU Lesser General + Public License [can] [be] [found] [in] "/usr/share/common-licenses/LGPL- diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libseccomp2/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libseccomp2/copyright.expected.yml index b5d21dc3e75..e43133e2b08 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libseccomp2/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libseccomp2/copyright.expected.yml @@ -1,7 +1,8 @@ -- lgpl-2.1 AND lgpl-3.0-plus -- - LGPL-2.1 -- lgpl-2.1 AND lgpl-3.0-plus -- | +primary_license: lgpl-2.1 AND lgpl-3.0-plus +declared_license: + - LGPL-2.1 +license_expression: lgpl-2.1 AND lgpl-3.0-plus +copyright: | 2012 Paul Moore 2012 Ashley Lai 2012 Corey Bryant @@ -9,3 +10,50 @@ 2012 Eric Paris 2013 Vitaly Shukela 2006 Bob Jenkins +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '80.15' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 136 + matched_length: 109 + match_coverage: '80.15' + rule_relevance: 100 + identifier: lgpl-3.0-plus_96.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the terms [of] [version] [2].[1] of the GNU Lesser General Public License as + published by the Free Software Foundation. + + This library is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License + for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this library; if not, see . + + On Debian systems, the [complete] text of the GNU Lesser General + Public License [can] [be] [found] [in] "/usr/share/common-licenses/LGPL- diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libselinux1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libselinux1/copyright-detailed.expected.yml index d32ebcc36e7..71e10437272 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libselinux1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libselinux1/copyright-detailed.expected.yml @@ -1,6 +1,96 @@ -- -- -- selinux-nsa-declaration-1.0 AND gpl-2.0 AND lgpl-2.1-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: selinux-nsa-declaration-1.0 AND gpl-2.0 AND lgpl-2.1-plus AND gpl-2.0 +copyright: | Copyright 2004 Red Hat, Inc., James Morris (c) 2005, 2006, Manoj Srivastava +matches: + - score: '100.0' + start_line: 7 + end_line: 27 + matcher: 2-aho + rule_length: 153 + matched_length: 153 + match_coverage: '100.0' + rule_relevance: 100 + identifier: selinux-nsa-declaration-1.0.LICENSE + license_expression: selinux-nsa-declaration-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library (libselinux) is public domain software, i.e. not copyrighted.\n\ + \ \n Warranty Exclusion\n ------------------\n You agree that this software is a\n non-commercially\ + \ developed program that may contain \"bugs\" (as that\n term is used in the industry)\ + \ and that it may not function as intended.\n The software is licensed \"as is\". NSA\ + \ makes no, and hereby expressly\n disclaims all, warranties, express, implied, statutory,\ + \ or otherwise\n with respect to the software, including noninfringement and the implied\n\ + \ warranties of merchantability and fitness for a particular purpose.\n \n Limitation\ + \ of Liability\n -----------------------\n In no event will NSA be liable for any damages,\ + \ including loss of data,\n lost profits, cost of cover, or other special, incidental,\n\ + \ consequential, direct or indirect damages arising from the software or\n the use thereof,\ + \ however caused and on any theory of liability. This\n limitation will apply even if\ + \ NSA has been advised of the possibility\n of such damage. You acknowledge that this\ + \ is a reasonable allocation of\n risk." + - score: '100.0' + start_line: 32 + end_line: 33 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_929.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + distributed underthe terms of the GNU General Public License, + version 2. + - score: '100.0' + start_line: 38 + end_line: 50 + matcher: 2-aho + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_201.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under\n the terms of the GNU Lesser General Public License as\ + \ published by the\n Free Software Foundation; either version 2.1 of the License, or (at\n\ + \ your option) any later version.\n \n You should have received a copy of the GNU Lesser\ + \ General Public\n License along with the GNU C Library; if not, write to\n Free\ + \ Software Foundation, Inc., 51 Franklin St, Fifth Floor,\n Boston, MA 02110-1301,\ + \ USA.\n \n \n On Debian systems, the complete text of the GNU Library\n General Public\ + \ License can be found in `/usr/share/common-licenses/LGPL-2.1'." + - score: '100.0' + start_line: 56 + end_line: 65 + matcher: 2-aho + rule_length: 78 + matched_length: 78 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_930.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under the terms of the GNU\n General Public License, version\ + \ 2.\n \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public License\ + \ can be found in `/usr/share/common-licenses/GPL-2'.\n \n A copy of the GNU General\ + \ Public License is also available at\n .\ + \ You may also obtain\n it by writing to the Free Software Foundation, Inc., 51 Franklin\n\ + \ St, Fifth Floor, Boston, MA 02110-1301, USA." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libselinux1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libselinux1/copyright.expected.yml index cf469d9f180..9bc4aab28b2 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libselinux1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libselinux1/copyright.expected.yml @@ -1,6 +1,96 @@ -- -- -- selinux-nsa-declaration-1.0 AND gpl-2.0 AND lgpl-2.1-plus -- | +primary_license: +declared_license: +license_expression: selinux-nsa-declaration-1.0 AND gpl-2.0 AND lgpl-2.1-plus +copyright: | Copyright 2004 Red Hat, Inc., James Morris (c) 2005, 2006, Manoj Srivastava +matches: + - score: '100.0' + start_line: 7 + end_line: 27 + matcher: 2-aho + rule_length: 153 + matched_length: 153 + match_coverage: '100.0' + rule_relevance: 100 + identifier: selinux-nsa-declaration-1.0.LICENSE + license_expression: selinux-nsa-declaration-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library (libselinux) is public domain software, i.e. not copyrighted.\n\ + \ \n Warranty Exclusion\n ------------------\n You agree that this software is a\n non-commercially\ + \ developed program that may contain \"bugs\" (as that\n term is used in the industry)\ + \ and that it may not function as intended.\n The software is licensed \"as is\". NSA\ + \ makes no, and hereby expressly\n disclaims all, warranties, express, implied, statutory,\ + \ or otherwise\n with respect to the software, including noninfringement and the implied\n\ + \ warranties of merchantability and fitness for a particular purpose.\n \n Limitation\ + \ of Liability\n -----------------------\n In no event will NSA be liable for any damages,\ + \ including loss of data,\n lost profits, cost of cover, or other special, incidental,\n\ + \ consequential, direct or indirect damages arising from the software or\n the use thereof,\ + \ however caused and on any theory of liability. This\n limitation will apply even if\ + \ NSA has been advised of the possibility\n of such damage. You acknowledge that this\ + \ is a reasonable allocation of\n risk." + - score: '100.0' + start_line: 32 + end_line: 33 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_929.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + distributed underthe terms of the GNU General Public License, + version 2. + - score: '100.0' + start_line: 38 + end_line: 50 + matcher: 2-aho + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_201.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under\n the terms of the GNU Lesser General Public License as\ + \ published by the\n Free Software Foundation; either version 2.1 of the License, or (at\n\ + \ your option) any later version.\n \n You should have received a copy of the GNU Lesser\ + \ General Public\n License along with the GNU C Library; if not, write to\n Free\ + \ Software Foundation, Inc., 51 Franklin St, Fifth Floor,\n Boston, MA 02110-1301,\ + \ USA.\n \n \n On Debian systems, the complete text of the GNU Library\n General Public\ + \ License can be found in `/usr/share/common-licenses/LGPL-2.1'." + - score: '100.0' + start_line: 56 + end_line: 65 + matcher: 2-aho + rule_length: 78 + matched_length: 78 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_930.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under the terms of the GNU\n General Public License, version\ + \ 2.\n \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public License\ + \ can be found in `/usr/share/common-licenses/GPL-2'.\n \n A copy of the GNU General\ + \ Public License is also available at\n .\ + \ You may also obtain\n it by writing to the Free Software Foundation, Inc., 51 Franklin\n\ + \ St, Fifth Floor, Boston, MA 02110-1301, USA." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsemanage-common/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsemanage-common/copyright-detailed.expected.yml index bce4b21ce3a..f5233e92da1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsemanage-common/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsemanage-common/copyright-detailed.expected.yml @@ -1,7 +1,55 @@ -- -- -- lgpl-2.1-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND gpl-2.0 +copyright: | Copyright (c) 2004-2007 Tresys Technology, LLC Copyright (c) 2005 Red Hat, Inc. (c) 2005-2009, Manoj Srivastava +matches: + - score: '98.58' + start_line: 7 + end_line: 22 + matcher: 3-seq + rule_length: 141 + matched_length: 139 + match_coverage: '98.58' + rule_relevance: 100 + identifier: lgpl-2.1-plus_298.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details.\n \n You should have received a copy of the GNU Lesser General\ + \ Public\n License along with this library; if not, write to the Free Software\n \ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-[1]\n \n On Debian\ + \ GNU/Linux systems, the complete text of the Lesser GNU General\n Public License can\ + \ be found in `/usr/share/common-licenses/LGPL'." + - score: '100.0' + start_line: 27 + end_line: 36 + matcher: 2-aho + rule_length: 77 + matched_length: 77 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1123.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under the terms of the GNU\n General Public License, version\ + \ 2.\n \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public License\ + \ can be found in `/usr/share/common-licenses/GPL'.\n \n A copy of the GNU General\ + \ Public License is also available at\n .\ + \ You may also obtain\n it by writing to the Free Software Foundation, Inc., 51 Franklin\n\ + \ St, Fifth Floor, Boston, MA 02110-1301, USA." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsemanage-common/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsemanage-common/copyright.expected.yml index bce4b21ce3a..f5233e92da1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsemanage-common/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsemanage-common/copyright.expected.yml @@ -1,7 +1,55 @@ -- -- -- lgpl-2.1-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND gpl-2.0 +copyright: | Copyright (c) 2004-2007 Tresys Technology, LLC Copyright (c) 2005 Red Hat, Inc. (c) 2005-2009, Manoj Srivastava +matches: + - score: '98.58' + start_line: 7 + end_line: 22 + matcher: 3-seq + rule_length: 141 + matched_length: 139 + match_coverage: '98.58' + rule_relevance: 100 + identifier: lgpl-2.1-plus_298.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details.\n \n You should have received a copy of the GNU Lesser General\ + \ Public\n License along with this library; if not, write to the Free Software\n \ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-[1]\n \n On Debian\ + \ GNU/Linux systems, the complete text of the Lesser GNU General\n Public License can\ + \ be found in `/usr/share/common-licenses/LGPL'." + - score: '100.0' + start_line: 27 + end_line: 36 + matcher: 2-aho + rule_length: 77 + matched_length: 77 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1123.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under the terms of the GNU\n General Public License, version\ + \ 2.\n \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public License\ + \ can be found in `/usr/share/common-licenses/GPL'.\n \n A copy of the GNU General\ + \ Public License is also available at\n .\ + \ You may also obtain\n it by writing to the Free Software Foundation, Inc., 51 Franklin\n\ + \ St, Fifth Floor, Boston, MA 02110-1301, USA." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsepol1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsepol1/copyright-detailed.expected.yml index b7ac57ae718..503456f978d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsepol1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsepol1/copyright-detailed.expected.yml @@ -1,9 +1,57 @@ -- -- -- lgpl-2.1-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND gpl-2.0 +copyright: | Copyright (c) 2003, 2004 Stephen Smalley Copyright (c) 2003-2007 Red Hat, Inc. Copyright (c) 2004, 2005 Trusted Computer Solutions, Inc. Copyright (c) 2003-2008 Tresys Technology, LLC (c) 2005-2008, Manoj Srivastava +matches: + - score: '100.0' + start_line: 16 + end_line: 31 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_298.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details.\n \n You should have received a copy of the GNU Lesser General\ + \ Public\n License along with this library; if not, write to the Free Software\n \ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n \n On\ + \ Debian GNU/Linux systems, the complete text of the Lesser GNU General\n Public License\ + \ can be found in `/usr/share/common-licenses/LGPL'." + - score: '100.0' + start_line: 36 + end_line: 46 + matcher: 2-aho + rule_length: 77 + matched_length: 77 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1123.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under the terms of the GNU\n General Public License, version\ + \ 2.\n \n \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public\ + \ License can be found in `/usr/share/common-licenses/GPL'.\n \n A copy of the GNU\ + \ General Public License is also available at\n .\ + \ You may also obtain\n it by writing to the Free Software Foundation, Inc., 51 Franklin\n\ + \ St, Fifth Floor, Boston, MA 02110-1301 USA" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsepol1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsepol1/copyright.expected.yml index b7ac57ae718..503456f978d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsepol1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsepol1/copyright.expected.yml @@ -1,9 +1,57 @@ -- -- -- lgpl-2.1-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND gpl-2.0 +copyright: | Copyright (c) 2003, 2004 Stephen Smalley Copyright (c) 2003-2007 Red Hat, Inc. Copyright (c) 2004, 2005 Trusted Computer Solutions, Inc. Copyright (c) 2003-2008 Tresys Technology, LLC (c) 2005-2008, Manoj Srivastava +matches: + - score: '100.0' + start_line: 16 + end_line: 31 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_298.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details.\n \n You should have received a copy of the GNU Lesser General\ + \ Public\n License along with this library; if not, write to the Free Software\n \ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n \n On\ + \ Debian GNU/Linux systems, the complete text of the Lesser GNU General\n Public License\ + \ can be found in `/usr/share/common-licenses/LGPL'." + - score: '100.0' + start_line: 36 + end_line: 46 + matcher: 2-aho + rule_length: 77 + matched_length: 77 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1123.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under the terms of the GNU\n General Public License, version\ + \ 2.\n \n \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public\ + \ License can be found in `/usr/share/common-licenses/GPL'.\n \n A copy of the GNU\ + \ General Public License is also available at\n .\ + \ You may also obtain\n it by writing to the Free Software Foundation, Inc., 51 Franklin\n\ + \ St, Fifth Floor, Boston, MA 02110-1301 USA" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsmartcols1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsmartcols1/copyright-detailed.expected.yml index 9d40a8e3a7a..3da8450c864 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsmartcols1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsmartcols1/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - GPL-2 - GPL-2 @@ -43,20 +44,20 @@ - LGPL-2.1+ - LGPL-3+ - MIT -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 - AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND - gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc AND mit - AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new AND - (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) - AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND - lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND + gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc + AND mit AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new + AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND + lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-3.0-plus AND lgpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) -- | +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -249,3 +250,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3) Neither the name of the [ORGANIZATION] 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 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. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsmartcols1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsmartcols1/copyright.expected.yml index f705a1146cf..4fa8dffb131 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsmartcols1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsmartcols1/copyright.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - public-domain - BSD-4-clause @@ -11,10 +12,10 @@ - GPL-3+ - LGPL - LGPL-3+ -- (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 AND public-domain AND bsd-original-uc AND mit AND bsd-simplified - AND bsd-new AND (lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1) AND (gpl-3.0-plus - AND gpl-3.0) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND lgpl-3.0-plus -- | +license_expression: (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 AND public-domain AND bsd-original-uc + AND mit AND bsd-simplified AND bsd-new AND (lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND lgpl-3.0-plus +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -194,3 +195,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3) Neither the name of the [ORGANIZATION] 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 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. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libss2/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libss2/copyright-detailed.expected.yml index 5ad583a65b8..fce1ae3319d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libss2/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libss2/copyright-detailed.expected.yml @@ -1,5 +1,33 @@ -- -- -- mit-old-style-no-advert -- Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts Institute - of Technology +primary_license: +declared_license: +license_expression: mit-old-style-no-advert +copyright: Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts + Institute of Technology +matches: + - score: '100.0' + start_line: 15 + end_line: 25 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_5.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + and its documentation for any purpose and without fee is + hereby granted, provided that the above copyright notice + appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, + and that the names of M.I.T. and the M.I.T. S.I.P.B. not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + M.I.T. and the M.I.T. S.I.P.B. make no representations about + the suitability of this software for any purpose. It is + provided "as is" without express or implied warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libss2/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libss2/copyright.expected.yml index 5ad583a65b8..fce1ae3319d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libss2/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libss2/copyright.expected.yml @@ -1,5 +1,33 @@ -- -- -- mit-old-style-no-advert -- Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts Institute - of Technology +primary_license: +declared_license: +license_expression: mit-old-style-no-advert +copyright: Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts + Institute of Technology +matches: + - score: '100.0' + start_line: 15 + end_line: 25 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_5.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + and its documentation for any purpose and without fee is + hereby granted, provided that the above copyright notice + appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, + and that the names of M.I.T. and the M.I.T. S.I.P.B. not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + M.I.T. and the M.I.T. S.I.P.B. make no representations about + the suitability of this software for any purpose. It is + provided "as is" without express or implied warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libssl1.1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libssl1.1/copyright-detailed.expected.yml index 0136d09da3b..4eb0afd8d5e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libssl1.1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libssl1.1/copyright-detailed.expected.yml @@ -1,9 +1,99 @@ -- -- -- openssl-ssleay -- | +primary_license: +declared_license: +license_expression: openssl-ssleay +copyright: | Copyright (c) 1998-2004 The OpenSSL Project Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson Copyright (c) 1998-2004 The OpenSSL Project Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) holder is Tim Hudson (tjh@cryptsoft.com) +matches: + - score: '99.88' + start_line: 10 + end_line: 133 + matcher: 3-seq + rule_length: 869 + matched_length: 868 + match_coverage: '99.88' + rule_relevance: 100 + identifier: openssl-ssleay_37.RULE + license_expression: openssl-ssleay + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "LICENSE ISSUES\n ==============\n \n The OpenSSL toolkit stays under\ + \ a dual license, i.e. both the conditions of\n the OpenSSL License and the original\ + \ SSLeay license apply to the toolkit.\n See below for the actual license texts. Actually\ + \ both licenses are BSD-style\n Open Source licenses. In case of any license issues\ + \ related to OpenSSL\n please contact openssl-core@openssl.org.\n \n OpenSSL License\n\ + \ ---------------\n \n /* ====================================================================\n\ + \ * Copyright (c) 1998-[2004] The OpenSSL Project. All rights reserved.\n *\n * Redistribution\ + \ and use in source and binary forms, with or without\n * modification, are permitted\ + \ provided that the following conditions\n * are met:\n *\n * 1. Redistributions of\ + \ source code must retain the above copyright\n * notice, this list of conditions\ + \ and the following disclaimer. \n *\n * 2. Redistributions in binary form must reproduce\ + \ the above copyright\n * notice, this list of conditions and the following disclaimer\ + \ in\n * the documentation and/or other materials provided with the\n * distribution.\n\ + \ *\n * 3. All advertising materials mentioning features or use of this\n * software\ + \ must display the following acknowledgment:\n * \"This product includes software\ + \ developed by the OpenSSL Project\n * for use in the OpenSSL Toolkit. (http://www.openssl.org/)\"\ + \n *\n * 4. The names \"OpenSSL Toolkit\" and \"OpenSSL Project\" must not be used to\n\ + \ * endorse or promote products derived from this software without\n * prior written\ + \ permission. For written permission, please contact\n * openssl-core@openssl.org.\n\ + \ *\n * 5. Products derived from this software may not be called \"OpenSSL\"\n * \ + \ nor may \"OpenSSL\" appear in their names without prior written\n * permission\ + \ of the OpenSSL Project.\n *\n * 6. Redistributions of any form whatsoever must retain\ + \ the following\n * acknowledgment:\n * \"This product includes software developed\ + \ by the OpenSSL Project\n * for use in the OpenSSL Toolkit (http://www.openssl.org/)\"\ + \n *\n * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY\n * EXPRESSED\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF\ + \ MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n * PURPOSE ARE DISCLAIMED. IN NO EVENT\ + \ SHALL THE OpenSSL PROJECT OR\n * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n * NOT\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n * LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n * OF THE POSSIBILITY\ + \ OF SUCH DAMAGE.\n * ====================================================================\n\ + \ *\n * This product includes cryptographic software written by Eric Young\n * (eay@cryptsoft.com).\ + \ This product includes software written by Tim\n * Hudson (tjh@cryptsoft.com).\n *\n\ + \ */\n \n Original SSLeay License\n -----------------------\n \n /* Copyright (C) 1995-1998\ + \ Eric Young (eay@cryptsoft.com)\n * All rights reserved.\n *\n * This package is an\ + \ SSL implementation written\n * by Eric Young (eay@cryptsoft.com).\n * The implementation\ + \ was written so as to conform with Netscapes SSL.\n * \n * This library is free for\ + \ commercial and non-commercial use as long as\n * the following conditions are aheared\ + \ to. The following conditions\n * apply to all code found in this distribution, be\ + \ it the RC4, RSA,\n * lhash, DES, etc., code; not just the SSL code. The SSL documentation\n\ + \ * included with this distribution is covered by the same copyright terms\n * except\ + \ that the holder is Tim Hudson (tjh@cryptsoft.com).\n * \n * Copyright remains Eric\ + \ Young's, and as such any Copyright notices in\n * the code are not to be removed.\n\ + \ * If this package is used in a product, Eric Young should be given attribution\n *\ + \ as the author of the parts of the library used.\n * This can be in the form of a textual\ + \ message at program startup or\n * in documentation (online or textual) provided with\ + \ the package.\n * \n * Redistribution and use in source and binary forms, with or without\n\ + \ * modification, are permitted provided that the following conditions\n * are met:\n\ + \ * 1. Redistributions of source code must retain the copyright\n * notice, this\ + \ list of conditions and the following disclaimer.\n * 2. Redistributions in binary form\ + \ must reproduce the above copyright\n * notice, this list of conditions and the following\ + \ disclaimer in the\n * documentation and/or other materials provided with the distribution.\n\ + \ * 3. All advertising materials mentioning features or use of this software\n * \ + \ must display the following acknowledgement:\n * \"This product includes cryptographic\ + \ software written by\n * Eric Young (eay@cryptsoft.com)\"\n * The word 'cryptographic'\ + \ can be left out if the rouines from the library\n * being used are not cryptographic\ + \ related :-).\n * 4. If you include any Windows specific code (or a derivative thereof)\ + \ from \n * the apps directory (application code) you must include an acknowledgement:\n\ + \ * \"This product includes software written by Tim Hudson (tjh@cryptsoft.com)\"\n\ + \ * \n * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n * \n * The\ + \ licence and distribution terms for any publically available version or\n * derivative\ + \ of this code cannot be changed. i.e. this code cannot simply be\n * copied and put\ + \ under another distribution licence\n * [including the GNU Public Licence.]" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libssl1.1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libssl1.1/copyright.expected.yml index 0136d09da3b..4eb0afd8d5e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libssl1.1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libssl1.1/copyright.expected.yml @@ -1,9 +1,99 @@ -- -- -- openssl-ssleay -- | +primary_license: +declared_license: +license_expression: openssl-ssleay +copyright: | Copyright (c) 1998-2004 The OpenSSL Project Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson Copyright (c) 1998-2004 The OpenSSL Project Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) holder is Tim Hudson (tjh@cryptsoft.com) +matches: + - score: '99.88' + start_line: 10 + end_line: 133 + matcher: 3-seq + rule_length: 869 + matched_length: 868 + match_coverage: '99.88' + rule_relevance: 100 + identifier: openssl-ssleay_37.RULE + license_expression: openssl-ssleay + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "LICENSE ISSUES\n ==============\n \n The OpenSSL toolkit stays under\ + \ a dual license, i.e. both the conditions of\n the OpenSSL License and the original\ + \ SSLeay license apply to the toolkit.\n See below for the actual license texts. Actually\ + \ both licenses are BSD-style\n Open Source licenses. In case of any license issues\ + \ related to OpenSSL\n please contact openssl-core@openssl.org.\n \n OpenSSL License\n\ + \ ---------------\n \n /* ====================================================================\n\ + \ * Copyright (c) 1998-[2004] The OpenSSL Project. All rights reserved.\n *\n * Redistribution\ + \ and use in source and binary forms, with or without\n * modification, are permitted\ + \ provided that the following conditions\n * are met:\n *\n * 1. Redistributions of\ + \ source code must retain the above copyright\n * notice, this list of conditions\ + \ and the following disclaimer. \n *\n * 2. Redistributions in binary form must reproduce\ + \ the above copyright\n * notice, this list of conditions and the following disclaimer\ + \ in\n * the documentation and/or other materials provided with the\n * distribution.\n\ + \ *\n * 3. All advertising materials mentioning features or use of this\n * software\ + \ must display the following acknowledgment:\n * \"This product includes software\ + \ developed by the OpenSSL Project\n * for use in the OpenSSL Toolkit. (http://www.openssl.org/)\"\ + \n *\n * 4. The names \"OpenSSL Toolkit\" and \"OpenSSL Project\" must not be used to\n\ + \ * endorse or promote products derived from this software without\n * prior written\ + \ permission. For written permission, please contact\n * openssl-core@openssl.org.\n\ + \ *\n * 5. Products derived from this software may not be called \"OpenSSL\"\n * \ + \ nor may \"OpenSSL\" appear in their names without prior written\n * permission\ + \ of the OpenSSL Project.\n *\n * 6. Redistributions of any form whatsoever must retain\ + \ the following\n * acknowledgment:\n * \"This product includes software developed\ + \ by the OpenSSL Project\n * for use in the OpenSSL Toolkit (http://www.openssl.org/)\"\ + \n *\n * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY\n * EXPRESSED\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF\ + \ MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n * PURPOSE ARE DISCLAIMED. IN NO EVENT\ + \ SHALL THE OpenSSL PROJECT OR\n * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n * NOT\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n * LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n * OF THE POSSIBILITY\ + \ OF SUCH DAMAGE.\n * ====================================================================\n\ + \ *\n * This product includes cryptographic software written by Eric Young\n * (eay@cryptsoft.com).\ + \ This product includes software written by Tim\n * Hudson (tjh@cryptsoft.com).\n *\n\ + \ */\n \n Original SSLeay License\n -----------------------\n \n /* Copyright (C) 1995-1998\ + \ Eric Young (eay@cryptsoft.com)\n * All rights reserved.\n *\n * This package is an\ + \ SSL implementation written\n * by Eric Young (eay@cryptsoft.com).\n * The implementation\ + \ was written so as to conform with Netscapes SSL.\n * \n * This library is free for\ + \ commercial and non-commercial use as long as\n * the following conditions are aheared\ + \ to. The following conditions\n * apply to all code found in this distribution, be\ + \ it the RC4, RSA,\n * lhash, DES, etc., code; not just the SSL code. The SSL documentation\n\ + \ * included with this distribution is covered by the same copyright terms\n * except\ + \ that the holder is Tim Hudson (tjh@cryptsoft.com).\n * \n * Copyright remains Eric\ + \ Young's, and as such any Copyright notices in\n * the code are not to be removed.\n\ + \ * If this package is used in a product, Eric Young should be given attribution\n *\ + \ as the author of the parts of the library used.\n * This can be in the form of a textual\ + \ message at program startup or\n * in documentation (online or textual) provided with\ + \ the package.\n * \n * Redistribution and use in source and binary forms, with or without\n\ + \ * modification, are permitted provided that the following conditions\n * are met:\n\ + \ * 1. Redistributions of source code must retain the copyright\n * notice, this\ + \ list of conditions and the following disclaimer.\n * 2. Redistributions in binary form\ + \ must reproduce the above copyright\n * notice, this list of conditions and the following\ + \ disclaimer in the\n * documentation and/or other materials provided with the distribution.\n\ + \ * 3. All advertising materials mentioning features or use of this software\n * \ + \ must display the following acknowledgement:\n * \"This product includes cryptographic\ + \ software written by\n * Eric Young (eay@cryptsoft.com)\"\n * The word 'cryptographic'\ + \ can be left out if the rouines from the library\n * being used are not cryptographic\ + \ related :-).\n * 4. If you include any Windows specific code (or a derivative thereof)\ + \ from \n * the apps directory (application code) you must include an acknowledgement:\n\ + \ * \"This product includes software written by Tim Hudson (tjh@cryptsoft.com)\"\n\ + \ * \n * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n * \n * The\ + \ licence and distribution terms for any publically available version or\n * derivative\ + \ of this code cannot be changed. i.e. this code cannot simply be\n * copied and put\ + \ under another distribution licence\n * [including the GNU Public Licence.]" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsystemd0/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsystemd0/copyright-detailed.expected.yml index 8aef2e7ea37..36981b9bbd3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsystemd0/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsystemd0/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- lgpl-2.1-plus AND lgpl-2.1 -- - LGPL-2.1+ +primary_license: lgpl-2.1-plus AND lgpl-2.1 +declared_license: + - LGPL-2.1+ - CC0-1.0 - GPL-2 - GPL-2 with Linux-syscall-note exception @@ -14,11 +15,12 @@ - GPL-2+ - LGPL-2.1+ - CC0-1.0 -- (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (cc0-1.0 AND cc0-1.0 AND cc0-1.0) AND (gpl-2.0 - AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (linux-syscall-exception-gpl AND gpl-2.0 AND gpl-2.0 - AND gpl-2.0) AND mit AND public-domain-disclaimer AND (gpl-2.0-plus AND gpl-2.0-plus) AND - (gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) -- | +license_expression: (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (cc0-1.0 AND cc0-1.0 + AND cc0-1.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (linux-syscall-exception-gpl + AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND mit AND public-domain-disclaimer AND (gpl-2.0-plus + AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) +copyright: | 2008-2015 Kay Sievers 2010-2015 Lennart Poettering 2012-2015 Zbigniew Jędrzejewski-Szmek @@ -93,3 +95,390 @@ 2010-2013 Tollef Fog Heen 2013-2018 Michael Biebl 2013 Michael Stapelberg +matches: + - score: '94.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 94 + identifier: public-domain-disclaimer_7.RULE + license_expression: public-domain-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You can use this free for any purpose. It's in the public domain. It has no + warranty. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_95.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: linux-syscall-exception-gpl.LICENSE + license_expression: linux-syscall-exception-gpl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + NOTE! This copyright does *not* cover user programs that use kernel services + by normal system calls - this is merely considered normal use of the kernel, + and does *not* fall under the heading of "derived work". Also note that the + GPL below is copyrighted by the Free Software Foundation, but the instance of + code that it refers to (the Linux kernel) is copyrighted by me and others who + actually wrote it. + + Also note that the only valid version of the GPL as far as the kernel is + concerned is _this_ particular version of the license (ie v2, not v2.2 or v3.x + or whatever), unless explicitly otherwise stated. + + Linus Torvalds + - score: '100.0' + start_line: 14 + end_line: 25 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_95.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 27 + end_line: 28 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 29 + end_line: 29 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_27.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all copyright + and related and neighboring rights to this software to the public domain + worldwide. This software is distributed without any warranty. + + You should have received a copy of the CC0 Public Domain Dedication along with + this software. If not, see . + - score: '100.0' + start_line: 8 + end_line: 9 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_101.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the CC0 1.0 Universal license can be + found in ‘/usr/share/common-licenses/CC0-1.0’. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsystemd0/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsystemd0/copyright.expected.yml index 330e6cf7934..1b92976af0d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsystemd0/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsystemd0/copyright.expected.yml @@ -1,14 +1,15 @@ -- lgpl-2.1-plus AND lgpl-2.1 -- - LGPL-2.1+ +primary_license: lgpl-2.1-plus AND lgpl-2.1 +declared_license: + - LGPL-2.1+ - CC0-1.0 - GPL-2 - GPL-2 with Linux-syscall-note exception - Expat - public-domain - GPL-2+ -- (lgpl-2.1-plus AND lgpl-2.1) AND cc0-1.0 AND gpl-2.0 AND (linux-syscall-exception-gpl AND - gpl-2.0) AND mit AND public-domain-disclaimer AND gpl-2.0-plus -- | +license_expression: (lgpl-2.1-plus AND lgpl-2.1) AND cc0-1.0 AND gpl-2.0 AND (linux-syscall-exception-gpl + AND gpl-2.0) AND mit AND public-domain-disclaimer AND gpl-2.0-plus +copyright: | 2008-2015 Kay Sievers 2010-2015 Lennart Poettering 2012-2015 Zbigniew Jędrzejewski-Szmek @@ -78,3 +79,390 @@ 2014 Zbigniew Jędrzejewski-Szmek 2014 David Herrmann 2014 Carlos Garnacho +matches: + - score: '94.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 94 + identifier: public-domain-disclaimer_7.RULE + license_expression: public-domain-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You can use this free for any purpose. It's in the public domain. It has no + warranty. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_95.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: linux-syscall-exception-gpl.LICENSE + license_expression: linux-syscall-exception-gpl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + NOTE! This copyright does *not* cover user programs that use kernel services + by normal system calls - this is merely considered normal use of the kernel, + and does *not* fall under the heading of "derived work". Also note that the + GPL below is copyrighted by the Free Software Foundation, but the instance of + code that it refers to (the Linux kernel) is copyrighted by me and others who + actually wrote it. + + Also note that the only valid version of the GPL as far as the kernel is + concerned is _this_ particular version of the license (ie v2, not v2.2 or v3.x + or whatever), unless explicitly otherwise stated. + + Linus Torvalds + - score: '100.0' + start_line: 14 + end_line: 25 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_95.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 27 + end_line: 28 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 29 + end_line: 29 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_27.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all copyright + and related and neighboring rights to this software to the public domain + worldwide. This software is distributed without any warranty. + + You should have received a copy of the CC0 Public Domain Dedication along with + this software. If not, see . + - score: '100.0' + start_line: 8 + end_line: 9 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_101.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the CC0 1.0 Universal license can be + found in ‘/usr/share/common-licenses/CC0-1.0’. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtasn1-6/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtasn1-6/copyright-detailed.expected.yml index 45e160e2c2d..b913e1d685b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtasn1-6/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtasn1-6/copyright-detailed.expected.yml @@ -1,8 +1,166 @@ -- -- -- lgpl-2.1-plus AND gpl-3.0-plus AND lgpl-2.1-plus AND lgpl-2.1 AND gpl-3.0-plus AND gfdl-1.1-plus - AND gfdl-1.3-plus AND gfdl-1.3 -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND gpl-3.0-plus AND lgpl-2.1-plus AND lgpl-2.1 AND gpl-3.0-plus + AND gfdl-1.1-plus AND gfdl-1.3-plus AND gfdl-1.3 +copyright: | Copyright (c) 2000-2020 Free Software Foundation, Inc. Copyright (c) 2000-2020 Free Software Foundation, Inc. Copyright (c) 2001-2020 Free Software Foundation, Inc. +matches: + - score: '95.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 95 + identifier: lgpl-2.1-plus_70.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPLv2.1+, + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_28.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPLv3+. + - score: '97.2' + start_line: 23 + end_line: 41 + matcher: 3-seq + rule_length: 143 + matched_length: 139 + match_coverage: '97.2' + rule_relevance: 100 + identifier: lgpl-2.1-plus_16.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "library is free software; you can redistribute it\n * and/or modify it under\ + \ the terms of the GNU Lesser General Public\n * License as published by the Free Software\ + \ Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n\ + \ *\n * This library is distributed in the hope that it will be useful, but\n * WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n\ + \ *\n * You should have received a copy of the GNU Lesser General Public\n * License\ + \ along with this library; if not, write to the Free Software\n * Foundation, Inc., 51\ + \ Franklin [Street], Fifth Floor, Boston, MA\n * 02110-1301, USA\n */\n \n On Debian\ + \ GNU/Linux systems, the complete text of the GNU Lesser\n General Public License can\ + \ be found in\n `/usr/share/common-licenses/LGPL';" + - score: '61.0' + start_line: 42 + end_line: 42 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: lgpl-2.1_292.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 50 + end_line: 66 + matcher: 2-aho + rule_length: 128 + matched_length: 128 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_288.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n *\ + \ it under the terms of the GNU General Public License as published by\n * the Free Software\ + \ Foundation, either version 3 of the License, or\n * (at your option) any later version.\n\ + \ *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n \ + \ *\n * You should have received a copy of the GNU General Public License\n * along\ + \ with this program. If not, see .\n *\n */\n \n On Debian\ + \ GNU/Linux systems, the complete text of the GNU General Public\n License version 3 can\ + \ be found in /usr/share/common-licenses/GPL-3." + - score: '100.0' + start_line: 69 + end_line: 70 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.1-plus_10.RULE + license_expression: gfdl-1.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Free + Documentation License ( + - score: '100.0' + start_line: 74 + end_line: 79 + matcher: 2-aho + rule_length: 60 + matched_length: 60 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation License, + Version 1.3 or any later version published by the Free Software + Foundation; with no Invariant Sections, no Front-Cover Texts, and no + Back-Cover Texts. A copy of the license is included in the section + entitled "GNU Free Documentation License". + - score: '100.0' + start_line: 82 + end_line: 83 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_19.RULE + license_expression: gfdl-1.3 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems a copy of the complete text of the GNU FDL 1.3 + can be found in /usr/share/common-licenses/GFDL-1.3. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtasn1-6/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtasn1-6/copyright.expected.yml index 0df802fe10a..efe2b6666fe 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtasn1-6/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtasn1-6/copyright.expected.yml @@ -1,7 +1,166 @@ -- -- -- lgpl-2.1-plus AND gpl-3.0-plus AND lgpl-2.1 AND gfdl-1.1-plus AND gfdl-1.3-plus AND gfdl-1.3 -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND gpl-3.0-plus AND lgpl-2.1 AND gfdl-1.1-plus AND gfdl-1.3-plus + AND gfdl-1.3 +copyright: | Copyright (c) 2000-2020 Free Software Foundation, Inc. Copyright (c) 2000-2020 Free Software Foundation, Inc. Copyright (c) 2001-2020 Free Software Foundation, Inc. +matches: + - score: '95.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 95 + identifier: lgpl-2.1-plus_70.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPLv2.1+, + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_28.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPLv3+. + - score: '97.2' + start_line: 23 + end_line: 41 + matcher: 3-seq + rule_length: 143 + matched_length: 139 + match_coverage: '97.2' + rule_relevance: 100 + identifier: lgpl-2.1-plus_16.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "library is free software; you can redistribute it\n * and/or modify it under\ + \ the terms of the GNU Lesser General Public\n * License as published by the Free Software\ + \ Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n\ + \ *\n * This library is distributed in the hope that it will be useful, but\n * WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n\ + \ *\n * You should have received a copy of the GNU Lesser General Public\n * License\ + \ along with this library; if not, write to the Free Software\n * Foundation, Inc., 51\ + \ Franklin [Street], Fifth Floor, Boston, MA\n * 02110-1301, USA\n */\n \n On Debian\ + \ GNU/Linux systems, the complete text of the GNU Lesser\n General Public License can\ + \ be found in\n `/usr/share/common-licenses/LGPL';" + - score: '61.0' + start_line: 42 + end_line: 42 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: lgpl-2.1_292.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 50 + end_line: 66 + matcher: 2-aho + rule_length: 128 + matched_length: 128 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_288.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n *\ + \ it under the terms of the GNU General Public License as published by\n * the Free Software\ + \ Foundation, either version 3 of the License, or\n * (at your option) any later version.\n\ + \ *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n \ + \ *\n * You should have received a copy of the GNU General Public License\n * along\ + \ with this program. If not, see .\n *\n */\n \n On Debian\ + \ GNU/Linux systems, the complete text of the GNU General Public\n License version 3 can\ + \ be found in /usr/share/common-licenses/GPL-3." + - score: '100.0' + start_line: 69 + end_line: 70 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.1-plus_10.RULE + license_expression: gfdl-1.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Free + Documentation License ( + - score: '100.0' + start_line: 74 + end_line: 79 + matcher: 2-aho + rule_length: 60 + matched_length: 60 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation License, + Version 1.3 or any later version published by the Free Software + Foundation; with no Invariant Sections, no Front-Cover Texts, and no + Back-Cover Texts. A copy of the license is included in the section + entitled "GNU Free Documentation License". + - score: '100.0' + start_line: 82 + end_line: 83 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_19.RULE + license_expression: gfdl-1.3 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems a copy of the complete text of the GNU FDL 1.3 + can be found in /usr/share/common-licenses/GFDL-1.3. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtinfo6/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtinfo6/copyright-detailed.expected.yml index c6a3f221cde..651298869f0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtinfo6/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtinfo6/copyright-detailed.expected.yml @@ -1,14 +1,131 @@ -- x11-fsf -- - MIT/X11 +primary_license: x11-fsf +declared_license: + - MIT/X11 - X11 - BSD-3-clause - MIT/X11 - X11 - BSD-3-clause -- x11-fsf AND x11-xconsortium AND bsd-new -- | +license_expression: x11-fsf AND x11-xconsortium AND bsd-new +copyright: | 1998-2017,2018 Free Software Foundation, Inc. 1996-2019,2020 Thomas E. Dickey 2001 Pradeep Padala 1994 X Consortium 1980,1991,1992,1993 The Regents of the University of California +matches: + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: '199' + matched_length: '199' + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-fsf.LICENSE + license_expression: x11-fsf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, distribute with modifications, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR + THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name(s) of the above copyright + holders shall not be used in advertising or otherwise to promote the + sale, use or other dealings in this Software without prior written + authorization. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtinfo6/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtinfo6/copyright.expected.yml index f16d0950fe1..916b5113e0a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtinfo6/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtinfo6/copyright.expected.yml @@ -1,11 +1,128 @@ -- x11-fsf -- - MIT/X11 +primary_license: x11-fsf +declared_license: + - MIT/X11 - X11 - BSD-3-clause -- x11-fsf AND x11-xconsortium AND bsd-new -- | +license_expression: x11-fsf AND x11-xconsortium AND bsd-new +copyright: | 1998-2017,2018 Free Software Foundation, Inc. 1996-2019,2020 Thomas E. Dickey 2001 Pradeep Padala 1994 X Consortium 1980,1991,1992,1993 The Regents of the University of California +matches: + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: '199' + matched_length: '199' + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-fsf.LICENSE + license_expression: x11-fsf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, distribute with modifications, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR + THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name(s) of the above copyright + holders shall not be used in advertising or otherwise to promote the + sale, use or other dealings in this Software without prior written + authorization. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtirpc-common/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtirpc-common/copyright-detailed.expected.yml index a7d1f11e73c..558678a18ff 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtirpc-common/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtirpc-common/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- bsd-new -- - BSD-3-Clause +primary_license: bsd-new +declared_license: + - BSD-3-Clause - GPL-2 - BSD-3-Clause - __AUTO_PERMISSIVE__ @@ -40,13 +41,13 @@ - BSD-4-Clause - LGPL-2.1+ - GPL-2 -- bsd-new AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND bsd-new AND (other-permissive AND free-unknown) - AND bsd-simplified AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-original-voices +license_expression: bsd-new AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND bsd-new AND (other-permissive + AND free-unknown) AND bsd-simplified AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-original-voices AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND fsf-ap AND bsd-new AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new -- | +copyright: | 2005 Bull S.A 2009 Steinar H. Gunderson 2019 Josue Ortega @@ -90,3 +91,272 @@ 1986-2009 Sun Microsystems, Inc. 2010 Oracle America, Inc. 2009 Sun Microsystems, Inc. +matches: + - score: '20.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 20 + identifier: other-permissive_and_free-unknown_2.RULE + license_expression: other-permissive AND free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Autogenerated files with permissive licenses. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap_4.RULE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. This file is offered as-is, + without warranty of any kind. + - score: '100.0' + start_line: 1 + end_line: 22 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_232.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + - Neither the name of Sun Microsystems, Inc. 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 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. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. + - score: '97.93' + start_line: 1 + end_line: 26 + matcher: 3-seq + rule_length: 242 + matched_length: 237 + match_coverage: '97.93' + rule_relevance: 100 + identifier: bsd-original-voices.LICENSE + license_expression: bsd-original-voices + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by Bill Paul. + 4. Neither the name of the author nor the names of any co-contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY Bill Paul 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 Bill Paul 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 48 + matched_length: 48 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_177.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is distributed under the terms of the GNU Lesser General + Public License, version 2.1 or later - see the file COPYING.LIB for details. + If you did not receive a copy of the license with this program, please + see to obtain a copy. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public License + Version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtirpc-common/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtirpc-common/copyright.expected.yml index 85ff5db96a9..8b5f7439ffd 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtirpc-common/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtirpc-common/copyright.expected.yml @@ -1,14 +1,15 @@ -- bsd-new -- - BSD-3-Clause +primary_license: bsd-new +declared_license: + - BSD-3-Clause - __AUTO_PERMISSIVE__ - BSD-2-Clause - BSD-4-Clause - LGPL-2.1+ - PERMISSIVE - GPL-2 -- bsd-new AND (other-permissive AND free-unknown) AND bsd-simplified AND bsd-original-voices +license_expression: bsd-new AND (other-permissive AND free-unknown) AND bsd-simplified AND bsd-original-voices AND (lgpl-2.1-plus AND lgpl-2.1) AND fsf-ap -- | +copyright: | 2005 Bull S.A 1984-2009 Sun Microsystems, Inc. 1986-1991 Sun Microsystems Inc. @@ -32,3 +33,272 @@ 2001 Dima Dorfman. 2001 Daniel Eischen . 2003 Niels Provos +matches: + - score: '20.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 20 + identifier: other-permissive_and_free-unknown_2.RULE + license_expression: other-permissive AND free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Autogenerated files with permissive licenses. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap_4.RULE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. This file is offered as-is, + without warranty of any kind. + - score: '100.0' + start_line: 1 + end_line: 22 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_232.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + - Neither the name of Sun Microsystems, Inc. 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 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. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 AUTHOR 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 AUTHOR 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. + - score: '97.93' + start_line: 1 + end_line: 26 + matcher: 3-seq + rule_length: 242 + matched_length: 237 + match_coverage: '97.93' + rule_relevance: 100 + identifier: bsd-original-voices.LICENSE + license_expression: bsd-original-voices + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by Bill Paul. + 4. Neither the name of the author nor the names of any co-contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY Bill Paul 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 Bill Paul 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 48 + matched_length: 48 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_177.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is distributed under the terms of the GNU Lesser General + Public License, version 2.1 or later - see the file COPYING.LIB for details. + If you did not receive a copy of the license with this program, please + see to obtain a copy. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public License + Version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libudev1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libudev1/copyright-detailed.expected.yml index 8aef2e7ea37..36981b9bbd3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libudev1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libudev1/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- lgpl-2.1-plus AND lgpl-2.1 -- - LGPL-2.1+ +primary_license: lgpl-2.1-plus AND lgpl-2.1 +declared_license: + - LGPL-2.1+ - CC0-1.0 - GPL-2 - GPL-2 with Linux-syscall-note exception @@ -14,11 +15,12 @@ - GPL-2+ - LGPL-2.1+ - CC0-1.0 -- (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (cc0-1.0 AND cc0-1.0 AND cc0-1.0) AND (gpl-2.0 - AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (linux-syscall-exception-gpl AND gpl-2.0 AND gpl-2.0 - AND gpl-2.0) AND mit AND public-domain-disclaimer AND (gpl-2.0-plus AND gpl-2.0-plus) AND - (gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) -- | +license_expression: (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (cc0-1.0 AND cc0-1.0 + AND cc0-1.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (linux-syscall-exception-gpl + AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND mit AND public-domain-disclaimer AND (gpl-2.0-plus + AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) +copyright: | 2008-2015 Kay Sievers 2010-2015 Lennart Poettering 2012-2015 Zbigniew Jędrzejewski-Szmek @@ -93,3 +95,390 @@ 2010-2013 Tollef Fog Heen 2013-2018 Michael Biebl 2013 Michael Stapelberg +matches: + - score: '94.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 94 + identifier: public-domain-disclaimer_7.RULE + license_expression: public-domain-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You can use this free for any purpose. It's in the public domain. It has no + warranty. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_95.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: linux-syscall-exception-gpl.LICENSE + license_expression: linux-syscall-exception-gpl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + NOTE! This copyright does *not* cover user programs that use kernel services + by normal system calls - this is merely considered normal use of the kernel, + and does *not* fall under the heading of "derived work". Also note that the + GPL below is copyrighted by the Free Software Foundation, but the instance of + code that it refers to (the Linux kernel) is copyrighted by me and others who + actually wrote it. + + Also note that the only valid version of the GPL as far as the kernel is + concerned is _this_ particular version of the license (ie v2, not v2.2 or v3.x + or whatever), unless explicitly otherwise stated. + + Linus Torvalds + - score: '100.0' + start_line: 14 + end_line: 25 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_95.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 27 + end_line: 28 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 29 + end_line: 29 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_27.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all copyright + and related and neighboring rights to this software to the public domain + worldwide. This software is distributed without any warranty. + + You should have received a copy of the CC0 Public Domain Dedication along with + this software. If not, see . + - score: '100.0' + start_line: 8 + end_line: 9 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_101.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the CC0 1.0 Universal license can be + found in ‘/usr/share/common-licenses/CC0-1.0’. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libudev1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libudev1/copyright.expected.yml index 330e6cf7934..1b92976af0d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libudev1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libudev1/copyright.expected.yml @@ -1,14 +1,15 @@ -- lgpl-2.1-plus AND lgpl-2.1 -- - LGPL-2.1+ +primary_license: lgpl-2.1-plus AND lgpl-2.1 +declared_license: + - LGPL-2.1+ - CC0-1.0 - GPL-2 - GPL-2 with Linux-syscall-note exception - Expat - public-domain - GPL-2+ -- (lgpl-2.1-plus AND lgpl-2.1) AND cc0-1.0 AND gpl-2.0 AND (linux-syscall-exception-gpl AND - gpl-2.0) AND mit AND public-domain-disclaimer AND gpl-2.0-plus -- | +license_expression: (lgpl-2.1-plus AND lgpl-2.1) AND cc0-1.0 AND gpl-2.0 AND (linux-syscall-exception-gpl + AND gpl-2.0) AND mit AND public-domain-disclaimer AND gpl-2.0-plus +copyright: | 2008-2015 Kay Sievers 2010-2015 Lennart Poettering 2012-2015 Zbigniew Jędrzejewski-Szmek @@ -78,3 +79,390 @@ 2014 Zbigniew Jędrzejewski-Szmek 2014 David Herrmann 2014 Carlos Garnacho +matches: + - score: '94.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 94 + identifier: public-domain-disclaimer_7.RULE + license_expression: public-domain-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You can use this free for any purpose. It's in the public domain. It has no + warranty. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_95.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: linux-syscall-exception-gpl.LICENSE + license_expression: linux-syscall-exception-gpl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + NOTE! This copyright does *not* cover user programs that use kernel services + by normal system calls - this is merely considered normal use of the kernel, + and does *not* fall under the heading of "derived work". Also note that the + GPL below is copyrighted by the Free Software Foundation, but the instance of + code that it refers to (the Linux kernel) is copyrighted by me and others who + actually wrote it. + + Also note that the only valid version of the GPL as far as the kernel is + concerned is _this_ particular version of the license (ie v2, not v2.2 or v3.x + or whatever), unless explicitly otherwise stated. + + Linus Torvalds + - score: '100.0' + start_line: 14 + end_line: 25 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_95.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 27 + end_line: 28 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 29 + end_line: 29 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_27.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all copyright + and related and neighboring rights to this software to the public domain + worldwide. This software is distributed without any warranty. + + You should have received a copy of the CC0 Public Domain Dedication along with + this software. If not, see . + - score: '100.0' + start_line: 8 + end_line: 9 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_101.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the CC0 1.0 Universal license can be + found in ‘/usr/share/common-licenses/CC0-1.0’. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libunistring2/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libunistring2/copyright-detailed.expected.yml index db80851f92e..191550e8fe5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libunistring2/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libunistring2/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- (lgpl-3.0-plus AND lgpl-3.0) OR (gpl-2.0-plus AND gpl-2.0) -- - LGPL-3+ or GPL-2+ +primary_license: (lgpl-3.0-plus AND lgpl-3.0) OR (gpl-2.0-plus AND gpl-2.0) +declared_license: + - LGPL-3+ or GPL-2+ - FreeSoftware - GPL-2+ with distribution exception - GPL-3+ or GFDL-1.2+ @@ -13,13 +14,13 @@ - GPL-2+ - GFDL-1.2+ - MIT -- ((lgpl-3.0-plus AND lgpl-3.0-plus AND lgpl-3.0 AND lgpl-3.0) OR (gpl-2.0-plus AND gpl-2.0-plus - AND gpl-2.0 AND gpl-2.0)) AND fsf-unlimited AND gpl-1.0-plus WITH autoconf-simple-exception-2.0 +license_expression: ((lgpl-3.0-plus AND lgpl-3.0-plus AND lgpl-3.0 AND lgpl-3.0) OR (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0)) AND fsf-unlimited AND gpl-1.0-plus WITH autoconf-simple-exception-2.0 AND ((gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0) OR (gfdl-1.2-plus AND gfdl-1.2-plus)) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND x11-xconsortium AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0) -- | +copyright: | 1995-2017 Free Software Foundation, Inc. 1995-2017 Free Software Foundation, Inc. 1992-2009, Free Software Foundation, Inc. @@ -32,3 +33,359 @@ 1994, X Consortium 2009-2011 Andreas Rottmann 2017-2020 Jörg Frings-Fürst +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 50 + matched_length: 50 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_with_autoconf-simple-exception-2.0_2.RULE + license_expression: gpl-1.0-plus WITH autoconf-simple-exception-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software, distributed under the terms of the GNU + General Public License. As a special exception to the GNU General + Public License, this file may be distributed as part of a program + that contains a configuration script generated by Autoconf, under + the same distribution terms as the rest of that program. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_24.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_51.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Lesser General Public + License version 3 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_41.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 14 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_82.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 16 + end_line: 17 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 18 + end_line: 18 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: debian_common_gfdl-1.2-plus.RULE + license_expression: gfdl-1.2-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gfdl-1.2+' + - score: '100.0' + start_line: 1 + end_line: 10 + matcher: 1-hash + rule_length: 93 + matched_length: 93 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.2-plus_21.RULE + license_expression: gfdl-1.2-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This manual is covered by the GNU FDL. Permission is granted to + copy, distribute and/or modify this document under the terms of the + GNU Free Documentation License (FDL), either version 1.2 of the + License, or (at your option) any later version published by the Free + Software Foundation (FSF); with no Invariant Sections, with no + Front-Cover Text, and with no Back-Cover Texts. + + On Debian systems the full text of the GNU Free Documentation License + version 1.2 can be found in the file + `/usr/share/common-licenses/GFDL-1.2'. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libunistring2/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libunistring2/copyright.expected.yml index e6ce1d6a427..0f4e336a1bc 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libunistring2/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libunistring2/copyright.expected.yml @@ -1,5 +1,6 @@ -- (lgpl-3.0-plus AND lgpl-3.0) OR (gpl-2.0-plus AND gpl-2.0) -- - LGPL-3+ or GPL-2+ +primary_license: (lgpl-3.0-plus AND lgpl-3.0) OR (gpl-2.0-plus AND gpl-2.0) +declared_license: + - LGPL-3+ or GPL-2+ - FreeSoftware - GPL-2+ with distribution exception - GPL-3+ or GFDL-1.2+ @@ -8,10 +9,10 @@ - MIT - LGPL-3+ - GFDL-1.2+ -- ((lgpl-3.0-plus AND lgpl-3.0) OR (gpl-2.0-plus AND gpl-2.0)) AND fsf-unlimited AND gpl-1.0-plus - WITH autoconf-simple-exception-2.0 AND ((gpl-3.0-plus AND gpl-3.0) OR gfdl-1.2-plus) AND (gpl-3.0-plus - AND gpl-3.0) AND (gpl-2.0-plus AND gpl-2.0) AND x11-xconsortium -- | +license_expression: ((lgpl-3.0-plus AND lgpl-3.0) OR (gpl-2.0-plus AND gpl-2.0)) AND fsf-unlimited + AND gpl-1.0-plus WITH autoconf-simple-exception-2.0 AND ((gpl-3.0-plus AND gpl-3.0) OR gfdl-1.2-plus) + AND (gpl-3.0-plus AND gpl-3.0) AND (gpl-2.0-plus AND gpl-2.0) AND x11-xconsortium +copyright: | 1995-2017 Free Software Foundation, Inc. 1992-2009, Free Software Foundation, Inc. 2001-2017 Free Software Foundation, Inc. @@ -20,3 +21,359 @@ 1999-2005 Derek Price , 1999-2005 Adrian Aichner 1994, X Consortium +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 50 + matched_length: 50 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_with_autoconf-simple-exception-2.0_2.RULE + license_expression: gpl-1.0-plus WITH autoconf-simple-exception-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software, distributed under the terms of the GNU + General Public License. As a special exception to the GNU General + Public License, this file may be distributed as part of a program + that contains a configuration script generated by Autoconf, under + the same distribution terms as the rest of that program. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_24.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_51.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Lesser General Public + License version 3 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_41.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 14 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_82.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 16 + end_line: 17 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 18 + end_line: 18 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: debian_common_gfdl-1.2-plus.RULE + license_expression: gfdl-1.2-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gfdl-1.2+' + - score: '100.0' + start_line: 1 + end_line: 10 + matcher: 1-hash + rule_length: 93 + matched_length: 93 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.2-plus_21.RULE + license_expression: gfdl-1.2-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This manual is covered by the GNU FDL. Permission is granted to + copy, distribute and/or modify this document under the terms of the + GNU Free Documentation License (FDL), either version 1.2 of the + License, or (at your option) any later version published by the Free + Software Foundation (FSF); with no Invariant Sections, with no + Front-Cover Text, and with no Back-Cover Texts. + + On Debian systems the full text of the GNU Free Documentation License + version 1.2 can be found in the file + `/usr/share/common-licenses/GFDL-1.2'. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libuuid1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libuuid1/copyright-detailed.expected.yml index 9d40a8e3a7a..3da8450c864 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libuuid1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libuuid1/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - GPL-2 - GPL-2 @@ -43,20 +44,20 @@ - LGPL-2.1+ - LGPL-3+ - MIT -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 - AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND - gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc AND mit - AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new AND - (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) - AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND - lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND + gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc + AND mit AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new + AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND + lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-3.0-plus AND lgpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) -- | +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -249,3 +250,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3) Neither the name of the [ORGANIZATION] 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 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. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libuuid1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libuuid1/copyright.expected.yml index f705a1146cf..4fa8dffb131 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libuuid1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libuuid1/copyright.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - public-domain - BSD-4-clause @@ -11,10 +12,10 @@ - GPL-3+ - LGPL - LGPL-3+ -- (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 AND public-domain AND bsd-original-uc AND mit AND bsd-simplified - AND bsd-new AND (lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1) AND (gpl-3.0-plus - AND gpl-3.0) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND lgpl-3.0-plus -- | +license_expression: (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 AND public-domain AND bsd-original-uc + AND mit AND bsd-simplified AND bsd-new AND (lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND lgpl-3.0-plus +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -194,3 +195,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3) Neither the name of the [ORGANIZATION] 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 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. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libxxhash0/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libxxhash0/copyright-detailed.expected.yml index b2321ce80a0..908c8682c4c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libxxhash0/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libxxhash0/copyright-detailed.expected.yml @@ -1,12 +1,111 @@ -- bsd-simplified -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: + - BSD-2-clause - GPL-2 - GPL-2 - BSD-2-clause - GPL-2 -- bsd-simplified AND (gpl-2.0 AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0-plus AND - gpl-2.0) -- | +license_expression: bsd-simplified AND (gpl-2.0 AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND + gpl-2.0-plus AND gpl-2.0) +copyright: | 2012-2014 Yann Collet 2012-2014 Yann Collet 2018 Norbert Preining +matches: + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libxxhash0/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libxxhash0/copyright.expected.yml index 40fa72f56a6..d6ea50555c5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libxxhash0/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libxxhash0/copyright.expected.yml @@ -1,5 +1,104 @@ -- bsd-simplified -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: + - BSD-2-clause - GPL-2 -- bsd-simplified AND (gpl-2.0 AND gpl-2.0-plus) -- 2012-2014 Yann Collet +license_expression: bsd-simplified AND (gpl-2.0 AND gpl-2.0-plus) +copyright: 2012-2014 Yann Collet +matches: + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libzstd1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libzstd1/copyright-detailed.expected.yml index 91340ac4a55..b076ff40788 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libzstd1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libzstd1/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- bsd-new AND gpl-2.0 -- - BSD-3-clause and GPL-2 +primary_license: bsd-new AND gpl-2.0 +declared_license: + - BSD-3-clause and GPL-2 - zlib - zlib - zlib @@ -9,9 +10,9 @@ - Expat - GPL-2 - BSD-3-clause -- (bsd-new AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0)) AND zlib AND zlib AND mit AND (bsd-new AND - (gpl-2.0 AND gpl-2.0 AND gpl-2.0)) AND mit -- | +license_expression: (bsd-new AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0)) AND zlib AND zlib AND mit + AND (bsd-new AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0)) AND mit +copyright: | 2013-2018, Yann Collet 2016, Przemyslaw Skibinski 2016-2018, Facebook, Inc. @@ -20,3 +21,169 @@ 2003-2008, Yuta Mori 2016-present, Yann Collet, Facebook, Inc. 2015-2016 Kevin Murray +matches: + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_81.RULE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgement in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '99.52' + start_line: 1 + end_line: 21 + matcher: 3-seq + rule_length: 207 + matched_length: 206 + match_coverage: '99.52' + rule_relevance: 100 + identifier: bsd-new_222.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + * Neither the name of [cereal] 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 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 [RANDOLPH] [VOORHIES] OR [SHANE] [GRANT] 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libzstd1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libzstd1/copyright.expected.yml index 3ba06dc34a9..f1a8d0437b1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libzstd1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libzstd1/copyright.expected.yml @@ -1,11 +1,12 @@ -- bsd-new AND gpl-2.0 -- - BSD-3-clause and GPL-2 +primary_license: bsd-new AND gpl-2.0 +declared_license: + - BSD-3-clause and GPL-2 - zlib - Expat - GPL-2 - BSD-3-clause -- (bsd-new AND gpl-2.0) AND zlib AND mit -- | +license_expression: (bsd-new AND gpl-2.0) AND zlib AND mit +copyright: | 2013-2018, Yann Collet 2016, Przemyslaw Skibinski 2016-2018, Facebook, Inc. @@ -13,3 +14,169 @@ (C) 2004, 2005, 2010, 2011, 2012, 2013 Mark Adler 2003-2008, Yuta Mori 2016-present, Yann Collet, Facebook, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_81.RULE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgement in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '99.52' + start_line: 1 + end_line: 21 + matcher: 3-seq + rule_length: 207 + matched_length: 206 + match_coverage: '99.52' + rule_relevance: 100 + identifier: bsd-new_222.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + * Neither the name of [cereal] 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 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 [RANDOLPH] [VOORHIES] OR [SHANE] [GRANT] 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/login/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/login/copyright-detailed.expected.yml index b88d312cb85..5f00fbb88fa 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/login/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/login/copyright-detailed.expected.yml @@ -1,10 +1,89 @@ -- -- -- bsd-new AND tcp-wrappers AND gpl-2.0-plus -- | +primary_license: +declared_license: +license_expression: bsd-new AND tcp-wrappers AND gpl-2.0-plus +copyright: | copyright 1988 - 1994, Julianne Frances Haugh copyright 1997 - 2001, Marek Michalkiewicz copyright 2001 - 2004, Andrzej Krzysztofowicz copyright 2000 - 2007, Tomasz Kloczko Copyright 1995 by Wietse Venema Copyright (c) 1992-2003 Free Software Foundation, Inc. +matches: + - score: '97.18' + start_line: 20 + end_line: 42 + matcher: 2-aho + rule_length: 207 + matched_length: 207 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_67.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. Neither\ + \ the name of [Julianne] F. [Haugh] nor the names of its contributors\n may be used\ + \ to endorse or promote products derived from this software\n without specific prior\ + \ written permission.\n \n THIS SOFTWARE IS PROVIDED BY [JULIE] [HAUGH] AND CONTRIBUTORS\ + \ ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED.\ + \ IN NO EVENT SHALL [JULIE] [HAUGH] OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT\n LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n\ + \ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 72 + end_line: 85 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: tcp-wrappers_3.RULE + license_expression: tcp-wrappers + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Individual files\n * may be covered by other copyrights (as noted in the\ + \ file itself.)\n *\n * This material was originally written and compiled by Wietse Venema\ + \ at\n * Eindhoven University of Technology, The Netherlands, in 1990, 1991,\n * 1992,\ + \ 1993, 1994 and 1995.\n *\n * Redistribution and use in source and binary forms are permitted\n\ + \ * provided that this entire copyright notice is duplicated in all such\n * copies. \ + \ \n *\n * This software is provided \"as is\" and without any expressed or implied\n\ + \ * warranties, including, without limitation, the implied warranties of\n * merchantibility\ + \ and fitness for any particular purpose." + - score: '100.0' + start_line: 92 + end_line: 103 + matcher: 2-aho + rule_length: 100 + matched_length: 100 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_749.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 2, or (at your option)\n any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n\ + \ On Debian GNU/Linux systems, the complete text of the GNU General Public\n License\ + \ can be found in '/usr/share/common-licenses/GPL-2'" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/login/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/login/copyright.expected.yml index b88d312cb85..5f00fbb88fa 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/login/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/login/copyright.expected.yml @@ -1,10 +1,89 @@ -- -- -- bsd-new AND tcp-wrappers AND gpl-2.0-plus -- | +primary_license: +declared_license: +license_expression: bsd-new AND tcp-wrappers AND gpl-2.0-plus +copyright: | copyright 1988 - 1994, Julianne Frances Haugh copyright 1997 - 2001, Marek Michalkiewicz copyright 2001 - 2004, Andrzej Krzysztofowicz copyright 2000 - 2007, Tomasz Kloczko Copyright 1995 by Wietse Venema Copyright (c) 1992-2003 Free Software Foundation, Inc. +matches: + - score: '97.18' + start_line: 20 + end_line: 42 + matcher: 2-aho + rule_length: 207 + matched_length: 207 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_67.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. Neither\ + \ the name of [Julianne] F. [Haugh] nor the names of its contributors\n may be used\ + \ to endorse or promote products derived from this software\n without specific prior\ + \ written permission.\n \n THIS SOFTWARE IS PROVIDED BY [JULIE] [HAUGH] AND CONTRIBUTORS\ + \ ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED.\ + \ IN NO EVENT SHALL [JULIE] [HAUGH] OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT\n LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n\ + \ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 72 + end_line: 85 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: tcp-wrappers_3.RULE + license_expression: tcp-wrappers + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Individual files\n * may be covered by other copyrights (as noted in the\ + \ file itself.)\n *\n * This material was originally written and compiled by Wietse Venema\ + \ at\n * Eindhoven University of Technology, The Netherlands, in 1990, 1991,\n * 1992,\ + \ 1993, 1994 and 1995.\n *\n * Redistribution and use in source and binary forms are permitted\n\ + \ * provided that this entire copyright notice is duplicated in all such\n * copies. \ + \ \n *\n * This software is provided \"as is\" and without any expressed or implied\n\ + \ * warranties, including, without limitation, the implied warranties of\n * merchantibility\ + \ and fitness for any particular purpose." + - score: '100.0' + start_line: 92 + end_line: 103 + matcher: 2-aho + rule_length: 100 + matched_length: 100 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_749.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 2, or (at your option)\n any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n\ + \ On Debian GNU/Linux systems, the complete text of the GNU General Public\n License\ + \ can be found in '/usr/share/common-licenses/GPL-2'" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/logsave/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/logsave/copyright-detailed.expected.yml index 5bc174cbba1..16a70b23cf0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/logsave/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/logsave/copyright-detailed.expected.yml @@ -1,8 +1,8 @@ -- -- -- (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 AND lgpl-2.0) - AND ntp-0 AND bsd-new -- | +primary_license: +declared_license: +license_expression: (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 + AND lgpl-2.0) AND ntp-0 AND bsd-new +copyright: | Copyright (c) 2003-2007 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove @@ -10,3 +10,103 @@ Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o Copyright 1987 by the Student Information Processing Board of the Massachusetts Institute of Technology +matches: + - score: '98.28' + start_line: 17 + end_line: 22 + matcher: 3-seq + rule_length: 58 + matched_length: 57 + match_coverage: '98.28' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_2.RULE + license_expression: gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 [filesystem] utilities, are made available under + the GNU General Public License version 2, with the exception of the + [lib]/[ext2fs] [and] [lib]/[e2p] libraries, which are made available under the + GNU Library General Public License Version 2, the [lib]/[uuid] library + which is made available under a BSD-style license and the [lib]/[et] [and] + [lib]/[ss] libraries which are made available under an MIT-style license. + - score: '100.0' + start_line: 27 + end_line: 30 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_4.RULE + license_expression: gpl-2.0 AND lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General Public + License can be found in `/usr/share/common-licenses/GPL-2'. The + complete text of the GNU Library General Public License can be found + in '/usr/share/common-licenses/LGPL-2'. + - score: '100.0' + start_line: 38 + end_line: 45 + matcher: 2-aho + rule_length: 83 + matched_length: 83 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ntp-0.LICENSE + license_expression: ntp-0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose is hereby granted, provided that + the names of M.I.T. and the M.I.T. S.I.P.B. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. M.I.T. and the + M.I.T. S.I.P.B. make no representations about the suitability of + this software for any purpose. It is provided "as is" without + express or implied warranty. + - score: '100.0' + start_line: 49 + end_line: 73 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or\ + \ promote\n products derived from this software without specific prior\n written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\ + \ EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH\n\ + \ DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/logsave/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/logsave/copyright.expected.yml index 5bc174cbba1..16a70b23cf0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/logsave/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/logsave/copyright.expected.yml @@ -1,8 +1,8 @@ -- -- -- (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 AND lgpl-2.0) - AND ntp-0 AND bsd-new -- | +primary_license: +declared_license: +license_expression: (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 + AND lgpl-2.0) AND ntp-0 AND bsd-new +copyright: | Copyright (c) 2003-2007 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove @@ -10,3 +10,103 @@ Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o Copyright 1987 by the Student Information Processing Board of the Massachusetts Institute of Technology +matches: + - score: '98.28' + start_line: 17 + end_line: 22 + matcher: 3-seq + rule_length: 58 + matched_length: 57 + match_coverage: '98.28' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_2.RULE + license_expression: gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 [filesystem] utilities, are made available under + the GNU General Public License version 2, with the exception of the + [lib]/[ext2fs] [and] [lib]/[e2p] libraries, which are made available under the + GNU Library General Public License Version 2, the [lib]/[uuid] library + which is made available under a BSD-style license and the [lib]/[et] [and] + [lib]/[ss] libraries which are made available under an MIT-style license. + - score: '100.0' + start_line: 27 + end_line: 30 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_4.RULE + license_expression: gpl-2.0 AND lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General Public + License can be found in `/usr/share/common-licenses/GPL-2'. The + complete text of the GNU Library General Public License can be found + in '/usr/share/common-licenses/LGPL-2'. + - score: '100.0' + start_line: 38 + end_line: 45 + matcher: 2-aho + rule_length: 83 + matched_length: 83 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ntp-0.LICENSE + license_expression: ntp-0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose is hereby granted, provided that + the names of M.I.T. and the M.I.T. S.I.P.B. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. M.I.T. and the + M.I.T. S.I.P.B. make no representations about the suitability of + this software for any purpose. It is provided "as is" without + express or implied warranty. + - score: '100.0' + start_line: 49 + end_line: 73 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or\ + \ promote\n products derived from this software without specific prior\n written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\ + \ EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH\n\ + \ DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/lsb-base/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/lsb-base/copyright-detailed.expected.yml index fb04f4c01e1..4a2fd0ae8f0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/lsb-base/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/lsb-base/copyright-detailed.expected.yml @@ -1,10 +1,102 @@ -- gpl-2.0 AND gpl-2.0-plus -- - GPL-2 +primary_license: gpl-2.0 AND gpl-2.0-plus +declared_license: + - GPL-2 - GPL-2 - BSD-3-clause - GPL-2 -- (gpl-2.0 AND gpl-2.0-plus) AND (gpl-2.0 AND gpl-2.0-plus) AND bsd-new -- | +license_expression: (gpl-2.0 AND gpl-2.0-plus) AND (gpl-2.0 AND gpl-2.0-plus) AND bsd-new +copyright: | 2002-2010, Chris Lawrence 2005-2011, Canonical Ltd. 2002-2009, Chris Lawrence +matches: + - score: '99.53' + start_line: 1 + end_line: 23 + matcher: 3-seq + rule_length: 213 + matched_length: 212 + match_coverage: '99.53' + rule_relevance: 100 + identifier: bsd-new_205.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. Neither the name of the author nor the names of [other] contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '89.21' + start_line: 1 + end_line: '19' + matcher: 3-seq + rule_length: 139 + matched_length: 124 + match_coverage: '89.21' + rule_relevance: 100 + identifier: gpl-2.0-plus_612.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; + [version] [2] [dated] [June] [1991]. + + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + + You should have received a copy of the GNU General Public + License along with this [package]; if not, write to the Free + Software Foundation, Inc., 51 Franklin [St], Fifth Floor, + Boston, MA 02110-1301 USA + + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/lsb-base/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/lsb-base/copyright.expected.yml index 8899f2f4270..87d6b089518 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/lsb-base/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/lsb-base/copyright.expected.yml @@ -1,8 +1,100 @@ -- gpl-2.0 AND gpl-2.0-plus -- - GPL-2 +primary_license: gpl-2.0 AND gpl-2.0-plus +declared_license: + - GPL-2 - BSD-3-clause -- (gpl-2.0 AND gpl-2.0-plus) AND bsd-new -- | +license_expression: (gpl-2.0 AND gpl-2.0-plus) AND bsd-new +copyright: | 2002-2010, Chris Lawrence 2005-2011, Canonical Ltd. 2002-2009, Chris Lawrence +matches: + - score: '99.53' + start_line: 1 + end_line: 23 + matcher: 3-seq + rule_length: 213 + matched_length: 212 + match_coverage: '99.53' + rule_relevance: 100 + identifier: bsd-new_205.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. Neither the name of the author nor the names of [other] contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '89.21' + start_line: 1 + end_line: '19' + matcher: 3-seq + rule_length: 139 + matched_length: 124 + match_coverage: '89.21' + rule_relevance: 100 + identifier: gpl-2.0-plus_612.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; + [version] [2] [dated] [June] [1991]. + + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + + You should have received a copy of the GNU General Public + License along with this [package]; if not, write to the Free + Software Foundation, Inc., 51 Franklin [St], Fifth Floor, + Boston, MA 02110-1301 USA + + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mawk/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mawk/copyright-detailed.expected.yml index 1f86ac220a4..1f0ff737c66 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mawk/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mawk/copyright-detailed.expected.yml @@ -1,8 +1,33 @@ -- -- -- gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0 +copyright: | Copyright (c) Michael D. Brennan Copyright (c) 1995-96 Chris Fearnley Copyright (c) 1998-2003 James Troup Copyright (c) 2009-2018,2019,2020 by Thomas E. Dickey +matches: + - score: '99.18' + start_line: '19' + end_line: 32 + matcher: 2-aho + rule_length: 121 + matched_length: 121 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1030.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n it\ + \ under the terms of the GNU General Public License version 2 as published\n by the Free\ + \ Software Foundation.\n \n This program is distributed in the hope that it will be useful,\ + \ but\n WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or\ + \ FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n General Public License for more details.\n\ + \ \n You should have received a copy of the GNU General Public License with\n your Debian\ + \ GNU system, in /usr/share/common-licenses/GPL-2, or with the\n Debian GNU [mawk] source\ + \ package as the file COPYING. If not, write to\n the Free Software Foundation, Inc.,\ + \ 51 Franklin St, Fifth Floor,\n Boston, MA 02110-1301, USA." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mawk/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mawk/copyright.expected.yml index 1f86ac220a4..1f0ff737c66 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mawk/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mawk/copyright.expected.yml @@ -1,8 +1,33 @@ -- -- -- gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0 +copyright: | Copyright (c) Michael D. Brennan Copyright (c) 1995-96 Chris Fearnley Copyright (c) 1998-2003 James Troup Copyright (c) 2009-2018,2019,2020 by Thomas E. Dickey +matches: + - score: '99.18' + start_line: '19' + end_line: 32 + matcher: 2-aho + rule_length: 121 + matched_length: 121 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1030.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n it\ + \ under the terms of the GNU General Public License version 2 as published\n by the Free\ + \ Software Foundation.\n \n This program is distributed in the hope that it will be useful,\ + \ but\n WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or\ + \ FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n General Public License for more details.\n\ + \ \n You should have received a copy of the GNU General Public License with\n your Debian\ + \ GNU system, in /usr/share/common-licenses/GPL-2, or with the\n Debian GNU [mawk] source\ + \ package as the file COPYING. If not, write to\n the Free Software Foundation, Inc.,\ + \ 51 Franklin St, Fifth Floor,\n Boston, MA 02110-1301, USA." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mount/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mount/copyright-detailed.expected.yml index 9d40a8e3a7a..3da8450c864 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mount/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mount/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - GPL-2 - GPL-2 @@ -43,20 +44,20 @@ - LGPL-2.1+ - LGPL-3+ - MIT -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 - AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND - gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc AND mit - AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new AND - (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) - AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND - lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND + gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc + AND mit AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new + AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND + lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-3.0-plus AND lgpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) -- | +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -249,3 +250,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3) Neither the name of the [ORGANIZATION] 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 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. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mount/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mount/copyright.expected.yml index f705a1146cf..4fa8dffb131 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mount/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mount/copyright.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - public-domain - BSD-4-clause @@ -11,10 +12,10 @@ - GPL-3+ - LGPL - LGPL-3+ -- (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 AND public-domain AND bsd-original-uc AND mit AND bsd-simplified - AND bsd-new AND (lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1) AND (gpl-3.0-plus - AND gpl-3.0) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND lgpl-3.0-plus -- | +license_expression: (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 AND public-domain AND bsd-original-uc + AND mit AND bsd-simplified AND bsd-new AND (lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND lgpl-3.0-plus +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -194,3 +195,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3) Neither the name of the [ORGANIZATION] 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 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. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/ncurses-base/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/ncurses-base/copyright-detailed.expected.yml index c6a3f221cde..651298869f0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/ncurses-base/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/ncurses-base/copyright-detailed.expected.yml @@ -1,14 +1,131 @@ -- x11-fsf -- - MIT/X11 +primary_license: x11-fsf +declared_license: + - MIT/X11 - X11 - BSD-3-clause - MIT/X11 - X11 - BSD-3-clause -- x11-fsf AND x11-xconsortium AND bsd-new -- | +license_expression: x11-fsf AND x11-xconsortium AND bsd-new +copyright: | 1998-2017,2018 Free Software Foundation, Inc. 1996-2019,2020 Thomas E. Dickey 2001 Pradeep Padala 1994 X Consortium 1980,1991,1992,1993 The Regents of the University of California +matches: + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: '199' + matched_length: '199' + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-fsf.LICENSE + license_expression: x11-fsf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, distribute with modifications, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR + THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name(s) of the above copyright + holders shall not be used in advertising or otherwise to promote the + sale, use or other dealings in this Software without prior written + authorization. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/ncurses-base/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/ncurses-base/copyright.expected.yml index f16d0950fe1..916b5113e0a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/ncurses-base/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/ncurses-base/copyright.expected.yml @@ -1,11 +1,128 @@ -- x11-fsf -- - MIT/X11 +primary_license: x11-fsf +declared_license: + - MIT/X11 - X11 - BSD-3-clause -- x11-fsf AND x11-xconsortium AND bsd-new -- | +license_expression: x11-fsf AND x11-xconsortium AND bsd-new +copyright: | 1998-2017,2018 Free Software Foundation, Inc. 1996-2019,2020 Thomas E. Dickey 2001 Pradeep Padala 1994 X Consortium 1980,1991,1992,1993 The Regents of the University of California +matches: + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: '199' + matched_length: '199' + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-fsf.LICENSE + license_expression: x11-fsf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, distribute with modifications, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR + THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name(s) of the above copyright + holders shall not be used in advertising or otherwise to promote the + sale, use or other dealings in this Software without prior written + authorization. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/passwd/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/passwd/copyright-detailed.expected.yml index b88d312cb85..5f00fbb88fa 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/passwd/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/passwd/copyright-detailed.expected.yml @@ -1,10 +1,89 @@ -- -- -- bsd-new AND tcp-wrappers AND gpl-2.0-plus -- | +primary_license: +declared_license: +license_expression: bsd-new AND tcp-wrappers AND gpl-2.0-plus +copyright: | copyright 1988 - 1994, Julianne Frances Haugh copyright 1997 - 2001, Marek Michalkiewicz copyright 2001 - 2004, Andrzej Krzysztofowicz copyright 2000 - 2007, Tomasz Kloczko Copyright 1995 by Wietse Venema Copyright (c) 1992-2003 Free Software Foundation, Inc. +matches: + - score: '97.18' + start_line: 20 + end_line: 42 + matcher: 2-aho + rule_length: 207 + matched_length: 207 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_67.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. Neither\ + \ the name of [Julianne] F. [Haugh] nor the names of its contributors\n may be used\ + \ to endorse or promote products derived from this software\n without specific prior\ + \ written permission.\n \n THIS SOFTWARE IS PROVIDED BY [JULIE] [HAUGH] AND CONTRIBUTORS\ + \ ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED.\ + \ IN NO EVENT SHALL [JULIE] [HAUGH] OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT\n LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n\ + \ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 72 + end_line: 85 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: tcp-wrappers_3.RULE + license_expression: tcp-wrappers + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Individual files\n * may be covered by other copyrights (as noted in the\ + \ file itself.)\n *\n * This material was originally written and compiled by Wietse Venema\ + \ at\n * Eindhoven University of Technology, The Netherlands, in 1990, 1991,\n * 1992,\ + \ 1993, 1994 and 1995.\n *\n * Redistribution and use in source and binary forms are permitted\n\ + \ * provided that this entire copyright notice is duplicated in all such\n * copies. \ + \ \n *\n * This software is provided \"as is\" and without any expressed or implied\n\ + \ * warranties, including, without limitation, the implied warranties of\n * merchantibility\ + \ and fitness for any particular purpose." + - score: '100.0' + start_line: 92 + end_line: 103 + matcher: 2-aho + rule_length: 100 + matched_length: 100 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_749.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 2, or (at your option)\n any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n\ + \ On Debian GNU/Linux systems, the complete text of the GNU General Public\n License\ + \ can be found in '/usr/share/common-licenses/GPL-2'" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/passwd/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/passwd/copyright.expected.yml index b88d312cb85..5f00fbb88fa 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/passwd/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/passwd/copyright.expected.yml @@ -1,10 +1,89 @@ -- -- -- bsd-new AND tcp-wrappers AND gpl-2.0-plus -- | +primary_license: +declared_license: +license_expression: bsd-new AND tcp-wrappers AND gpl-2.0-plus +copyright: | copyright 1988 - 1994, Julianne Frances Haugh copyright 1997 - 2001, Marek Michalkiewicz copyright 2001 - 2004, Andrzej Krzysztofowicz copyright 2000 - 2007, Tomasz Kloczko Copyright 1995 by Wietse Venema Copyright (c) 1992-2003 Free Software Foundation, Inc. +matches: + - score: '97.18' + start_line: 20 + end_line: 42 + matcher: 2-aho + rule_length: 207 + matched_length: 207 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_67.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. Neither\ + \ the name of [Julianne] F. [Haugh] nor the names of its contributors\n may be used\ + \ to endorse or promote products derived from this software\n without specific prior\ + \ written permission.\n \n THIS SOFTWARE IS PROVIDED BY [JULIE] [HAUGH] AND CONTRIBUTORS\ + \ ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED.\ + \ IN NO EVENT SHALL [JULIE] [HAUGH] OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT\n LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n\ + \ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 72 + end_line: 85 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: tcp-wrappers_3.RULE + license_expression: tcp-wrappers + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Individual files\n * may be covered by other copyrights (as noted in the\ + \ file itself.)\n *\n * This material was originally written and compiled by Wietse Venema\ + \ at\n * Eindhoven University of Technology, The Netherlands, in 1990, 1991,\n * 1992,\ + \ 1993, 1994 and 1995.\n *\n * Redistribution and use in source and binary forms are permitted\n\ + \ * provided that this entire copyright notice is duplicated in all such\n * copies. \ + \ \n *\n * This software is provided \"as is\" and without any expressed or implied\n\ + \ * warranties, including, without limitation, the implied warranties of\n * merchantibility\ + \ and fitness for any particular purpose." + - score: '100.0' + start_line: 92 + end_line: 103 + matcher: 2-aho + rule_length: 100 + matched_length: 100 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_749.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 2, or (at your option)\n any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n\ + \ On Debian GNU/Linux systems, the complete text of the GNU General Public\n License\ + \ can be found in '/usr/share/common-licenses/GPL-2'" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/perl-base/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/perl-base/copyright-detailed.expected.yml index 09bfdee4717..9f3a6210421 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/perl-base/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/perl-base/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0) -- - GPL-1+ or Artistic +primary_license: (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0) +declared_license: + - GPL-1+ or Artistic - GPL-1+ or Artistic - GPL-1+ or Artistic - GPL-1+ or Artistic @@ -222,8 +223,8 @@ - CC0-1.0 - RRA-KEEP-THIS-NOTICE - Artistic-dist -- ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR - artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) +license_expression: ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND + (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus @@ -443,7 +444,7 @@ artistic-2.0) AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND mit) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) -- | +copyright: | Perl is Copyright (C) 1987-2021 by Larry Wall and others. All rights reserved. Copyright (c) 1996-2006, Nick Ing-Simmons Copyright (c) 2006, 2007, 2008 Larry Wall and others @@ -786,3 +787,4777 @@ The other people listed in debian/changelog are most probably copyright holders too, but they have not included explicit copyright or licensing information. +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_249.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the LGPL 2.1 + license can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_395.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-1+' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0_38.RULE + license_expression: gpl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1040.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of version 2 of + the GNU General Public License can be found in + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: artistic' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 21 + matched_length: 21 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_2.RULE + license_expression: artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the + Artistic Licence can be found in `/usr/share/common-licenses/Artistic'. + - score: '100.0' + start_line: 1 + end_line: 182 + matcher: 1-hash + rule_length: 1351 + matched_length: 1351 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_36.RULE + license_expression: artistic-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copyright (c) 2000-2006, The Perl Foundation. + + Everyone is permitted to copy and distribute verbatim copies of this + license document, but changing it is not allowed. + + Preamble + + This license establishes the terms under which a given free software + Package may be copied, modified, distributed, and/or redistributed. + The intent is that the Copyright Holder maintains some artistic + control over the development of that Package while still keeping the + Package available as open source and free software. + + You are always permitted to make arrangements wholly outside of this + license directly with the Copyright Holder of a given Package. If the + terms of this license do not permit the full use that you propose to + make of the Package, you should contact the Copyright Holder and seek + a different licensing arrangement. + + Definitions + + "Copyright Holder" means the individual(s) or organization(s) named in + the copyright notice for the entire Package. + + "Contributor" means any party that has contributed code or other + material to the Package, in accordance with the Copyright Holder's + procedures. + + "You" and "your" means any person who would like to copy, distribute, + or modify the Package. + + "Package" means the collection of files distributed by the Copyright + Holder, and derivatives of that collection and/or of those files. A + given Package may consist of either the Standard Version, or a + Modified Version. + + "Distribute" means providing a copy of the Package or making it + accessible to anyone else, or in the case of a company or + organization, to others outside of your company or organization. + + "Distributor Fee" means any fee that you charge for Distributing this + Package or providing support for this Package to another party. It + does not mean licensing fees. + + "Standard Version" refers to the Package if it has not been modified, + or has been modified only in ways explicitly requested by the + Copyright Holder. + + "Modified Version" means the Package, if it has been changed, and such + changes were not explicitly requested by the Copyright Holder. + + "Original License" means this Artistic License as Distributed with the + Standard Version of the Package, in its current version or as it may + be modified by The Perl Foundation in the future. + + "Source" form means the source code, documentation source, and + configuration files for the Package. + + "Compiled" form means the compiled bytecode, object code, binary, or + any other form resulting from mechanical transformation or translation + of the Source form. + + Permission for Use and Modification Without Distribution + + (1) You are permitted to use the Standard Version and create and use + Modified Versions for any purpose without restriction, provided that + you do not Distribute the Modified Version. + + Permissions for Redistribution of the Standard Version + + (2) You may Distribute verbatim copies of the Source form of the + Standard Version of this Package in any medium without restriction, + either gratis or for a Distributor Fee, provided that you duplicate + all of the original copyright notices and associated disclaimers. At + your discretion, such verbatim copies may or may not include a + Compiled form of the Package. + + (3) You may apply any bug fixes, portability changes, and other + modifications made available from the Copyright Holder. The resulting + Package will still be considered the Standard Version, and as such + will be subject to the Original License. + + Distribution of Modified Versions of the Package as Source + + (4) You may Distribute your Modified Version as Source (either gratis + or for a Distributor Fee, and with or without a Compiled form of the + Modified Version) provided that you clearly document how it differs + from the Standard Version, including, but not limited to, documenting + any non-standard features, executables, or modules, and provided that + you do at least ONE of the following: + + (a) make the Modified Version available to the Copyright Holder of the + Standard Version, under the Original License, so that the Copyright + Holder may include your modifications in the Standard Version. (b) + ensure that installation of your Modified Version does not prevent the + user installing or running the Standard Version. In addition, the + Modified Version must bear a name that is different from the name of + the Standard Version. (c) allow anyone who receives a copy of the + Modified Version to make the Source form of the Modified Version + available to others under (i) the Original License or (ii) a license + that permits the licensee to freely copy, modify and redistribute the + Modified Version using the same licensing terms that apply to the copy + that the licensee received, and requires that the Source form of the + Modified Version, and of any works derived from it, be made freely + available in that license fees are prohibited but Distributor Fees are + allowed. + + Distribution of Compiled Forms of the Standard Version or Modified + Versions without the Source + + (5) You may Distribute Compiled forms of the Standard Version without + the Source, provided that you include complete instructions on how to + get the Source of the Standard Version. Such instructions must be + valid at the time of your distribution. If these instructions, at any + time while you are carrying out such distribution, become invalid, you + must provide new instructions on demand or cease further distribution. + If you provide valid instructions or cease distribution within thirty + days after you become aware that the instructions are invalid, then + you do not forfeit any of your rights under this license. + + (6) You may Distribute a Modified Version in Compiled form without the + Source, provided that you comply with Section 4 with respect to the + Source of the Modified Version. + + Aggregating or Linking the Package + + (7) You may aggregate the Package (either the Standard Version or + Modified Version) with other packages and Distribute the resulting + aggregation provided that you do not charge a licensing fee for the + Package. Distributor Fees are permitted, and licensing fees for other + components in the aggregation are permitted. The terms of this license + apply to the use and Distribution of the Standard or Modified Versions + as included in the aggregation. + + (8) You are permitted to link Modified and Standard Versions with + other works, to embed the Package in a larger work of your own, or to + build stand-alone binary or bytecode versions of applications that + include the Package, and Distribute the result without restriction, + provided the result does not expose a direct interface to the Package. + + Items That are Not Considered Part of a Modified Version + + (9) Works (including, but not limited to, modules and scripts) that + merely extend or make use of the Package, do not, by themselves, cause + the Package to be a Modified Version. In addition, such works are not + considered parts of the Package itself, and are not subject to the + terms of this license. + + General Provisions + + (10) Any use, modification, and distribution of the Standard or + Modified Versions is governed by this Artistic License. By using, + modifying or distributing the Package, you accept this license. Do not + use, modify, or distribute the Package, if you do not accept this + license. + + (11) If your Modified Version has been derived from a Modified Version + made by someone other than you, you are nevertheless required to + ensure that your Modified Version complies with the requirements of + this license. + + (12) This license does not grant you the right to use any trademark, + service mark, tradename, or logo of the Copyright Holder. + + (13) This license includes the non-exclusive, worldwide, + free-of-charge patent license to make, have made, use, offer to sell, + sell, import and otherwise transfer the Package with respect to any + patent claims licensable by the Copyright Holder that are necessarily + infringed by the Package. If you institute patent litigation + (including a cross-claim or counterclaim) against any party alleging + that the Package constitutes direct or contributory patent + infringement, then this Artistic License to you shall terminate on the + date that such litigation is filed. + + (14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT + HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED + WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A + PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT + PERMITTED BY YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT + HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE + OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 30 + matcher: 2-aho + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bzip2-libbzip-2010.LICENSE + license_expression: bzip2-libbzip-2010 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + . + 3. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + . + 4. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '96.49' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 220 + matched_length: 220 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_48.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this + software must display the following acknowledgement: + This product includes software developed by [Powerdog] [Industries]. + 4. The name of [Powerdog] [Industries] may not be used to endorse or + promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY [POWERDOG] [INDUSTRIES] ``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 [POWERDOG] [INDUSTRIES] 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. + - score: '99.78' + start_line: 2 + end_line: 56 + matcher: 3-seq + rule_length: 464 + matched_length: 463 + match_coverage: '99.78' + rule_relevance: 100 + identifier: unicode-dfs-2015_1.RULE + license_expression: unicode-dfs-2015 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE + + Unicode Data Files include all data files under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + and http://www.unicode.org/cldr/data/ . Unicode Data Files + do not include PDF online code charts under the directory + http://www.unicode.org/Public/. Software includes any + source code published in the Unicode Standard or under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + and http://www.unicode.org/cldr/data/. + + NOTICE TO USER: Carefully read the following legal agreement. BY + DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE + INC.'S DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), YOU + UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE TERMS AND + CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT DOWNLOAD, + INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. + + COPYRIGHT AND PERMISSION NOTICE + + Copyright © 1991-[2011] Unicode, Inc. All rights + reserved. Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person + obtaining a copy of the Unicode data files and any associated + documentation (the "Data Files") or Unicode software and any + associated documentation (the "Software") to deal in the Data Files + or Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, + and/or sell copies of the Data Files or Software, and to permit + persons to whom the Data Files or Software are furnished to do so, + provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, + (b) both the above copyright notice(s) and this permission notice + appear in associated documentation, and (c) there is clear notice + in each modified Data File or in the Software as well as in the + documentation associated with the Data File(s) or Software that + the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY + OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE + AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE + COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE + FOR ANY CLAIM, OR ANY SPECIAL 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 DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in these Data Files or Software without + prior written authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 207 + matched_length: 207 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_313.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: regexp.LICENSE + license_expression: regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to anyone to use this software for any + purpose on any computer system, and to redistribute it freely, + subject to the following restrictions: + + 1. The author is not responsible for the consequences of use of + this software, no matter how awful, even if they arise + from defects in it. + + 2. The origin of this software must not be misrepresented, either + by explicit claim or by omission. + + 3. Altered versions must be plainly marked as such, and must not + be misrepresented as being the original software. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_212.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module may be modified, used, copied, and redistributed at your own risk. + + Although allowed by the preceding license, please do not publicly + redistribute modified versions of this code with the name "Text::Tabs" + unless it passes the unmodified Text::Tabs test suite. + - score: '90.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_4.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_45.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: placed in the public domain. + - score: '100.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_285.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is in the public domain, + - score: '70.0' + start_line: 10 + end_line: 10 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public-domain + - score: '70.0' + start_line: '19' + end_line: '19' + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_bison-exception-3.0_1.RULE + license_expression: gpl-3.0-plus WITH bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 121 + matched_length: 121 + match_coverage: '100.0' + rule_relevance: 100 + identifier: paul-hsieh-derivative_1.RULE + license_expression: paul-hsieh-derivative + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The derivative content includes raw computer source code, ideas, + opinions, and excerpts whose original source is covered under another + license and transformations of such derivatives. Note that mere excerpts + by themselves (with the exception of raw source code) are not considered + derivative works under this license. Use and redistribution is limited + to the following conditions: + + One may not create a derivative work which, in any way, violates the + Paul Hsieh exposition license described above on the original content. + + One may not apply a license to a derivative work that precludes + anyone else from using and redistributing derivative content. + + One may not attribute any derivative content to authors not involved + in the creation of the content, though an attribution to the author + is not necessary. + - score: '99.0' + start_line: 4 + end_line: 29 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-x11_10.RULE + license_expression: bsd-x11 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + Neither my name, Paul Hsieh, nor the names of any other contributors + to the code use may not be used to endorse or promote products + derived from this software without specific prior written permission. + + 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 + OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '99.38' + start_line: 1 + end_line: 120 + matcher: 3-seq + rule_length: 975 + matched_length: 969 + match_coverage: '99.38' + rule_relevance: 100 + identifier: cc0-1.0_116.RULE + license_expression: cc0-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + of Purpose + + The laws of most jurisdictions throughout the world automatically confer + exclusive Copyright and Related Rights (defined below) upon the creator + and subsequent owner(s) (each and all, an "owner") of an original work + of authorship and/or a database (each, a "Work"). + + Certain owners wish to permanently relinquish those rights to a Work + for the purpose of contributing to a commons of creative, cultural and + scientific works ("Commons") that the public can reliably and without + fear of later claims of infringement build upon, modify, incorporate in + other works, reuse and redistribute as freely as possible in any form + whatsoever and for any purposes, including without limitation commercial + purposes. These owners may contribute to the Commons to promote the ideal + of a free culture and the further production of creative, cultural and + scientific works, or to gain reputation or greater distribution for + their Work in part through the use and efforts of others. + + For these and/or other purposes and motivations, and without any + expectation of additional consideration or compensation, the person + associating CC0 with a Work (the "Affirmer"), to the extent that + he or she is an owner of Copyright and Related Rights in the Work, + voluntarily elects to apply CC0 to the Work and publicly distribute + the Work under its terms, with knowledge of his or her Copyright and + Related Rights in the Work and the meaning and intended legal effect + of CC0 on those rights. + + 1. Copyright and Related Rights. A Work made available under CC0 may be + protected by copyright and related or neighboring rights ("Copyright + and Related Rights"). Copyright and Related Rights include, but are + not limited to, the following: + + the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + + moral rights retained by the original author(s) and/or performer(s); + + publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + + rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + + rights protecting the extraction, dissemination, use and reuse of data in a Work; + + database rights (such as those arising under Directive 96/9/EC + of the European Parliament and of the Council of 11 March 1996 + on the legal protection of databases, and under any national + implementation thereof, including any amended or successor version + of such directive); and + + other similar, equivalent or corresponding rights throughout the world + based on applicable law or treaty, and any national implementations + thereof. + + 2. Waiver. To the greatest extent permitted by, but not in contravention + of, applicable law, Affirmer hereby overtly, fully, permanently, + irrevocably and unconditionally waives, abandons, and surrenders all + of Affirmer's Copyright and Related Rights and associated claims and + causes of action, whether now known or unknown (including existing + as well as future claims and causes of action), in the Work (i) in + all territories worldwide, (ii) for the maximum duration provided by + applicable law or treaty (including future time extensions), (iii) + in any current or future medium and for any number of copies, and (iv) + for any purpose whatsoever, including without limitation commercial, + advertising or promotional purposes (the "Waiver"). Affirmer makes the + Waiver for the benefit of each member of the public at large and to the + detriment of Affirmer's heirs and successors, fully intending that such + Waiver shall not be subject to revocation, rescission, cancellation, + termination, or any other legal or equitable action to disrupt the + quiet enjoyment of the Work by the public as contemplated by Affirmer's + express Statement of Purpose. + + 3. Public License Fallback. Should any part of the Waiver for any + reason be judged legally invalid or ineffective under applicable law, + then the Waiver shall be preserved to the maximum extent permitted + taking into account Affirmer's express Statement of Purpose. In + addition, to the extent the Waiver is so judged Affirmer hereby + grants to each affected person a royalty-free, non transferable, non + sublicensable, non exclusive, irrevocable and unconditional license + to exercise Affirmer's Copyright and Related Rights in the Work (i) + in all territories worldwide, (ii) for the maximum duration provided + by applicable law or treaty (including future time extensions), (iii) + in any current or future medium and for any number of copies, and (iv) + for any purpose whatsoever, including without limitation commercial, + advertising or promotional purposes (the "License"). The License shall + be deemed effective as of the date CC0 was applied by Affirmer to the + Work. Should any part of the License for any reason be judged legally + invalid or ineffective under applicable law, such partial invalidity + or ineffectiveness shall not invalidate the remainder of the License, + and in such case Affirmer hereby affirms that he or she will not (i) + exercise any of his or her remaining Copyright and Related Rights in + the Work or (ii) assert any associated claims and causes of action + with respect to the Work, in either case contrary to Affirmer's express + Statement of Purpose. + + 4. Limitations and Disclaimers. + + No trademark or patent rights held by Affirmer are waived, + abandoned, surrendered, licensed or otherwise affected by this + document. + + Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties + of title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, + or the present or absence of errors, whether or not discoverable, + all to the greatest extent permissible under applicable law. + + Affirmer disclaims responsibility for clearing rights of other + persons that may apply to the Work or any use thereof, including + without limitation any person's Copyright and Related Rights in the + Work. Further, Affirmer disclaims responsibility for obtaining any + necessary consents, permissions or other rights required for any + use of the Work. + + Affirmer understands and acknowledges that Creative Commons is not + a party to this document and has no duty or obligation with respect + to this CC0 or use of the Work. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap.LICENSE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, are + permitted in any medium without royalty provided the copyright notice and + this notice are preserved. This file is offered as-is, without any + warranty. + - score: '100.0' + start_line: 1 + end_line: 125 + matcher: 1-hash + rule_length: 946 + matched_length: 946 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-dist-1.0.LICENSE + license_expression: artistic-dist-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The "Artistic License" + + Preamble + + The intent of this document is to state the conditions under which a + Package may be copied, such that the Copyright Holder maintains some + semblance of artistic control over the development of the Package, + while giving the users of the package the right to use and distribute + the Package in a more-or-less customary fashion, plus the right to make + reasonable modifications. + + It also grants you the rights to reuse parts of a Package in your own + programs without transferring this License to those programs, provided + that you meet some reasonable requirements. + + Definitions: + + "Package" refers to the collection of files distributed by the + Copyright Holder, and derivatives of that collection of files + created through textual modification. + + "Standard Version" refers to such a Package if it has not been + modified, or has been modified in accordance with the wishes + of the Copyright Holder as specified below. + + "Copyright Holder" is whoever is named in the copyright or + copyrights for the package. + + "You" is you, if you're thinking about copying or distributing + this Package. + + "Reasonable copying fee" is whatever you can justify on the + basis of media cost, duplication charges, time of people involved, + and so on. (You will not be required to justify it to the + Copyright Holder, but only to the computing community at large + as a market that must bear the fee.) + + "Freely Available" means that no fee is charged for the item + itself, though there may be fees involved in handling the item. + It also means that recipients of the item may redistribute it + under the same conditions they received it. + + 1. You may make and give away verbatim copies of the source form of the + Standard Version of this Package without restriction, provided that you + duplicate all of the original copyright notices and associated disclaimers. + + 2. You may apply bug fixes, portability fixes and other modifications + derived from the Public Domain or from the Copyright Holder. A Package + modified in such a way shall still be considered the Standard Version. + + 3. You may otherwise modify your copy of this Package in any way, provided + that you insert a prominent notice in each changed file stating how and + when you changed that file, and provided that you do at least ONE of the + following: + + a) place your modifications in the Public Domain or otherwise make them + Freely Available, such as by posting said modifications to Usenet or + an equivalent medium, or placing the modifications on a major archive + site such as uunet.uu.net, or by allowing the Copyright Holder to include + your modifications in the Standard Version of the Package. + + b) use the modified Package only within your corporation or organization. + + c) rename any non-standard executables so the names do not conflict + with standard executables, which must also be provided, and provide + a separate manual page for each non-standard executable that clearly + documents how it differs from the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 4. You may distribute the programs of this Package in object code or + executable form, provided that you do at least ONE of the following: + + a) distribute a Standard Version of the executables and library files, + together with instructions (in the manual page or equivalent) on where + to get the Standard Version. + + b) accompany the distribution with the machine-readable source of + the Package with your modifications. + + c) give non-standard executables non-standard names, and clearly + document the differences in manual pages (or equivalent), together + with instructions on where to get the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 5. You may charge a reasonable copying fee for any distribution of this + Package. You may charge any fee you choose for support of this + Package. You may not charge a fee for this Package itself. However, + you may distribute this Package in aggregate with other (possibly + commercial) programs as part of a larger (possibly commercial) software + distribution provided that you do not advertise this Package as a + product of your own. + + 6. The scripts and library files supplied as input to or produced as + output from the programs of this Package do not automatically fall + under the copyright of this Package, but belong to whoever generated + them, and may be sold commercially, and may be aggregated with this + Package. If such scripts or library files are aggregated with this + Package via the so-called "undump" or "unexec" methods of producing a + binary executable image, then distribution of such an image shall + neither be construed as a distribution of this Package nor shall it + fall under the restrictions of Paragraphs 3 and 4, provided that you do + not represent such an executable image as a Standard Version of this + Package. + + 7. You may reuse parts of this Package in your own programs, provided that + you explicitly state where you got them from, in the source code (and, left + to your courtesy, in the documentation), duplicating all the associated + copyright notices and disclaimers. Besides your changes, if any, must be + clearly marked as such. Parts reused that way will no longer fall under this + license if, and only if, the name of your program(s) have no immediate + connection with the name of the Package itself or its associated programs. + You may then apply whatever restrictions you wish on the reused parts or + choose to place them in the Public Domain--this will apply only within the + context of your package. + + 8. The name of the Copyright Holder may not be used to endorse or promote + products derived from this software without specific prior written permission. + + 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + The End + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 2-aho + rule_length: 49 + matched_length: 49 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_14.RULE + license_expression: unicode + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For terms of use, see http://www.unicode.org/terms_of_use.html + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_26.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself, either Perl version 5.10.0 or, + at your option, any later version of Perl 5 you may have available. + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_34.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: All files are licensed under the same terms as Perl itself. + - score: '90.91' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_32.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: The [PerlUi] class is licensed under the same terms as Perl itself. + - score: '91.67' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_31.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: The [Symbian] port is licensed under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that the test code is licensed under the same terms + as Perl. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under the same + terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '73.33' + start_line: 3 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 11 + match_coverage: '73.33' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [they] [are] licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_11.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This package has the same copyright and license as the perl core. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the + same terms as Perl itself. + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the + same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_38.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the the Artistic License (2.0). + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software. You can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 61 + matched_length: 61 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-2.0-plus_2.RULE + license_expression: artistic-perl-1.0 OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + + These terms are your choice of any of (1) the Perl Artistic Licence, + or (2) version 2 of the GNU General Public License as published by the + Free Software Foundation, or (3) any later version of the GNU General + Public License. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 9 + end_line: 11 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_14.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute this work under the terms of either the GNU General + Public License or the Artistic License, as specified in perl's README + file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_15.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 47 + matched_length: 47 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-2.0-plus_3.RULE + license_expression: artistic-perl-1.0 OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the terms of the Perl Artistic License or the + GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any + later version. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute + it and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_15.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public License + or the Artistic License, as specified in the LICENCE file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_or_gpl-1.0-plus_or_artistic-perl-1.0_1.RULE + license_expression: mit OR gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is released under the MIT license cited below. Additionally, + when this software is distributed with Perl Kit, Version 5, you may also + redistribute it and/or modify it under the same terms as Perl itself. + - score: '66.67' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 10 + match_coverage: '66.67' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [these] [translations] [are] licensed under the same terms + as + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 2-aho + rule_length: 34 + matched_length: 34 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_8.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + + You may copy and distribute this program under the same terms as + Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 9 + end_line: 18 + matcher: 2-aho + rule_length: 87 + matched_length: 87 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_9.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this material + for any purpose and without fee is hereby granted, provided + that the above copyright notice and this permission notice + appear in all copies, and that the name of Bellcore not be + used in advertising or publicity pertaining to this + material without the specific, prior written permission + of an authorized representative of Bellcore. BELLCORE + MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY + OF THIS MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS", + WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_10.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This module is released under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; + you can redistribute it and/or modify it under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '11.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic License. + - score: '100.0' + start_line: 12 + end_line: 16 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_286.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples here are in the public + domain. You are permitted and encouraged to use this code and any + derivatives thereof in your own programs for fun or for profit as you + see fit. A simple comment in the code giving credit to the FAQ would + be courteous but is not required. + - score: '100.0' + start_line: 20 + end_line: 22 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_and_public-domain-disclaimer_1.RULE + license_expression: artistic-2.0 AND public-domain-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document is available under the same terms as Perl itself. Code + examples in all the perlfaq documents are in the public domain. Use + them as you see fit (and at your own risk with no warranty from anyone). + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; + you can redistribute it and/or modify it under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under + the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 53 + matched_length: 53 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_287.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples in these files + are hereby placed into the public domain. You are permitted and + encouraged to use this code in your own programs for fun + or for profit as you see fit. A simple comment in the code giving + credit would be courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '12.7' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 63 + matched_length: 8 + match_coverage: '12.7' + rule_relevance: 100 + identifier: cc0-1.0_or_openssl-ssleay_or_apache-2.0_6.RULE + license_expression: cc0-1.0 OR openssl-ssleay OR apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + http://creativecommons.org/publicdomain/zero/1.0/ + [and] [the] [full] license + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed and/or + modified under the same terms as Perl itself. + - score: '11.84' + start_line: 2 + end_line: 5 + matcher: 3-seq + rule_length: 76 + matched_length: 9 + match_coverage: '11.84' + rule_relevance: 100 + identifier: agpl-3.0_209.RULE + license_expression: agpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + notices this [distribution]. + + [This] [library] [is] [free] [software]; [you] [may] redistribute and/or modify it + under the + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same + terms as Perl. + - score: '84.86' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-new_242.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is licensed under the BSD-[like] license + - score: '11.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: other-permissive_16.RULE + license_expression: other-permissive + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: BSD-like + - score: '73.33' + start_line: 3 + end_line: 4 + matcher: 3-seq + rule_length: 15 + matched_length: 11 + match_coverage: '73.33' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that the [other] [parts] [are] licensed under the same + terms as + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_14.RULE + license_expression: unicode + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For terms of use, see http://www.unicode.org/terms_of_use.html + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_17.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '80.0' + start_line: 9 + end_line: 10 + matcher: 3-seq + rule_length: 10 + matched_length: 8 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_32.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed under the same terms + as Perl itself + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '15.0' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 40 + matched_length: 6 + match_coverage: '15.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_perl5_2.RULE + license_expression: artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: You can redistribute and/or modify + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '34.85' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 66 + matched_length: 23 + match_coverage: '34.85' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_2.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + + [The] [atmark]() [implementation]: [Copyright] [2001], [Lincoln] [Stein] <[lstein]@[cshl].[org]>. + [This] [module] is distributed under + - score: '100.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_11.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This package has the same copyright and license as the perl core. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '90.91' + start_line: 7 + end_line: 8 + matcher: 3-seq + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_763.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed + under the terms of the "BSD-3-clause-[GENERIC]" license + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: warranty-disclaimer_50.RULE + license_expression: warranty-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + provided "as is" without express + or implied warranty. + - score: '75.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 20 + matched_length: 15 + match_coverage: '75.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It may be used, redistributed and/or modified + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '80.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that [this] + [distribution] is licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '80.0' + start_line: 3 + end_line: 4 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that [it] is licensed under + the same terms as Perl + - score: '80.0' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [this] [file] is licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Artistic/' + - score: '50.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '90.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: artistic-1.0_11.RULE + license_expression: artistic-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the artistic license. + - score: '80.0' + start_line: 3 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [it] is licensed under the same terms as Perl + - score: '80.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + it is assumed that [this] [file] is licensed under the same terms + as Perl + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself, + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: artistic-1.0_11.RULE + license_expression: artistic-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Artistic License. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same terms as Perl + itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_286.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples here are in the public + domain. You are permitted and encouraged to use this code and any + derivatives thereof in your own programs for fun or for profit as you + see fit. A simple comment in the code giving credit to the FAQ would + be courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_and_public-domain-disclaimer_1.RULE + license_expression: artistic-2.0 AND public-domain-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document is available under the same terms as Perl itself. Code + examples in all the perlfaq documents are in the public domain. Use + them as you see fit (and at your own risk with no warranty from anyone). + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it under + the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 53 + matched_length: 53 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_287.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples in these files are + hereby placed into the public domain. You are permitted and + encouraged to use this code in your own programs for fun or for profit + as you see fit. A simple comment in the code giving credit would be + courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '21.28' + start_line: 17 + end_line: '19' + matcher: 3-seq + rule_length: 47 + matched_length: 10 + match_coverage: '21.28' + rule_relevance: 100 + identifier: artistic-2.0_4.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the "Artistic License" which comes with Perl, [or] + + [b]) the "Artistic License" + - score: '57.14' + start_line: 21 + end_line: 26 + matcher: 3-seq + rule_length: 49 + matched_length: 28 + match_coverage: '57.14' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License as published by the Free + Software Foundation; either version 1, or (at your option) any + later version ([see] [the] [file] "[Copying]" [that] [comes] [with] [the] + [Perl] [distribution]). + + [The] [full] [text] [of] the "Artistic License" which comes with + - score: '83.33' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_31.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: licensed under the [modified] Artistic license + - score: '11.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic License. + - score: '100.0' + start_line: 18 + end_line: 18 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the Public Domain-- + - score: '11.0' + start_line: 27 + end_line: 27 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic license. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 49 + matched_length: 49 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + - score: '55.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 20 + matched_length: 11 + match_coverage: '55.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + redistributed + and/or modified under the same terms as Perl itself. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/perl-base/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/perl-base/copyright.expected.yml index bb805172701..a5a5437c907 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/perl-base/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/perl-base/copyright.expected.yml @@ -1,5 +1,6 @@ -- (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0) -- - GPL-1+ or Artistic +primary_license: (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0) +declared_license: + - GPL-1+ or Artistic - Expat - REGCOMP, and GPL-1+ or Artistic - GPL-3+-WITH-BISON-EXCEPTION @@ -32,30 +33,31 @@ - REGCOMP - HSIEH-DERIVATIVE - HSIEH-BSD -- ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR - artistic-perl-1.0) AND mit AND (regexp AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND - artistic-perl-1.0))) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND gpl-3.0-plus WITH bison-exception-2.2 - AND unicode-dfs-2015 AND unicode AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND unicode-dfs-2015) AND (gpl-1.0-plus OR artistic-1.0) AND bzip2-libbzip-2010 AND zlib AND - (artistic-2.0 AND artistic-perl-1.0) AND artistic-2.0 AND ((gpl-2.0-plus AND gpl-2.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-2.0-plus) AND (mit OR (gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (mit OR gpl-1.0-plus OR artistic-perl-1.0) - AND ((artistic-perl-1.0 OR gpl-1.0-plus) AND historical) AND fsf-ap AND (artistic-2.0 AND - public-domain AND (artistic-2.0 AND public-domain-disclaimer)) AND bsd-new AND ((gpl-1.0-plus - OR artistic-perl-1.0) AND public-domain) AND cc0-1.0 AND (cc0-1.0 OR openssl-ssleay OR apache-2.0) - AND (agpl-3.0 AND (artistic-perl-1.0 OR gpl-1.0-plus)) AND other-permissive AND (((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND bsd-original) AND (bsd-new AND other-permissive - AND (artistic-perl-1.0 OR gpl-1.0-plus)) AND (artistic-perl-1.0 AND (gpl-1.0-plus OR artistic-perl-1.0)) - AND ((artistic-perl-1.0 OR gpl-1.0-plus) AND (gpl-1.0-plus OR artistic-perl-1.0)) AND (((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND bsd-new) AND ((artistic-perl-1.0 - OR gpl-1.0-plus) AND bsd-new) AND (warranty-disclaimer AND (gpl-1.0-plus OR artistic-perl-1.0)) - AND (artistic-2.0 AND gpl-1.0-plus) AND artistic-1.0 AND public-domain AND (artistic-2.0 AND - public-domain-disclaimer) AND other-copyleft AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0) OR artistic-dist-1.0) AND (artistic-2.0 AND (gpl-1.0-plus OR artistic-perl-1.0)) - AND artistic-dist-1.0 AND ((artistic-2.0 AND artistic-perl-1.0) OR (gpl-1.0-plus AND gpl-1.0) - OR artistic-dist-1.0) AND (artistic-2.0 AND public-domain) AND (((gpl-1.0-plus AND gpl-1.0) - OR (artistic-2.0 AND artistic-perl-1.0)) AND mit) -- | +license_expression: ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND + (gpl-1.0-plus OR artistic-perl-1.0) AND mit AND (regexp AND ((gpl-1.0-plus AND gpl-1.0) OR + (artistic-2.0 AND artistic-perl-1.0))) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND gpl-3.0-plus + WITH bison-exception-2.2 AND unicode-dfs-2015 AND unicode AND (((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND unicode-dfs-2015) AND (gpl-1.0-plus OR artistic-1.0) + AND bzip2-libbzip-2010 AND zlib AND (artistic-2.0 AND artistic-perl-1.0) AND artistic-2.0 + AND ((gpl-2.0-plus AND gpl-2.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-2.0-plus) AND (mit OR (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (mit OR gpl-1.0-plus OR artistic-perl-1.0) AND ((artistic-perl-1.0 OR gpl-1.0-plus) AND + historical) AND fsf-ap AND (artistic-2.0 AND public-domain AND (artistic-2.0 AND public-domain-disclaimer)) + AND bsd-new AND ((gpl-1.0-plus OR artistic-perl-1.0) AND public-domain) AND cc0-1.0 AND (cc0-1.0 + OR openssl-ssleay OR apache-2.0) AND (agpl-3.0 AND (artistic-perl-1.0 OR gpl-1.0-plus)) AND + other-permissive AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND bsd-original) AND (bsd-new AND other-permissive AND (artistic-perl-1.0 OR gpl-1.0-plus)) + AND (artistic-perl-1.0 AND (gpl-1.0-plus OR artistic-perl-1.0)) AND ((artistic-perl-1.0 OR + gpl-1.0-plus) AND (gpl-1.0-plus OR artistic-perl-1.0)) AND (((gpl-1.0-plus AND gpl-1.0) OR + (artistic-2.0 AND artistic-perl-1.0)) AND bsd-new) AND ((artistic-perl-1.0 OR gpl-1.0-plus) + AND bsd-new) AND (warranty-disclaimer AND (gpl-1.0-plus OR artistic-perl-1.0)) AND (artistic-2.0 + AND gpl-1.0-plus) AND artistic-1.0 AND public-domain AND (artistic-2.0 AND public-domain-disclaimer) + AND other-copyleft AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0) + OR artistic-dist-1.0) AND (artistic-2.0 AND (gpl-1.0-plus OR artistic-perl-1.0)) AND artistic-dist-1.0 + AND ((artistic-2.0 AND artistic-perl-1.0) OR (gpl-1.0-plus AND gpl-1.0) OR artistic-dist-1.0) + AND (artistic-2.0 AND public-domain) AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND mit) +copyright: | Perl is Copyright (C) 1987-2021 by Larry Wall and others. All rights reserved. Copyright (c) 1996-2006, Nick Ing-Simmons Copyright (c) 2006, 2007, 2008 Larry Wall and others @@ -352,3 +354,4777 @@ Copyright (c) 2017 Dagfinn Ilmari Mannsåker Copyright (c) 2017-2019, Karl Williamson Portions Copyright (c) 2008-2009 Bjoern Hoehrmann +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_249.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the LGPL 2.1 + license can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_395.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-1+' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0_38.RULE + license_expression: gpl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1040.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of version 2 of + the GNU General Public License can be found in + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: artistic' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 21 + matched_length: 21 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_2.RULE + license_expression: artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the + Artistic Licence can be found in `/usr/share/common-licenses/Artistic'. + - score: '100.0' + start_line: 1 + end_line: 182 + matcher: 1-hash + rule_length: 1351 + matched_length: 1351 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_36.RULE + license_expression: artistic-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copyright (c) 2000-2006, The Perl Foundation. + + Everyone is permitted to copy and distribute verbatim copies of this + license document, but changing it is not allowed. + + Preamble + + This license establishes the terms under which a given free software + Package may be copied, modified, distributed, and/or redistributed. + The intent is that the Copyright Holder maintains some artistic + control over the development of that Package while still keeping the + Package available as open source and free software. + + You are always permitted to make arrangements wholly outside of this + license directly with the Copyright Holder of a given Package. If the + terms of this license do not permit the full use that you propose to + make of the Package, you should contact the Copyright Holder and seek + a different licensing arrangement. + + Definitions + + "Copyright Holder" means the individual(s) or organization(s) named in + the copyright notice for the entire Package. + + "Contributor" means any party that has contributed code or other + material to the Package, in accordance with the Copyright Holder's + procedures. + + "You" and "your" means any person who would like to copy, distribute, + or modify the Package. + + "Package" means the collection of files distributed by the Copyright + Holder, and derivatives of that collection and/or of those files. A + given Package may consist of either the Standard Version, or a + Modified Version. + + "Distribute" means providing a copy of the Package or making it + accessible to anyone else, or in the case of a company or + organization, to others outside of your company or organization. + + "Distributor Fee" means any fee that you charge for Distributing this + Package or providing support for this Package to another party. It + does not mean licensing fees. + + "Standard Version" refers to the Package if it has not been modified, + or has been modified only in ways explicitly requested by the + Copyright Holder. + + "Modified Version" means the Package, if it has been changed, and such + changes were not explicitly requested by the Copyright Holder. + + "Original License" means this Artistic License as Distributed with the + Standard Version of the Package, in its current version or as it may + be modified by The Perl Foundation in the future. + + "Source" form means the source code, documentation source, and + configuration files for the Package. + + "Compiled" form means the compiled bytecode, object code, binary, or + any other form resulting from mechanical transformation or translation + of the Source form. + + Permission for Use and Modification Without Distribution + + (1) You are permitted to use the Standard Version and create and use + Modified Versions for any purpose without restriction, provided that + you do not Distribute the Modified Version. + + Permissions for Redistribution of the Standard Version + + (2) You may Distribute verbatim copies of the Source form of the + Standard Version of this Package in any medium without restriction, + either gratis or for a Distributor Fee, provided that you duplicate + all of the original copyright notices and associated disclaimers. At + your discretion, such verbatim copies may or may not include a + Compiled form of the Package. + + (3) You may apply any bug fixes, portability changes, and other + modifications made available from the Copyright Holder. The resulting + Package will still be considered the Standard Version, and as such + will be subject to the Original License. + + Distribution of Modified Versions of the Package as Source + + (4) You may Distribute your Modified Version as Source (either gratis + or for a Distributor Fee, and with or without a Compiled form of the + Modified Version) provided that you clearly document how it differs + from the Standard Version, including, but not limited to, documenting + any non-standard features, executables, or modules, and provided that + you do at least ONE of the following: + + (a) make the Modified Version available to the Copyright Holder of the + Standard Version, under the Original License, so that the Copyright + Holder may include your modifications in the Standard Version. (b) + ensure that installation of your Modified Version does not prevent the + user installing or running the Standard Version. In addition, the + Modified Version must bear a name that is different from the name of + the Standard Version. (c) allow anyone who receives a copy of the + Modified Version to make the Source form of the Modified Version + available to others under (i) the Original License or (ii) a license + that permits the licensee to freely copy, modify and redistribute the + Modified Version using the same licensing terms that apply to the copy + that the licensee received, and requires that the Source form of the + Modified Version, and of any works derived from it, be made freely + available in that license fees are prohibited but Distributor Fees are + allowed. + + Distribution of Compiled Forms of the Standard Version or Modified + Versions without the Source + + (5) You may Distribute Compiled forms of the Standard Version without + the Source, provided that you include complete instructions on how to + get the Source of the Standard Version. Such instructions must be + valid at the time of your distribution. If these instructions, at any + time while you are carrying out such distribution, become invalid, you + must provide new instructions on demand or cease further distribution. + If you provide valid instructions or cease distribution within thirty + days after you become aware that the instructions are invalid, then + you do not forfeit any of your rights under this license. + + (6) You may Distribute a Modified Version in Compiled form without the + Source, provided that you comply with Section 4 with respect to the + Source of the Modified Version. + + Aggregating or Linking the Package + + (7) You may aggregate the Package (either the Standard Version or + Modified Version) with other packages and Distribute the resulting + aggregation provided that you do not charge a licensing fee for the + Package. Distributor Fees are permitted, and licensing fees for other + components in the aggregation are permitted. The terms of this license + apply to the use and Distribution of the Standard or Modified Versions + as included in the aggregation. + + (8) You are permitted to link Modified and Standard Versions with + other works, to embed the Package in a larger work of your own, or to + build stand-alone binary or bytecode versions of applications that + include the Package, and Distribute the result without restriction, + provided the result does not expose a direct interface to the Package. + + Items That are Not Considered Part of a Modified Version + + (9) Works (including, but not limited to, modules and scripts) that + merely extend or make use of the Package, do not, by themselves, cause + the Package to be a Modified Version. In addition, such works are not + considered parts of the Package itself, and are not subject to the + terms of this license. + + General Provisions + + (10) Any use, modification, and distribution of the Standard or + Modified Versions is governed by this Artistic License. By using, + modifying or distributing the Package, you accept this license. Do not + use, modify, or distribute the Package, if you do not accept this + license. + + (11) If your Modified Version has been derived from a Modified Version + made by someone other than you, you are nevertheless required to + ensure that your Modified Version complies with the requirements of + this license. + + (12) This license does not grant you the right to use any trademark, + service mark, tradename, or logo of the Copyright Holder. + + (13) This license includes the non-exclusive, worldwide, + free-of-charge patent license to make, have made, use, offer to sell, + sell, import and otherwise transfer the Package with respect to any + patent claims licensable by the Copyright Holder that are necessarily + infringed by the Package. If you institute patent litigation + (including a cross-claim or counterclaim) against any party alleging + that the Package constitutes direct or contributory patent + infringement, then this Artistic License to you shall terminate on the + date that such litigation is filed. + + (14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT + HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED + WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A + PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT + PERMITTED BY YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT + HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE + OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 30 + matcher: 2-aho + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bzip2-libbzip-2010.LICENSE + license_expression: bzip2-libbzip-2010 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + . + 3. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + . + 4. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '96.49' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 220 + matched_length: 220 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_48.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this + software must display the following acknowledgement: + This product includes software developed by [Powerdog] [Industries]. + 4. The name of [Powerdog] [Industries] may not be used to endorse or + promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY [POWERDOG] [INDUSTRIES] ``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 [POWERDOG] [INDUSTRIES] 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. + - score: '99.78' + start_line: 2 + end_line: 56 + matcher: 3-seq + rule_length: 464 + matched_length: 463 + match_coverage: '99.78' + rule_relevance: 100 + identifier: unicode-dfs-2015_1.RULE + license_expression: unicode-dfs-2015 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE + + Unicode Data Files include all data files under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + and http://www.unicode.org/cldr/data/ . Unicode Data Files + do not include PDF online code charts under the directory + http://www.unicode.org/Public/. Software includes any + source code published in the Unicode Standard or under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + and http://www.unicode.org/cldr/data/. + + NOTICE TO USER: Carefully read the following legal agreement. BY + DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE + INC.'S DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), YOU + UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE TERMS AND + CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT DOWNLOAD, + INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. + + COPYRIGHT AND PERMISSION NOTICE + + Copyright © 1991-[2011] Unicode, Inc. All rights + reserved. Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person + obtaining a copy of the Unicode data files and any associated + documentation (the "Data Files") or Unicode software and any + associated documentation (the "Software") to deal in the Data Files + or Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, + and/or sell copies of the Data Files or Software, and to permit + persons to whom the Data Files or Software are furnished to do so, + provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, + (b) both the above copyright notice(s) and this permission notice + appear in associated documentation, and (c) there is clear notice + in each modified Data File or in the Software as well as in the + documentation associated with the Data File(s) or Software that + the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY + OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE + AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE + COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE + FOR ANY CLAIM, OR ANY SPECIAL 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 DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in these Data Files or Software without + prior written authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 207 + matched_length: 207 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_313.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: regexp.LICENSE + license_expression: regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to anyone to use this software for any + purpose on any computer system, and to redistribute it freely, + subject to the following restrictions: + + 1. The author is not responsible for the consequences of use of + this software, no matter how awful, even if they arise + from defects in it. + + 2. The origin of this software must not be misrepresented, either + by explicit claim or by omission. + + 3. Altered versions must be plainly marked as such, and must not + be misrepresented as being the original software. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_212.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module may be modified, used, copied, and redistributed at your own risk. + + Although allowed by the preceding license, please do not publicly + redistribute modified versions of this code with the name "Text::Tabs" + unless it passes the unmodified Text::Tabs test suite. + - score: '90.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_4.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_45.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: placed in the public domain. + - score: '100.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_285.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is in the public domain, + - score: '70.0' + start_line: 10 + end_line: 10 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public-domain + - score: '70.0' + start_line: '19' + end_line: '19' + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_bison-exception-3.0_1.RULE + license_expression: gpl-3.0-plus WITH bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 121 + matched_length: 121 + match_coverage: '100.0' + rule_relevance: 100 + identifier: paul-hsieh-derivative_1.RULE + license_expression: paul-hsieh-derivative + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The derivative content includes raw computer source code, ideas, + opinions, and excerpts whose original source is covered under another + license and transformations of such derivatives. Note that mere excerpts + by themselves (with the exception of raw source code) are not considered + derivative works under this license. Use and redistribution is limited + to the following conditions: + + One may not create a derivative work which, in any way, violates the + Paul Hsieh exposition license described above on the original content. + + One may not apply a license to a derivative work that precludes + anyone else from using and redistributing derivative content. + + One may not attribute any derivative content to authors not involved + in the creation of the content, though an attribution to the author + is not necessary. + - score: '99.0' + start_line: 4 + end_line: 29 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-x11_10.RULE + license_expression: bsd-x11 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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 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. + + Neither my name, Paul Hsieh, nor the names of any other contributors + to the code use may not be used to endorse or promote products + derived from this software without specific prior written permission. + + 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 + OWNER 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '99.38' + start_line: 1 + end_line: 120 + matcher: 3-seq + rule_length: 975 + matched_length: 969 + match_coverage: '99.38' + rule_relevance: 100 + identifier: cc0-1.0_116.RULE + license_expression: cc0-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + of Purpose + + The laws of most jurisdictions throughout the world automatically confer + exclusive Copyright and Related Rights (defined below) upon the creator + and subsequent owner(s) (each and all, an "owner") of an original work + of authorship and/or a database (each, a "Work"). + + Certain owners wish to permanently relinquish those rights to a Work + for the purpose of contributing to a commons of creative, cultural and + scientific works ("Commons") that the public can reliably and without + fear of later claims of infringement build upon, modify, incorporate in + other works, reuse and redistribute as freely as possible in any form + whatsoever and for any purposes, including without limitation commercial + purposes. These owners may contribute to the Commons to promote the ideal + of a free culture and the further production of creative, cultural and + scientific works, or to gain reputation or greater distribution for + their Work in part through the use and efforts of others. + + For these and/or other purposes and motivations, and without any + expectation of additional consideration or compensation, the person + associating CC0 with a Work (the "Affirmer"), to the extent that + he or she is an owner of Copyright and Related Rights in the Work, + voluntarily elects to apply CC0 to the Work and publicly distribute + the Work under its terms, with knowledge of his or her Copyright and + Related Rights in the Work and the meaning and intended legal effect + of CC0 on those rights. + + 1. Copyright and Related Rights. A Work made available under CC0 may be + protected by copyright and related or neighboring rights ("Copyright + and Related Rights"). Copyright and Related Rights include, but are + not limited to, the following: + + the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + + moral rights retained by the original author(s) and/or performer(s); + + publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + + rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + + rights protecting the extraction, dissemination, use and reuse of data in a Work; + + database rights (such as those arising under Directive 96/9/EC + of the European Parliament and of the Council of 11 March 1996 + on the legal protection of databases, and under any national + implementation thereof, including any amended or successor version + of such directive); and + + other similar, equivalent or corresponding rights throughout the world + based on applicable law or treaty, and any national implementations + thereof. + + 2. Waiver. To the greatest extent permitted by, but not in contravention + of, applicable law, Affirmer hereby overtly, fully, permanently, + irrevocably and unconditionally waives, abandons, and surrenders all + of Affirmer's Copyright and Related Rights and associated claims and + causes of action, whether now known or unknown (including existing + as well as future claims and causes of action), in the Work (i) in + all territories worldwide, (ii) for the maximum duration provided by + applicable law or treaty (including future time extensions), (iii) + in any current or future medium and for any number of copies, and (iv) + for any purpose whatsoever, including without limitation commercial, + advertising or promotional purposes (the "Waiver"). Affirmer makes the + Waiver for the benefit of each member of the public at large and to the + detriment of Affirmer's heirs and successors, fully intending that such + Waiver shall not be subject to revocation, rescission, cancellation, + termination, or any other legal or equitable action to disrupt the + quiet enjoyment of the Work by the public as contemplated by Affirmer's + express Statement of Purpose. + + 3. Public License Fallback. Should any part of the Waiver for any + reason be judged legally invalid or ineffective under applicable law, + then the Waiver shall be preserved to the maximum extent permitted + taking into account Affirmer's express Statement of Purpose. In + addition, to the extent the Waiver is so judged Affirmer hereby + grants to each affected person a royalty-free, non transferable, non + sublicensable, non exclusive, irrevocable and unconditional license + to exercise Affirmer's Copyright and Related Rights in the Work (i) + in all territories worldwide, (ii) for the maximum duration provided + by applicable law or treaty (including future time extensions), (iii) + in any current or future medium and for any number of copies, and (iv) + for any purpose whatsoever, including without limitation commercial, + advertising or promotional purposes (the "License"). The License shall + be deemed effective as of the date CC0 was applied by Affirmer to the + Work. Should any part of the License for any reason be judged legally + invalid or ineffective under applicable law, such partial invalidity + or ineffectiveness shall not invalidate the remainder of the License, + and in such case Affirmer hereby affirms that he or she will not (i) + exercise any of his or her remaining Copyright and Related Rights in + the Work or (ii) assert any associated claims and causes of action + with respect to the Work, in either case contrary to Affirmer's express + Statement of Purpose. + + 4. Limitations and Disclaimers. + + No trademark or patent rights held by Affirmer are waived, + abandoned, surrendered, licensed or otherwise affected by this + document. + + Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties + of title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, + or the present or absence of errors, whether or not discoverable, + all to the greatest extent permissible under applicable law. + + Affirmer disclaims responsibility for clearing rights of other + persons that may apply to the Work or any use thereof, including + without limitation any person's Copyright and Related Rights in the + Work. Further, Affirmer disclaims responsibility for obtaining any + necessary consents, permissions or other rights required for any + use of the Work. + + Affirmer understands and acknowledges that Creative Commons is not + a party to this document and has no duty or obligation with respect + to this CC0 or use of the Work. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap.LICENSE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, are + permitted in any medium without royalty provided the copyright notice and + this notice are preserved. This file is offered as-is, without any + warranty. + - score: '100.0' + start_line: 1 + end_line: 125 + matcher: 1-hash + rule_length: 946 + matched_length: 946 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-dist-1.0.LICENSE + license_expression: artistic-dist-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The "Artistic License" + + Preamble + + The intent of this document is to state the conditions under which a + Package may be copied, such that the Copyright Holder maintains some + semblance of artistic control over the development of the Package, + while giving the users of the package the right to use and distribute + the Package in a more-or-less customary fashion, plus the right to make + reasonable modifications. + + It also grants you the rights to reuse parts of a Package in your own + programs without transferring this License to those programs, provided + that you meet some reasonable requirements. + + Definitions: + + "Package" refers to the collection of files distributed by the + Copyright Holder, and derivatives of that collection of files + created through textual modification. + + "Standard Version" refers to such a Package if it has not been + modified, or has been modified in accordance with the wishes + of the Copyright Holder as specified below. + + "Copyright Holder" is whoever is named in the copyright or + copyrights for the package. + + "You" is you, if you're thinking about copying or distributing + this Package. + + "Reasonable copying fee" is whatever you can justify on the + basis of media cost, duplication charges, time of people involved, + and so on. (You will not be required to justify it to the + Copyright Holder, but only to the computing community at large + as a market that must bear the fee.) + + "Freely Available" means that no fee is charged for the item + itself, though there may be fees involved in handling the item. + It also means that recipients of the item may redistribute it + under the same conditions they received it. + + 1. You may make and give away verbatim copies of the source form of the + Standard Version of this Package without restriction, provided that you + duplicate all of the original copyright notices and associated disclaimers. + + 2. You may apply bug fixes, portability fixes and other modifications + derived from the Public Domain or from the Copyright Holder. A Package + modified in such a way shall still be considered the Standard Version. + + 3. You may otherwise modify your copy of this Package in any way, provided + that you insert a prominent notice in each changed file stating how and + when you changed that file, and provided that you do at least ONE of the + following: + + a) place your modifications in the Public Domain or otherwise make them + Freely Available, such as by posting said modifications to Usenet or + an equivalent medium, or placing the modifications on a major archive + site such as uunet.uu.net, or by allowing the Copyright Holder to include + your modifications in the Standard Version of the Package. + + b) use the modified Package only within your corporation or organization. + + c) rename any non-standard executables so the names do not conflict + with standard executables, which must also be provided, and provide + a separate manual page for each non-standard executable that clearly + documents how it differs from the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 4. You may distribute the programs of this Package in object code or + executable form, provided that you do at least ONE of the following: + + a) distribute a Standard Version of the executables and library files, + together with instructions (in the manual page or equivalent) on where + to get the Standard Version. + + b) accompany the distribution with the machine-readable source of + the Package with your modifications. + + c) give non-standard executables non-standard names, and clearly + document the differences in manual pages (or equivalent), together + with instructions on where to get the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 5. You may charge a reasonable copying fee for any distribution of this + Package. You may charge any fee you choose for support of this + Package. You may not charge a fee for this Package itself. However, + you may distribute this Package in aggregate with other (possibly + commercial) programs as part of a larger (possibly commercial) software + distribution provided that you do not advertise this Package as a + product of your own. + + 6. The scripts and library files supplied as input to or produced as + output from the programs of this Package do not automatically fall + under the copyright of this Package, but belong to whoever generated + them, and may be sold commercially, and may be aggregated with this + Package. If such scripts or library files are aggregated with this + Package via the so-called "undump" or "unexec" methods of producing a + binary executable image, then distribution of such an image shall + neither be construed as a distribution of this Package nor shall it + fall under the restrictions of Paragraphs 3 and 4, provided that you do + not represent such an executable image as a Standard Version of this + Package. + + 7. You may reuse parts of this Package in your own programs, provided that + you explicitly state where you got them from, in the source code (and, left + to your courtesy, in the documentation), duplicating all the associated + copyright notices and disclaimers. Besides your changes, if any, must be + clearly marked as such. Parts reused that way will no longer fall under this + license if, and only if, the name of your program(s) have no immediate + connection with the name of the Package itself or its associated programs. + You may then apply whatever restrictions you wish on the reused parts or + choose to place them in the Public Domain--this will apply only within the + context of your package. + + 8. The name of the Copyright Holder may not be used to endorse or promote + products derived from this software without specific prior written permission. + + 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + The End + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 2-aho + rule_length: 49 + matched_length: 49 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_14.RULE + license_expression: unicode + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For terms of use, see http://www.unicode.org/terms_of_use.html + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_26.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself, either Perl version 5.10.0 or, + at your option, any later version of Perl 5 you may have available. + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_34.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: All files are licensed under the same terms as Perl itself. + - score: '90.91' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_32.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: The [PerlUi] class is licensed under the same terms as Perl itself. + - score: '91.67' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_31.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: The [Symbian] port is licensed under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that the test code is licensed under the same terms + as Perl. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under the same + terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '73.33' + start_line: 3 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 11 + match_coverage: '73.33' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [they] [are] licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_11.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This package has the same copyright and license as the perl core. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the + same terms as Perl itself. + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the + same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_38.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the the Artistic License (2.0). + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software. You can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 61 + matched_length: 61 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-2.0-plus_2.RULE + license_expression: artistic-perl-1.0 OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + + These terms are your choice of any of (1) the Perl Artistic Licence, + or (2) version 2 of the GNU General Public License as published by the + Free Software Foundation, or (3) any later version of the GNU General + Public License. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 9 + end_line: 11 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_14.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute this work under the terms of either the GNU General + Public License or the Artistic License, as specified in perl's README + file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_15.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 47 + matched_length: 47 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-2.0-plus_3.RULE + license_expression: artistic-perl-1.0 OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the terms of the Perl Artistic License or the + GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any + later version. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute + it and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_15.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public License + or the Artistic License, as specified in the LICENCE file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_or_gpl-1.0-plus_or_artistic-perl-1.0_1.RULE + license_expression: mit OR gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is released under the MIT license cited below. Additionally, + when this software is distributed with Perl Kit, Version 5, you may also + redistribute it and/or modify it under the same terms as Perl itself. + - score: '66.67' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 10 + match_coverage: '66.67' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [these] [translations] [are] licensed under the same terms + as + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 2-aho + rule_length: 34 + matched_length: 34 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_8.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + + You may copy and distribute this program under the same terms as + Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 9 + end_line: 18 + matcher: 2-aho + rule_length: 87 + matched_length: 87 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_9.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this material + for any purpose and without fee is hereby granted, provided + that the above copyright notice and this permission notice + appear in all copies, and that the name of Bellcore not be + used in advertising or publicity pertaining to this + material without the specific, prior written permission + of an authorized representative of Bellcore. BELLCORE + MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY + OF THIS MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS", + WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_10.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This module is released under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; + you can redistribute it and/or modify it under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '11.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic License. + - score: '100.0' + start_line: 12 + end_line: 16 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_286.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples here are in the public + domain. You are permitted and encouraged to use this code and any + derivatives thereof in your own programs for fun or for profit as you + see fit. A simple comment in the code giving credit to the FAQ would + be courteous but is not required. + - score: '100.0' + start_line: 20 + end_line: 22 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_and_public-domain-disclaimer_1.RULE + license_expression: artistic-2.0 AND public-domain-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document is available under the same terms as Perl itself. Code + examples in all the perlfaq documents are in the public domain. Use + them as you see fit (and at your own risk with no warranty from anyone). + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; + you can redistribute it and/or modify it under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under + the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 53 + matched_length: 53 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_287.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples in these files + are hereby placed into the public domain. You are permitted and + encouraged to use this code in your own programs for fun + or for profit as you see fit. A simple comment in the code giving + credit would be courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '12.7' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 63 + matched_length: 8 + match_coverage: '12.7' + rule_relevance: 100 + identifier: cc0-1.0_or_openssl-ssleay_or_apache-2.0_6.RULE + license_expression: cc0-1.0 OR openssl-ssleay OR apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + http://creativecommons.org/publicdomain/zero/1.0/ + [and] [the] [full] license + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed and/or + modified under the same terms as Perl itself. + - score: '11.84' + start_line: 2 + end_line: 5 + matcher: 3-seq + rule_length: 76 + matched_length: 9 + match_coverage: '11.84' + rule_relevance: 100 + identifier: agpl-3.0_209.RULE + license_expression: agpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + notices this [distribution]. + + [This] [library] [is] [free] [software]; [you] [may] redistribute and/or modify it + under the + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same + terms as Perl. + - score: '84.86' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-new_242.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is licensed under the BSD-[like] license + - score: '11.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: other-permissive_16.RULE + license_expression: other-permissive + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: BSD-like + - score: '73.33' + start_line: 3 + end_line: 4 + matcher: 3-seq + rule_length: 15 + matched_length: 11 + match_coverage: '73.33' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that the [other] [parts] [are] licensed under the same + terms as + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_14.RULE + license_expression: unicode + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For terms of use, see http://www.unicode.org/terms_of_use.html + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_17.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '80.0' + start_line: 9 + end_line: 10 + matcher: 3-seq + rule_length: 10 + matched_length: 8 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_32.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed under the same terms + as Perl itself + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '15.0' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 40 + matched_length: 6 + match_coverage: '15.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_perl5_2.RULE + license_expression: artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: You can redistribute and/or modify + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '34.85' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 66 + matched_length: 23 + match_coverage: '34.85' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_2.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + + [The] [atmark]() [implementation]: [Copyright] [2001], [Lincoln] [Stein] <[lstein]@[cshl].[org]>. + [This] [module] is distributed under + - score: '100.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_11.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This package has the same copyright and license as the perl core. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '90.91' + start_line: 7 + end_line: 8 + matcher: 3-seq + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_763.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed + under the terms of the "BSD-3-clause-[GENERIC]" license + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: warranty-disclaimer_50.RULE + license_expression: warranty-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + provided "as is" without express + or implied warranty. + - score: '75.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 20 + matched_length: 15 + match_coverage: '75.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It may be used, redistributed and/or modified + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '80.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that [this] + [distribution] is licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '80.0' + start_line: 3 + end_line: 4 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that [it] is licensed under + the same terms as Perl + - score: '80.0' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [this] [file] is licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Artistic/' + - score: '50.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '90.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: artistic-1.0_11.RULE + license_expression: artistic-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the artistic license. + - score: '80.0' + start_line: 3 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [it] is licensed under the same terms as Perl + - score: '80.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + it is assumed that [this] [file] is licensed under the same terms + as Perl + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself, + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: artistic-1.0_11.RULE + license_expression: artistic-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Artistic License. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same terms as Perl + itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_286.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples here are in the public + domain. You are permitted and encouraged to use this code and any + derivatives thereof in your own programs for fun or for profit as you + see fit. A simple comment in the code giving credit to the FAQ would + be courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_and_public-domain-disclaimer_1.RULE + license_expression: artistic-2.0 AND public-domain-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document is available under the same terms as Perl itself. Code + examples in all the perlfaq documents are in the public domain. Use + them as you see fit (and at your own risk with no warranty from anyone). + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it under + the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 53 + matched_length: 53 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_287.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples in these files are + hereby placed into the public domain. You are permitted and + encouraged to use this code in your own programs for fun or for profit + as you see fit. A simple comment in the code giving credit would be + courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '21.28' + start_line: 17 + end_line: '19' + matcher: 3-seq + rule_length: 47 + matched_length: 10 + match_coverage: '21.28' + rule_relevance: 100 + identifier: artistic-2.0_4.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the "Artistic License" which comes with Perl, [or] + + [b]) the "Artistic License" + - score: '57.14' + start_line: 21 + end_line: 26 + matcher: 3-seq + rule_length: 49 + matched_length: 28 + match_coverage: '57.14' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License as published by the Free + Software Foundation; either version 1, or (at your option) any + later version ([see] [the] [file] "[Copying]" [that] [comes] [with] [the] + [Perl] [distribution]). + + [The] [full] [text] [of] the "Artistic License" which comes with + - score: '83.33' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_31.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: licensed under the [modified] Artistic license + - score: '11.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic License. + - score: '100.0' + start_line: 18 + end_line: 18 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the Public Domain-- + - score: '11.0' + start_line: 27 + end_line: 27 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic license. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 49 + matched_length: 49 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + - score: '55.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 20 + matched_length: 11 + match_coverage: '55.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + redistributed + and/or modified under the same terms as Perl itself. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sed/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sed/copyright-detailed.expected.yml index 5aaff43d6d6..f009a7802f2 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sed/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sed/copyright-detailed.expected.yml @@ -1,5 +1,44 @@ -- -- -- gpl-3.0-plus AND gfdl-1.3-plus -- Copyright 1989,90,91,92,93,94,95,98,99,2002,2003,2006,2008,2009,2010 Free Software Foundation, - Inc. +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND gfdl-1.3-plus +copyright: Copyright 1989,90,91,92,93,94,95,98,99,2002,2003,2006,2008,2009,2010 Free Software + Foundation, Inc. +matches: + - score: '98.28' + start_line: 11 + end_line: 17 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_285.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GNU [sed] is free software; you can redistribute it and/or modify it under\n\ + \ the terms of the GNU General Public License as published by the Free\n Software Foundation;\ + \ either version 3, or (at your option) any later\n version.\n \n On Debian GNU/Linux\ + \ systems you can find a copy of the GPL in\n /usr/share/common-licenses/GPL-3" + - score: '96.97' + start_line: '19' + end_line: 21 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_5.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The [sed] info manual is released under the terms of the GNU Free + Documentation License as published by the Free Software Foundation; + either version 1.3, or (at your option) any later version. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sed/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sed/copyright.expected.yml index 5aaff43d6d6..f009a7802f2 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sed/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sed/copyright.expected.yml @@ -1,5 +1,44 @@ -- -- -- gpl-3.0-plus AND gfdl-1.3-plus -- Copyright 1989,90,91,92,93,94,95,98,99,2002,2003,2006,2008,2009,2010 Free Software Foundation, - Inc. +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND gfdl-1.3-plus +copyright: Copyright 1989,90,91,92,93,94,95,98,99,2002,2003,2006,2008,2009,2010 Free Software + Foundation, Inc. +matches: + - score: '98.28' + start_line: 11 + end_line: 17 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_285.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GNU [sed] is free software; you can redistribute it and/or modify it under\n\ + \ the terms of the GNU General Public License as published by the Free\n Software Foundation;\ + \ either version 3, or (at your option) any later\n version.\n \n On Debian GNU/Linux\ + \ systems you can find a copy of the GPL in\n /usr/share/common-licenses/GPL-3" + - score: '96.97' + start_line: '19' + end_line: 21 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_5.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The [sed] info manual is released under the terms of the GNU Free + Documentation License as published by the Free Software Foundation; + either version 1.3, or (at your option) any later version. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sysvinit-utils/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sysvinit-utils/copyright-detailed.expected.yml index b2931169dec..5d296c6d11a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sysvinit-utils/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sysvinit-utils/copyright-detailed.expected.yml @@ -1,9 +1,10 @@ -- gpl-2.0-plus -- - GPL-2+ +primary_license: gpl-2.0-plus +declared_license: - GPL-2+ - GPL-2+ -- (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) -- | + - GPL-2+ +license_expression: (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) +copyright: | 1997-2005 Miquel van Smoorenburg 2015 Adam Conrad 2018 Dmitry Bogatov @@ -25,3 +26,51 @@ 2011-2013 Roger Leigh 2006-2007 Steinar H. Gunderson 2012-2013 Steve Langasek +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_735.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian system, copy of GNU Lesser General Public License version 2 + is also located at `/usr/share/common-licenses/GPL-2' diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sysvinit-utils/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sysvinit-utils/copyright.expected.yml index d5bfecce713..359d63bc2dd 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sysvinit-utils/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sysvinit-utils/copyright.expected.yml @@ -1,4 +1,53 @@ -- gpl-2.0-plus -- - GPL-2+ -- gpl-2.0-plus -- '1997-2005 Miquel van Smoorenburg ' +primary_license: gpl-2.0-plus +declared_license: + - GPL-2+ +license_expression: gpl-2.0-plus +copyright: '1997-2005 Miquel van Smoorenburg ' +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_735.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian system, copy of GNU Lesser General Public License version 2 + is also located at `/usr/share/common-licenses/GPL-2' diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/tar/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/tar/copyright-detailed.expected.yml index 710f1ea79a9..be7bfcc79d3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/tar/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/tar/copyright-detailed.expected.yml @@ -1,6 +1,63 @@ -- -- -- public-domain AND gpl-3.0-plus AND gpl-2.0-plus -- | +primary_license: +declared_license: +license_expression: public-domain AND gpl-3.0-plus AND gpl-2.0-plus +copyright: | Copyright (c) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. Copyright (c) 2006, 2007 Bdale Garbee +matches: + - score: '70.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '100.0' + start_line: 20 + end_line: 26 + matcher: 2-aho + rule_length: 65 + matched_length: 65 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_283.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify it\n\ + \ under the terms of the GNU General Public License as published by the\n Free Software\ + \ Foundation; either version 3, or (at your option) any later\n version.\n \n On Debian\ + \ GNU/Linux systems, the complete text of the GNU General Public \n License version 3\ + \ can be found in /usr/share/common-licenses/GPL-3." + - score: '100.0' + start_line: 32 + end_line: 38 + matcher: 2-aho + rule_length: 65 + matched_length: 65 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_734.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify it\n\ + \ under the terms of the GNU General Public License as published by the\n Free Software\ + \ Foundation; either version 2, or (at your option) any later\n version.\n \n On Debian\ + \ GNU/Linux systems, the complete text of the GNU General Public \n License version 2\ + \ can be found in /usr/share/common-licenses/GPL-2." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/tar/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/tar/copyright.expected.yml index 710f1ea79a9..be7bfcc79d3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/tar/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/tar/copyright.expected.yml @@ -1,6 +1,63 @@ -- -- -- public-domain AND gpl-3.0-plus AND gpl-2.0-plus -- | +primary_license: +declared_license: +license_expression: public-domain AND gpl-3.0-plus AND gpl-2.0-plus +copyright: | Copyright (c) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. Copyright (c) 2006, 2007 Bdale Garbee +matches: + - score: '70.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '100.0' + start_line: 20 + end_line: 26 + matcher: 2-aho + rule_length: 65 + matched_length: 65 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_283.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify it\n\ + \ under the terms of the GNU General Public License as published by the\n Free Software\ + \ Foundation; either version 3, or (at your option) any later\n version.\n \n On Debian\ + \ GNU/Linux systems, the complete text of the GNU General Public \n License version 3\ + \ can be found in /usr/share/common-licenses/GPL-3." + - score: '100.0' + start_line: 32 + end_line: 38 + matcher: 2-aho + rule_length: 65 + matched_length: 65 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_734.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify it\n\ + \ under the terms of the GNU General Public License as published by the\n Free Software\ + \ Foundation; either version 2, or (at your option) any later\n version.\n \n On Debian\ + \ GNU/Linux systems, the complete text of the GNU General Public \n License version 2\ + \ can be found in /usr/share/common-licenses/GPL-2." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/util-linux/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/util-linux/copyright-detailed.expected.yml index 9d40a8e3a7a..3da8450c864 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/util-linux/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/util-linux/copyright-detailed.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - GPL-2 - GPL-2 @@ -43,20 +44,20 @@ - LGPL-2.1+ - LGPL-3+ - MIT -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 - AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND - gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc AND mit - AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new AND - (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) - AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND - lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND + gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc + AND mit AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new + AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND + lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-3.0-plus AND lgpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) -- | +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -249,3 +250,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3) Neither the name of the [ORGANIZATION] 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 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. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/util-linux/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/util-linux/copyright.expected.yml index f705a1146cf..4fa8dffb131 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/util-linux/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/util-linux/copyright.expected.yml @@ -1,5 +1,6 @@ -- gpl-2.0-plus AND gpl-2.0 -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - public-domain - BSD-4-clause @@ -11,10 +12,10 @@ - GPL-3+ - LGPL - LGPL-3+ -- (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 AND public-domain AND bsd-original-uc AND mit AND bsd-simplified - AND bsd-new AND (lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1) AND (gpl-3.0-plus - AND gpl-3.0) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND lgpl-3.0-plus -- | +license_expression: (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 AND public-domain AND bsd-original-uc + AND mit AND bsd-simplified AND bsd-new AND (lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND lgpl-3.0-plus +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -194,3 +195,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + + 3) Neither the name of the [ORGANIZATION] 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 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. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 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. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. 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 BY THE REGENTS 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 REGENTS 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. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/zlib1g/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/zlib1g/copyright-detailed.expected.yml index ad37da4b872..4e62e5ba356 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/zlib1g/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/zlib1g/copyright-detailed.expected.yml @@ -1,14 +1,50 @@ -- zlib -- - Zlib +primary_license: zlib +declared_license: - Zlib - Zlib - Zlib - Zlib -- zlib AND zlib AND zlib AND zlib -- | + - Zlib +license_expression: zlib AND zlib AND zlib AND zlib +copyright: | 1995-2013 Jean-loup Gailly and Mark Adler 1998 by Andreas R. Kleinert 1998-2010 Gilles Vollant 2007-2008 Even Rouault 2009-2010 Mathias Svensson 2000-2017 Mark Brown +matches: + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 2-aho + rule_length: 144 + matched_length: 144 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_17.RULE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/zlib1g/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/zlib1g/copyright.expected.yml index 5c660769f4f..baf33df2901 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/zlib1g/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/zlib1g/copyright.expected.yml @@ -1,9 +1,45 @@ -- zlib -- - Zlib -- zlib -- | +primary_license: zlib +declared_license: + - Zlib +license_expression: zlib +copyright: | 1995-2013 Jean-loup Gailly and Mark Adler 1998 by Andreas R. Kleinert 1998-2010 Gilles Vollant 2007-2008 Even Rouault 2009-2010 Mathias Svensson +matches: + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 2-aho + rule_length: 144 + matched_length: 144 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_17.RULE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu diff --git a/tests/packagedcode/test_debian_copyright.py b/tests/packagedcode/test_debian_copyright.py index df12290b785..2e0dfeae6e5 100644 --- a/tests/packagedcode/test_debian_copyright.py +++ b/tests/packagedcode/test_debian_copyright.py @@ -7,15 +7,13 @@ # See https://aboutcode.org for more information about nexB OSS projects. # -import io from os import path from os import walk -from debian_inspector.copyright import DebianCopyright - +import saneyaml from commoncode.testcase import FileBasedTesting from commoncode import text -import saneyaml +from debian_inspector.copyright import DebianCopyright from packagedcode import debian_copyright @@ -41,50 +39,58 @@ def check_expected_parse_copyright_file( simplify_licenses = True unique_copyrights = True - dc = debian_copyright.parse_copyright_file(location=test_loc, check_consistency=False) + dc = debian_copyright.parse_copyright_file( + location=test_loc, + check_consistency=False, + ) + declared_license = dc.get_declared_license( filter_duplicates=filter_duplicates, skip_debian_packaging=skip_debian_packaging, ) + license_expression = dc.get_license_expression( skip_debian_packaging=skip_debian_packaging, simplify_licenses=simplify_licenses, - ) - copyright = dc.get_copyright( + ).strip() + + copyrght = dc.get_copyright( skip_debian_packaging=skip_debian_packaging, unique_copyrights=unique_copyrights, - ) + ).strip() + primary_license = dc.primary_license - parsed = primary_license, declared_license, license_expression, copyright + match_details = list(map(get_match_details, dc.license_matches)) - matches = dc.license_matches - matches = [lm for lm in matches if 'unknown-license-reference' == lm.rule.license_expression] - match_details = list(map(get_match_details, matches)) + results = { + 'primary_license': primary_license, + 'declared_license': declared_license, + 'license_expression': license_expression, + 'copyright': copyrght, + 'matches': match_details, + } - result = saneyaml.dump(list(parsed)) if regen: - with io.open(expected_loc, 'w', encoding='utf-8') as reg: - if 'unknown-license-reference' in license_expression: - parsed = declared_license, license_expression, copyright, match_details - result = saneyaml.dump(list(parsed)) - reg.write(result) - else: - reg.write(result) - - with io.open(expected_loc, encoding='utf-8') as ex: - expected = ex.read() + expected = results + with open(expected_loc, 'w') as res: + res.write(saneyaml.dump(results)) + else: + with open(expected_loc) as ex: + expected = saneyaml.load(ex.read()) - if result != expected or 'unknown-license-reference' in license_expression: + if ( + saneyaml.dump(results) != saneyaml.dump(expected) + or 'unknown-license-reference' in license_expression + ): - expected = '\n'.join([ + expected = [ 'file://' + test_loc, 'file://' + expected_loc, expected, - saneyaml.dump(match_details), - ]) + ] - assert result == expected + assert saneyaml.dump([results]) == saneyaml.dump(expected) def get_match_details(match): @@ -92,14 +98,14 @@ def get_match_details(match): Return a mapping of match details for LicenseMatch ``match``. """ details = {} - details['score'] = match.score() - details['start_line'] = match.start_line - details['end_line'] = match.end_line + details['score'] = str(match.score()) + details['start_line'] = str(match.start_line) + details['end_line'] = str(match.end_line) details['matcher'] = match.matcher - details['rule_length'] = match.rule.length - details['matched_length'] = match.len() - details['match_coverage'] = match.coverage() - details['rule_relevance'] = match.rule.relevance + details['rule_length'] = str(match.rule.length) + details['matched_length'] = str(match.len()) + details['match_coverage'] = str(match.coverage()) + details['rule_relevance'] = str(match.rule.relevance) details['identifier'] = match.rule.identifier details['license_expression'] = match.rule.license_expression details['is_license_text'] = match.rule.is_license_text @@ -107,7 +113,7 @@ def get_match_details(match): details['is_license_reference'] = match.rule.is_license_reference details['is_license_tag'] = match.rule.is_license_tag details['is_license_intro'] = match.rule.is_license_intro - details['matched_text'] = match.matched_text(whole_lines=False, highlight=True) + details['matched_text'] = match.matched_text(whole_lines=False, highlight=True).strip() return details @@ -139,7 +145,11 @@ def create_test_function( # closure on the test params def test_func(self): check_expected_parse_copyright_file( - test_loc, expected_loc, with_details=with_details, regen=regen) + test_loc, + expected_loc, + with_details=with_details, + regen=regen, + ) # set a proper function name to display in reports and use in discovery if isinstance(test_name, bytes): @@ -291,7 +301,7 @@ def test_get_duplicate_license_paras(self): edebian_copyright = debian_copyright.EnhancedDebianCopyright(debian_copyright=DebianCopyright.from_file(test_file)) duplicate_paras = edebian_copyright.duplicate_license_paragraphs assert len(duplicate_paras) == 1 - duplicate_paras[0].license.name == "GPL-2+" + assert duplicate_paras[0].license.name == "GPL-2+" def test_if_structured_copyright_file(self): test_file = self.get_test_loc("debian-slim-2021-04-07/usr/share/doc/libhogweed6/copyright") @@ -309,4 +319,4 @@ def test_multiple_blank_lines_is_valid_paragraph(self): other_paras = edebian_copyright.other_paragraphs print(other_paras) assert len(other_paras) == 1 - assert other_paras[0].extra_data["unknown"].text == "This is a catchall para." \ No newline at end of file + assert other_paras[0].extra_data["unknown"].text == "This is a catchall para."